/* Paneli i pronarit: stil i kufizuar te ky ekran dhe te çmimorja. */
.price-filters input,
.price-filters select,
.price-input input {
  border: 1px solid var(--kufi-fort);
  border-radius: 9px;
  background: var(--ngritur);
  color: var(--boje);
  font-family: var(--sans);
  padding: 11px 12px;
  min-height: 44px;
  box-sizing: border-box;
}
.price-filters input:focus,
.price-filters select:focus,
.price-input input:focus {
  outline: 2px solid var(--theks);
  outline-offset: 2px;
}
.price-input input {
  min-height: 47px;
}
.price-filters {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
}
.price-filters input,
.price-filters select {
  min-width: 0;
  font-size: 14px;
}
.price-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0;
  font-size: 13px;
  color: var(--heshtur);
}
.price-check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--theks);
}
.price-list {
  max-height: 48dvh;
  overflow: auto;
  padding-right: 5px;
}
.price-item {
  border: 1px solid var(--kufi);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.price-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.price-item-head b {
  font-size: 16px;
}
.price-item-head small {
  display: block;
  font-size: 11px;
  color: var(--heshtur);
  margin-top: 5px;
}
.price-pack {
  font-size: 11px;
  text-align: right;
  max-width: 45%;
  line-height: 1.6;
  color: var(--heshtur);
}
.price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.price-field > span {
  display: block;
  font-size: 11px;
  color: var(--heshtur);
  margin-bottom: 7px;
}
.price-input {
  position: relative;
}
.price-input input {
  padding-right: 28px;
  font-size: 16px;
  min-width: 0;
  width: 100%;
}
.price-input > span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--heshtur);
  font-size: 13px;
}
.price-calculation {
  font-size: 11px;
  color: var(--heshtur);
  margin-top: 13px;
  line-height: 1.7;
}
.price-source {
  font-size: 11px;
  line-height: 1.7;
  color: var(--heshtur);
  margin-top: 12px;
}
.price-source summary {
  cursor: pointer;
  color: var(--theks);
  padding: 4px 0;
}
.price-source p {
  margin: 7px 0;
}
.price-source-empty,
.price-unit-note {
  font-size: 11px;
  color: var(--heshtur);
  line-height: 1.6;
  margin: 10px 0 0;
}
.price-status {
  font-size: 12px;
  min-height: 22px;
  color: var(--theks);
  margin-top: 10px;
}
.price-editor .butona {
  margin-top: 8px;
}
.owner-dashboard {
  max-width: 1440px;
  margin: auto;
  padding: 10px 0 32px;
  --owner-green: #28654f;
  --owner-cost: #cf9f63;
}
.owner-heading,
.owner-toolbar,
.owner-actions,
.owner-section-head,
.owner-metric-head,
.owner-hero-top,
.owner-hero-bottom,
.owner-machine-top,
.owner-machine-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.owner-heading {
  align-items: flex-end;
  margin-bottom: 28px;
}
.owner-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 750;
  color: var(--heshtur);
}
.owner-heading h1 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.045em;
  margin: 9px 0 6px;
  line-height: 1.15;
}
.owner-heading p,
.owner-section-head p {
  color: var(--heshtur);
  font-size: 14px;
  margin: 5px 0 0;
}
.owner-actions .buton {
  font-size: 13px;
  min-height: 45px;
  white-space: nowrap;
}
.owner-toolbar {
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.owner-periods {
  display: flex;
  gap: 3px;
  padding: 5px;
  background: var(--ngritur);
  border: 1px solid var(--kufi);
  border-radius: 13px;
}
.owner-periods button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--heshtur);
  padding: 10px 18px;
  font: 600 13px var(--sans);
  min-height: 40px;
  cursor: pointer;
}
.owner-periods button.selected {
  background: var(--theks);
  color: var(--sfond);
}
.owner-periods svg {
  width: 16px;
  height: 16px;
}
.owner-period-label {
  font-size: 13px;
  color: var(--heshtur);
}
.owner-summary {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
}
.owner-hero {
  background: #163e34;
  color: #f5faf7;
  border-radius: 22px;
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.owner-hero:after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  right: -170px;
  bottom: -90px;
  border: 35px solid #ffffff06;
  border-radius: 50%;
  pointer-events: none;
}
.owner-hero h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 26px 0 8px;
  color: #d6e9df;
}
.owner-hero-amount {
  font-size: clamp(32px, 4vw, 53px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.owner-hero p {
  font-size: 13px;
  line-height: 1.7;
  color: #bfd6c9;
  margin: 14px 0 26px;
}
.owner-hero-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff24;
  padding-top: 17px;
  font-size: 12px;
  color: #d4e6dd;
}
.owner-hero-bottom svg {
  width: 23px;
  height: 23px;
}
.owner-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  background: var(--siperfaqe);
  color: var(--heshtur);
}
.owner-pill.light {
  background: #ffffff13;
  color: #d5e9db;
}
.owner-pill.ok {
  background: var(--gjelber-sfond);
  color: var(--gjelber-boje);
}
.owner-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.owner-metric,
.owner-card {
  background: var(--ngritur);
  border: 1px solid var(--kufi);
  border-radius: 18px;
  padding: 22px;
  min-width: 0;
}
.owner-metric-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--heshtur);
}
.owner-metric-head svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}
.owner-metric strong {
  display: block;
  font-size: 27px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 12px 0 7px;
}
.owner-metric p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--heshtur);
  margin: 0;
}
.owner-dashboard .positive {
  color: var(--gjelber-boje);
}
.owner-dashboard .negative {
  color: var(--kuq-boje);
}
.owner-explanation {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 3px 24px;
  color: var(--heshtur);
}
.owner-explanation svg {
  width: 16px;
  min-width: 16px;
  margin-top: 2px;
}
.owner-explanation p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  max-width: 1100px;
}
.owner-main-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.owner-card {
  margin-bottom: 18px;
}
.owner-main-grid > .owner-card {
  margin-bottom: 0;
}
.owner-section-head {
  align-items: flex-start;
  margin-bottom: 22px;
}
.owner-section-head h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}
.owner-section-head p {
  font-size: 12px;
  line-height: 1.6;
}
.owner-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  color: var(--theks);
  font: 600 12px var(--sans);
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 0;
  min-height: 36px;
}
.owner-link svg {
  width: 16px;
  height: 16px;
}
.owner-chart {
  height: 190px;
  display: flex;
  gap: 14px;
  margin-top: 26px;
}
.owner-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--heshtur);
  min-width: 40px;
  text-align: right;
}
.owner-bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  border-bottom: 1px solid var(--kufi);
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(50% - 1px),
    var(--kufi) calc(50% - 1px),
    var(--kufi) 50%
  );
}
.owner-bar-group {
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  min-width: 0;
}
.owner-bar-group:focus-visible {
  outline: 2px solid var(--theks);
  outline-offset: 3px;
  border-radius: 4px;
}
.owner-bar {
  display: block;
  width: 34%;
  max-width: 35px;
  border-radius: 4px 4px 0 0;
}
.owner-bar.revenue {
  background: var(--owner-green);
}
.owner-bar.cost {
  background: var(--owner-cost);
}
.owner-chart-dates {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0 54px;
  font-size: 10px;
  color: var(--heshtur);
}
.owner-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--heshtur);
}
.owner-legend:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--owner-green);
}
.owner-legend.cost:before {
  background: var(--owner-cost);
}
.owner-chart-detail {
  font-size: 11px;
  color: var(--heshtur);
  padding-top: 18px;
  min-height: 35px;
}
.owner-attention {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--kufi);
  padding: 14px 0;
  color: var(--boje);
  cursor: pointer;
}
.owner-attention > span:nth-child(2) {
  flex: 1;
}
.owner-attention b {
  font-size: 12px;
}
.owner-attention small,
.owner-stock-value small {
  display: block;
  color: var(--heshtur);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;
}
.owner-attention > svg {
  width: 16px;
  height: 16px;
}
.owner-count {
  font-size: 17px;
  font-weight: 600;
  background: var(--verdhe-sfond);
  color: var(--verdhe-boje);
  border-radius: 10px;
  min-width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.owner-stock-value {
  margin-top: 20px;
}
.owner-stock-value > span {
  font-size: 12px;
  color: var(--heshtur);
}
.owner-stock-value strong {
  display: block;
  font-size: 24px;
  margin-top: 5px;
  letter-spacing: -0.04em;
}
.owner-machines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.owner-machine {
  border: 1px solid var(--kufi);
  border-radius: 13px;
  padding: 17px;
  min-width: 0;
}
.owner-machine-top {
  align-items: flex-start;
  gap: 8px;
}
.owner-machine-top > b {
  font-size: 12px;
  line-height: 1.5;
}
.owner-machine > strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.03em;
  margin: 18px 0 12px;
}
.owner-meter {
  height: 4px;
  background: var(--siperfaqe);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}
.owner-meter i {
  display: block;
  height: 100%;
  background: var(--owner-green);
}
.owner-machine-foot {
  font-size: 11px;
  gap: 6px;
}
.owner-machine-foot > span {
  color: var(--heshtur);
}
.owner-machine > small {
  display: block;
  font-size: 10px;
  color: var(--heshtur);
  margin-top: 8px;
  line-height: 1.5;
}
.owner-analysis-row {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--kufi);
  font-size: 12px;
}
.owner-analysis-row > *:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.owner-analysis-row small {
  display: block;
  color: var(--heshtur);
  font-size: 10px;
  margin-top: 4px;
}
.owner-table-head {
  border-top: 0;
  font-size: 10px;
  color: var(--heshtur);
  padding-top: 0;
}
.owner-cash-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--kufi);
}
.owner-cash-row.total {
  font-size: 15px;
  border-bottom: 0;
}
.owner-muted {
  font-size: 12px;
  line-height: 1.8;
  color: var(--heshtur);
  margin: 15px 0 22px;
}
.owner-transaction {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--kufi);
  font-size: 12px;
}
.owner-transaction small {
  display: block;
  color: var(--heshtur);
  margin-top: 4px;
  font-size: 11px;
}
.owner-transaction > span:first-child {
  color: var(--heshtur);
}
.owner-footer {
  font-size: 11px;
  color: var(--heshtur);
  text-align: center;
  line-height: 1.6;
}
.owner-empty {
  padding: 35px 15px;
  text-align: center;
  color: var(--heshtur);
}
.owner-empty > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}
.owner-empty b {
  display: block;
  font-size: 14px;
}
.owner-empty p {
  font-size: 12px;
  line-height: 1.7;
}
.owner-notice {
  display: flex;
  gap: 10px;
  padding: 13px 16px;
  background: var(--verdhe-sfond);
  color: var(--verdhe-boje);
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 16px;
}
.owner-notice svg {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (min-width: 1400px) {
  .owner-summary {
    grid-template-columns: 1fr 1.5fr;
  }
  .owner-hero {
    padding: 30px 34px;
  }
}
@media (max-width: 1000px) {
  .owner-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .owner-summary {
    grid-template-columns: 1fr 1fr;
  }
  .owner-hero {
    padding: 23px;
  }
  .owner-metric {
    padding: 17px;
  }
  .owner-metric strong {
    font-size: 24px;
  }
  .owner-hero-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .owner-main-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .owner-machines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .owner-dashboard {
    padding-top: 2px;
  }
  .owner-heading {
    margin-bottom: 20px;
    gap: 15px;
  }
  .owner-heading h1 {
    font-size: 29px;
  }
  .owner-actions {
    width: 100%;
    gap: 8px;
  }
  .owner-actions .buton {
    flex: 1;
    font-size: 11px;
    padding: 0 10px;
  }
  .owner-actions svg {
    width: 16px;
  }
  .owner-toolbar {
    gap: 11px;
    margin-bottom: 15px;
  }
  .owner-periods {
    width: 100%;
    justify-content: space-between;
  }
  .owner-periods button {
    padding: 8px 10px;
    min-height: 40px;
    font-size: 12px;
  }
  .owner-period-label {
    font-size: 11px;
  }
  .owner-summary,
  .owner-main-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .owner-hero {
    padding: 22px;
    border-radius: 17px;
  }
  .owner-hero-top {
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
  }
  .owner-hero h2 {
    margin-top: 25px;
  }
  .owner-hero-amount {
    font-size: 43px;
  }
  .owner-hero p {
    margin-bottom: 20px;
  }
  .owner-metrics {
    gap: 10px;
  }
  .owner-metric {
    padding: 16px;
    border-radius: 13px;
  }
  .owner-metric strong {
    font-size: 23px;
  }
  .owner-metric-head {
    font-size: 11px;
    gap: 5px;
  }
  .owner-metric p {
    font-size: 10px;
  }
  .owner-card {
    padding: 18px 16px;
    border-radius: 15px;
    margin-bottom: 12px;
  }
  .owner-section-head {
    gap: 8px;
    margin-bottom: 16px;
  }
  .owner-section-head h2 {
    font-size: 16px;
  }
  .owner-section-head p {
    font-size: 11px;
  }
  .owner-chart {
    height: 160px;
  }
  .owner-machines {
    gap: 9px;
  }
  .owner-machine {
    padding: 13px 11px;
  }
  .owner-machine-top {
    flex-direction: column;
    gap: 7px;
  }
  .owner-machine > strong {
    font-size: 21px;
  }
  .owner-machine-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .owner-machine > small {
    font-size: 10px;
  }
  .owner-analysis-row {
    gap: 7px;
    font-size: 11px;
    grid-template-columns: 1.35fr 0.4fr 0.85fr 0.85fr;
  }
  .owner-analysis-row small {
    font-size: 9px;
  }
  .owner-link {
    font-size: 10px;
    white-space: normal;
    text-align: right;
  }
  .owner-transaction {
    grid-template-columns: 58px 1fr auto;
    gap: 8px;
    font-size: 11px;
  }
  .owner-explanation p {
    font-size: 11px;
  }
  .owner-hero-bottom {
    font-size: 11px;
  }
}
@media print {
  .owner-actions,
  .owner-toolbar button,
  .owner-link,
  .owner-attention svg,
  .owner-cash-row ~ button {
    display: none !important;
  }
  .owner-dashboard {
    max-width: none;
  }
  .owner-hero {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .owner-summary,
  .owner-main-grid {
    break-inside: avoid;
  }
  .owner-card {
    break-inside: avoid;
  }
  .owner-chart {
    height: 140px;
  }
}
