.scw-wrap{font-family:inherit;color:inherit}.scw-company{display:flex;flex-direction:column;margin-bottom:1rem}.scw-company img{max-width:220px;max-height:90px;object-fit:contain;object-position:left;margin-bottom:.6rem}.scw-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}.scw-head h2{margin:.2rem 0}.scw-actions{display:flex;gap:.45rem;flex-wrap:wrap}.scw-actions a,.scw-actions button,.scw-archive a,.scw-pager button{display:inline-block;padding:.55rem .8rem;border:1px solid #1d4ed8;border-radius:6px;background:#fff;color:#1d4ed8;text-decoration:none;font:inherit;cursor:pointer}.scw-pager button:disabled{opacity:.45;cursor:default}.scw-clause{padding:.8rem;border:1px solid #d1d5db;background:#f8fafc;font-weight:600}.scw-controls{display:flex;gap:1rem;align-items:end;justify-content:space-between;flex-wrap:wrap;margin:1rem 0}.scw-controls label{margin:0}.scw-search{display:block;flex:1}.scw-search input{display:block;width:min(100%,420px);padding:.6rem}.scw-size{display:block;padding:.6rem}.scw-table{overflow:auto}.scw-table table{width:100%;border-collapse:collapse}.scw-table th,.scw-table td{padding:.65rem;border:1px solid #d1d5db;text-align:left}.scw-table th{background:#f1f5f9}.scw-pager{display:flex;align-items:center;justify-content:center;gap:.75rem;margin:1rem 0}.scw-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.scw-branches a{display:flex;flex-direction:column;padding:1rem;border:1px solid #d1d5db;border-radius:8px;text-decoration:none}.scw-archive>div{display:flex;justify-content:space-between;align-items:center;padding:.6rem 0;border-bottom:1px solid #e5e7eb}.scw-archive span{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.scw-delete-day{display:inline;margin:0}.scw-delete-day button{padding:.55rem .8rem;border:1px solid #b91c1c;border-radius:6px;background:#fff;color:#b91c1c;font:inherit;cursor:pointer}.scw-success{padding:.7rem;border:1px solid #16a34a;background:#f0fdf4;color:#166534}@media print{.scw-actions,.scw-controls,.scw-pager,.scw-delete-day{display:none!important}.scw-table{overflow:visible}.scw-table th,.scw-table td{font-size:9pt;padding:4px}.scw-table tr[hidden]{display:table-row!important}}
.scw-archive-wrap>h2{margin-bottom:2.25rem}.scw-archive-section{margin:0 0 2rem}.scw-archive-section>h3{margin:0 0 1rem}.scw-empty{padding:.8rem 1rem;border-left:4px solid #94a3b8;background:#f8fafc;color:#475569}
.scw-withdraw{display:flex;gap:.4rem;align-items:center}.scw-withdraw input{min-width:150px;padding:.5rem}.scw-withdraw button{padding:.55rem .8rem;border:1px solid #b91c1c;border-radius:6px;background:#fff;color:#b91c1c;font:inherit;cursor:pointer}.scw-import-preview{margin:1rem 0;padding:1rem;border:2px solid #2563eb;background:#eff6ff}.scw-import-preview pre{max-height:320px;overflow:auto;padding:.75rem;background:#fff;border:1px solid #bfdbfe;white-space:pre-wrap;word-break:break-word}
@media(max-width:760px){.scw-price-wrap .scw-head{display:block}.scw-price-wrap .scw-actions{margin-top:1rem}.scw-price-wrap .scw-actions a,.scw-price-wrap .scw-actions button{flex:1;text-align:center}.scw-price-wrap .scw-controls{display:block}.scw-price-wrap .scw-controls label{display:block;margin:.75rem 0}.scw-price-wrap .scw-search input,.scw-price-wrap .scw-size{width:100%;max-width:none;box-sizing:border-box}.scw-price-wrap .scw-table{overflow:visible}.scw-price-wrap table,.scw-price-wrap tbody,.scw-price-wrap tr,.scw-price-wrap td{display:block;width:100%;box-sizing:border-box}.scw-price-wrap thead{display:none}.scw-price-wrap tbody tr{margin:0 0 1rem;border:1px solid #cbd5e1;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 2px 5px rgba(15,23,42,.06)}.scw-price-wrap tbody tr[hidden]{display:none!important}.scw-price-wrap tbody td{display:grid;grid-template-columns:minmax(105px,38%) 1fr;gap:.75rem;border:0;border-bottom:1px solid #e5e7eb;padding:.7rem .8rem;text-align:right;overflow-wrap:anywhere}.scw-price-wrap tbody td:last-child{border-bottom:0}.scw-price-wrap tbody td:before{content:attr(data-label);font-weight:700;text-align:left;color:#475569}.scw-price-wrap .scw-pager{flex-wrap:wrap}.scw-price-wrap .scw-pager span{order:-1;width:100%;text-align:center}}
@media(max-width:760px){.scw-archive>div{align-items:flex-start;gap:.75rem}.scw-archive span,.scw-withdraw{width:100%}.scw-withdraw{flex-wrap:wrap}.scw-withdraw input{flex:1;min-width:100%}}
.scw-price-section{margin:2rem 0}.scw-price-section>h3{margin:0 0 .75rem}
.scw-tabs{display:flex;gap:.5rem;margin:1.25rem 0 .5rem;flex-wrap:wrap}.scw-tab{padding:.65rem 1.1rem;border:1px solid #1d4ed8;border-radius:999px;background:#fff;color:#1d4ed8;font:inherit;font-weight:600;cursor:pointer}.scw-tab span{font-weight:400;opacity:.8}.scw-tab.is-active{background:#1d4ed8;color:#fff}.scw-price-section[hidden]{display:none}@media(max-width:760px){.scw-tabs{position:sticky;top:0;z-index:5;background:#fff;padding:.5rem 0}.scw-tab{flex:1;text-align:center}}@media print{.scw-tabs{display:none!important}.scw-price-section[hidden]{display:block!important}}
.scw-archive>div{padding:.35rem 0}.scw-archive a{padding:.3rem .6rem;font-size:.9em}.scw-archive-section{margin:0 0 1.25rem}.scw-archive-section[hidden]{display:none}.scw-month{border:1px solid #e5e7eb;border-radius:8px;margin:0 0 .5rem;padding:0 .9rem}.scw-month>summary{cursor:pointer;font-weight:600;padding:.6rem 0}.scw-month>summary span{font-weight:400;opacity:.7}.scw-month[open]>summary{border-bottom:1px solid #e5e7eb;margin-bottom:.25rem}.scw-month>div:last-child{border-bottom:0}
.scw-year{border:1px solid #cbd5e1;border-radius:10px;margin:0 0 .75rem;padding:0 .9rem}.scw-year>summary{cursor:pointer;font-weight:700;font-size:1.05em;padding:.7rem 0}.scw-year>summary span{font-weight:400;opacity:.7}.scw-year[open]>summary{border-bottom:1px solid #cbd5e1;margin-bottom:.6rem}.scw-year .scw-month{margin-bottom:.5rem}
.scw-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.4rem .75rem;padding:.2rem 0 .75rem}.scw-days>div{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.3rem .55rem;border:1px solid #e5e7eb;border-radius:6px}.scw-days span{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.scw-days a{display:inline-block;padding:.3rem .6rem;border:1px solid #1d4ed8;border-radius:6px;background:#fff;color:#1d4ed8;text-decoration:none;font-size:.9em}.scw-days .scw-withdraw{grid-column:1/-1;width:100%}
.scw-month[hidden]{display:none}.scw-archive-pager{margin-top:.75rem;display:flex;gap:.75rem;align-items:center}.scw-archive-pager[hidden]{display:none}

/* Čitljivost tablice cjenika (Izgled → Prilagodi → Dodatni CSS) */
.scw-wrap .scw-table table{width:100%;border-collapse:collapse;background:#fff!important}
.scw-wrap .scw-table table thead th,
.scw-wrap .scw-table table th{
  background:#1e3a5f!important;   /* tamnoplava traka zaglavlja */
  color:#fff!important;            /* bijela slova, jak kontrast */
  font-weight:700!important;
  font-size:14px!important;
  line-height:1.3!important;
  text-shadow:none!important;
  opacity:1!important;
  border:1px solid #1e3a5f!important;
  padding:10px 8px!important;
  text-align:left!important;
  white-space:nowrap;
}
.scw-wrap .scw-table table th *{color:inherit!important;opacity:1!important}
.scw-wrap .scw-table table td{
  color:#111827!important;
  background:#fff!important;
  font-size:14px!important;
  border:1px solid #d1d5db!important;
  padding:8px!important;
  vertical-align:top;
}
.scw-wrap .scw-table table tbody tr:nth-child(even) td{background:#f3f6fa!important}
.scw-wrap .scw-table table tbody tr:hover td{background:#e6eef8!important}

/* Uočljivi gumbi cjenika (Izgled → Prilagodi → Dodatni CSS) */
/* Primarni gumbi: CSV, XML, PDF / ispis, arhiva */
.scw-wrap .scw-actions a,
.scw-wrap .scw-actions button,
.scw-wrap .scw-archive a,
.scw-wrap .scw-pager button{
  background:#1d4ed8!important;color:#fff!important;border:2px solid #1d4ed8!important;
  border-radius:8px!important;padding:.6rem 1.1rem!important;font-weight:700!important;
  font-size:15px!important;line-height:1.2!important;text-decoration:none!important;
  box-shadow:0 2px 6px rgba(29,78,216,.35)!important;opacity:1!important;cursor:pointer;
  transition:background .15s,transform .15s;
}
.scw-wrap .scw-actions a:hover,.scw-wrap .scw-actions button:hover,
.scw-wrap .scw-archive a:hover,.scw-wrap .scw-pager button:hover{
  background:#1e40af!important;border-color:#1e40af!important;color:#fff!important;transform:translateY(-1px);
}
.scw-wrap .scw-pager button:disabled{background:#cbd5e1!important;border-color:#cbd5e1!important;color:#475569!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed}
/* Kartice Artikli / Usluge */
.scw-wrap .scw-tab{
  background:#fff!important;color:#1d4ed8!important;border:2px solid #1d4ed8!important;
  font-weight:700!important;font-size:16px!important;padding:.7rem 1.4rem!important;opacity:1!important;
}
.scw-wrap .scw-tab[aria-selected="true"],.scw-wrap .scw-tab.is-active,.scw-wrap .scw-tab.active{
  background:#1d4ed8!important;color:#fff!important;box-shadow:0 2px 6px rgba(29,78,216,.35)!important;
}
.scw-wrap .scw-tab:hover{background:#dbeafe!important}
.scw-wrap .scw-tab[aria-selected="true"]:hover,.scw-wrap .scw-tab.is-active:hover,.scw-wrap .scw-tab.active:hover{background:#1e40af!important}
/* Poslovnice (kartice odabira) */
.scw-wrap .scw-branches a{border:2px solid #1d4ed8!important;color:#1e293b!important;background:#fff!important}
.scw-wrap .scw-branches a:hover{background:#eff6ff!important}
