.workspace {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.workspace-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
}
.outline-badge {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
}
.empty-state {
  padding: 80px 20px;
  text-align: center;
}
.empty-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--green);
}
.empty-state h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.back-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}


.export-button,
.action-button {
  height: 46px;
  padding: 0 14px;
}
.primary-button {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.primary-button:hover {
  filter: brightness(0.95);
}


.price-input-wrap {
  position: relative;
  display: grid;
}
.price-input-wrap .fiyat-input {
  padding-right: 42px;
}
.price-suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  pointer-events: none;
}
.field-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.fiyat-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, var(--line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--soft) 75%, #d9d2c4);
  color: var(--ink);
  font-size: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: right;
  font-weight: 700;
}
.fiyat-input:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: var(--green);
  background: var(--surface);
}
.form-field .price-input-wrap .fiyat-input {
  min-height: 44px;
  background: var(--soft);
  border-radius: 12px;
}
.danger-button {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}
.danger-button:hover {
  filter: brightness(0.95);
}
.confirm-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, #fff);
  color: var(--ink);
  box-shadow:
    0 18px 40px rgba(16, 24, 18, 0.18),
    0 6px 14px rgba(16, 24, 18, 0.1);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.toast-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.toast-leave {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}
.toast p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}
.toast-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent);
}
.toast-success .toast-dot {
  background: var(--green);
}
.toast-error {
  border-color: #e3bcbc;
  background: #fff7f7;
}
.toast-error .toast-dot {
  background: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}
.toast-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
@media (max-width: 767px) {
  .toast-stack {
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
}
.row-btn {
  border: 1px solid color-mix(in srgb, var(--ink) 14%, var(--line));
  background: color-mix(in srgb, var(--surface) 80%, #ddd6c8);
  color: var(--ink);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.row-btn.danger {
  color: #8a2f2f;
  border-color: #d7b0b0;
  background: #f4e5e5;
}
.row-btn:hover {
  filter: brightness(0.97);
}
.form-dialog {
  width: min(92vw, 420px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 48px rgba(16, 24, 18, 0.28);
}
.form-dialog::backdrop {
  background: rgba(16, 24, 18, 0.55);
}
.form-dialog-head,
.form-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.form-dialog-actions {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}
.form-dialog-head h3 {
  margin: 0;
  font-size: 18px;
}
.form-dialog-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.form-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.form-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.form-field input:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.form-error {
  margin: 0;
  color: #8a2f2f;
  background: #f7e8e8;
  border: 1px solid #e3bcbc;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}


@media (max-width: 767px) {
  .toast-stack {
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
  }
}
