/* DataDent – vrstva rozložení převzatá z produkce (bez barev a chrome), přebarvená na tokeny v32. Generováno build/legacy.py */

/* --- ciselniky.css --- */
.cis-year-select{
  padding: .4rem .75rem;
  border: 1px solid var(--dd-line);
  border-radius: 6px;
  font-size: .85rem;
}
.cis-pdf-menu{ position: relative; display: inline-block; }
.cis-pdf-dd{
  display: none;
  position: absolute;
  right: 0; top: 100%;
  margin-top: .35rem;
  background: white;
  border: 1px solid var(--dd-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  min-width: 220px;
  z-index: 500;
  overflow: hidden;
}
.cis-pdf-dd.is-open{ display: block; }
.cis-pdf-dd a, .cis-pdf-dd span{
  display: block;
  padding: .6rem .85rem;
  text-decoration: none;
  color: var(--dd-ink);
  font-size: .85rem;
  border-bottom: 1px solid var(--dd-surface-3);
}
.cis-pdf-dd a:last-child, .cis-pdf-dd span:last-child{ border-bottom: none; }
.cis-pdf-dd a:hover{ background: var(--dd-surface-brand); color: var(--dd-brand); }
.cis-pdf-dd span.disabled{ color: var(--dd-muted-aa); cursor: not-allowed; }
.cis-tabs{
  display: flex;
  gap: .35rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
}
@media (max-width: 600px){.cis-tabs{ overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }.cis-tab{ padding: .75rem .9rem; font-size: .92rem; white-space: nowrap; flex-shrink: 0; }}
.cis-tab{
  background: transparent;
  border: none;
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-radius: 8px 8px 0 0;
  transition: color .15s, border-color .15s, background .15s;
}
.cis-tab:hover{ color: var(--color-primary); background: rgba(13, 148, 136, .05); }
.cis-tab.is-active{ color: var(--color-primary); border-bottom-color: var(--color-accent); background: rgba(13, 148, 136, .06); }
.cis-tab__count{ font-size: .78rem; font-weight: 600; color: var(--dd-muted-aa); }
.cis-panel{ display: none; }
.cis-panel.is-active{
  display: block;
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
  border: 1px solid var(--dd-line);
  overflow: hidden;
}
.cis-search-bar{
  background: white;
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 0;
}
.cis-search{
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--dd-line);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--dd-surface-3);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.cis-search:focus{
  outline: none;
  background: white;
  border-color: var(--dd-brand);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.cis-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: white;
}
.cis-table thead th{
  text-align: left;
  padding: .7rem .9rem;
  background: var(--dd-surface-3);
  border-bottom: 2px solid var(--dd-line);
  font-weight: 600;
  color: var(--dd-muted-aa);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  position: sticky;
  top: 0;
  z-index: 10;
}
.cis-table tbody tr{
  border-bottom: 1px solid var(--dd-surface-3);
  cursor: pointer;
  transition: background-color .12s, box-shadow .12s;
}
.cis-table tbody tr:hover{
  background: var(--dd-surface-brand);
  box-shadow: inset 3px 0 0 var(--dd-brand);
}
.cis-table tbody tr:last-child{ border-bottom: none; }
.cis-table td{
  padding: .65rem .9rem;
  vertical-align: middle;
  line-height: 1.45;
}
.cis-cell-kod{ font-family: var(--font-mono); font-weight: 600; color: var(--dd-brand); white-space: nowrap; font-size: .88rem; }
.cis-cell-name{ color: var(--dd-ink); word-break: break-word; }
.cis-cell-price{ font-weight: 600; color: var(--dd-ink); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.cis-required{ color: var(--dd-bad-text); font-weight: 600; font-size: .8rem; }
.cis-notreq{ color: var(--dd-muted-aa); font-size: .8rem; }
.cis-note-badge{ font-size: .85rem; }
.cis-empty{ padding: 2.5rem 2rem; text-align: center; color: var(--dd-muted-aa); background: var(--dd-surface-3); border-radius: 8px; border: 1px dashed var(--dd-line); }
.cis-table--unified .cis-col-kod{ width: 100px; }
.cis-table--unified .cis-col-name{ width: auto; }
.cis-table--unified .cis-col-price{ width: 110px; }
.cis-table--unified .cis-col-details{ width: 1px; }
.cis-table--unified .cis-th-right{ text-align: right; }
.cis-table--unified .cis-cell-name{  }
.cis-table--unified .cis-cell-details{
  white-space: nowrap;
  text-align: right;
  padding-right: .9rem;
}
.cis-chip{
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .12rem .45rem;
  font-size:.75rem; font-weight: 600;
  border-radius: 999px;
  background: var(--dd-surface-3); color: var(--dd-muted-aa);
  border: 1px solid var(--dd-line);
  margin: .1rem .15rem .1rem 0;
  white-space: nowrap;
}
.cis-chip__k{
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  font-family: var(--font-mono); font-size:.75rem; font-weight: 800;
  background: rgba(255,255,255,.7);
  color: var(--dd-muted-aa);
  border-radius: 4px;
}
.cis-chip--on{ background: var(--dd-bad-bg); color: var(--dd-bad-text); border-color: var(--dd-bad-bg); }
.cis-chip--on  .cis-chip__k{ background: rgba(255,255,255,.85); color: var(--dd-bad-text); }
.cis-chip--off{ background: var(--dd-surface-3); color: var(--dd-muted-aa); border-color: var(--dd-line); }
.cis-chip--off .cis-chip__k{ background: rgba(255,255,255,.7); color: var(--dd-muted-aa); }
.cis-chip--neutral{ background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.cis-chip--note{ background: var(--dd-warn-bg); color: var(--dd-warn-text); border-color: #f2d9a6; padding: .12rem .3rem; }
@media (max-width: 1024px){.cis-table--unified .cis-col-details, .cis-table--unified thead th:nth-child(4), .cis-table--unified tbody td.cis-cell-details{ display: none; }}
@media (max-width: 640px){.cis-table, .cis-table thead, .cis-table tbody, .cis-table tr, .cis-table td, .cis-table th{ display: block; }.cis-table thead{ display: none; }.cis-table tbody tr{
    background: white;
    border: 1px solid var(--dd-line);
    border-radius: 8px;
    margin-bottom: .5rem;
    padding: .5rem;
  }.cis-table td{
    padding: .25rem .5rem;
    text-align: left;
  }}
.cis-price-hint{
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: -.25rem 0 .75rem;
  font-size: .78rem;
  color: var(--dd-brand);
}
.cis-price-hint svg{ flex: 0 0 auto; }
.cis-cell-price[data-editable="1"]{
  cursor: pointer;
  position: relative;
  user-select: none;
}
.cis-cell-price[data-editable="1"]:hover{
  background: var(--dd-surface-brand);
  outline: 1px dashed var(--dd-brand);
  outline-offset: -1px;
}
.cis-cell-price.is-editing{
  background: var(--dd-surface-brand);
  outline: 1px solid var(--dd-brand);
  outline-offset: -1px;
  cursor: default;
}
.cis-override-dot{
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dd-brand);
  margin-left: .4rem;
  vertical-align: middle;
}
.cis-price-editor{
  display: flex;
  gap: .25rem;
  align-items: center;
  justify-content: flex-end;
}
.cis-price-editor .cis-price-input{
  width: 88px;
  padding: .3rem .5rem;
  border: 1px solid var(--dd-brand);
  border-radius: 5px;
  font-size: .85rem;
  text-align: right;
  font-weight: 600;
}
.cis-price-editor button{
  border: none;
  background: none;
  padding: .25rem .4rem;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
  border-radius: 4px;
}
.cis-price-editor button.save{ color: var(--dd-brand); }
.cis-price-editor button.reset{ color: var(--dd-warn-text); }
.cis-price-editor button.cancel{ color: var(--dd-muted-aa); }
.cis-price-editor button:hover:not(:disabled){ background: var(--dd-surface-3); }
.cis-price-editor button:disabled{ opacity: .45; cursor: default; }
.cis-price-error{
  display: block;
  color: var(--dd-bad-text);
  font-size:.75rem;
  margin-top: .25rem;
  text-align: right;
}