:root{--bg:#f4f6fb;--card:#fff;--text:#172033;--muted:#74809a;--line:#e5e9f2;--blue:#2563eb;--dark:#0f172a;--green:#16a34a;--red:#dc2626;--orange:#f59e0b}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}a{text-decoration:none;color:inherit}.app{display:flex;min-height:100vh}.sidebar{width:265px;background:linear-gradient(180deg,#111827,#0b1220);color:white;padding:22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:5}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.logo{width:44px;height:44px;border-radius:14px;background:#2563eb;display:grid;place-items:center;font-weight:900;font-size:24px}.brand span{display:block;color:#9ca3af;font-size:13px;margin-top:2px}.sidebar nav{display:grid;gap:8px}.sidebar a{padding:13px 14px;border-radius:12px;color:#d1d5db}.sidebar a.active,.sidebar a:hover{background:rgba(255,255,255,.1);color:#fff}.logout{margin-top:auto;background:rgba(239,68,68,.15);color:#fecaca!important}.main{margin-left:265px;width:calc(100% - 265px)}.top{height:92px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 28px;position:sticky;top:0;z-index:2}.top h1{margin:0;font-size:24px}.top p{margin:4px 0 0;color:var(--muted)}#menuBtn{display:none}.content{padding:28px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 25px rgba(15,23,42,.04)}.stat b{display:block;font-size:28px;margin-top:8px}.stat span{color:var(--muted)}.toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;align-items:center}.btn{border:0;background:var(--blue);color:white;padding:11px 15px;border-radius:12px;cursor:pointer;font-weight:700;display:inline-flex;align-items:center;gap:7px}.btn.secondary{background:#eef2ff;color:#1d4ed8}.btn.danger{background:#fee2e2;color:#b91c1c}.btn.gray{background:#e5e7eb;color:#111827}input,select,textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;font:inherit}textarea{min-height:90px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1/-1}label{font-size:13px;color:#475569;font-weight:700}.field{display:grid;gap:6px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;background:white;border-radius:16px;overflow:hidden}.table th,.table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table th{font-size:12px;text-transform:uppercase;color:#64748b;background:#f8fafc}.badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.b-new{background:#dbeafe;color:#1d4ed8}.b-work{background:#fef3c7;color:#b45309}.b-ready{background:#ede9fe;color:#6d28d9}.b-sent{background:#dcfce7;color:#15803d}.b-done{background:#bbf7d0;color:#166534}.b-cancel{background:#fee2e2;color:#b91c1c}.b-return{background:#e5e7eb;color:#374151}.actions{display:flex;gap:8px;flex-wrap:wrap}.items-box{display:grid;gap:12px}.item-row{border:1px dashed var(--line);padding:14px;border-radius:14px;background:#fbfdff}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#111827,#1d4ed8)}.login-card{width:min(440px,92vw);background:white;border-radius:24px;padding:30px;box-shadow:0 20px 60px rgba(0,0,0,.25)}.login-card h1{margin-top:0}.notice{padding:13px 15px;border-radius:12px;background:#eff6ff;color:#1d4ed8;margin-bottom:15px}.error{background:#fee2e2;color:#b91c1c}.success{background:#dcfce7;color:#166534}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.search{max-width:360px}.muted{color:var(--muted)}@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.main{margin-left:0;width:100%}#menuBtn{display:block}.grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}}@media(max-width:560px){.grid{grid-template-columns:1fr}.content{padding:16px}.top{padding:0 16px}}

.clean-list{margin:10px 0 0 18px;color:#334155;line-height:1.8}.form-stack{display:flex;flex-direction:column;gap:14px}.grid.two{grid-template-columns:1fr 1fr}@media(max-width:900px){.grid.two{grid-template-columns:1fr}}
.mini-toggle{width:28px;height:28px;border:0;border-radius:9px;background:#eef3ff;color:#2563eb;font-weight:800;cursor:pointer}
.link-button{background:none;border:0;padding:0;color:#0b1b34;font:inherit;font-weight:700;cursor:pointer;text-align:left}
.link-button:hover{text-decoration:underline}
.customer-orders-detail td{background:#f8fbff!important}
.orders-drop{padding:14px 18px;border:1px solid #dfe8f7;border-radius:14px;background:#fff;max-width:520px}
.mini-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px}
.mini-table th,.mini-table td{padding:9px 10px;border-bottom:1px solid #e8eef7;text-align:left}
.mini-table tr:last-child td{border-bottom:0}
.muted{color:#71809b}
.customer-name{font-weight:700;color:#0b1b34;display:inline-block;padding:4px 0}
.customers-table .mini-toggle{width:34px;height:34px;border:1px solid #dbe6f7;border-radius:999px;background:#f4f7ff;color:#2563eb;font-size:20px;font-weight:900;line-height:1;display:inline-grid;place-items:center;cursor:pointer;box-shadow:0 4px 10px rgba(37,99,235,.08);transition:.18s ease}
.customers-table .mini-toggle:hover{background:#e8efff;transform:translateY(-1px)}
.customers-table .mini-toggle.open{background:#2563eb;color:#fff;border-color:#2563eb;transform:rotate(180deg)}
.customer-orders-detail{animation:fadeDrop .16s ease}
@keyframes fadeDrop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* v1.0.11 - kompaktniji prikaz kupaca */
.customers-table td{vertical-align:middle!important}
.customer-name{font-size:17px;font-weight:800;color:#07172f;line-height:1.25}
.customers-table .amount-cell,.mini-table .amount-cell{white-space:nowrap;min-width:120px}
.customers-table .action-cell{white-space:nowrap;min-width:170px}
.customers-table .action-cell .btn{display:inline-flex;margin-right:6px}
.customers-table .action-cell form{display:inline-flex;margin:0}
.customers-table .mini-toggle{width:38px;height:38px;border:0;border-radius:13px;background:#eaf1ff;color:#2563eb;font-size:17px;box-shadow:0 8px 18px rgba(37,99,235,.12)}
.customers-table .mini-toggle i{pointer-events:none}
.customers-table .mini-toggle:hover{background:#dbeafe;color:#1d4ed8;transform:translateY(-1px)}
.customers-table .mini-toggle.open{background:#2563eb;color:#fff;transform:none}
.customers-table .mini-toggle.open i{transform:rotate(180deg);transition:.18s ease}
.orders-drop{max-width:760px}
.mini-table th,.mini-table td{white-space:nowrap}
@media(max-width:1100px){.customers-table .action-cell{min-width:150px}.customers-table .amount-cell{min-width:110px}}

/* v1.0.12 - tracking popup i kompaktniji kupci */
.customers-table .amount-cell{white-space:nowrap!important;min-width:145px!important;width:145px!important}
.customers-table th:nth-child(8),.customers-table td:nth-child(8){min-width:155px!important;width:155px!important;white-space:nowrap!important}
.customers-table .action-cell{white-space:nowrap!important;min-width:190px!important;width:190px!important}
.customers-table .action-cell .btn{padding:10px 13px}
.customers-table .mini-toggle{width:30px!important;height:30px!important;min-width:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#2563eb!important;font-size:22px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.customers-table .mini-toggle:hover{background:transparent!important;color:#1d4ed8!important;transform:scale(1.08)!important}
.customers-table .mini-toggle.open{background:transparent!important;color:#2563eb!important;transform:none!important}
.customers-table .mini-toggle.open i{transform:rotate(180deg);transition:.18s ease}
.track-link{border:0;background:#eef2ff;color:#1d4ed8;border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer;white-space:nowrap}
.track-link:hover{background:#dbeafe}
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:50;display:flex;align-items:center;justify-content:center;padding:18px}
.modal-card{background:#fff;border-radius:22px;width:min(620px,96vw);padding:24px;position:relative;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.modal-card h2{margin:0 0 6px;font-size:24px}
.modal-close{position:absolute;right:16px;top:14px;border:0;background:#f1f5f9;color:#0f172a;width:36px;height:36px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer}
.tracking-status{margin-top:14px;border:1px solid #dbe6f7;background:#f8fbff;border-radius:16px;padding:16px;white-space:pre-wrap;line-height:1.55;max-height:360px;overflow:auto;color:#0b1b34}
.tracking-status.loading{color:#64748b}
.tracking-status.error{background:#fee2e2;color:#991b1b;border-color:#fecaca}

/* v1.0.13 customers list refinements */
.customers-table th:nth-child(8),.customers-table td:nth-child(8){min-width:112px!important;width:112px!important;white-space:nowrap!important}
.customers-table th:nth-child(7),.customers-table td:nth-child(7){min-width:170px!important;width:170px!important;white-space:nowrap!important}
.customers-table .amount-cell{white-space:nowrap!important;min-width:170px!important;width:170px!important}
.customers-table .action-cell{white-space:nowrap!important;min-width:112px!important;width:112px!important;display:table-cell!important;vertical-align:middle!important}
.customers-table .action-cell form{display:inline-flex!important;margin:0!important;vertical-align:middle!important}
.customers-table .action-cell .icon-btn{width:42px;height:42px;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-right:6px!important;border-radius:12px!important;font-size:18px!important;vertical-align:middle!important}
.customers-table .action-cell .icon-btn.secondary i{color:#1d4ed8!important}
.customers-table .action-cell .icon-btn.danger i{color:#991b1b!important}
.customers-table .mini-toggle{width:30px!important;height:30px!important;min-width:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#2563eb!important;font-size:22px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.customers-table .mini-toggle i{font-size:22px!important;color:#2563eb!important}


/* v1.0.14 - clean order icon and one-line action buttons */
.customers-table .mini-toggle{width:30px!important;height:30px!important;min-width:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#2563eb!important;font-size:24px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;appearance:none!important;-webkit-appearance:none!important;outline:none!important}
.customers-table .mini-toggle i{font-size:24px!important;color:#2563eb!important;line-height:1!important}
.customers-table .mini-toggle:hover{background:transparent!important;color:#1d4ed8!important;transform:scale(1.08)!important}
.customers-table .mini-toggle.open{background:transparent!important;color:#2563eb!important;transform:none!important}
.customers-table .mini-toggle.open i{transform:none!important}
.customers-table .action-cell{min-width:118px!important;width:118px!important;white-space:nowrap!important;vertical-align:middle!important}
.customers-table .action-inline{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.customers-table .action-inline form{display:inline-flex!important;margin:0!important;padding:0!important}
.customers-table .action-inline .icon-btn{width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}


/* v1.0.15 - cista ikonica detalja i uredne akcije */
.customers-table .customer-name{font-weight:900!important;font-size:18px!important;color:#07172f!important;}
.customers-table .order-toggle-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;min-width:20px!important;line-height:20px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#2563eb!important;cursor:pointer!important;vertical-align:middle!important;}
.customers-table .order-toggle-icon i{font-size:20px!important;line-height:20px!important;color:#2563eb!important;}
.customers-table .order-toggle-icon:hover i{color:#1d4ed8!important;transform:scale(1.08);}
.customers-table .order-toggle-icon.open i{color:#1d4ed8!important;}
.customers-table .action-cell{min-width:125px!important;width:125px!important;white-space:nowrap!important;}
.customers-table .action-inline{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:nowrap!important;white-space:nowrap!important;}
.customers-table .action-inline form{display:inline-flex!important;margin:0!important;padding:0!important;width:auto!important;}
.customers-table .action-inline .icon-btn{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;margin:0!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.customers-table .action-inline .icon-btn i{font-size:18px!important;}


/* v1.0.16 - veća ikonica detalja i šira kolona akcija */
.customers-table .customer-name{font-weight:900!important;font-size:18px!important;color:#07172f!important;}
.customers-table .order-toggle-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:50px!important;height:50px!important;min-width:50px!important;line-height:50px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#2563eb!important;cursor:pointer!important;vertical-align:middle!important;outline:none!important;appearance:none!important;-webkit-appearance:none!important;}
.customers-table .order-toggle-icon i{font-size:50px!important;line-height:50px!important;color:#2563eb!important;background:transparent!important;box-shadow:none!important;border:0!important;}
.customers-table .order-toggle-icon:hover i{color:#1d4ed8!important;transform:scale(1.04)!important;}
.customers-table .order-toggle-icon.open i{color:#1d4ed8!important;transform:none!important;}
.customers-table th:first-child,.customers-table td:first-child{width:64px!important;min-width:64px!important;text-align:center!important;vertical-align:middle!important;}
.customers-table th:nth-child(8),.customers-table td:nth-child(8),.customers-table .action-cell{min-width:250px!important;width:250px!important;white-space:nowrap!important;vertical-align:middle!important;}
.customers-table .action-inline{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;flex-wrap:nowrap!important;white-space:nowrap!important;width:100%!important;}
.customers-table .action-inline form{display:inline-flex!important;margin:0!important;padding:0!important;width:auto!important;flex:0 0 auto!important;}
.customers-table .action-inline .icon-btn{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;margin:0!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
.customers-table .action-inline .icon-btn i{font-size:19px!important;}


/* v1.0.17 - detalj ikonica 30px, kompaktnije akcije i tracking link za post.ba */
.customers-table .order-toggle-icon{width:30px!important;height:30px!important;min-width:30px!important;line-height:30px!important;}
.customers-table .order-toggle-icon i{font-size:30px!important;line-height:30px!important;}
.customers-table th:first-child,.customers-table td:first-child{width:44px!important;min-width:44px!important;text-align:center!important;}
.customers-table th:nth-child(8),.customers-table td:nth-child(8),.customers-table .action-cell{min-width:128px!important;width:128px!important;white-space:nowrap!important;vertical-align:middle!important;}
.customers-table .action-inline{gap:10px!important;justify-content:flex-start!important;flex-wrap:nowrap!important;width:auto!important;}
.customers-table .action-inline .icon-btn{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;}
.customers-table .amount-cell{min-width:140px!important;white-space:nowrap!important;}
.track-link{border:0!important;background:transparent!important;color:#2563eb!important;font-weight:800!important;cursor:pointer!important;text-decoration:underline!important;padding:0!important;}
.track-link:hover{color:#1d4ed8!important;}


/* v1.0.19 - tracking broj kao običan link bez bolda */
.track-link{border:0!important;background:transparent!important;color:#2563eb!important;font-weight:400!important;cursor:pointer!important;text-decoration:underline!important;padding:0!important;white-space:nowrap!important;}
.track-link:hover{color:#1d4ed8!important;}

/* v1.0.22 - statistika narudžbi */
.stats-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.stats-head h2{margin:0 0 6px;font-size:26px;color:#07172f}
.stats-filter{display:flex;gap:10px;align-items:end;background:#fff;border:1px solid var(--line);padding:12px;border-radius:18px;box-shadow:0 8px 25px rgba(15,23,42,.04)}
.stats-filter .field{min-width:145px}.stats-filter-btn{min-width:auto}.stats-cards .stat small{display:block;margin-top:8px}.stat-positive{color:#16a34a!important}.stat-negative{color:#dc2626!important}
.stats-chart-card{padding:22px}.chart-title-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.chart-title-row h3{margin:0 0 4px;font-size:20px}.stats-table td,.stats-table th{white-space:nowrap}.stats-month-row{cursor:pointer}.stats-month-row:hover td{background:#f8fbff}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.modal-card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.28);max-width:720px;width:min(720px,96vw);position:relative}.modal-close{position:absolute;right:14px;top:12px;border:0;background:#f1f5f9;border-radius:999px;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer;color:#334155}.stats-modal-card{max-width:900px;width:min(900px,96vw);max-height:88vh;overflow:auto}.stats-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:14px}.stats-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.stats-split div{border:1px solid #e5e9f2;background:#f8fbff;border-radius:14px;padding:12px}.stats-split span{display:block;color:#64748b;margin-top:4px}@media(max-width:900px){.stats-head{display:block}.stats-filter{margin-top:12px;display:grid;grid-template-columns:1fr}.stats-modal-grid,.stats-split{grid-template-columns:1fr}}

/* v1.0.28 - Komunikacija meni i sigurna podešavanja API ključeva */
.sidebar nav a{display:flex;align-items:center;gap:10px}
.sidebar nav a i{width:18px;text-align:center}
.nav-section{margin:10px 0 4px;padding:10px 8px;border-radius:14px;background:rgba(255,255,255,.045)}
.nav-section>span{display:flex;align-items:center;gap:10px;color:#93a4bd;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin:2px 6px 8px}
.nav-section a{padding:10px 12px!important;margin-top:4px;background:transparent}
.nav-section a.active{background:rgba(37,99,235,.35)!important;color:#fff!important}
.comm-security{border-left:5px solid var(--blue)}
.secret-ok{display:inline-flex;align-items:center;gap:7px;color:#166534;background:#dcfce7;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px;width:max-content}
.secret-empty{display:inline-flex;color:#991b1b;background:#fee2e2;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px;width:max-content}
.clear-secret,.checkline{display:flex!important;align-items:center;gap:8px;margin:8px 0;color:#475569;font-weight:800}
.clear-secret input,.checkline input{width:auto!important}
input[type=password]::-ms-reveal,input[type=password]::-ms-clear{display:none}
/* v1.0.29 menu groups and delivered orders */
.sidebar details.nav-group{margin:4px 0}
.sidebar details.nav-group summary{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;color:#b7c3d8;cursor:pointer;list-style:none;font-weight:700;user-select:none}
.sidebar details.nav-group summary::-webkit-details-marker{display:none}
.sidebar details.nav-group summary:hover,.sidebar details.nav-group summary.active{background:#1c2a42;color:#fff}
.sidebar .nav-arrow{margin-left:auto;font-size:11px;transition:transform .18s ease}
.sidebar details[open] .nav-arrow{transform:rotate(180deg)}
.sidebar .nav-sub{padding:4px 0 6px 14px;margin-left:12px;border-left:1px solid rgba(255,255,255,.08)}
.sidebar .nav-sub a{font-size:14px;padding:9px 12px;border-radius:12px;margin:2px 0}
.delivered-table th:nth-child(1){width:110px}.delivered-table th:nth-child(4){width:190px}.delivered-table th:nth-child(5){width:150px}.delivered-table th:nth-child(6){width:130px;white-space:nowrap}.delivered-table td{vertical-align:middle}.badge-soft{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef3ff;color:#245be8;font-weight:800;font-size:12px}.pagination{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}
.filters-card{margin-bottom:16px}.filters-grid{display:grid;grid-template-columns:2fr 160px 140px 170px auto;gap:12px;align-items:end}.filter-actions{display:flex!important;flex-direction:row;gap:8px;align-items:end}.delivered-summary{padding:0 2px}.amount-cell{white-space:nowrap}.btn.success{background:var(--green);color:#fff}@media(max-width:1100px){.filters-grid{grid-template-columns:1fr 1fr}.filter-actions{grid-column:1/-1}}@media(max-width:560px){.filters-grid{grid-template-columns:1fr}.filter-actions{flex-wrap:wrap}}

/* Order preview panel */
.preview-name{border:0;background:transparent;color:var(--text);font-weight:800;font-size:15px;cursor:pointer;padding:0;text-align:left}.preview-name:hover{color:var(--blue)}.order-actions{flex-wrap:nowrap;white-space:nowrap}.order-actions .btn{padding:9px 11px}.preview-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:30}.preview-overlay.open{display:block}.preview-panel{position:fixed;top:0;right:0;width:min(760px,94vw);height:100vh;background:#fff;box-shadow:-20px 0 50px rgba(15,23,42,.25);z-index:31;transform:translateX(105%);transition:.22s ease;overflow:auto}.preview-panel.open{transform:translateX(0)}.preview-close{position:sticky;top:14px;float:right;margin:14px 16px 0 0;width:42px;height:42px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;cursor:pointer;z-index:2}.preview-close:hover{background:#e2e8f0}.preview-content{padding:28px}.preview-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-right:54px;margin-bottom:14px}.preview-head h2{margin:3px 0 0;font-size:24px}.preview-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.preview-section{border:1px solid var(--line);border-radius:18px;padding:16px;margin:14px 0;background:#fff}.preview-section h3{margin:0 0 12px;font-size:17px}.preview-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview-info div,.preview-notes div{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:12px}.preview-info span,.preview-notes span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;font-weight:800;margin-bottom:4px}.preview-info strong{display:block;white-space:pre-wrap}.preview-value{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:12px;min-height:44px}.preview-items{display:grid;gap:12px}.preview-item{border:1px dashed var(--line);border-radius:14px;padding:13px;background:#fbfdff}.preview-item-title{display:flex;justify-content:space-between;gap:12px}.preview-item-title span{color:var(--muted);font-weight:700}.preview-file{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.preview-file img{width:84px;height:84px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.preview-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview-notes p{margin:0;white-space:pre-wrap}.tracking-link{color:var(--blue);font-weight:800}.preview-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.preview-info,.preview-notes,.preview-status-grid{grid-template-columns:1fr}.preview-content{padding:20px}.preview-head{padding-right:45px;display:block}.preview-panel{width:100vw}.preview-item-title{display:block}.order-actions{flex-wrap:wrap}}

/* v1.0.37 - urednija tabela narudžbi i bolji prikaz priloga u Preview-u */
.table.orders-table th,.table.orders-table td{vertical-align:middle!important;}
.table.orders-table tr{border-bottom:1px solid var(--line)!important;}
.table.orders-table th,.table.orders-table td{border-bottom:0!important;}
.order-actions-cell{vertical-align:middle!important;white-space:nowrap!important;min-width:260px!important;}
.order-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:nowrap!important;white-space:nowrap!important;}
.order-actions .btn{height:42px!important;min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;}
.order-actions .btn.secondary:not(:first-child),.order-actions .btn.danger{width:42px!important;min-width:42px!important;padding:0!important;}
.preview-attachments{margin-top:12px;border-top:1px solid #eef2f7;padding-top:12px;}
.preview-attachments-title{display:flex;align-items:center;gap:8px;color:#475569;font-size:13px;font-weight:900;text-transform:uppercase;margin-bottom:10px;}
.preview-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;}
.preview-file-card{display:flex;flex-direction:column;gap:7px;align-items:flex-start;border:1px solid #dbe6f7;background:#f8fbff;border-radius:14px;padding:10px;color:#0f172a;transition:.15s ease;min-height:120px;}
.preview-file-card:hover{border-color:#2563eb;background:#eef4ff;transform:translateY(-1px);}
.preview-file-card img{width:100%;height:96px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#fff;}
.preview-file-card strong{font-size:13px;line-height:1.25;word-break:break-word;}
.preview-file-card small{color:#2563eb;font-weight:800;}
.preview-file-icon{width:100%;height:96px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center;background:#fff;color:#2563eb;font-size:30px;}
.preview-no-file{border:1px dashed #dbe6f7;background:#f8fafc;color:#64748b;border-radius:12px;padding:11px;font-weight:700;}
.existing-file-link{display:inline-flex;align-items:center;gap:6px;margin-top:7px;font-weight:800;color:#2563eb!important;}

/* v1.0.38 - više priloga po artiklu i pregled proizvoda u listi narudžbi */
.orders-table th:nth-child(3){min-width:210px;}
.order-products-cell{max-width:310px;white-space:normal!important;line-height:1.35;color:#334155;font-weight:700;}
.order-status-cell{width:190px!important;min-width:190px!important;max-width:190px!important;}
.order-status-cell select{width:180px!important;min-width:180px!important;max-width:180px!important;padding-left:14px!important;padding-right:34px!important;}
.existing-files-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.existing-files-list .existing-file-link{margin-top:0!important;background:#eef4ff;border:1px solid #dbe6f7;border-radius:999px;padding:7px 10px;}
.item-row input[type=file]{padding:12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;}

/* v1.0.39 - Live TO DO lista narudžbi */
.todo-shell{min-height:calc(100vh - 150px);background:linear-gradient(180deg,#f8fbff,#eef4ff);border:1px solid #dbe6f7;border-radius:24px;padding:22px;box-shadow:0 16px 50px rgba(15,23,42,.06)}
.todo-shell:fullscreen{overflow:auto;background:#f4f7ff;padding:28px}.todo-shell:fullscreen .todo-hero{position:sticky;top:0;z-index:5;background:rgba(248,251,255,.94);backdrop-filter:blur(10px);border:1px solid #dbe6f7}
.todo-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;margin-bottom:16px}.todo-hero h2{font-size:34px;margin:6px 0 6px;letter-spacing:-.03em}.todo-hero p{margin:0;color:#64748b;max-width:920px;line-height:1.45}.todo-kicker{display:flex;align-items:center;gap:9px;color:#1d4ed8;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.06em}.live-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.75);animation:livePulse 1.4s infinite}@keyframes livePulse{70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}.todo-hero-actions{display:flex;gap:10px;white-space:nowrap}.todo-status-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}.todo-status-pill{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;min-height:64px}.todo-status-pill span{font-size:12px;text-transform:uppercase;font-weight:900}.todo-status-pill b{font-size:26px}.todo-status-pill.neutral{background:#0f172a;color:#fff}.todo-meta{display:flex;justify-content:space-between;gap:12px;color:#64748b;font-weight:700;margin:8px 2px 14px}.todo-list{display:grid;gap:14px}.todo-group-title{display:flex;align-items:center;gap:10px;margin:16px 0 2px}.todo-group-title b{color:#64748b}.todo-card{display:grid;grid-template-columns:1.1fr 1.45fr 1.2fr 250px;gap:16px;align-items:center;background:#fff;border:1px solid #dfe8f7;border-left:7px solid #2563eb;border-radius:22px;padding:16px 18px;box-shadow:0 12px 34px rgba(15,23,42,.06);transition:.16s ease}.todo-card:hover{transform:translateY(-1px);box-shadow:0 18px 46px rgba(15,23,42,.09)}.todo-NOVO{border-left-color:#2563eb}.todo-U_OBRADI{border-left-color:#f59e0b}.todo-SPREMNO_ZA_SLANJE,.todo-SPREMNO_ZA_PREUZIMANJE{border-left-color:#7c3aed}.todo-main{display:flex;align-items:flex-start;gap:14px}.todo-number{width:58px;height:58px;border-radius:18px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-size:22px;font-weight:1000}.todo-customer{display:grid;gap:5px}.todo-customer button{border:0;background:transparent;padding:0;text-align:left;color:#07172f;font-size:21px;font-weight:1000;cursor:pointer}.todo-customer button:hover{color:#2563eb}.todo-customer span{font-size:13px;color:#64748b;font-weight:700}.todo-customer i{width:16px;color:#2563eb}.todo-products strong{display:block;color:#475569;font-size:12px;text-transform:uppercase;margin-bottom:5px}.todo-products p{margin:0;color:#172033;font-size:16px;font-weight:800;line-height:1.35}.todo-files{display:inline-flex;align-items:center;gap:7px;margin-top:8px;background:#eef4ff;color:#1d4ed8;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900}.todo-delivery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.todo-delivery div{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:10px}.todo-delivery span{display:block;color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900;margin-bottom:3px}.todo-delivery b{display:block;color:#0f172a;font-size:14px;word-break:break-word}.todo-delivery a{color:#2563eb;text-decoration:underline}.todo-controls{display:flex;gap:9px;align-items:center;justify-content:flex-end}.todo-controls select{min-width:185px;height:44px;font-weight:900}.todo-controls .btn{height:44px;white-space:nowrap}.todo-empty{min-height:360px;background:#fff;border:1px dashed #cbd5e1;border-radius:24px;display:grid;place-items:center;text-align:center;padding:40px;color:#64748b}.todo-empty i{font-size:72px;color:#16a34a;margin-bottom:6px}.todo-empty strong{display:block;font-size:28px;color:#0f172a}.todo-empty span{font-weight:700}@media(max-width:1320px){.todo-card{grid-template-columns:1fr 1fr}.todo-controls{justify-content:flex-start}.todo-status-strip{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.todo-shell{padding:14px;border-radius:18px}.todo-hero{display:block;padding:18px}.todo-hero h2{font-size:26px}.todo-hero-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}.todo-status-strip{grid-template-columns:1fr 1fr}.todo-meta{display:block;line-height:1.7}.todo-card{grid-template-columns:1fr;padding:14px}.todo-main{align-items:center}.todo-number{width:48px;height:48px;font-size:18px}.todo-customer button{font-size:18px}.todo-delivery{grid-template-columns:1fr}.todo-controls{display:grid;grid-template-columns:1fr auto auto}.todo-controls select{min-width:0;width:100%}.todo-controls .btn.secondary{font-size:0}.todo-controls .btn.secondary i{font-size:15px}.todo-status-pill{padding:12px}.todo-status-pill b{font-size:22px}}


/* v1.0.40 - ispravke snimanja i TO DO liste */
.notice.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;border-radius:16px;padding:14px 18px;margin-bottom:16px;font-weight:800;}
.todo-hero{align-items:center;}
.todo-hero h2{margin-bottom:0;}
.todo-card{grid-template-columns:1.05fr 1.35fr 1.2fr 220px;}
.todo-controls{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important;justify-content:stretch!important;}
.todo-status-control select{width:100%!important;min-width:0!important;max-width:100%!important;}
.todo-action-buttons{display:flex!important;gap:9px!important;align-items:center!important;justify-content:flex-end!important;}
.todo-action-buttons .btn{height:44px!important;white-space:nowrap!important;}
.todo-action-buttons .btn.gray{width:46px!important;min-width:46px!important;padding:0!important;}
@media(max-width:1320px){.todo-card{grid-template-columns:1fr 1fr}.todo-controls{grid-column:1 / -1}.todo-action-buttons{justify-content:flex-start}}
@media(max-width:760px){.todo-controls{grid-template-columns:1fr!important}.todo-action-buttons{justify-content:stretch}.todo-action-buttons .btn.secondary{flex:1}.todo-action-buttons .btn.gray{width:50px!important}}

/* v1.0.42 - LIVE lista status boje i centriran edit */
.todo-kicker{font-size:13px!important;color:#0f172a!important;}
.todo-card{border-left-color:#94a3b8!important;}
.todo-card.todo-NOVO{border-left-color:#ef4444!important;}
.todo-card.todo-U_OBRADI{border-left-color:#f59e0b!important;}
.todo-card.todo-SPREMNO_ZA_SLANJE,.todo-card.todo-SPREMNO_ZA_PREUZIMANJE{border-left-color:#22c55e!important;}
.todo-group-title .badge.b-new,.todo-status-pill.b-new{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important;}
.todo-group-title .badge.b-work,.todo-status-pill.b-work{background:#ffedd5!important;color:#c2410c!important;border-color:#fed7aa!important;}
.todo-group-title .badge.b-ready,.todo-status-pill.b-ready{background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important;}
.todo-status-pill.neutral{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important;}
.todo-status-select{font-weight:1000!important;border-width:2px!important;}
.todo-status-select.status-NOVO{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important;}
.todo-status-select.status-U_OBRADI{background:#ffedd5!important;color:#c2410c!important;border-color:#fed7aa!important;}
.todo-status-select.status-SPREMNO_ZA_SLANJE,.todo-status-select.status-SPREMNO_ZA_PREUZIMANJE{background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important;}
.todo-status-select.status-POSLATO,.todo-status-select.status-DOSTAVLJENO,.todo-status-select.status-OTKAZANO,.todo-status-select.status-VRA_ENO,.todo-status-select.status-VRACENO{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important;}
.todo-action-buttons .btn.gray{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;}
.todo-action-buttons .btn.gray i{display:block!important;margin:0!important;line-height:1!important;font-size:18px!important;}

/* v1.0.43 - elegantnije boje LIVE liste i klik na cijelu karticu */
.todo-card{cursor:pointer;border-left-color:#2563eb!important;}
.todo-card:hover{border-color:#cfe0ff!important;background:#ffffff!important;}
.todo-card.todo-NOVO{border-left-color:#2563eb!important;}
.todo-card.todo-U_OBRADI{border-left-color:#f59e0b!important;}
.todo-card.todo-SPREMNO_ZA_SLANJE,.todo-card.todo-SPREMNO_ZA_PREUZIMANJE{border-left-color:#7c3aed!important;}
.todo-group-title .badge.b-new,.todo-status-pill.b-new{background:#dbeafe!important;color:#1d4ed8!important;border-color:#bfdbfe!important;}
.todo-group-title .badge.b-work,.todo-status-pill.b-work{background:#fef3c7!important;color:#b45309!important;border-color:#fde68a!important;}
.todo-group-title .badge.b-ready,.todo-status-pill.b-ready{background:#ede9fe!important;color:#6d28d9!important;border-color:#ddd6fe!important;}
.todo-status-pill.neutral{background:#0f172a!important;color:#ffffff!important;border-color:#0f172a!important;}
.todo-status-select{font-weight:900!important;border-width:1px!important;}
.todo-status-select.status-NOVO{background:#ffffff!important;color:#0f172a!important;border-color:#dbe6f7!important;}
.todo-status-select.status-U_OBRADI{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important;}
.todo-status-select.status-SPREMNO_ZA_SLANJE,.todo-status-select.status-SPREMNO_ZA_PREUZIMANJE{background:#f5f3ff!important;color:#6d28d9!important;border-color:#ddd6fe!important;}
.todo-status-select.status-POSLATO,.todo-status-select.status-DOSTAVLJENO,.todo-status-select.status-OTKAZANO,.todo-status-select.status-VRA_ENO,.todo-status-select.status-VRACENO{background:#f8fafc!important;color:#475569!important;border-color:#cbd5e1!important;}
.todo-controls,.todo-action-buttons,.todo-status-control,.todo-controls select,.todo-action-buttons .btn{cursor:auto;}

/* v1.0.44 - korisnici, full screen toggle i mobilna optimizacija */
.permissions-box{margin-top:16px;border:1px solid var(--line);border-radius:18px;background:#f8fbff;padding:16px;display:grid;gap:10px}
.permissions-box h3{margin:0 0 4px}.permission-item,.checkline{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6edf8;border-radius:12px;background:#fff;font-weight:800;color:#172033}.permission-item input,.checkline input{width:auto}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.small-perms{font-size:12px;color:#64748b;line-height:1.45;max-width:360px}.icon-only{width:42px;height:42px;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.users-table td{vertical-align:middle!important}
#todoShell:fullscreen{background:#f4f6fb;padding:24px;overflow:auto}#todoShell:fullscreen .todo-hero{position:sticky;top:0;z-index:3}#todoFullscreenBtn{min-width:164px;justify-content:center}
@media(max-width:780px){
  body{font-size:15px}.top{height:auto;min-height:76px;padding:14px 16px}.top h1{font-size:21px}.top p{font-size:13px}.content{padding:14px}.toolbar{align-items:stretch;flex-direction:column}.toolbar form,.toolbar .search{width:100%;max-width:none}.btn{min-height:44px;justify-content:center}.card{border-radius:16px;padding:15px}.table-wrap{overflow:visible}.orders-table,.orders-table tbody,.orders-table tr,.orders-table td{display:block;width:100%}.orders-table tr:first-child{display:none}.orders-table tr{background:#fff;border:1px solid #dfe8f7;border-radius:18px;padding:14px;margin-bottom:14px;box-shadow:0 10px 25px rgba(15,23,42,.05)}.orders-table td{border:0!important;padding:7px 2px!important}.orders-table td:before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;color:#64748b;font-weight:900;margin-bottom:3px}.orders-table .order-actions-cell .actions{justify-content:flex-start}.orders-table .order-status-cell select{max-width:100%}.preview-panel{width:100%!important;border-radius:22px 22px 0 0;top:8%!important}.preview-content{padding-bottom:30px}.todo-shell{padding:12px}.todo-hero h2{font-size:23px}.todo-hero-actions{grid-template-columns:1fr}.todo-status-strip{grid-template-columns:1fr 1fr}.todo-card{border-radius:20px;gap:12px}.todo-products p{font-size:15px}.todo-delivery div{padding:9px}.todo-action-buttons{gap:8px}.todo-action-buttons .btn.secondary{font-size:14px}.users-layout{grid-template-columns:1fr!important}.users-table,.users-table tbody,.users-table tr,.users-table td{display:block;width:100%}.users-table tr:first-child{display:none}.users-table tr{border:1px solid #dfe8f7;border-radius:16px;padding:12px;margin-bottom:12px}.users-table td{border:0!important;padding:6px 0!important}.form-grid{grid-template-columns:1fr!important}.grid.two{grid-template-columns:1fr!important}
}


/* v1.0.45 - pravi mobilni prikaz bez kvarenja desktop verzije */
.mobile-menu-overlay{display:none}
.mobile-menu-btn{border:0;background:#eef4ff;color:#1d4ed8;width:44px;height:44px;border-radius:14px;align-items:center;justify-content:center;font-size:20px;cursor:pointer;flex:0 0 auto}
@media (max-width:1024px){
  html,body{overflow-x:hidden!important;}
  body.mobile-menu-is-open{overflow:hidden!important;}
  .app{display:block!important;min-height:100vh!important;}
  .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(82vw,310px)!important;z-index:1001!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;box-shadow:18px 0 50px rgba(15,23,42,.35)!important;overflow-y:auto!important;}
  .sidebar.open{transform:translateX(0)!important;}
  .mobile-menu-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.58);z-index:1000;backdrop-filter:blur(2px)}
  .mobile-menu-overlay.open{display:block!important;}
  .main{margin-left:0!important;width:100%!important;min-width:0!important;}
  .top{position:sticky!important;top:0!important;z-index:900!important;height:auto!important;min-height:70px!important;padding:12px 14px!important;gap:12px!important;box-shadow:0 2px 12px rgba(15,23,42,.04)!important;}
  #menuBtn,.mobile-menu-btn{display:inline-flex!important;}
  .top h1{font-size:20px!important;line-height:1.15!important;}
  .top p{font-size:12px!important;margin-top:3px!important;}
  .content{padding:14px!important;}
  .card{border-radius:18px!important;padding:16px!important;}
  .form-grid,.grid.two{grid-template-columns:1fr!important;}
  .field.full{grid-column:auto!important;}
  .toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .toolbar .search,.toolbar form,.toolbar .btn{width:100%!important;max-width:none!important;}
  input,select,textarea{font-size:16px!important;min-height:46px!important;}
  .btn{min-height:46px!important;border-radius:13px!important;}
}
@media (max-width:1024px){
  .todo-shell{padding:12px!important;border-radius:18px!important;background:#f6f9ff!important;}
  .todo-hero{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:16px!important;border-radius:20px!important;}
  .todo-hero h2{font-size:25px!important;line-height:1.05!important;margin:6px 0 0!important;}
  .todo-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;white-space:normal!important;}
  #todoFullscreenBtn{min-width:0!important;}
  .todo-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .todo-status-pill{min-height:58px!important;padding:12px!important;border-radius:16px!important;}
  .todo-status-pill span{font-size:10px!important;line-height:1.2!important;}
  .todo-status-pill b{font-size:22px!important;}
  .todo-meta{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;font-size:12px!important;line-height:1.35!important;margin:10px 2px 12px!important;}
  .todo-group-title{margin:16px 0 8px!important;}
  .todo-card{grid-template-columns:1fr!important;gap:12px!important;padding:14px!important;border-radius:22px!important;border-left-width:6px!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important;}
  .todo-main{display:grid!important;grid-template-columns:54px 1fr!important;gap:12px!important;align-items:start!important;}
  .todo-number{width:50px!important;height:50px!important;border-radius:16px!important;font-size:20px!important;}
  .todo-customer button{font-size:20px!important;line-height:1.15!important;}
  .todo-customer span{font-size:13px!important;display:block!important;line-height:1.45!important;}
  .todo-products strong{font-size:11px!important;margin-bottom:5px!important;}
  .todo-products p{font-size:16px!important;line-height:1.35!important;font-weight:900!important;}
  .todo-delivery{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .todo-delivery div{padding:10px!important;border-radius:15px!important;}
  .todo-delivery span{font-size:10px!important;}
  .todo-delivery b{font-size:13px!important;}
  .todo-controls{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .todo-status-control select{width:100%!important;height:48px!important;font-size:16px!important;}
  .todo-action-buttons{display:grid!important;grid-template-columns:1fr 52px!important;gap:9px!important;align-items:center!important;justify-content:stretch!important;}
  .todo-action-buttons .btn.secondary{font-size:15px!important;width:100%!important;justify-content:center!important;}
  .todo-action-buttons .btn.gray{width:52px!important;min-width:52px!important;height:46px!important;justify-content:center!important;}
}
@media (max-width:560px){
  .todo-hero h2{font-size:23px!important;}
  .todo-status-strip{grid-template-columns:1fr 1fr!important;}
  .todo-delivery{grid-template-columns:1fr!important;}
  .todo-main{grid-template-columns:48px 1fr!important;}
  .todo-number{width:44px!important;height:44px!important;font-size:18px!important;}
  .todo-customer button{font-size:18px!important;}
}

/* v1.0.46 - poboljsana mobilna TO DO lista i citljiviji prikaz */
.todo-products p{font-weight:600!important;}
@media(max-width:760px){
  body{font-size:17px!important;}
  .mobile-top{min-height:58px!important;padding:12px 14px!important;}
  .mobile-top h1{font-size:20px!important;line-height:1.1!important;}
  .mobile-top p{font-size:12px!important;}
  .content{padding:10px!important;}
  .todo-shell{padding:10px!important;border-radius:16px!important;}
  .todo-hero{padding:16px!important;border-radius:18px!important;}
  .todo-kicker{font-size:12px!important;letter-spacing:.02em!important;}
  .todo-hero h2{font-size:28px!important;line-height:1.05!important;}
  .todo-hero-actions .btn{min-height:48px!important;font-size:15px!important;border-radius:13px!important;}
  .todo-status-strip{gap:9px!important;}
  .todo-status-pill{min-height:64px!important;padding:13px!important;}
  .todo-status-pill span{font-size:11px!important;}
  .todo-status-pill b{font-size:25px!important;}
  .todo-meta{font-size:13px!important;}
  .todo-group-title .badge{font-size:12px!important;padding:7px 10px!important;}
  .todo-group-title b{font-size:10px!important;}
  .todo-card{padding:16px!important;gap:14px!important;border-radius:22px!important;}
  .todo-main{grid-template-columns:58px 1fr!important;gap:14px!important;}
  .todo-number{width:54px!important;height:54px!important;font-size:22px!important;border-radius:17px!important;}
  .todo-customer button{font-size:23px!important;line-height:1.12!important;}
  .todo-customer span{font-size:10px!important;line-height:1.5!important;}
  .todo-products strong{font-size:12px!important;}
  .todo-products p{font-size:17px!important;line-height:1.45!important;font-weight:600!important;}
  .todo-files{font-size:13px!important;padding:7px 10px!important;}
  .todo-delivery{grid-template-columns:1fr!important;gap:9px!important;}
  .todo-delivery div{padding:12px!important;border-radius:16px!important;}
  .todo-delivery span{font-size:11px!important;}
  .todo-delivery b{font-size:15px!important;line-height:1.3!important;}
  .todo-status-control select{height:52px!important;font-size:17px!important;border-radius:14px!important;}
  .todo-action-buttons{grid-template-columns:1fr 56px!important;gap:10px!important;}
  .todo-action-buttons .btn.secondary{min-height:50px!important;font-size:16px!important;border-radius:14px!important;}
  .todo-action-buttons .btn.gray{width:56px!important;min-width:56px!important;height:50px!important;border-radius:14px!important;}
  .todo-action-buttons .btn.gray i{font-size:20px!important;}
}
@media(max-width:390px){
  .todo-hero h2{font-size:25px!important;}
  .todo-customer button{font-size:21px!important;}
  .todo-products p{font-size:16px!important;}
  .todo-status-strip{grid-template-columns:1fr!important;}
}


/* v1.0.47 - TV / landscape LIVE lista narudžbi */
.todo-products p{
  font-weight:500!important;
}
@media (min-width: 900px) and (orientation: landscape){
  .todo-shell{
    padding:18px!important;
  }
  .todo-hero{
    padding:14px 18px!important;
    margin-bottom:12px!important;
    align-items:center!important;
  }
  .todo-hero h2{
    font-size:25px!important;
    margin:3px 0!important;
  }
  .todo-hero-actions .btn{
    min-height:40px!important;
    padding:9px 12px!important;
  }
  .todo-status-strip{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:8px!important;
    margin:10px 0!important;
  }
  .todo-status-pill{
    min-height:48px!important;
    padding:8px 11px!important;
    border-radius:14px!important;
  }
  .todo-status-pill span{
    font-size:10px!important;
    line-height:1.15!important;
    letter-spacing:.02em!important;
  }
  .todo-status-pill b{
    font-size:22px!important;
    line-height:1!important;
  }
  .todo-meta{
    margin:6px 2px 10px!important;
    font-size:12px!important;
  }
  .todo-list{
    gap:10px!important;
  }
  .todo-group-title{
    margin:10px 0 0!important;
  }
  .todo-card{
    grid-template-columns:minmax(210px,.9fr) minmax(260px,1.2fr) minmax(420px,1.75fr) minmax(210px,.72fr)!important;
    gap:12px!important;
    padding:12px 14px!important;
    border-radius:18px!important;
    align-items:center!important;
  }
  .todo-number{
    width:50px!important;
    height:50px!important;
    border-radius:16px!important;
    font-size:19px!important;
  }
  .todo-customer button{
    font-size:18px!important;
    line-height:1.15!important;
  }
  .todo-customer span{
    font-size:12px!important;
  }
  .todo-products strong{
    font-size:10px!important;
    margin-bottom:4px!important;
  }
  .todo-products p{
    font-size:10px!important;
    line-height:1.28!important;
    font-weight:500!important;
  }
  .todo-files{
    margin-top:5px!important;
    padding:4px 8px!important;
    font-size:11px!important;
  }
  .todo-delivery{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .todo-delivery div{
    padding:7px 8px!important;
    border-radius:12px!important;
    min-width:0!important;
  }
  .todo-delivery span{
    font-size:9px!important;
    margin-bottom:2px!important;
    white-space:nowrap!important;
  }
  .todo-delivery b{
    font-size:12px!important;
    line-height:1.2!important;
    word-break:break-word!important;
  }
  .todo-controls{
    gap:7px!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
  }
  .todo-controls select{
    min-width:155px!important;
    height:39px!important;
    font-size:12px!important;
    padding:8px 9px!important;
  }
  .todo-controls .btn{
    height:39px!important;
    min-height:39px!important;
    padding:8px 10px!important;
    font-size:12px!important;
  }
}
.todo-shell:fullscreen .todo-status-strip,
.todo-shell:-webkit-full-screen .todo-status-strip{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.todo-shell:fullscreen .todo-delivery,
.todo-shell:-webkit-full-screen .todo-delivery{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.todo-shell:fullscreen .todo-card,
.todo-shell:-webkit-full-screen .todo-card{
  grid-template-columns:minmax(220px,.9fr) minmax(280px,1.2fr) minmax(460px,1.8fr) minmax(220px,.72fr)!important;
}
/* end v1.0.47 */


/* v1.0.48 - jači TV / fullscreen raspored za LIVE listu */
@media (min-width: 700px){
  .todo-shell:fullscreen .todo-status-strip,
  .todo-shell:-webkit-full-screen .todo-status-strip,
  body:has(.todo-shell:fullscreen) .todo-status-strip{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .todo-shell:fullscreen .todo-status-pill,
  .todo-shell:-webkit-full-screen .todo-status-pill{
    min-height:50px!important;
    padding:8px 12px!important;
    border-radius:14px!important;
  }
  .todo-shell:fullscreen .todo-status-pill span,
  .todo-shell:-webkit-full-screen .todo-status-pill span{
    font-size:10px!important;
    line-height:1.15!important;
  }
  .todo-shell:fullscreen .todo-status-pill b,
  .todo-shell:-webkit-full-screen .todo-status-pill b{
    font-size:23px!important;
  }
  .todo-shell:fullscreen .todo-delivery,
  .todo-shell:-webkit-full-screen .todo-delivery,
  body:has(.todo-shell:fullscreen) .todo-delivery{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .todo-shell:fullscreen .todo-delivery div,
  .todo-shell:-webkit-full-screen .todo-delivery div{
    padding:8px 9px!important;
    border-radius:12px!important;
  }
  .todo-shell:fullscreen .todo-delivery span,
  .todo-shell:-webkit-full-screen .todo-delivery span{
    font-size:9px!important;
    white-space:nowrap!important;
  }
  .todo-shell:fullscreen .todo-delivery b,
  .todo-shell:-webkit-full-screen .todo-delivery b{
    font-size:12px!important;
    line-height:1.2!important;
  }
}
@media (min-width: 850px){
  .todo-status-strip{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .todo-delivery{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media (min-width: 1000px){
  .todo-card{
    grid-template-columns:minmax(230px,.9fr) minmax(260px,1.05fr) minmax(390px,1.55fr) minmax(215px,.7fr)!important;
  }
}
/* end v1.0.48 */

/* v1.0.49 - forsiran TV/fullscreen raspored i na manjim CSS viewportima */
body.todo-tv-fullscreen .todo-status-strip,
.todo-shell:fullscreen .todo-status-strip,
.todo-shell:-webkit-full-screen .todo-status-strip{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch!important;
  overflow:visible!important;
}
body.todo-tv-fullscreen .todo-status-pill,
.todo-shell:fullscreen .todo-status-pill,
.todo-shell:-webkit-full-screen .todo-status-pill{
  min-height:44px!important;
  padding:7px 9px!important;
  border-radius:13px!important;
}
body.todo-tv-fullscreen .todo-status-pill span,
.todo-shell:fullscreen .todo-status-pill span,
.todo-shell:-webkit-full-screen .todo-status-pill span{
  font-size:9px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  white-space:normal!important;
}
body.todo-tv-fullscreen .todo-status-pill b,
.todo-shell:fullscreen .todo-status-pill b,
.todo-shell:-webkit-full-screen .todo-status-pill b{
  font-size:21px!important;
  line-height:1!important;
}
body.todo-tv-fullscreen .todo-delivery,
.todo-shell:fullscreen .todo-delivery,
.todo-shell:-webkit-full-screen .todo-delivery{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
body.todo-tv-fullscreen .todo-delivery div,
.todo-shell:fullscreen .todo-delivery div,
.todo-shell:-webkit-full-screen .todo-delivery div{
  padding:8px 8px!important;
  border-radius:12px!important;
  min-width:0!important;
}
body.todo-tv-fullscreen .todo-delivery span,
.todo-shell:fullscreen .todo-delivery span,
.todo-shell:-webkit-full-screen .todo-delivery span{
  font-size:9px!important;
  line-height:1.1!important;
  margin-bottom:2px!important;
  white-space:nowrap!important;
}
body.todo-tv-fullscreen .todo-delivery b,
.todo-shell:fullscreen .todo-delivery b,
.todo-shell:-webkit-full-screen .todo-delivery b{
  font-size:12px!important;
  line-height:1.2!important;
  word-break:break-word!important;
}
body.todo-tv-fullscreen .todo-card,
.todo-shell:fullscreen .todo-card,
.todo-shell:-webkit-full-screen .todo-card{
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:13px!important;
}
@media (min-width:900px){
  body.todo-tv-fullscreen .todo-card,
  .todo-shell:fullscreen .todo-card,
  .todo-shell:-webkit-full-screen .todo-card{
    grid-template-columns:minmax(210px,.85fr) minmax(230px,1fr) minmax(360px,1.65fr) minmax(190px,.65fr)!important;
  }
}
body.todo-tv-fullscreen .todo-hero,
.todo-shell:fullscreen .todo-hero,
.todo-shell:-webkit-full-screen .todo-hero{
  padding:12px 16px!important;
  margin-bottom:10px!important;
}
body.todo-tv-fullscreen .todo-hero h2,
.todo-shell:fullscreen .todo-hero h2,
.todo-shell:-webkit-full-screen .todo-hero h2{
  font-size:24px!important;
  margin:2px 0!important;
}
body.todo-tv-fullscreen .todo-meta,
.todo-shell:fullscreen .todo-meta,
.todo-shell:-webkit-full-screen .todo-meta{
  font-size:12px!important;
  margin:6px 2px 9px!important;
}
/* end v1.0.49 */

/* v1.0.50 - kompaktni TV/fullscreen prikaz i na uskim ekranima */
body.todo-tv-fullscreen .todo-shell,
.todo-shell.todo-tv-fullscreen-shell{
  padding:10px!important;
  border-radius:16px!important;
}
body.todo-tv-fullscreen .todo-hero,
.todo-shell.todo-tv-fullscreen-shell .todo-hero{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 14px!important;
  margin-bottom:10px!important;
  border-radius:16px!important;
}
body.todo-tv-fullscreen .todo-hero h2,
.todo-shell.todo-tv-fullscreen-shell .todo-hero h2{
  font-size:22px!important;
  line-height:1.05!important;
  margin:2px 0!important;
}
body.todo-tv-fullscreen .todo-kicker,
.todo-shell.todo-tv-fullscreen-shell .todo-kicker{
  font-size:10px!important;
  letter-spacing:.03em!important;
}
body.todo-tv-fullscreen .todo-hero-actions,
.todo-shell.todo-tv-fullscreen-shell .todo-hero-actions{
  display:flex!important;
  flex-direction:row!important;
  gap:8px!important;
  align-items:center!important;
  white-space:nowrap!important;
}
body.todo-tv-fullscreen .todo-hero-actions .btn,
.todo-shell.todo-tv-fullscreen-shell .todo-hero-actions .btn{
  min-height:38px!important;
  height:38px!important;
  padding:8px 12px!important;
  font-size:12px!important;
  border-radius:12px!important;
}
body.todo-tv-fullscreen .todo-status-strip,
.todo-shell.todo-tv-fullscreen-shell .todo-status-strip{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
  margin:8px 0!important;
}
body.todo-tv-fullscreen .todo-status-pill,
.todo-shell.todo-tv-fullscreen-shell .todo-status-pill{
  min-height:40px!important;
  height:auto!important;
  padding:6px 8px!important;
  border-radius:12px!important;
}
body.todo-tv-fullscreen .todo-status-pill span,
.todo-shell.todo-tv-fullscreen-shell .todo-status-pill span{
  font-size:8px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow:hidden!important;
}
body.todo-tv-fullscreen .todo-status-pill b,
.todo-shell.todo-tv-fullscreen-shell .todo-status-pill b{
  font-size:18px!important;
  line-height:1!important;
}
body.todo-tv-fullscreen .todo-meta,
.todo-shell.todo-tv-fullscreen-shell .todo-meta{
  display:flex!important;
  justify-content:space-between!important;
  gap:8px!important;
  font-size:10px!important;
  line-height:1.2!important;
  margin:6px 2px 8px!important;
}
body.todo-tv-fullscreen .todo-group-title,
.todo-shell.todo-tv-fullscreen-shell .todo-group-title{
  margin:8px 0 4px!important;
}
body.todo-tv-fullscreen .todo-group-title .badge,
.todo-shell.todo-tv-fullscreen-shell .todo-group-title .badge{
  font-size:10px!important;
  padding:5px 8px!important;
}
body.todo-tv-fullscreen .todo-group-title b,
.todo-shell.todo-tv-fullscreen-shell .todo-group-title b{
  font-size:11px!important;
}
body.todo-tv-fullscreen .todo-list,
.todo-shell.todo-tv-fullscreen-shell .todo-list{
  gap:8px!important;
}
body.todo-tv-fullscreen .todo-card,
.todo-shell.todo-tv-fullscreen-shell .todo-card{
  display:grid!important;
  grid-template-columns:minmax(170px,.9fr) minmax(210px,1.15fr) minmax(340px,1.55fr) minmax(190px,.8fr)!important;
  gap:8px!important;
  align-items:center!important;
  padding:9px 11px!important;
  border-radius:15px!important;
  border-left-width:5px!important;
}
body.todo-tv-fullscreen .todo-main,
.todo-shell.todo-tv-fullscreen-shell .todo-main{
  gap:9px!important;
}
body.todo-tv-fullscreen .todo-number,
.todo-shell.todo-tv-fullscreen-shell .todo-number{
  width:42px!important;
  height:42px!important;
  border-radius:13px!important;
  font-size:16px!important;
}
body.todo-tv-fullscreen .todo-customer button,
.todo-shell.todo-tv-fullscreen-shell .todo-customer button{
  font-size:16px!important;
  line-height:1.12!important;
}
body.todo-tv-fullscreen .todo-customer span,
.todo-shell.todo-tv-fullscreen-shell .todo-customer span{
  font-size:10px!important;
  line-height:1.25!important;
}
body.todo-tv-fullscreen .todo-products strong,
.todo-shell.todo-tv-fullscreen-shell .todo-products strong{
  font-size:9px!important;
  margin-bottom:3px!important;
}
body.todo-tv-fullscreen .todo-products p,
.todo-shell.todo-tv-fullscreen-shell .todo-products p{
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
body.todo-tv-fullscreen .todo-files,
.todo-shell.todo-tv-fullscreen-shell .todo-files{
  margin-top:4px!important;
  padding:4px 7px!important;
  font-size:10px!important;
}
body.todo-tv-fullscreen .todo-delivery,
.todo-shell.todo-tv-fullscreen-shell .todo-delivery{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
}
body.todo-tv-fullscreen .todo-delivery div,
.todo-shell.todo-tv-fullscreen-shell .todo-delivery div{
  padding:6px 7px!important;
  border-radius:10px!important;
  min-width:0!important;
  min-height:40px!important;
}
body.todo-tv-fullscreen .todo-delivery span,
.todo-shell.todo-tv-fullscreen-shell .todo-delivery span{
  font-size:7px!important;
  line-height:1!important;
  margin-bottom:2px!important;
  white-space:nowrap!important;
}
body.todo-tv-fullscreen .todo-delivery b,
.todo-shell.todo-tv-fullscreen-shell .todo-delivery b{
  font-size:10px!important;
  line-height:1.12!important;
  word-break:break-word!important;
}
body.todo-tv-fullscreen .todo-controls,
.todo-shell.todo-tv-fullscreen-shell .todo-controls{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  align-items:stretch!important;
}
body.todo-tv-fullscreen .todo-status-control select,
.todo-shell.todo-tv-fullscreen-shell .todo-status-control select{
  width:100%!important;
  height:36px!important;
  min-width:0!important;
  font-size:12px!important;
  border-radius:10px!important;
  padding:7px 9px!important;
}
body.todo-tv-fullscreen .todo-action-buttons,
.todo-shell.todo-tv-fullscreen-shell .todo-action-buttons{
  display:grid!important;
  grid-template-columns:1fr 40px!important;
  gap:6px!important;
}
body.todo-tv-fullscreen .todo-action-buttons .btn.secondary,
.todo-shell.todo-tv-fullscreen-shell .todo-action-buttons .btn.secondary{
  height:36px!important;
  min-height:36px!important;
  font-size:11px!important;
  border-radius:10px!important;
  justify-content:center!important;
}
body.todo-tv-fullscreen .todo-action-buttons .btn.gray,
.todo-shell.todo-tv-fullscreen-shell .todo-action-buttons .btn.gray{
  width:40px!important;
  min-width:40px!important;
  height:36px!important;
  border-radius:10px!important;
}
@media(max-width:899px){
  body.todo-tv-fullscreen .todo-hero,
  .todo-shell.todo-tv-fullscreen-shell .todo-hero{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.todo-tv-fullscreen .todo-hero-actions,
  .todo-shell.todo-tv-fullscreen-shell .todo-hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  body.todo-tv-fullscreen .todo-card,
  .todo-shell.todo-tv-fullscreen-shell .todo-card{
    grid-template-columns:1fr!important;
  }
  body.todo-tv-fullscreen .todo-status-strip,
  .todo-shell.todo-tv-fullscreen-shell .todo-status-strip{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body.todo-tv-fullscreen .todo-status-pill,
  .todo-shell.todo-tv-fullscreen-shell .todo-status-pill{
    padding:5px 5px!important;
    min-height:38px!important;
  }
  body.todo-tv-fullscreen .todo-status-pill span,
  .todo-shell.todo-tv-fullscreen-shell .todo-status-pill span{
    font-size:7px!important;
  }
  body.todo-tv-fullscreen .todo-status-pill b,
  .todo-shell.todo-tv-fullscreen-shell .todo-status-pill b{
    font-size:17px!important;
  }
  body.todo-tv-fullscreen .todo-delivery,
  .todo-shell.todo-tv-fullscreen-shell .todo-delivery{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
  }
  body.todo-tv-fullscreen .todo-delivery div,
  .todo-shell.todo-tv-fullscreen-shell .todo-delivery div{
    padding:5px 5px!important;
    border-radius:9px!important;
  }
  body.todo-tv-fullscreen .todo-delivery span,
  .todo-shell.todo-tv-fullscreen-shell .todo-delivery span{
    font-size:6.5px!important;
  }
  body.todo-tv-fullscreen .todo-delivery b,
  .todo-shell.todo-tv-fullscreen-shell .todo-delivery b{
    font-size:9px!important;
  }
}
/* end v1.0.50 */

/* v1.0.51 - poseban TV portrait prikaz za uspravni TV ekran */
body.todo-tv-portrait .todo-shell,
.todo-shell.todo-tv-portrait-shell{
  padding:14px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#f8fbff,#eef4ff)!important;
}
body.todo-tv-portrait .todo-hero,
.todo-shell.todo-tv-portrait-shell .todo-hero{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:16px 18px!important;
  margin-bottom:12px!important;
  border-radius:20px!important;
}
body.todo-tv-portrait .todo-hero h2,
.todo-shell.todo-tv-portrait-shell .todo-hero h2{
  font-size:30px!important;
  line-height:1.05!important;
  margin:4px 0 2px!important;
}
body.todo-tv-portrait .todo-kicker,
.todo-shell.todo-tv-portrait-shell .todo-kicker{
  font-size:12px!important;
  color:#0f172a!important;
}
body.todo-tv-portrait .todo-hero-actions,
.todo-shell.todo-tv-portrait-shell .todo-hero-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
body.todo-tv-portrait .todo-hero-actions .btn,
.todo-shell.todo-tv-portrait-shell .todo-hero-actions .btn{
  min-height:44px!important;
  height:44px!important;
  font-size:15px!important;
  border-radius:14px!important;
}
body.todo-tv-portrait .todo-status-strip,
.todo-shell.todo-tv-portrait-shell .todo-status-strip{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  margin:10px 0 12px!important;
}
body.todo-tv-portrait .todo-status-pill,
.todo-shell.todo-tv-portrait-shell .todo-status-pill{
  min-height:64px!important;
  padding:9px 10px!important;
  border-radius:16px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:space-between!important;
}
body.todo-tv-portrait .todo-status-pill span,
.todo-shell.todo-tv-portrait-shell .todo-status-pill span{
  font-size:10px!important;
  line-height:1.08!important;
  white-space:normal!important;
}
body.todo-tv-portrait .todo-status-pill b,
.todo-shell.todo-tv-portrait-shell .todo-status-pill b{
  font-size:28px!important;
  line-height:1!important;
  justify-self:end!important;
}
body.todo-tv-portrait .todo-meta,
.todo-shell.todo-tv-portrait-shell .todo-meta{
  display:flex!important;
  justify-content:space-between!important;
  gap:12px!important;
  font-size:12px!important;
  line-height:1.2!important;
  margin:8px 2px 14px!important;
}
body.todo-tv-portrait .todo-list,
.todo-shell.todo-tv-portrait-shell .todo-list{
  gap:12px!important;
}
body.todo-tv-portrait .todo-group-title,
.todo-shell.todo-tv-portrait-shell .todo-group-title{
  margin:14px 0 6px!important;
}
body.todo-tv-portrait .todo-card,
.todo-shell.todo-tv-portrait-shell .todo-card{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  grid-template-areas:
    "num customer"
    "products products"
    "delivery delivery"
    "controls controls"!important;
  gap:10px 14px!important;
  align-items:start!important;
  padding:18px 20px!important;
  border-radius:20px!important;
  border-left-width:6px!important;
}
body.todo-tv-portrait .todo-main,
.todo-shell.todo-tv-portrait-shell .todo-main{
  display:contents!important;
}
body.todo-tv-portrait .todo-number,
.todo-shell.todo-tv-portrait-shell .todo-number{
  grid-area:num!important;
  width:58px!important;
  height:58px!important;
  border-radius:17px!important;
  font-size:22px!important;
}
body.todo-tv-portrait .todo-customer,
.todo-shell.todo-tv-portrait-shell .todo-customer{
  grid-area:customer!important;
  padding-top:2px!important;
}
body.todo-tv-portrait .todo-customer button,
.todo-shell.todo-tv-portrait-shell .todo-customer button{
  font-size:25px!important;
  line-height:1.08!important;
}
body.todo-tv-portrait .todo-customer span,
.todo-shell.todo-tv-portrait-shell .todo-customer span{
  font-size:10px!important;
  line-height:1.45!important;
}
body.todo-tv-portrait .todo-products,
.todo-shell.todo-tv-portrait-shell .todo-products{
  grid-area:products!important;
}
body.todo-tv-portrait .todo-products strong,
.todo-shell.todo-tv-portrait-shell .todo-products strong{
  font-size:11px!important;
  margin-bottom:5px!important;
}
body.todo-tv-portrait .todo-products p,
.todo-shell.todo-tv-portrait-shell .todo-products p{
  font-size:18px!important;
  line-height:1.32!important;
  font-weight:500!important;
}
body.todo-tv-portrait .todo-files,
.todo-shell.todo-tv-portrait-shell .todo-files{
  margin-top:8px!important;
  padding:6px 10px!important;
  font-size:12px!important;
}
body.todo-tv-portrait .todo-delivery,
.todo-shell.todo-tv-portrait-shell .todo-delivery{
  grid-area:delivery!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.todo-tv-portrait .todo-delivery div,
.todo-shell.todo-tv-portrait-shell .todo-delivery div{
  padding:10px 11px!important;
  border-radius:14px!important;
  min-height:58px!important;
}
body.todo-tv-portrait .todo-delivery span,
.todo-shell.todo-tv-portrait-shell .todo-delivery span{
  font-size:10px!important;
  line-height:1.05!important;
  margin-bottom:4px!important;
  white-space:nowrap!important;
}
body.todo-tv-portrait .todo-delivery b,
.todo-shell.todo-tv-portrait-shell .todo-delivery b{
  font-size:10px!important;
  line-height:1.18!important;
  word-break:break-word!important;
}
body.todo-tv-portrait .todo-controls,
.todo-shell.todo-tv-portrait-shell .todo-controls{
  grid-area:controls!important;
  display:grid!important;
  grid-template-columns:1fr 200px 58px!important;
  gap:10px!important;
  align-items:center!important;
}
body.todo-tv-portrait .todo-status-control,
.todo-shell.todo-tv-portrait-shell .todo-status-control{
  min-width:0!important;
}
body.todo-tv-portrait .todo-status-control select,
.todo-shell.todo-tv-portrait-shell .todo-status-control select{
  width:100%!important;
  height:50px!important;
  font-size:18px!important;
  border-radius:14px!important;
}
body.todo-tv-portrait .todo-action-buttons,
.todo-shell.todo-tv-portrait-shell .todo-action-buttons{
  display:contents!important;
}
body.todo-tv-portrait .todo-action-buttons .btn.secondary,
.todo-shell.todo-tv-portrait-shell .todo-action-buttons .btn.secondary{
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  font-size:16px!important;
  border-radius:14px!important;
  justify-content:center!important;
}
body.todo-tv-portrait .todo-action-buttons .btn.gray,
.todo-shell.todo-tv-portrait-shell .todo-action-buttons .btn.gray{
  width:58px!important;
  min-width:58px!important;
  height:50px!important;
  border-radius:14px!important;
}
@media(max-width:760px){
  body.todo-tv-portrait .todo-status-strip,
  .todo-shell.todo-tv-portrait-shell .todo-status-strip{gap:6px!important;}
  body.todo-tv-portrait .todo-status-pill,
  .todo-shell.todo-tv-portrait-shell .todo-status-pill{min-height:54px!important;padding:7px!important;}
  body.todo-tv-portrait .todo-status-pill span,
  .todo-shell.todo-tv-portrait-shell .todo-status-pill span{font-size:8px!important;}
  body.todo-tv-portrait .todo-status-pill b,
  .todo-shell.todo-tv-portrait-shell .todo-status-pill b{font-size:22px!important;}
  body.todo-tv-portrait .todo-delivery,
  .todo-shell.todo-tv-portrait-shell .todo-delivery{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;}
  body.todo-tv-portrait .todo-delivery div,
  .todo-shell.todo-tv-portrait-shell .todo-delivery div{padding:7px!important;min-height:48px!important;}
  body.todo-tv-portrait .todo-delivery span,
  .todo-shell.todo-tv-portrait-shell .todo-delivery span{font-size:7px!important;}
  body.todo-tv-portrait .todo-delivery b,
  .todo-shell.todo-tv-portrait-shell .todo-delivery b{font-size:10px!important;}
  body.todo-tv-portrait .todo-controls,
  .todo-shell.todo-tv-portrait-shell .todo-controls{grid-template-columns:1fr 150px 52px!important;}
}
/* end v1.0.51 */


/* v1.0.52 - poseban link za TV portrait prikaz */
body.todo-tv-page{
  margin:0!important;
  background:#eef4ff!important;
  overflow:auto!important;
}
body.todo-tv-page .todo-tv-main{
  width:100%;
  max-width:none;
  min-height:100vh;
  padding:12px;
  box-sizing:border-box;
}
body.todo-tv-page .todo-shell{
  width:100%;
  max-width:1080px;
  min-height:calc(100vh - 24px);
  margin:0 auto;
  box-sizing:border-box;
}
body.todo-tv-page .todo-hero{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(8px);
}
body.todo-tv-page .todo-status-strip{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
body.todo-tv-page .todo-delivery{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.todo-tv-page .todo-card{
  grid-template-columns:1fr!important;
  padding:18px!important;
  gap:12px!important;
}
body.todo-tv-page .todo-delivery div{
  min-height:54px!important;
}
@media (min-width:760px){
  body.todo-tv-page .todo-card{
    grid-template-columns:minmax(250px,.9fr) minmax(330px,1.1fr)!important;
  }
  body.todo-tv-page .todo-delivery,
  body.todo-tv-page .todo-controls{
    grid-column:1 / -1;
  }
  body.todo-tv-page .todo-controls{
    display:grid!important;
    grid-template-columns:1fr 220px 64px!important;
    gap:12px!important;
    align-items:center!important;
  }
}
@media (min-width:980px){
  body.todo-tv-page .todo-card{
    grid-template-columns:minmax(250px,.75fr) minmax(360px,1fr) minmax(430px,1.2fr) minmax(250px,.65fr)!important;
  }
  body.todo-tv-page .todo-delivery,
  body.todo-tv-page .todo-controls{
    grid-column:auto;
  }
  body.todo-tv-page .todo-controls{
    grid-template-columns:1fr!important;
  }
}
/* end v1.0.52 */

/* v1.0.53 - Preview dugmad i naziv kupca kao link */
.todo-card{cursor:pointer;}
.todo-card .todo-status-control, .todo-card .todo-status-control *, .todo-card .todo-delivery a, .todo-card a.btn.gray{cursor:auto;}
.todo-customer-link{border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer;}
.todo-customer-link:hover{color:#2563eb;text-decoration:underline;}
.js-open-preview{cursor:pointer;}
/* end v1.0.53 */

/* v1.0.54 - filteri kupaca po lokaciji */
.customers-toolbar{
  align-items:flex-start;
  gap:14px;
}
.customer-filter-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  flex:1 1 auto;
}
.customer-filter-form .search{
  min-width:220px;
}
.customer-filter-form .select-filter{
  max-width:240px;
  background:#fff;
}
.entity-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#1d4ed8;
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}
@media (max-width:720px){
  .customer-filter-form{display:grid;grid-template-columns:1fr; width:100%;}
  .customer-filter-form .search,
  .customer-filter-form .select-filter,
  .customer-filter-form .btn{width:100%; max-width:none;}
}
/* end v1.0.54 */

/* DOXY CRM v1.0.55 - Multi inbox */
.messages-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.messages-toolbar h2{margin:0 0 6px}.messages-search{display:flex;gap:8px;min-width:320px}.messages-search input{width:100%}.messages-layout{display:grid;grid-template-columns:280px 380px minmax(0,1fr);gap:18px;align-items:start}.messages-channels,.messages-list,.messages-conversation{min-height:620px}.msg-channel{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;color:var(--text);text-decoration:none;margin-bottom:8px;background:#f7f9fd;border:1px solid #e6edf7;font-weight:800}.msg-channel span{display:flex;align-items:center;gap:10px}.msg-channel strong{background:#eaf1ff;color:#155ce8;border-radius:999px;min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center}.msg-channel.active{background:#2563eb;color:#fff}.msg-channel.active strong{background:#fff;color:#2563eb}.mini-form{display:grid;gap:9px}.mini-form h3{margin:0 0 4px}.mini-form input,.mini-form select,.mini-form textarea,.reply-box textarea,.messages-search input{border:1px solid #dce5f3;border-radius:12px;padding:11px 12px;font:inherit;background:#fff}.msg-thread{display:flex;gap:12px;padding:14px;border-radius:16px;text-decoration:none;color:var(--text);border:1px solid #e9eef7;background:#fff;margin-bottom:10px;position:relative}.msg-thread:hover,.msg-thread.active{border-color:#2f6df6;background:#f4f8ff}.msg-avatar{width:42px;height:42px;border-radius:14px;background:#edf4ff;color:#1d5fe8;display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}.msg-thread-body{min-width:0}.msg-thread-body strong{display:block;font-size:15px}.msg-thread-body span{display:block;color:#6b7895;font-size:12px;margin:2px 0 4px}.msg-thread-body p{margin:0;color:#36445c;font-size:13px;line-height:1.35}.unread-dot{position:absolute;right:12px;top:12px;background:#2563eb;color:#fff;border-radius:999px;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px}.conversation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef7;padding-bottom:14px;margin-bottom:16px}.conversation-head h2{margin:0}.conversation-messages{display:flex;flex-direction:column;gap:10px;max-height:430px;overflow:auto;padding-right:6px}.bubble{max-width:78%;border-radius:18px;padding:12px 14px;background:#eef4ff;border:1px solid #dbe8ff}.bubble.out{align-self:flex-end;background:#2563eb;color:#fff}.bubble.note{align-self:center;background:#fff8e5;border-color:#ffdf8b}.bubble p{margin:0 0 6px;line-height:1.45}.bubble span{display:block;font-size:11px;opacity:.75}.reply-box{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px;align-items:end}.empty-conversation{text-align:center;padding:90px 20px;color:#667391}.empty-conversation i{font-size:52px;color:#c6d4eb;margin-bottom:14px}
@media(max-width:1200px){.messages-layout{grid-template-columns:240px 1fr}.messages-conversation{grid-column:1/-1}.messages-channels,.messages-list,.messages-conversation{min-height:auto}}
@media(max-width:760px){.messages-toolbar{display:block}.messages-search{min-width:0;margin-top:12px}.messages-layout{display:block}.messages-channels,.messages-list,.messages-conversation{margin-bottom:14px}.reply-box{grid-template-columns:1fr}.bubble{max-width:94%}}

/* v1.0.56 Security module */
.security-grid .card{overflow:hidden}.secret-ok{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#e9f9ef;color:#117a37;font-weight:800;font-size:12px}.secret-empty{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f3f4f6;color:#64748b;font-weight:800;font-size:12px}.clear-secret{display:flex;gap:8px;align-items:center;font-size:12px;color:#64748b;margin-top:6px}.clear-secret input{width:auto}.vault-field{border:1px solid #edf2f7;border-radius:14px;padding:12px;background:#fbfdff}.vault-status{margin-top:8px}.security-status{font-size:18px;font-weight:900;padding:14px 16px;border-radius:16px;margin:12px 0}.security-status.ok{background:#e9f9ef;color:#117a37}.security-status.warn{background:#fff7ed;color:#c2410c}.totp-box{border:1px solid var(--line);border-radius:16px;padding:14px;background:#f8fafc;margin:12px 0}.totp-box code{font-size:18px;font-weight:900}.totp-box textarea{width:100%;margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:10px;font-size:12px}.vault-list{display:grid;gap:8px}.vault-list div{display:flex;align-items:center;justify-content:space-between;border:1px solid #edf2f7;border-radius:12px;padding:10px 12px;background:#fff}.oktext{color:#117a37}hr{border:0;border-top:1px solid var(--line);margin:20px 0}
@media(max-width:800px){.security-grid,.grid.two{grid-template-columns:1fr!important}.totp-box code{font-size:14px;word-break:break-all}.vault-list div{align-items:flex-start;gap:8px;flex-direction:column}}

/* v1.0.57 - kompaktniji TV portrait prikaz za uspravni TV */
body.todo-tv-page .todo-tv-main{
  padding:8px!important;
}
body.todo-tv-page .todo-shell,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell{
  max-width:1080px!important;
  padding:10px!important;
  border-radius:18px!important;
  min-height:calc(100vh - 16px)!important;
}
body.todo-tv-page .todo-hero,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-hero{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px 14px!important;
  margin-bottom:8px!important;
  border-radius:16px!important;
  position:static!important;
}
body.todo-tv-page .todo-hero h2,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-hero h2{
  font-size:24px!important;
  line-height:1.05!important;
  margin:2px 0 0!important;
}
body.todo-tv-page .todo-kicker,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-kicker{
  font-size:10px!important;
  letter-spacing:.03em!important;
}
body.todo-tv-page .todo-hero-actions,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-hero-actions{
  display:flex!important;
  flex-direction:row!important;
  gap:8px!important;
  white-space:nowrap!important;
}
body.todo-tv-page .todo-hero-actions .btn,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-hero-actions .btn{
  min-height:36px!important;
  height:36px!important;
  padding:7px 12px!important;
  font-size:12px!important;
  border-radius:11px!important;
}
body.todo-tv-page .todo-status-strip,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-status-strip{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
  margin:8px 0!important;
}
body.todo-tv-page .todo-status-pill,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-status-pill{
  min-height:44px!important;
  padding:6px 8px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}
body.todo-tv-page .todo-status-pill span,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-status-pill span{
  font-size:8px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}
body.todo-tv-page .todo-status-pill b,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-status-pill b{
  font-size:20px!important;
  line-height:1!important;
}
body.todo-tv-page .todo-meta,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-meta{
  display:flex!important;
  justify-content:space-between!important;
  font-size:10px!important;
  line-height:1.15!important;
  margin:5px 2px 7px!important;
}
body.todo-tv-page .todo-list,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-list{
  gap:7px!important;
}
body.todo-tv-page .todo-group-title,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-group-title{
  margin:8px 0 4px!important;
}
body.todo-tv-page .todo-group-title .badge,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-group-title .badge{
  font-size:10px!important;
  padding:5px 8px!important;
}
body.todo-tv-page .todo-group-title b,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-group-title b{
  font-size:11px!important;
}
body.todo-tv-page .todo-card,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-card{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 330px!important;
  grid-template-areas:
    "num customer delivery"
    "products products delivery"
    "controls controls controls"!important;
  gap:6px 12px!important;
  align-items:start!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  border-left-width:5px!important;
  box-shadow:0 8px 22px rgba(15,23,42,.05)!important;
}
body.todo-tv-page .todo-main,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-main{
  display:contents!important;
}
body.todo-tv-page .todo-number,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-number{
  grid-area:num!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  font-size:18px!important;
}
body.todo-tv-page .todo-customer,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-customer{
  grid-area:customer!important;
  padding-top:1px!important;
}
body.todo-tv-page .todo-customer button,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-customer button{
  font-size:21px!important;
  line-height:1.05!important;
}
body.todo-tv-page .todo-customer span,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-customer span{
  display:inline-flex!important;
  align-items:center!important;
  margin-right:12px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
body.todo-tv-page .todo-products,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-products{
  grid-area:products!important;
}
body.todo-tv-page .todo-products strong,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-products strong{
  font-size:9px!important;
  margin-bottom:2px!important;
}
body.todo-tv-page .todo-products p,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-products p{
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:500!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.todo-tv-page .todo-files,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-files{
  margin-top:5px!important;
  padding:4px 8px!important;
  font-size:10px!important;
}
body.todo-tv-page .todo-delivery,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-delivery{
  grid-area:delivery!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
}
body.todo-tv-page .todo-delivery div,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-delivery div{
  min-height:38px!important;
  padding:5px 7px!important;
  border-radius:10px!important;
}
body.todo-tv-page .todo-delivery span,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-delivery span{
  font-size:7px!important;
  line-height:1!important;
  margin-bottom:2px!important;
  white-space:nowrap!important;
}
body.todo-tv-page .todo-delivery b,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-delivery b{
  font-size:10px!important;
  line-height:1.1!important;
  word-break:break-word!important;
}
body.todo-tv-page .todo-controls,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-controls{
  grid-area:controls!important;
  display:grid!important;
  grid-template-columns:1fr 150px 46px!important;
  gap:8px!important;
  align-items:center!important;
  margin-top:2px!important;
}
body.todo-tv-page .todo-status-control select,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-status-control select{
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  font-size:10px!important;
  border-radius:11px!important;
  padding:7px 10px!important;
}
body.todo-tv-page .todo-action-buttons,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-action-buttons{
  display:contents!important;
}
body.todo-tv-page .todo-action-buttons .btn.secondary,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-action-buttons .btn.secondary{
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  font-size:13px!important;
  border-radius:11px!important;
  justify-content:center!important;
}
body.todo-tv-page .todo-action-buttons .btn.gray,
body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-action-buttons .btn.gray{
  width:46px!important;
  min-width:46px!important;
  height:38px!important;
  border-radius:11px!important;
}
@media(max-width:760px){
  body.todo-tv-page .todo-card,
  body.todo-tv-page .todo-shell.todo-tv-portrait-shell .todo-card{
    grid-template-columns:52px minmax(0,1fr) 176px!important;
    gap:5px 8px!important;
    padding:9px 10px!important;
  }
  body.todo-tv-page .todo-customer button{font-size:18px!important;}
  body.todo-tv-page .todo-customer span{display:block!important;font-size:9px!important;margin-right:0!important;}
  body.todo-tv-page .todo-products p{font-size:13px!important;}
  body.todo-tv-page .todo-controls{grid-template-columns:1fr 120px 42px!important;}
}
/* end v1.0.57 */

/* v1.0.58 - TO DO kartica vise nije klikabilna; samo Preview i Edit su aktivni */
.todo-card{cursor:default!important;}
.todo-card:hover{transform:none;}
.todo-customer-name{display:block;color:#07172f;font-size:21px;font-weight:1000;line-height:1.12;}
.todo-customer .todo-customer-name:hover{color:#07172f;}
.todo-card .js-open-preview,.todo-card a.btn.gray{cursor:pointer!important;}
body.todo-tv-page .todo-card,
body.todo-tv-fullscreen .todo-card,
.todo-shell.todo-tv-portrait-shell .todo-card{cursor:default!important;}
body.todo-tv-page .todo-customer-name,
.todo-shell.todo-tv-portrait-shell .todo-customer-name{font-size:21px;}
/* end v1.0.58 */

.woo-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woo-map-grid input{width:100%}@media(max-width:700px){.woo-map-grid{grid-template-columns:1fr}}


/* v1.0.64 - pregledniji Woo opis i prilozi */
.preview-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 4px;}
.preview-options-grid>div{background:#f8fafc;border:1px solid #e8eef7;border-radius:13px;padding:10px 11px;}
.preview-options-grid span{display:block;color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900;margin-bottom:4px;}
.preview-options-grid strong{display:block;color:#0f172a;font-size:15px;line-height:1.35;}
.preview-clean-text{background:#fff;border:1px dashed #dbe6f7;border-radius:12px;padding:10px;margin-top:10px;line-height:1.45;}
.preview-item-desc{margin:10px 0;}
@media(max-width:760px){.preview-options-grid{grid-template-columns:1fr;}}


/* v1.0.65 - bolji preview Woo opcija i odabranih printova */
.preview-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:10px;}
.preview-file-card{display:block;text-decoration:none;color:#0f172a;background:#f8fafc;border:1px solid #dfe9f7;border-radius:14px;padding:10px;min-height:120px;}
.preview-file-card img{width:100%;height:120px;object-fit:contain;background:#fff;border-radius:10px;border:1px solid #eef2f7;margin-bottom:8px;}
.preview-file-card strong{display:block;font-size:13px;word-break:break-word;}
.preview-file-card small{color:#2563eb;font-weight:800;}
.preview-options-grid strong{word-break:break-word;}
@media(max-width:760px){.preview-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.preview-file-card img{height:96px;}}

/* v1.0.66 - LIVE/TV podešavanja zvuka i intervala */
.mini-test-sound{margin-top:8px;width:auto!important;display:inline-flex!important;padding:9px 14px!important;font-size:13px!important}
@keyframes todoNewFlashPulse{0%{box-shadow:0 0 0 0 rgba(37,99,235,.55);background:#eef6ff}50%{box-shadow:0 0 0 12px rgba(37,99,235,0);background:#fff}100%{box-shadow:0 0 0 0 rgba(37,99,235,0);background:#fff}}
.todo-card.todo-new-flash{animation:todoNewFlashPulse 1.2s ease-in-out 0s 3;}

/* v1.0.67 - Podešavanja, kompaktnija lista i status modal */
.settings-hero h2{margin-bottom:6px}.settings-section-card h2{display:flex;align-items:center;gap:10px}.status-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:10px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.status-checkbox-grid label{font-weight:700;font-size:13px}.settings-option-preview{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.settings-option-preview span{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px;font-size:12px}.settings-option-preview b{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:2px 6px;margin-left:4px}.status-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px}.status-modal-card{width:min(440px,96vw);background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(15,23,42,.35);padding:22px}.status-modal-card h3{margin:0 0 8px}.status-modal-card label{display:block;font-weight:800;margin:12px 0 6px}.status-modal-card input[type=text]{width:100%;padding:13px 14px;border:1px solid #dbe3ef;border-radius:14px}.status-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.sms-check{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;margin-top:12px}.orders-table-v67 th:first-child{width:150px}.orders-table-v67 .order-number-small{font-size:12px;color:#64748b;font-weight:800;margin-bottom:6px}.orders-table-v67 .order-customer-cell{min-width:210px}.orders-table-v67 .order-products-cell{min-width:250px}.orders-table-v67 .order-delivery-cell{min-width:160px}.orders-table-v67 .order-note-cell{max-width:260px;white-space:normal;color:#475569}.todo-phone-viber{font-weight:900;color:#6d28d9;text-decoration:none}.todo-phone-viber:hover{text-decoration:underline}
@media(max-width:760px){.status-checkbox-grid{grid-template-columns:1fr}.orders-table-v67 tr{display:block}.orders-table-v67 td{display:flex;justify-content:space-between;gap:10px}.orders-table-v67 td:before{content:attr(data-label);font-weight:900;color:#64748b}.orders-table-v67 td>*{max-width:62%;text-align:right}}

/* v1.0.69 - SMS preview prije slanja */
.sms-preview-box{margin-top:12px;background:#f8fafc;border:1px solid #dbe7f7;border-radius:14px;padding:12px;}
.sms-preview-box textarea{width:100%;min-height:120px;border:1px solid #dbe3ef;border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.4;resize:vertical;background:#fff;}
/* v1.0.70 - vrijednost narudžbe i dostava */
.price-summary-box{padding:12px 14px;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc;color:#0f172a;line-height:1.7;font-size:13px}
.finance-info strong{font-size:15px}
.settings-option-preview small{color:#475569;margin-left:6px;font-weight:700}

/* v1.0.74 - orders filters, status colors and shipment status */
.orders-toolbar{align-items:flex-start;gap:12px;flex-wrap:wrap}
.orders-filter-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;width:100%}
.orders-filter-form .search{min-width:280px;flex:1}
.status-filter-select{min-width:190px}
.order-status-badge{display:inline-flex;margin:6px 0 8px 0;font-size:12px;padding:5px 10px;border-radius:999px;white-space:nowrap}
.status-select-colored{font-weight:700;border-radius:10px;padding:8px 10px;min-width:145px;border:1px solid rgba(15,23,42,.08)}
.status-select-colored.b-new{background:#fff1f2;color:#9f1239}
.status-select-colored.b-work{background:#fff7ed;color:#c2410c}
.status-select-colored.b-ready{background:#ecfdf5;color:#047857}
.status-select-colored.b-sent{background:#eff6ff;color:#1d4ed8}
.status-select-colored.b-done{background:#f0fdf4;color:#15803d}
.status-select-colored.b-cancel{background:#f1f5f9;color:#475569}
.status-select-colored.b-return{background:#fef2f2;color:#b91c1c}
.orders-table-v74 th:nth-child(5),.orders-table-v74 td:nth-child(5){white-space:nowrap;min-width:105px}
.orders-table-v74 th:nth-child(6),.orders-table-v74 td:nth-child(6){min-width:190px;max-width:260px}
.shipment-status-text{display:inline-block;font-weight:700;color:#334155;line-height:1.25}
.shipment-status-text.is-delivered{color:#15803d}
.order-cod-cell strong{font-size:14px;color:#0f172a}
@media(max-width:900px){.orders-filter-form{display:grid;grid-template-columns:1fr}.orders-filter-form .search,.status-filter-select{min-width:0;width:100%}.orders-table-v74 th:nth-child(6),.orders-table-v74 td:nth-child(6){max-width:none}}

/* v1.0.75 - preglednija lista svih narudžbi + expand detalji */
.orders-table-v75 th:first-child,.orders-table-v75 td:first-child{width:42px;text-align:center}
.orders-table-v75 th:nth-child(2),.orders-table-v75 td:nth-child(2){min-width:145px}
.orders-table-v75 th:nth-child(3),.orders-table-v75 td:nth-child(3){min-width:92px;white-space:nowrap}
.orders-table-v75 th:nth-child(4),.orders-table-v75 td:nth-child(4){min-width:190px}
.orders-table-v75 th:nth-child(5),.orders-table-v75 td:nth-child(5){min-width:150px}
.orders-table-v75 th:nth-child(6),.orders-table-v75 td:nth-child(6){min-width:105px;white-space:nowrap}
.orders-table-v75 th:nth-child(7),.orders-table-v75 td:nth-child(7){min-width:190px;max-width:300px}
.order-expand-btn{width:32px;height:32px;border:0;border-radius:10px;background:#eef4ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:900}
.order-expand-btn:hover{background:#dbeafe}
.order-main-row:hover{background:#fbfdff}
.order-details-row td{background:#f8fafc!important;padding:0!important;border-top:0!important}
.order-details-box{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 1.4fr;gap:12px;margin:0 14px 14px 58px;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.order-details-box h4{margin:0 0 6px;color:#64748b;text-transform:uppercase;font-size:11px;letter-spacing:.02em}
.order-details-box p{margin:0;color:#0f172a;font-weight:700;line-height:1.35}
.phone-link{text-decoration:none}.phone-link:hover{text-decoration:underline}
.shipment-status-text.is-returned{color:#b91c1c}
@media(max-width:900px){
  .orders-table-v75,.orders-table-v75 tbody,.orders-table-v75 tr,.orders-table-v75 td{display:block;width:100%}
  .orders-table-v75 tr:first-child{display:none}
  .orders-table-v75 .order-main-row{position:relative;margin:10px 0;padding:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.04)}
  .orders-table-v75 td{border:0!important;padding:6px 0!important}
  .orders-table-v75 td:before{content:attr(data-label);display:block;color:#64748b;text-transform:uppercase;font-size:10px;font-weight:900;margin-bottom:2px}
  .orders-table-v75 .order-expand-cell{position:absolute;right:12px;top:12px;width:auto!important;padding:0!important}.orders-table-v75 .order-expand-cell:before{display:none}
  .orders-table-v75 .order-actions-cell .actions{justify-content:flex-start}.orders-table-v75 .order-actions-cell:before{display:none}
  .order-details-row{margin-top:-8px}.order-details-row td{display:block!important}.order-details-box{grid-template-columns:1fr;margin:0 0 12px 0;border-radius:16px}
}
/* end v1.0.75 */

/* v1.0.76 - sidebar scroll and delivered order consistency */
.sidebar{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent;}
.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:999px}.sidebar::-webkit-scrollbar-track{background:transparent}
.sidebar nav{padding-bottom:16px}.sidebar .logout{flex-shrink:0}
@media(min-width:901px){.sidebar{max-height:100vh}.sidebar nav{overflow:visible}}

/* v1.0.77 - sidebar meni može da se skroluje kada ima više stavki */
.sidebar{overflow:hidden!important;}
.sidebar nav{overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;padding-right:4px!important;scrollbar-width:thin;}
.sidebar nav::-webkit-scrollbar{width:7px}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:20px}.sidebar nav::-webkit-scrollbar-track{background:transparent}
.sidebar .logout{flex:0 0 auto!important;margin-top:12px!important;}

/* v1.0.78 - stabilan scroll lijevog menija */
.sidebar{height:100vh!important;max-height:100vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
.sidebar nav{flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;padding-right:6px!important;padding-bottom:14px!important;}
.sidebar .logout{flex:0 0 auto!important;margin-top:12px!important;}
.sidebar nav::-webkit-scrollbar{width:8px}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:999px}.sidebar nav::-webkit-scrollbar-track{background:transparent}
.sidebar nav{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent;}


/* v1.0.83 - pregledniji status i izvor narudžbe */
.order-status-cell{min-width:150px}
.order-status-single{font-weight:900;text-transform:uppercase;border-radius:14px;padding:12px 14px;min-width:145px;text-align:center}
.order-status-badge{display:none!important}
.order-id-source{display:flex;align-items:center;gap:10px}
.order-source-icon{width:34px;height:34px;border-radius:12px;display:inline-grid;place-items:center;color:#fff;font-size:17px;flex:0 0 34px;box-shadow:0 6px 14px rgba(37,99,235,.16)}
.order-source-icon.source-webshop{background:#7c3aed}
.order-source-icon.source-facebook{background:#1877f2}
.order-source-icon.source-instagram{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)}
.order-source-icon.source-viber{background:#7360f2}
.order-source-icon.source-store{background:#0f172a}
.name-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-weight:900;font-size:13px;margin-left:6px}
@media(max-width:900px){
  .order-id-source{justify-content:flex-start}
  .order-source-icon{width:30px;height:30px;flex-basis:30px;font-size:15px}
  .order-status-single{width:100%;min-width:0}
}
.order-source-icon.source-import{background:#64748b}
.mini-preview-btn{padding:8px 10px;min-width:42px;height:38px}
.mini-table .order-source-icon{width:28px;height:28px;border-radius:10px;font-size:14px;vertical-align:middle}
.mini-table .badge-soft{vertical-align:middle;margin-left:6px}

/* v1.0.85 - kurirske ikonice i čist izvor u detaljima kupaca */
.orders-drop{max-width:980px!important;width:100%;overflow-x:auto;box-sizing:border-box;}
.customer-orders-detail td{padding:14px 18px!important;}
.mini-table{min-width:900px;}
.mini-table th,.mini-table td{vertical-align:middle;}
.mini-table th:nth-child(7),.mini-table td:nth-child(7){min-width:100px;text-align:center;}
.mini-table th:nth-child(8),.mini-table td:nth-child(8){min-width:92px;text-align:center;}
.source-text-badge{min-width:64px;justify-content:center;margin:0!important;letter-spacing:.02em;}
.source-import-badge{background:#f1f5f9!important;color:#475569!important;}
.source-crm-badge{background:#eef3ff!important;color:#245be8!important;}
.courier-logo-badge{display:inline-flex;align-items:center;gap:8px;min-height:42px;max-width:190px;padding:7px 10px;border:1px solid #e3eaf5;border-radius:13px;background:#fff;font-weight:800;line-height:1.15;color:#0f172a;box-shadow:0 3px 10px rgba(15,23,42,.04);}
.courier-logo-badge img{display:block;max-width:82px;max-height:28px;width:auto;height:auto;object-fit:contain;}
.courier-logo-badge.courier-post img{max-width:92px;max-height:28px;}
.courier-logo-badge.courier-pickup img{width:28px;height:28px;}
.courier-logo-badge span{font-size:12px;white-space:normal;}
.delivered-table th:nth-child(5),.delivered-table td:nth-child(5){min-width:210px;}
.delivered-table th:nth-child(7),.delivered-table td:nth-child(7){min-width:105px;text-align:center;}
.delivered-table .courier-logo-badge{max-width:220px;}
@media(max-width:700px){.orders-drop{max-width:100%!important}.mini-table{min-width:760px}.courier-logo-badge{min-height:36px}.courier-logo-badge img{max-width:62px}.courier-logo-badge span{font-size:11px}}


/* v1.0.86 courier icons and compact shipment display */
.courier-logo-badge.courier-logo-icon-only{gap:0;justify-content:center;min-width:88px;max-width:128px;min-height:42px;padding:6px 10px;overflow:hidden;}
.courier-logo-badge.courier-logo-icon-only img{max-width:106px;max-height:34px;}
.courier-logo-badge.courier-logo-icon-only.courier-pickup{min-width:54px;max-width:62px;}
.courier-logo-badge.courier-logo-icon-only.courier-pickup img{width:32px;height:32px;}
.delivered-table td,.delivered-table th{vertical-align:middle;}
.delivered-table .courier-logo-badge{margin:auto;}
.order-courier-compact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.order-courier-compact .courier-logo-badge{min-width:70px;max-width:110px;min-height:36px;padding:5px 8px;}
.order-courier-compact .courier-logo-badge img{max-height:28px;max-width:92px;}
.todo-delivery .courier-logo-badge{min-width:64px;max-width:106px;min-height:34px;padding:4px 7px;}
.todo-delivery .courier-logo-badge img{max-width:88px;max-height:26px;}
.order-details-box{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));}
@media(max-width:700px){.courier-logo-badge.courier-logo-icon-only{min-width:62px;max-width:96px}.courier-logo-badge.courier-logo-icon-only img{max-width:82px;max-height:28px}}
.public-order-link-box{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.public-order-link-box input{flex:1;min-width:280px;border:1px solid #dce5f2;border-radius:16px;padding:13px 14px;font-weight:800;color:#0b1b35;background:#f8fbff}

/* v1.0.90 - Uplate */
.payments-tabs{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.payments-tabs .tab{padding:12px 16px;border-radius:14px;background:#eef4ff;color:#1558d6;font-weight:800;text-decoration:none}.payments-tabs .tab.active{background:#2563eb;color:white}.payments-table td,.payments-table th{vertical-align:middle}.payments-table select{max-width:420px;width:100%;padding:10px;border:1px solid #dbe4f0;border-radius:12px}.inline-link-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn.small{padding:8px 10px;border-radius:10px;font-size:13px}.badge-soft.b-work{background:#fff0c2;color:#a15a00}.source-import-badge{background:#eef2f7;color:#334155}.source-crm-badge{background:#eaf3ff;color:#1558d6}@media(max-width:760px){.payments-table{min-width:900px}.payments-tabs .tab{flex:1;text-align:center}.inline-link-form{display:block}.inline-link-form select{margin-bottom:6px}}

/* v1.0.100 - LIVE lista: izvor koristi iste male ikonice kao lista narudžbi */
.todo-delivery .todo-source-cell,
.todo-delivery .todo-courier-cell{
  text-align:center!important;
}
.todo-source-badge{
  display:grid!important;
  grid-template-rows:auto auto!important;
  justify-items:center!important;
  align-items:center!important;
  gap:3px!important;
  width:100%!important;
  line-height:1!important;
}
.todo-source-badge .todo-source-icon{
  width:20px!important;
  height:20px!important;
  border-radius:7px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  font-size:10px!important;
  font-style:normal!important;
  box-shadow:0 4px 10px rgba(15,23,42,.12)!important;
}
.todo-source-badge em{
  display:block!important;
  font-style:normal!important;
  font-size:9px!important;
  font-weight:900!important;
  color:#0f172a!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:100%!important;
}
.todo-source-badge.source-webshop .todo-source-icon{background:#7c3aed!important;}
.todo-source-badge.source-facebook .todo-source-icon{background:#1877f2!important;}
.todo-source-badge.source-instagram .todo-source-icon{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)!important;}
.todo-source-badge.source-viber .todo-source-icon{background:#7360f2!important;}
.todo-source-badge.source-crm .todo-source-icon{background:#0f172a!important;}
.todo-source-badge.source-store .todo-source-icon{background:#0f172a!important;}
.todo-courier-cell .courier-logo-badge{
  min-height:0!important;
  max-width:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  justify-content:center!important;
  display:flex!important;
}
.todo-courier-cell .courier-logo-badge img{
  max-width:68px!important;
  max-height:24px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
.todo-courier-cell .courier-logo-badge.courier-post img{
  max-width:76px!important;
  max-height:24px!important;
}
.todo-courier-cell .courier-logo-badge.courier-pickup img{
  width:23px!important;
  height:23px!important;
}
.todo-courier-cell .courier-logo-badge span{
  font-size:10px!important;
  color:#0f172a!important;
}
.todo-shell:fullscreen #orderPreviewOverlay,
.todo-shell:-webkit-full-screen #orderPreviewOverlay,
.todo-shell.todo-tv-fullscreen-shell #orderPreviewOverlay{
  z-index:99998!important;
}
.todo-shell:fullscreen #orderPreviewPanel,
.todo-shell:-webkit-full-screen #orderPreviewPanel,
.todo-shell.todo-tv-fullscreen-shell #orderPreviewPanel{
  z-index:99999!important;
}
body.todo-tv-fullscreen .todo-source-badge .todo-source-icon,
.todo-shell.todo-tv-fullscreen-shell .todo-source-badge .todo-source-icon{
  width:18px!important;
  height:18px!important;
  font-size:10px!important;
}
body.todo-tv-fullscreen .todo-source-badge em,
.todo-shell.todo-tv-fullscreen-shell .todo-source-badge em,
body.todo-tv-page .todo-source-badge em{
  font-size:8px!important;
}
body.todo-tv-fullscreen .todo-courier-cell .courier-logo-badge img,
.todo-shell.todo-tv-fullscreen-shell .todo-courier-cell .courier-logo-badge img,
body.todo-tv-page .todo-courier-cell .courier-logo-badge img{
  max-width:58px!important;
  max-height:19px!important;
}
body.todo-tv-fullscreen .todo-courier-cell .courier-logo-badge.courier-post img,
.todo-shell.todo-tv-fullscreen-shell .todo-courier-cell .courier-logo-badge.courier-post img,
body.todo-tv-page .todo-courier-cell .courier-logo-badge.courier-post img{
  max-width:64px!important;
  max-height:19px!important;
}
/* end v1.0.100 */


/* v1.0.101 - LIVE lista bez ikonica izvora + kompaktniji TV preview */
.todo-source-badge{display:none!important;}
.todo-delivery .todo-source-cell{text-align:left!important;}
.todo-source-text{
  display:block!important;
  font-size:12px!important;
  line-height:1.12!important;
  font-weight:1000!important;
  color:#0f172a!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.todo-tv-fullscreen .todo-source-text,
.todo-shell.todo-tv-fullscreen-shell .todo-source-text,
body.todo-tv-page .todo-source-text{
  font-size:9px!important;
  line-height:1.05!important;
}

body.todo-tv-fullscreen #orderPreviewPanel.preview-panel,
.todo-shell.todo-tv-fullscreen-shell #orderPreviewPanel.preview-panel,
body.todo-tv-page #orderPreviewPanel.preview-panel{
  width:min(1180px,96vw)!important;
  max-width:96vw!important;
  height:calc(100vh - 20px)!important;
  top:10px!important;
  right:10px!important;
  border-radius:22px!important;
  overflow:auto!important;
}
body.todo-tv-fullscreen #orderPreviewContent.preview-content,
.todo-shell.todo-tv-fullscreen-shell #orderPreviewContent.preview-content,
body.todo-tv-page #orderPreviewContent.preview-content{
  padding:18px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}
body.todo-tv-fullscreen .preview-head,
.todo-shell.todo-tv-fullscreen-shell .preview-head,
body.todo-tv-page .preview-head,
body.todo-tv-fullscreen .preview-actions,
.todo-shell.todo-tv-fullscreen-shell .preview-actions,
body.todo-tv-page .preview-actions{
  grid-column:1 / -1!important;
}
body.todo-tv-fullscreen .preview-head,
.todo-shell.todo-tv-fullscreen-shell .preview-head,
body.todo-tv-page .preview-head{
  margin-bottom:0!important;
  padding-right:52px!important;
}
body.todo-tv-fullscreen .preview-head h2,
.todo-shell.todo-tv-fullscreen-shell .preview-head h2,
body.todo-tv-page .preview-head h2{
  font-size:20px!important;
  line-height:1.1!important;
}
body.todo-tv-fullscreen .preview-actions,
.todo-shell.todo-tv-fullscreen-shell .preview-actions,
body.todo-tv-page .preview-actions{
  margin:0!important;
  gap:7px!important;
}
body.todo-tv-fullscreen .preview-actions .btn,
.todo-shell.todo-tv-fullscreen-shell .preview-actions .btn,
body.todo-tv-page .preview-actions .btn{
  min-height:36px!important;
  height:36px!important;
  padding:7px 11px!important;
  font-size:12px!important;
  border-radius:12px!important;
}
body.todo-tv-fullscreen .preview-section,
.todo-shell.todo-tv-fullscreen-shell .preview-section,
body.todo-tv-page .preview-section{
  margin:0!important;
  padding:12px!important;
  border-radius:15px!important;
}
body.todo-tv-fullscreen .preview-section h3,
.todo-shell.todo-tv-fullscreen-shell .preview-section h3,
body.todo-tv-page .preview-section h3{
  font-size:15px!important;
  margin:0 0 8px!important;
}
body.todo-tv-fullscreen .preview-info,
.todo-shell.todo-tv-fullscreen-shell .preview-info,
body.todo-tv-page .preview-info,
body.todo-tv-fullscreen .preview-notes,
.todo-shell.todo-tv-fullscreen-shell .preview-notes,
body.todo-tv-page .preview-notes,
body.todo-tv-fullscreen .preview-status-grid,
.todo-shell.todo-tv-fullscreen-shell .preview-status-grid,
body.todo-tv-page .preview-status-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
body.todo-tv-fullscreen .preview-info div,
.todo-shell.todo-tv-fullscreen-shell .preview-info div,
body.todo-tv-page .preview-info div,
body.todo-tv-fullscreen .preview-notes div,
.todo-shell.todo-tv-fullscreen-shell .preview-notes div,
body.todo-tv-page .preview-notes div,
body.todo-tv-fullscreen .preview-value,
.todo-shell.todo-tv-fullscreen-shell .preview-value,
body.todo-tv-page .preview-value{
  padding:9px 10px!important;
  border-radius:12px!important;
  min-height:0!important;
}
body.todo-tv-fullscreen .preview-info span,
.todo-shell.todo-tv-fullscreen-shell .preview-info span,
body.todo-tv-page .preview-info span,
body.todo-tv-fullscreen .preview-notes span,
.todo-shell.todo-tv-fullscreen-shell .preview-notes span,
body.todo-tv-page .preview-notes span{
  font-size:9px!important;
  margin-bottom:2px!important;
}
body.todo-tv-fullscreen .preview-info strong,
.todo-shell.todo-tv-fullscreen-shell .preview-info strong,
body.todo-tv-page .preview-info strong,
body.todo-tv-fullscreen .preview-value,
.todo-shell.todo-tv-fullscreen-shell .preview-value,
body.todo-tv-page .preview-value,
body.todo-tv-fullscreen .preview-notes p,
.todo-shell.todo-tv-fullscreen-shell .preview-notes p,
body.todo-tv-page .preview-notes p{
  font-size:12px!important;
  line-height:1.2!important;
}
body.todo-tv-fullscreen .preview-section:has(.preview-items),
.todo-shell.todo-tv-fullscreen-shell .preview-section:has(.preview-items),
body.todo-tv-page .preview-section:has(.preview-items){
  grid-column:1 / span 2!important;
}
body.todo-tv-fullscreen .preview-items,
.todo-shell.todo-tv-fullscreen-shell .preview-items,
body.todo-tv-page .preview-items{
  gap:8px!important;
}
body.todo-tv-fullscreen .preview-item,
.todo-shell.todo-tv-fullscreen-shell .preview-item,
body.todo-tv-page .preview-item{
  padding:10px!important;
  border-radius:12px!important;
}
body.todo-tv-fullscreen .preview-item-title strong,
.todo-shell.todo-tv-fullscreen-shell .preview-item-title strong,
body.todo-tv-page .preview-item-title strong{
  font-size:13px!important;
  line-height:1.2!important;
}
body.todo-tv-fullscreen .preview-options-grid,
.todo-shell.todo-tv-fullscreen-shell .preview-options-grid,
body.todo-tv-page .preview-options-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
}
body.todo-tv-fullscreen .preview-options-grid>div,
.todo-shell.todo-tv-fullscreen-shell .preview-options-grid>div,
body.todo-tv-page .preview-options-grid>div{
  padding:7px 8px!important;
  border-radius:10px!important;
}
body.todo-tv-fullscreen .preview-options-grid span,
.todo-shell.todo-tv-fullscreen-shell .preview-options-grid span,
body.todo-tv-page .preview-options-grid span{
  font-size:8px!important;
}
body.todo-tv-fullscreen .preview-options-grid strong,
.todo-shell.todo-tv-fullscreen-shell .preview-options-grid strong,
body.todo-tv-page .preview-options-grid strong{
  font-size:11px!important;
  line-height:1.2!important;
}
body.todo-tv-fullscreen .preview-attachments,
.todo-shell.todo-tv-fullscreen-shell .preview-attachments,
body.todo-tv-page .preview-attachments{
  margin-top:7px!important;
  padding-top:7px!important;
}
body.todo-tv-fullscreen .preview-file-grid,
.todo-shell.todo-tv-fullscreen-shell .preview-file-grid,
body.todo-tv-page .preview-file-grid{
  grid-template-columns:repeat(auto-fill,minmax(100px,1fr))!important;
  gap:7px!important;
}
body.todo-tv-fullscreen .preview-file-card,
.todo-shell.todo-tv-fullscreen-shell .preview-file-card,
body.todo-tv-page .preview-file-card{
  padding:7px!important;
  border-radius:10px!important;
  min-height:0!important;
}
body.todo-tv-fullscreen .preview-file-card img,
.todo-shell.todo-tv-fullscreen-shell .preview-file-card img,
body.todo-tv-page .preview-file-card img{
  height:78px!important;
  border-radius:8px!important;
  margin-bottom:5px!important;
}
body.todo-tv-fullscreen .preview-file-card strong,
.todo-shell.todo-tv-fullscreen-shell .preview-file-card strong,
body.todo-tv-page .preview-file-card strong,
body.todo-tv-fullscreen .preview-file-card small,
.todo-shell.todo-tv-fullscreen-shell .preview-file-card small,
body.todo-tv-page .preview-file-card small{
  font-size:10px!important;
  line-height:1.1!important;
}
@media(max-width:980px){
  body.todo-tv-fullscreen #orderPreviewContent.preview-content,
  .todo-shell.todo-tv-fullscreen-shell #orderPreviewContent.preview-content,
  body.todo-tv-page #orderPreviewContent.preview-content{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.todo-tv-fullscreen .preview-section:has(.preview-items),
  .todo-shell.todo-tv-fullscreen-shell .preview-section:has(.preview-items),
  body.todo-tv-page .preview-section:has(.preview-items){grid-column:1 / -1!important;}
}
/* end v1.0.101 */


/* v1.0.102 - TV preview količina desno + rok hitno */
.preview-item-title{align-items:flex-start!important;}
.preview-item-title strong{flex:1 1 auto!important;min-width:0!important;}
.preview-item-title span{margin-left:auto!important;text-align:right!important;white-space:nowrap!important;flex:0 0 auto!important;}
body.todo-tv-fullscreen .preview-item-title,
.todo-shell.todo-tv-fullscreen-shell .preview-item-title,
body.todo-tv-page .preview-item-title{display:flex!important;align-items:flex-start!important;}
body.todo-tv-fullscreen .preview-item-title span,
.todo-shell.todo-tv-fullscreen-shell .preview-item-title span,
body.todo-tv-page .preview-item-title span{font-size:12px!important;color:#64748b!important;font-weight:900!important;}
.todo-card.todo-deadline-soon{border-left-color:#ef4444!important;box-shadow:0 14px 38px rgba(239,68,68,.14)!important;}
.todo-card.todo-deadline-soon .todo-number{background:#fef2f2!important;color:#dc2626!important;}
.todo-card.todo-deadline-soon .todo-deadline-cell{border-color:#fecaca!important;background:#fff1f2!important;}
.todo-card.todo-deadline-soon .todo-deadline-cell span,
.todo-card.todo-deadline-soon .todo-deadline-cell b{color:#991b1b!important;}
.todo-deadline-alert{display:inline-flex!important;margin-top:4px;padding:2px 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;font-weight:1000;font-style:normal;letter-spacing:.04em;}
body.todo-tv-fullscreen .todo-card.todo-deadline-soon,
.todo-shell.todo-tv-fullscreen-shell .todo-card.todo-deadline-soon,
body.todo-tv-page .todo-card.todo-deadline-soon{border-left-color:#ef4444!important;}
/* end v1.0.102 */

/* v1.0.107 - glasniji alarm za novu narudžbu */
.todo-alarm-test,.todo-alarm-stop{min-width:auto!important;white-space:nowrap}
.todo-alarm-stop{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important;box-shadow:0 14px 28px rgba(220,38,38,.22)!important}
body.todo-alarm-active .todo-hero{animation:doxyAlarmPulse .85s infinite;box-shadow:0 0 0 4px rgba(220,38,38,.16),0 18px 45px rgba(220,38,38,.18)!important;border-color:#fecaca!important}
body.todo-alarm-active .live-dot{background:#ef4444!important;box-shadow:0 0 0 12px rgba(239,68,68,.12)!important}
@keyframes doxyAlarmPulse{0%,100%{background:#fff}50%{background:#fff1f2}}
@media (max-width:760px){.todo-alarm-test{display:none!important}.todo-alarm-stop{padding:10px 12px!important}}
/* end v1.0.107 */

/* v1.0.115 - kompaktan prikaz marketing izvora */
.marketing-icon{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:30px;height:30px;border-radius:10px;color:#fff;font-size:15px;font-weight:900;vertical-align:middle;box-shadow:0 5px 14px rgba(15,23,42,.12)}
.marketing-icon span{color:#0f172a;font-size:13px;line-height:1;font-weight:900;margin-left:3px;white-space:nowrap}
.marketing-icon:has(span){width:auto;min-width:30px;padding:0 10px;background:#eef2ff!important;color:#1d4ed8!important;box-shadow:none;border:1px solid #dbe4f0}
.marketing-instagram{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)}
.marketing-facebook{background:#1877f2}.marketing-google{background:#fff;color:#4285f4;border:1px solid #dbe4f0}.marketing-tiktok{background:#111827}.marketing-viber{background:#7360f2}.marketing-direct{background:#0f172a}.marketing-referral{background:#0ea5e9}.marketing-other{background:#64748b}.marketing-unknown{background:#cbd5e1;color:#334155}
.preview-value.marketing-preview-icon{display:flex;align-items:center;justify-content:flex-start;min-height:50px}.order-details-box .marketing-icon{width:28px;height:28px;font-size:14px}.wo-line .marketing-icon{width:auto;min-width:22px;height:22px;border-radius:7px;font-size:11px;padding:0 6px}.wo-line .marketing-icon span{font-size:8pt;color:#0f172a}.marketing-source-row{display:flex;align-items:center;gap:8px}.marketing-stats-table .marketing-icon{width:auto;min-width:32px;height:32px}.marketing-stats-table .marketing-icon span{font-size:13px;color:#0f172a}@media print{.marketing-icon{print-color-adjust:exact;-webkit-print-color-adjust:exact}.wo-line .marketing-icon{height:5mm!important;min-width:5mm!important;border-radius:1.5mm!important;font-size:7pt!important;padding:0 1.5mm!important}.wo-line .marketing-icon span{font-size:7pt!important}}

/* v1.0.161 - logo podesavanje i Push obavjestenja meni */
.logo.has-img{background:rgba(255,255,255,.08);overflow:hidden;padding:4px}
.logo.has-img img{width:100%;height:100%;object-fit:contain;display:block}
.settings-logo-preview{min-height:82px;border:1px dashed var(--line);border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;padding:12px;color:var(--muted);font-weight:800;text-align:center}
.settings-logo-preview img{max-width:260px;max-height:70px;object-fit:contain;display:block}
.home-logo.has-img{background:#fff;overflow:hidden;padding:8px}
.home-logo.has-img img{width:100%;height:100%;object-fit:contain;display:block}

/* v1.0.171 - izbor teme javne forme za kupce */
.public-theme-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.public-theme-choice{position:relative;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center;border:1px solid var(--line);border-radius:16px;background:#fff;padding:15px;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.public-theme-choice input{position:absolute;opacity:0;pointer-events:none}.public-theme-choice span{grid-row:1/3;width:44px;height:44px;border-radius:14px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center;font-size:18px}.public-theme-choice strong{font-size:17px;color:#0f172a}.public-theme-choice small{color:var(--muted);font-weight:800;line-height:1.35}.public-theme-choice.active,.public-theme-choice:has(input:checked){border-color:#2563eb;background:#f8fbff;box-shadow:0 14px 30px rgba(37,99,235,.10)}
@media(max-width:780px){.public-theme-choice-grid{grid-template-columns:1fr}}