:root {
  --ink: #183330;
  --ink-soft: #3f5753;
  --muted: #7e8f8b;
  --muted-light: #9daaa7;
  --canvas: #f3f6f5;
  --paper: #ffffff;
  --line: #e1e8e6;
  --line-strong: #d3dedb;
  --teal-950: #082f2c;
  --teal-900: #0c3d38;
  --teal-800: #105149;
  --teal-700: #17685f;
  --teal-600: #287b71;
  --teal-100: #dcefeb;
  --teal-50: #edf7f4;
  --orange: #e7782d;
  --orange-dark: #c85f1f;
  --orange-50: #fff0e5;
  --green: #27815d;
  --green-50: #e7f5ed;
  --blue: #4376a6;
  --blue-50: #eaf2fa;
  --purple: #7257a5;
  --purple-50: #f0edfa;
  --red: #bd5149;
  --red-50: #fceceb;
  --radius: 14px;
  --shadow-sm: 0 7px 24px rgba(25, 54, 50, 0.04);
  --shadow: 0 18px 55px rgba(17, 46, 42, 0.1);
}

/* Two-factor authentication */
.login-cancel {
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font: 700 9px "DM Sans", sans-serif;
  cursor: pointer;
}

.login-cancel:hover { color: var(--teal-700); }
.login-cancel svg { width: 15px; }
.two-factor-code-input input {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.two-factor-recovery-login {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.two-factor-recovery-login summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--teal-700);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.two-factor-recovery-login summary::-webkit-details-marker { display: none; }
.two-factor-recovery-login summary svg { width: 15px; }
.two-factor-recovery-login .login-form { margin-top: 14px; gap: 12px; }
.two-factor-recovery-login .recovery-submit { min-height: 43px; font-size: 9px; }
.admin-backup-note {
  margin: 12px 0 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted) !important;
  font-size: 8px !important;
  line-height: 1.5;
}
.admin-backup-note svg { width: 14px; flex: 0 0 auto; }

.two-factor-hero {
  min-height: 180px;
  margin-bottom: 18px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background: linear-gradient(125deg, #173f3b, #0c6b60);
  box-shadow: 0 20px 45px rgba(20, 71, 64, 0.16);
}

.two-factor-hero.enabled { background: linear-gradient(125deg, #174739, #16815f); }
.two-factor-hero-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}
.two-factor-hero-icon svg { width: 28px; }
.two-factor-hero h2 {
  margin: 7px 0;
  font: 800 clamp(20px, 2.2vw, 29px)/1.2 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}
.two-factor-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.74); font-size: 10px; }
.two-factor-hero .section-kicker { color: #9de1d1; }
.two-factor-state {
  margin-left: auto;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 9px;
  font-weight: 800;
}
.two-factor-state i { width: 7px; height: 7px; border-radius: 50%; background: #ffb65d; }
.two-factor-hero.enabled .two-factor-state i { background: #7ff0bd; }

.two-factor-setup-grid,
.two-factor-manage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}
.two-factor-qr-card,
.two-factor-confirm-card,
.two-factor-manage-card,
.recovery-code-panel { padding: 25px; position: relative; }
.two-factor-qr-card h2,
.two-factor-confirm-card h2,
.two-factor-manage-card h2,
.recovery-code-panel h2 { margin: 6px 0; font: 800 18px/1.25 "Manrope", sans-serif; }
.two-factor-qr-card p,
.two-factor-confirm-card p,
.two-factor-manage-card p,
.recovery-code-panel p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.setup-step {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 22px;
  right: 22px;
  color: white;
  border-radius: 9px;
  background: var(--orange);
  font: 800 11px "Manrope", sans-serif;
}
.two-factor-qr-card > img {
  width: 210px;
  height: 210px;
  margin: 18px auto;
  display: block;
  border: 10px solid white;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(20,55,50,.1);
}
.two-factor-qr-card details { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbfa; }
.two-factor-qr-card summary { color: var(--teal-700); font-size: 9px; font-weight: 800; cursor: pointer; }
.two-factor-qr-card details code { padding: 8px; display: block; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; overflow-wrap: anywhere; }
.two-factor-qr-card details small { color: var(--muted); font-size: 8px; }
.two-factor-confirm-card form,
.two-factor-manage-card form { margin-top: 20px; display: grid; gap: 13px; }
.two-factor-note,
.two-factor-warning { display: flex; align-items: flex-start; gap: 7px; }
.two-factor-note svg,
.two-factor-warning svg { width: 15px; flex: 0 0 auto; }
.two-factor-note { margin-top: 18px !important; padding: 12px; color: var(--teal-700) !important; border-radius: 9px; background: var(--teal-50); }
.danger-card { border-color: #edcfcb; }
.danger-card .admin-card-icon { color: var(--red); background: var(--red-50); }
.recovery-code-panel { margin-bottom: 18px; border-color: #f0d7b3; background: #fffcf6; }
.recovery-code-panel .panel-heading { padding: 0 0 17px; }
.recovery-code-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.recovery-code-grid code { padding: 12px 8px; text-align: center; color: var(--ink); border: 1px dashed #d7bd99; border-radius: 8px; background: white; font: 800 11px "DM Sans", sans-serif; letter-spacing: .04em; }
.two-factor-warning { margin: 16px 0 0 !important; color: #9a6420 !important; }

.admin-user-row { grid-template-columns: 40px minmax(140px, 1fr) minmax(125px, .7fr) 75px 70px auto; }
.admin-2fa-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
}
.admin-2fa-state svg { width: 14px; }
.admin-2fa-state.active { color: var(--green); }

@media (max-width: 1100px) {
  .two-factor-setup-grid,
  .two-factor-manage-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-user-row { grid-template-columns: 40px minmax(140px,1fr) 75px 70px auto; }
  .admin-user-login { display: none; }
}

@media (max-width: 700px) {
  .two-factor-hero { min-height: 0; padding: 22px; align-items: flex-start; flex-wrap: wrap; }
  .two-factor-hero-icon { width: 48px; height: 48px; border-radius: 14px; }
  .two-factor-hero > div { width: calc(100% - 68px); }
  .two-factor-state { margin-left: 0; }
  .two-factor-qr-card,
  .two-factor-confirm-card,
  .two-factor-manage-card,
  .recovery-code-panel { padding: 19px; }
  .recovery-code-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-user-row { grid-template-columns: 40px minmax(0,1fr) auto; }
  .admin-2fa-state { grid-column: 2; }
  .admin-user-state { grid-column: 3; grid-row: 1; }
}

@media print {
  .two-factor-hero,
  .two-factor-setup-grid,
  .two-factor-manage-grid,
  .sidebar,
  .topbar,
  .app-footer { display: none !important; }
  .recovery-code-panel { border: 0; box-shadow: none; }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.print-only {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: 264px;
  padding: 25px 18px 18px;
  display: flex;
  flex-direction: column;
  color: #dce9e6;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at 0 0, rgba(57, 135, 124, 0.28), transparent 27%),
    linear-gradient(180deg, #0c3c38 0%, #082f2c 100%);
}

.brand {
  padding: 0 7px 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 190px;
  height: 74px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  box-shadow: 0 12px 27px rgba(0, 0, 0, 0.22);
}

.sidebar-new {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: white;
  border-radius: 11px;
  background: var(--orange);
  box-shadow: 0 9px 23px rgba(202, 87, 22, 0.24);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.18s ease;
}

.sidebar-new:hover {
  background: #ef853e;
  transform: translateY(-1px);
}

.sidebar-nav {
  margin-top: 29px;
}

.nav-label {
  margin: 0 0 9px 12px;
  color: #779b95;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.sidebar-nav a {
  position: relative;
  min-height: 46px;
  margin: 3px 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b9d0cc;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.15s ease;
}

.sidebar-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 var(--orange);
}

.sidebar-nav a b {
  min-width: 23px;
  margin-left: auto;
  padding: 3px 7px;
  color: #d7e6e3;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  text-align: center;
}

.sidebar-nav a b.orange {
  color: white;
  background: rgba(231, 120, 45, 0.9);
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-tools {
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.sidebar-tools-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-tools-title svg {
  width: 16px;
}

.sidebar-tools > p {
  margin: 8px 0 11px;
  color: #89aaa4;
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-tools > div:last-child {
  display: flex;
  gap: 7px;
}

.sidebar-tools a {
  min-height: 31px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 5px;
  color: #dce9e6;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-tools a svg {
  width: 14px;
}

.workshop-status {
  padding: 13px 8px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workshop-status > i:first-child {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #48d394;
  box-shadow: 0 0 0 4px rgba(72, 211, 148, 0.1);
}

.workshop-status > span {
  flex: 1;
}

.workshop-status strong,
.workshop-status small {
  display: block;
}

.workshop-status strong {
  color: #eaf3f1;
  font-size: 11px;
}

.workshop-status small {
  margin-top: 3px;
  color: #799c96;
  font-size: 9px;
}

.workshop-status > svg {
  width: 17px;
  color: #87a6a1;
}

.main-shell {
  min-height: 100vh;
  margin-left: 264px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 87px;
  padding: 15px clamp(24px, 3.2vw, 48px);
  display: flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 251, 250, 0.91);
  backdrop-filter: blur(16px);
}

.page-title {
  min-width: 245px;
}

.page-title small {
  display: block;
  margin-bottom: 4px;
  color: #879692;
  font-size: 10px;
}

.page-title h1 {
  margin: 0;
  font: 750 21px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.top-search,
.compact-search {
  position: relative;
  display: flex;
  align-items: center;
  color: #879692;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.top-search {
  width: min(31vw, 340px);
  height: 42px;
  margin-left: auto;
  padding: 0 11px;
  gap: 8px;
}

.top-search:focus-within,
.compact-search:focus-within {
  border-color: #79a89f;
  box-shadow: 0 0 0 3px rgba(23, 104, 95, 0.08);
}

.top-search input,
.compact-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.top-search input::placeholder,
.compact-search input::placeholder {
  color: #9aa7a4;
}

.top-search kbd {
  padding: 3px 5px;
  color: #8d9a97;
  border: 1px solid #e1e6e5;
  border-radius: 5px;
  background: #f7f9f8;
  font: 500 8px "DM Sans", sans-serif;
  white-space: nowrap;
}

.user-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-800);
  border: 1px solid #cce0dc;
  border-radius: 50%;
  background: #e7f1ef;
  font: 800 14px "Manrope", sans-serif;
}

.user-menu {
  position: relative;
  flex: 0 0 auto;
}

.user-menu summary {
  list-style: none;
  cursor: pointer;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu[open] .user-avatar {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(23, 104, 95, 0.1);
}

.user-menu-popover {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.user-menu-identity {
  padding: 7px 9px 11px;
  border-bottom: 1px solid var(--line);
}

.user-menu-identity strong,
.user-menu-identity small {
  display: block;
}

.user-menu-identity strong {
  font: 700 12px "Manrope", sans-serif;
}

.user-menu-identity small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.user-menu-popover form {
  margin-top: 7px;
}

.user-menu-popover button {
  width: 100%;
  min-height: 37px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.user-menu-popover button:hover {
  background: var(--red-50);
}

.user-menu-popover button svg {
  width: 16px;
}

.user-menu-admin-link {
  min-height: 37px;
  margin-top: 7px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.user-menu-admin-link:hover {
  background: var(--teal-50);
}

.user-menu-admin-link svg {
  width: 16px;
}

.page-content {
  max-width: 1510px;
  min-height: calc(100vh - 87px);
  margin: 0 auto;
  padding: 30px clamp(24px, 3.2vw, 48px) 24px;
}

.app-footer {
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #9aa7a4;
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.button {
  min-height: 41px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  border-color: var(--teal-800);
  background: var(--teal-800);
  box-shadow: 0 6px 15px rgba(13, 72, 65, 0.1);
}

.button-primary:hover {
  background: var(--teal-700);
}

.button-secondary {
  color: #405854;
  border-color: var(--line-strong);
  background: white;
}

.button-secondary:hover {
  border-color: #bfcfcb;
  background: #f9fbfa;
}

.button-dark {
  color: white;
  border-color: #34524e;
  background: #34524e;
}

.button-ghost {
  color: #647572;
  border-color: transparent;
  background: transparent;
}

.button-whatsapp {
  color: #237a52;
  border-color: #cce8d8;
  background: #eef9f3;
}

.button-offer {
  color: #9a561f;
  border-color: #f0d6c1;
  background: #fff4eb;
}

.button-danger {
  color: var(--red);
  border-color: #ecc8c5;
  background: var(--red-50);
}

.button-danger:hover {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

.button-block {
  width: 100%;
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  cursor: pointer;
}

.sidebar-close,
.menu-button {
  display: none;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.section-kicker {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.welcome-card {
  position: relative;
  min-height: 154px;
  padding: 30px 33px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 0, rgba(77, 153, 142, 0.24), transparent 40%),
    linear-gradient(105deg, #0d4741, #0f534c);
  box-shadow: 0 16px 35px rgba(17, 61, 56, 0.1);
}

.welcome-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f5ad78;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.welcome-kicker svg {
  width: 15px;
}

.welcome-copy h2 {
  margin: 7px 0 6px;
  font: 750 24px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.welcome-copy p {
  margin: 0;
  color: #bcd4d0;
  font-size: 12px;
}

.welcome-copy p strong {
  color: white;
}

.welcome-action {
  position: relative;
  z-index: 2;
  min-height: 43px;
  margin-left: auto;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-900);
  border-radius: 9px;
  background: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.welcome-watermark {
  position: absolute;
  top: -60px;
  right: 185px;
  width: 240px;
  height: 240px;
  opacity: 0.055;
}

.demo-notice {
  margin-top: 12px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #52716c;
  border: 1px solid #d8e9e5;
  border-radius: 10px;
  background: #eff8f6;
}

.demo-notice > svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--teal-700);
}

.demo-notice p {
  margin: 0;
  flex: 1;
  font-size: 8px;
}

.demo-notice button {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-700);
  border: 0;
  background: transparent;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.demo-notice button svg {
  width: 13px;
}

.stat-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 117px;
  padding: 19px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
}

.stat-icon.teal {
  color: var(--teal-700);
  background: var(--teal-50);
}

.stat-icon.orange {
  color: #d46b28;
  background: var(--orange-50);
}

.stat-icon.green {
  color: var(--green);
  background: var(--green-50);
}

.stat-icon.blue {
  color: var(--blue);
  background: var(--blue-50);
}

.stat-card small,
.stat-card strong,
.stat-card p {
  display: block;
}

.stat-card small {
  color: #6f817d;
  font-size: 10px;
  font-weight: 600;
}

.stat-card strong {
  margin: 3px 0 1px;
  font: 800 27px/1.2 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.stat-card strong.money-value {
  margin-top: 8px;
  font-size: 18px;
}

.stat-card p {
  margin: 0;
  color: #9ba7a4;
  font-size: 8px;
}

.dashboard-layout {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: 17px;
}

.panel-heading {
  min-height: 72px;
  padding: 19px 21px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf1ef;
}

.panel-heading h2,
.panel-heading p {
  margin: 0;
}

.panel-heading h2 {
  font: 750 15px "Manrope", sans-serif;
}

.panel-heading p {
  margin-top: 4px;
  color: #899692;
  font-size: 9px;
}

.panel-heading > a {
  padding-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-700);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.panel-heading > a svg {
  width: 14px;
}

.job-row {
  min-height: 78px;
  padding: 12px 19px;
  display: grid;
  grid-template-columns: 40px minmax(120px, 1.2fr) minmax(120px, 1fr) 105px 105px 15px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eff2f1;
  text-decoration: none;
  transition: background 0.15s ease;
}

.job-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.job-row:hover {
  background: #fafcfb;
}

.job-boat-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.job-main strong,
.job-main small,
.job-engine strong,
.job-engine small,
.job-date strong,
.job-date small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-main strong,
.job-engine strong,
.job-date strong {
  color: #29423f;
  font-size: 10px;
}

.job-main small,
.job-engine small,
.job-date small {
  margin-top: 4px;
  color: #91a09c;
  font-size: 8px;
}

.job-date strong {
  margin-top: 4px;
}

.row-arrow {
  width: 16px;
  color: #a7b3b0;
}

.status-badge {
  width: fit-content;
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-kabul-edildi {
  color: #5b7470;
  background: #edf2f1;
}

.status-incelemede {
  color: var(--blue);
  background: var(--blue-50);
}

.status-onay-bekliyor {
  color: #9a631f;
  background: #fff4dd;
}

.status-parça-bekliyor,
.status-parca-bekliyor {
  color: #c76a28;
  background: var(--orange-50);
}

.status-islemde {
  color: var(--purple);
  background: var(--purple-50);
}

.status-onarimda {
  color: #17685f;
  background: #e4f3ef;
}

.status-testte {
  color: #426b9b;
  background: #eaf2fa;
}

.status-teslime-hazir {
  color: var(--green);
  background: var(--green-50);
}

.status-teslim-edildi {
  color: #74807e;
  background: #eff2f1;
}

.priority-badge {
  min-height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #c96829;
  border-radius: 5px;
  background: var(--orange-50);
  font-size: 7px;
  font-weight: 700;
  vertical-align: middle;
}

.priority-badge svg {
  width: 11px;
}

.priority-acil {
  color: var(--red);
  background: var(--red-50);
}

.maintenance-mini-list {
  padding: 4px 19px;
}

.maintenance-mini-list > a {
  min-height: 73px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf1f0;
  text-decoration: none;
}

.maintenance-mini-list > a:last-of-type {
  border-bottom: 0;
}

.maintenance-mini-list > a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.maintenance-mini-list strong,
.maintenance-mini-list small,
.maintenance-mini-list em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maintenance-mini-list > a > span:nth-child(2) strong {
  font-size: 10px;
}

.maintenance-mini-list > a > span:nth-child(2) small {
  margin-top: 3px;
  color: #71827f;
  font-size: 8px;
}

.maintenance-mini-list em {
  margin-top: 4px;
  color: #9ca7a5;
  font-size: 7px;
  font-style: normal;
}

.maintenance-mini-list > a > svg {
  width: 15px;
  color: #a6b2af;
}

.date-tile {
  width: 41px;
  height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 9px;
  background: var(--teal-50);
}

.date-tile.near {
  color: #ce6929;
  background: var(--orange-50);
}

.date-tile strong {
  font: 800 15px/1 "Manrope", sans-serif;
}

.date-tile small {
  margin-top: 3px;
  font-size: 7px;
  font-weight: 700;
}

.maintenance-hint {
  margin: 5px 19px 19px;
  padding: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4f746f;
  border-radius: 9px;
  background: #eef7f5;
}

.maintenance-hint svg {
  width: 17px;
  flex: 0 0 auto;
}

.maintenance-hint p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

.activity-panel {
  margin-top: 17px;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.activity-list > a {
  min-width: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 9px;
  border-right: 1px solid #edf1ef;
  text-decoration: none;
}

.activity-list > a:last-child {
  border-right: 0;
}

.activity-icon,
.operation-icon {
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 8px;
  background: var(--teal-50);
}

.activity-icon {
  width: 31px;
  height: 31px;
}

.activity-icon svg,
.operation-icon svg {
  width: 15px;
}

.type-parça,
.type-parca {
  color: #cd6b2c;
  background: var(--orange-50);
}

.type-kontrol {
  color: var(--blue);
  background: var(--blue-50);
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong,
.activity-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy strong {
  font-size: 9px;
}

.activity-copy small {
  margin-top: 3px;
  color: #8d9a97;
  font-size: 7px;
}

.activity-date,
.activity-price,
.activity-list > a > svg {
  display: none;
}

.directory-intro {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.directory-intro h2,
.directory-intro p {
  margin: 0;
}

.directory-intro h2 {
  margin-top: 5px;
  font: 750 22px "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.directory-intro p {
  margin-top: 5px;
  color: #7f8f8b;
  font-size: 10px;
}

.directory-actions {
  display: flex;
  gap: 8px;
}

.directory-panel {
  overflow: hidden;
}

.filter-bar {
  min-height: 69px;
  padding: 13px 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.filter-search {
  width: min(420px, 46%);
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #879590;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 10px;
}

.select-wrap,
.input-select {
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrap {
  height: 40px;
  padding: 0 10px;
  gap: 6px;
  color: #5d706c;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: white;
}

.select-wrap select,
.input-select select {
  appearance: none;
  width: 100%;
  padding-right: 24px;
  color: inherit;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.select-wrap > svg:last-child,
.input-select > svg {
  position: absolute;
  right: 8px;
  width: 14px;
  pointer-events: none;
}

.clear-filter {
  color: #7f8d8a;
  font-size: 9px;
  text-decoration: none;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.75fr 0.65fr 0.9fr 18px;
  align-items: center;
  gap: 15px;
}

.table-header {
  min-height: 40px;
  padding: 0 22px;
  color: #899692;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.table-row {
  min-height: 73px;
  padding: 10px 22px;
  border-bottom: 1px solid #edf0ef;
  text-decoration: none;
  transition: background 0.15s ease;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row:hover {
  background: #fafcfb;
}

.table-entity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-entity > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 9px;
  background: var(--teal-50);
}

.table-entity > i svg {
  width: 19px;
  height: 19px;
}

.table-entity > span,
.table-stack {
  min-width: 0;
}

.table-entity strong,
.table-entity small,
.table-stack strong,
.table-stack small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-entity strong,
.table-stack strong,
.table-price {
  font-size: 10px;
}

.table-entity small,
.table-stack small {
  margin-top: 4px;
  color: #8b9895;
  font-size: 8px;
}

.table-date {
  color: #637572;
  font-size: 9px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 35px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #82918e;
  text-align: center;
}

.empty-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 14px;
  background: var(--teal-50);
}

.empty-state h3 {
  margin: 13px 0 4px;
  font: 750 15px "Manrope", sans-serif;
}

.empty-state p {
  max-width: 360px;
  margin: 0;
  color: #8d9a97;
  font-size: 10px;
}

.empty-state .button {
  margin-top: 14px;
}

.inline-empty {
  margin: 18px;
  color: #8b9895;
  font-size: 9px;
  text-align: center;
}

.service-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 18px;
}

.form-main {
  display: grid;
  gap: 14px;
}

.form-section {
  padding: 23px;
}

.form-section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.form-section-heading > div {
  flex: 1;
}

.form-section-heading small {
  float: right;
  margin-top: 3px;
  color: #c5cecc;
  font: 800 19px "Manrope", sans-serif;
}

.form-section-heading h2,
.form-section-heading p {
  margin: 0;
}

.form-section-heading h2 {
  font: 750 14px "Manrope", sans-serif;
}

.form-section-heading p {
  margin-top: 3px;
  color: #899692;
  font-size: 9px;
}

.field-grid {
  display: grid;
  gap: 13px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: block;
  min-width: 0;
}

.field > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: #5d706c;
  font-size: 9px;
  font-weight: 650;
}

.field > span b {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
  background: white;
  font-size: 10px;
  transition: 0.15s ease;
}

.field textarea {
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #70a49b;
  box-shadow: 0 0 0 3px rgba(23, 104, 95, 0.075);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8b2af;
}

.input-select {
  width: 100%;
}

.input-select select {
  min-height: 42px;
  padding: 9px 34px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 48px;
}

.input-suffix em {
  position: absolute;
  top: 50%;
  right: 11px;
  color: #899692;
  font-size: 9px;
  font-style: normal;
  transform: translateY(-50%);
}

.span-two {
  grid-column: span 2;
}

.span-all {
  grid-column: 1 / -1;
}

.engine-callout {
  margin: -5px 0 17px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #52746f;
  border: 1px solid #dcece9;
  border-radius: 8px;
  background: #f0f8f6;
}

.engine-callout svg {
  width: 15px;
  flex: 0 0 auto;
}

.engine-callout p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

.form-aside {
  position: sticky;
  top: 105px;
}

.form-summary {
  padding: 23px;
}

.summary-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 9px 22px rgba(14, 73, 67, 0.17);
}

.form-summary h3 {
  margin: 15px 0 7px;
  font: 750 15px "Manrope", sans-serif;
}

.form-summary > p {
  margin: 0;
  color: #7d8d89;
  font-size: 9px;
  line-height: 1.6;
}

.form-summary ul {
  margin: 18px 0 20px;
  padding: 15px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.form-summary li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #546b67;
  font-size: 9px;
}

.form-summary li svg {
  width: 14px;
  color: var(--green);
}

.form-summary .button + .button {
  margin-top: 5px;
}

.detail-toolbar {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-toolbar > div {
  display: flex;
  gap: 7px;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d807c;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.back-link svg {
  width: 15px;
}

.detail-hero {
  min-height: 102px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.detail-boat-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
}

.detail-boat-icon svg {
  width: 24px;
  height: 24px;
}

.detail-identity h2 {
  margin: 4px 0 2px;
  font: 800 20px "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.detail-identity p {
  margin: 0;
  color: #7e8f8b;
  font-size: 10px;
}

.status-form {
  margin-left: auto;
}

.status-form > label {
  display: block;
  margin-bottom: 5px;
  color: #85938f;
  font-size: 8px;
  font-weight: 700;
}

.status-control {
  min-width: 180px;
}

.detail-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 14px;
}

.detail-main {
  display: grid;
  gap: 14px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 14px;
}

.info-card {
  padding: 18px;
}

.card-label {
  display: block;
  margin-bottom: 12px;
  color: #8a9895;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.person-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 50%;
  background: var(--teal-50);
  font-size: 10px;
  font-weight: 800;
}

.customer-avatar.large {
  width: 51px;
  height: 51px;
  font-size: 13px;
}

.person-line > span:last-child {
  min-width: 0;
}

.person-line strong,
.person-line a {
  display: flex;
}

.person-line strong {
  font-size: 10px;
}

.person-line a {
  margin-top: 4px;
  align-items: center;
  gap: 5px;
  color: #758581;
  font-size: 8px;
  text-decoration: none;
}

.person-line a svg {
  width: 12px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spec-grid small,
.spec-grid strong {
  display: block;
}

.spec-grid small {
  color: #8a9895;
  font-size: 7px;
}

.spec-grid strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-card {
  padding: 0;
  overflow: hidden;
}

.complaint-card > div {
  padding: 17px 19px;
  border-left: 3px solid var(--orange);
}

.complaint-card .card-label {
  margin-bottom: 7px;
}

.complaint-card p {
  margin: 0;
  color: #435956;
  font-size: 10px;
  line-height: 1.55;
}

.complaint-card .diagnosis-block {
  border-top: 1px solid var(--line);
  border-left-color: var(--teal-600);
  background: #fbfdfc;
}

.operations-panel {
  overflow: hidden;
}

.operations-panel .panel-heading {
  align-items: center;
}

.operations-panel .panel-heading .button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 9px;
}

.operation-form {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  background: #f7faf9;
}

.operation-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.form-inline-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.form-inline-actions .button {
  min-height: 36px;
}

.operation-list {
  padding: 0 19px;
}

.operation-row {
  min-height: 77px;
  padding: 13px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #edf0ef;
}

.operation-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
}

.operation-row > div {
  min-width: 0;
  flex: 1;
}

.operation-title-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.operation-title-line strong {
  font-size: 9px;
}

.operation-title-line em {
  padding: 3px 6px;
  color: #778783;
  border-radius: 4px;
  background: #eff3f2;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.operation-title-line .inventory-linked {
  color: #287052;
  background: var(--green-50);
}

.operation-row p {
  margin: 4px 0;
  color: #6f807c;
  font-size: 8px;
}

.operation-row small {
  color: #9da7a5;
  font-size: 7px;
}

.operation-price {
  margin-left: auto;
  font-size: 10px;
}

.operations-empty {
  min-height: 110px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  color: #96a3a0;
}

.operations-empty p {
  margin: 0;
  font-size: 8px;
}

.operation-total {
  padding: 14px 19px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  background: #f4f8f7;
}

.operation-total span {
  color: #6f807c;
  font-size: 9px;
}

.operation-total strong {
  font: 800 15px "Manrope", sans-serif;
}

.detail-aside {
  display: grid;
  gap: 14px;
}

.timeline-card,
.next-maintenance-card,
.notes-editor,
.internal-note {
  padding: 19px;
}

.timeline-item {
  position: relative;
  min-height: 54px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.timeline-item > i {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-item:not(:last-child) > i::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: -4px;
  width: 1px;
  background: #dce5e3;
}

.timeline-item > i span {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: #b7c2bf;
  box-shadow: 0 0 0 2px #e0e7e5;
}

.timeline-item.done > i span {
  background: var(--green);
  box-shadow: 0 0 0 2px #d9eee4;
}

.timeline-item small,
.timeline-item strong {
  display: block;
}

.timeline-item small {
  color: #899692;
  font-size: 7px;
}

.timeline-item strong {
  margin-top: 3px;
  font-size: 9px;
}

.next-maintenance-card {
  position: relative;
  overflow: hidden;
  color: white;
  border-color: transparent;
  background:
    radial-gradient(circle at 105% 0, rgba(255, 255, 255, 0.13), transparent 45%),
    linear-gradient(145deg, var(--teal-800), var(--teal-950));
}

.maintenance-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: #f7b27e;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.next-maintenance-card .card-label {
  margin-bottom: 7px;
  color: #94b7b1;
}

.next-maintenance-card > strong {
  display: block;
  font: 750 14px "Manrope", sans-serif;
}

.next-maintenance-card > p {
  margin: 4px 0 14px;
  color: #a9c4c0;
  font-size: 8px;
}

.link-button {
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: white;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.link-button svg {
  width: 14px;
}

.notes-editor h3 {
  margin: 0 0 13px;
  font: 750 12px "Manrope", sans-serif;
}

.notes-editor .field {
  margin-bottom: 10px;
}

.notes-editor .button {
  margin-top: 4px;
}

.internal-note p {
  margin: 0;
  color: #60736f;
  font-size: 9px;
  line-height: 1.55;
}

.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.entity-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: 0.18s ease;
}

.entity-card:hover {
  border-color: #c5d6d2;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.boat-card-cover {
  position: relative;
  height: 88px;
  padding: 17px 19px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 85% -15%, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #0f4e48, #17675f);
}

.boat-card-cover > svg:first-child {
  width: 29px;
  height: 29px;
}

.boat-card-cover > span {
  padding: 5px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 7px;
  font-weight: 700;
}

.boat-card-cover > svg:last-child {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 60px;
}

.entity-card-body {
  padding: 18px;
}

.entity-kicker {
  color: #899692;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.entity-card-body h2 {
  margin: 4px 0 3px;
  font: 750 18px "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.entity-card-body > p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #778884;
  font-size: 9px;
}

.entity-card-body > p svg {
  width: 12px;
}

.motor-box {
  margin-top: 15px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  border-radius: 9px;
  background: var(--teal-50);
}

.motor-box > svg {
  width: 18px;
  flex: 0 0 auto;
}

.motor-box strong,
.motor-box small {
  display: block;
}

.motor-box strong {
  font-size: 9px;
}

.motor-box small {
  margin-top: 3px;
  color: #71837f;
  font-size: 7px;
}

.entity-meta {
  margin-top: 14px;
  padding-top: 13px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-top: 1px solid var(--line);
}

.entity-meta > span + span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.entity-meta small,
.entity-meta strong {
  display: block;
}

.entity-meta small {
  color: #899692;
  font-size: 7px;
}

.entity-meta strong {
  margin-top: 3px;
  font-size: 9px;
}

.entity-card-footer {
  min-height: 41px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--teal-700);
  border-top: 1px solid var(--line);
  font-size: 8px;
  font-weight: 700;
}

.entity-card-footer svg {
  width: 14px;
}

.compact-search {
  width: 260px;
  height: 40px;
  padding: 0 11px;
  gap: 7px;
}

.customer-card {
  padding: 19px;
}

.customer-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.customer-name {
  min-width: 0;
  flex: 1;
}

.customer-name h2 {
  margin: 2px 0 6px;
  overflow: hidden;
  font: 750 14px "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-name a {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: #6e817d;
  font-size: 8px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-name a svg {
  width: 12px;
}

.customer-card-top .icon-button {
  width: 31px;
  height: 31px;
  border: 0;
  background: #f5f8f7;
}

.customer-card-top .icon-button svg {
  width: 15px;
}

.customer-stats {
  margin: 16px 0 13px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.4fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.customer-stats > span {
  display: grid;
  grid-template-columns: 17px 1fr;
  align-items: center;
}

.customer-stats > span + span {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.customer-stats svg {
  grid-row: 1 / 3;
  width: 13px;
  color: var(--teal-700);
}

.customer-stats strong,
.customer-stats small {
  display: block;
}

.customer-stats strong {
  font-size: 9px;
}

.customer-stats small {
  color: #899692;
  font-size: 7px;
}

.customer-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-card-actions > a:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
}

.customer-card-actions svg {
  width: 13px;
}

.customer-card .icon-button {
  flex: 0 0 auto;
  color: var(--teal-700);
  text-decoration: none;
}

.message-link {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 8px;
  background: var(--green-50);
}

.maintenance-banner {
  min-height: 115px;
  padding: 21px 23px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.maintenance-banner-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
}

.maintenance-banner h2,
.maintenance-banner p {
  margin: 0;
}

.maintenance-banner h2 {
  margin-top: 4px;
  font: 750 18px "Manrope", sans-serif;
}

.maintenance-banner p {
  margin-top: 4px;
  color: #7a8b87;
  font-size: 9px;
}

.maintenance-banner-stat {
  min-width: 110px;
  margin-left: auto;
  padding-left: 23px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.maintenance-banner-stat strong,
.maintenance-banner-stat span {
  display: block;
}

.maintenance-banner-stat strong {
  font: 800 26px "Manrope", sans-serif;
}

.maintenance-banner-stat span {
  color: #879692;
  font-size: 8px;
}

.maintenance-directory {
  margin-top: 15px;
  overflow: hidden;
}

.maintenance-header-row,
.maintenance-row {
  display: grid;
  grid-template-columns: 145px 1fr 1.35fr 0.8fr 18px;
  align-items: center;
  gap: 14px;
}

.maintenance-header-row {
  min-height: 40px;
  padding: 0 22px 0 54px;
  color: #899692;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.maintenance-timeline {
  padding: 4px 22px 16px;
}

.maintenance-row {
  position: relative;
  min-height: 82px;
  padding-left: 32px;
  border-bottom: 1px solid #edf0ef;
  text-decoration: none;
}

.maintenance-row:last-child {
  border-bottom: 0;
}

.timeline-dot {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18px;
  display: grid;
  place-items: center;
}

.timeline-dot::before {
  content: "";
  position: absolute;
  inset: 0 auto;
  left: 50%;
  width: 1px;
  background: #dce5e3;
}

.timeline-dot i {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: #78a49d;
  box-shadow: 0 0 0 2px #dce9e7;
}

.timeline-dot.urgent i {
  background: var(--orange);
  box-shadow: 0 0 0 2px #ffe0cc;
}

.maintenance-date-block strong,
.maintenance-date-block small,
.maintenance-owner strong,
.maintenance-owner small,
.maintenance-motor strong,
.maintenance-motor small {
  display: block;
}

.maintenance-date-block strong,
.maintenance-owner strong,
.maintenance-motor strong {
  font-size: 10px;
}

.maintenance-date-block small,
.maintenance-owner small,
.maintenance-motor small {
  margin-top: 4px;
  color: #899692;
  font-size: 8px;
}

.maintenance-date-block small {
  color: #d06c2a;
  font-weight: 700;
}

.hours-progress {
  width: min(180px, 80%);
  height: 3px;
  margin-top: 7px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #e7edeb;
}

.hours-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--teal-600);
}

.quote-overview {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quote-overview-card {
  min-height: 82px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.quote-overview-card .stat-icon {
  width: 38px;
  height: 38px;
}

.quote-overview-card small,
.quote-overview-card strong {
  display: block;
}

.quote-overview-card small {
  color: #758682;
  font-size: 9px;
}

.quote-overview-card strong {
  margin-top: 2px;
  font: 800 19px "Manrope", sans-serif;
}

.quote-table .table-header,
.quote-table .table-row {
  grid-template-columns: 1.3fr 1.15fr 0.9fr 0.65fr 0.75fr 18px;
}

.quote-status {
  width: fit-content;
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.quote-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.quote-status-taslak {
  color: #607572;
  background: #edf2f1;
}

.quote-status-gonderildi {
  color: var(--blue);
  background: var(--blue-50);
}

.quote-status-onaylandi {
  color: var(--green);
  background: var(--green-50);
}

.quote-status-reddedildi {
  color: var(--red);
  background: var(--red-50);
}

.quote-status-suresi-doldu {
  color: #8b7046;
  background: #f6f0e7;
}

.quote-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: start;
  gap: 16px;
}

.quote-form-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.quote-form-aside {
  position: sticky;
  top: 103px;
}

.quote-items-section {
  overflow: hidden;
}

.quote-items-section .panel-heading {
  align-items: center;
}

.quote-items-section .panel-heading .button {
  min-height: 34px;
}

.quote-item-head,
.quote-item-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 72px 88px 120px 92px 31px;
  align-items: center;
  gap: 9px;
}

.quote-item-head {
  min-height: 37px;
  padding: 0 18px;
  color: #899692;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-items {
  padding: 3px 18px;
}

.quote-item-row {
  min-height: 59px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0ef;
}

.quote-item-row:last-child {
  border-bottom: 0;
}

.quote-item-row input,
.quote-item-row select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 9px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: 0;
  background: white;
  font-size: 9px;
}

.quote-item-row input:focus,
.quote-item-row select:focus {
  border-color: #70a49b;
  box-shadow: 0 0 0 3px rgba(23, 104, 95, 0.075);
}

.quote-item-row > strong {
  font-size: 9px;
  text-align: right;
}

.quote-item-row > button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #9aa6a3;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.quote-item-row > button:hover {
  color: var(--red);
  background: var(--red-50);
}

.quote-item-row > button svg {
  width: 14px;
}

.money-input {
  position: relative;
}

.money-input > span {
  position: absolute;
  top: 50%;
  left: 9px;
  color: #82918e;
  font-size: 9px;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 22px;
}

.mobile-field-label {
  display: none;
}

.quote-add-inline {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--teal-700);
  border: 0;
  border-top: 1px dashed #d8e2e0;
  background: #fbfdfc;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.quote-add-inline svg {
  width: 14px;
}

.quote-summary-card {
  padding: 20px;
}

.quote-summary-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-summary-heading > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
}

.quote-summary-heading small,
.quote-summary-heading h2 {
  display: block;
  margin: 0;
}

.quote-summary-heading small {
  color: #8a9895;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quote-summary-heading h2 {
  margin-top: 2px;
  font: 750 14px "Manrope", sans-serif;
}

.quote-rate-fields {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.quote-rate-fields label > span {
  display: block;
  margin-bottom: 5px;
  color: #6e807c;
  font-size: 8px;
  font-weight: 650;
}

.quote-rate-fields label > div {
  position: relative;
}

.quote-rate-fields input {
  width: 100%;
  height: 39px;
  padding: 0 27px 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: 0;
  font-size: 9px;
}

.quote-rate-fields em {
  position: absolute;
  top: 50%;
  right: 9px;
  color: #7f8f8b;
  font-size: 9px;
  font-style: normal;
  transform: translateY(-50%);
}

.quote-live-totals,
.quote-totals {
  margin: 18px 0;
}

.quote-live-totals > div,
.quote-totals > div {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.quote-live-totals dt,
.quote-live-totals dd,
.quote-totals dt,
.quote-totals dd {
  margin: 0;
}

.quote-live-totals dt,
.quote-totals dt {
  color: #6f807c;
  font-size: 9px;
}

.quote-live-totals dd,
.quote-totals dd {
  font-size: 10px;
  font-weight: 700;
}

.quote-live-totals .grand-total,
.quote-totals .grand-total {
  min-height: 48px;
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.quote-live-totals .grand-total dt,
.quote-totals .grand-total dt {
  color: var(--ink);
  font-weight: 700;
}

.quote-live-totals .grand-total dd,
.quote-totals .grand-total dd {
  color: var(--teal-800);
  font: 800 17px "Manrope", sans-serif;
}

.quote-summary-card .button + .button {
  margin-top: 4px;
}

.summary-security {
  margin: 14px 0 0;
  padding-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #879692;
  border-top: 1px solid var(--line);
  font-size: 7px;
  line-height: 1.5;
}

.summary-security svg {
  width: 13px;
  flex: 0 0 auto;
  color: var(--green);
}

.quote-toolbar > div {
  flex-wrap: wrap;
}

.quote-document {
  overflow: hidden;
}

.quote-document-header {
  min-height: 118px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 86% -30%, rgba(255, 255, 255, 0.15), transparent 47%),
    linear-gradient(125deg, #0b325e, #144f8a);
}

.quote-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-brand img {
  width: 190px;
  height: 74px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.quote-brand-copy {
  display: grid;
  gap: 3px;
}

.quote-brand-copy strong {
  font: 800 13px "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.quote-brand-copy span {
  max-width: 180px;
  color: #b9d0cc;
  font-size: 7px;
  line-height: 1.4;
}

.quote-document-title {
  text-align: right;
}

.quote-document-title > span {
  color: #f5aa73;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.quote-document-title h2 {
  margin: 4px 0 1px;
  font: 800 18px "Manrope", sans-serif;
}

.quote-document-title p {
  margin: 0;
  color: #aec8c3;
  font-size: 8px;
}

.quote-parties {
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.8fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.quote-parties > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.quote-parties .card-label {
  margin-bottom: 7px;
}

.quote-parties h3,
.quote-parties p {
  margin: 0;
}

.quote-parties h3 {
  font: 750 11px "Manrope", sans-serif;
}

.quote-parties p {
  margin-top: 4px;
  color: #778884;
  font-size: 8px;
}

.quote-parties .quote-status {
  margin-top: 8px;
}

.quote-line-items {
  padding: 19px 28px 8px;
}

.quote-line-head,
.quote-line-row {
  display: grid;
  grid-template-columns: 27px minmax(180px, 1fr) 70px 70px 100px 100px;
  align-items: center;
  gap: 10px;
}

.quote-line-head {
  min-height: 35px;
  padding: 0 10px;
  color: #899692;
  border-radius: 7px;
  background: #f3f7f6;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.quote-line-head span:nth-last-child(-n + 2) {
  text-align: right;
}

.quote-line-row {
  min-height: 52px;
  padding: 9px 10px;
  border-bottom: 1px solid #edf0ef;
}

.quote-line-row > span,
.quote-line-row > strong {
  font-size: 8px;
}

.quote-line-row > span:first-child {
  color: #9ba6a3;
  font-size: 7px;
}

.quote-line-row > span:nth-last-child(2),
.quote-line-row > strong:last-child {
  text-align: right;
}

.quote-bottom {
  padding: 18px 28px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 35px;
}

.quote-notes {
  display: grid;
  gap: 15px;
}

.quote-notes .card-label {
  margin-bottom: 6px;
}

.quote-notes p {
  margin: 0;
  color: #657773;
  font-size: 8px;
  line-height: 1.55;
}

.quote-totals {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8faf9;
}

.quote-document-footer {
  min-height: 68px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #667a76;
  border-top: 1px solid var(--line);
  background: #f7faf9;
}

.quote-approval {
  margin: 2px 28px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.quote-approval > div {
  min-height: 78px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.quote-approval > div:last-child {
  border-style: dashed;
}

.quote-approval strong,
.quote-approval p {
  display: block;
  margin: 0;
}

.quote-approval strong {
  margin-top: 7px;
  font: 750 9px "Manrope", sans-serif;
}

.quote-approval p {
  margin-top: 5px;
  color: #899692;
  font-size: 7px;
}

.quote-footer-number {
  color: #82918e;
  font-size: 7px;
  font-weight: 700;
}

.quote-document-footer strong,
.quote-document-footer span {
  display: block;
}

.quote-document-footer strong {
  color: var(--teal-800);
  font: 800 11px "Manrope", sans-serif;
}

.quote-document-footer span {
  margin-top: 2px;
  font-size: 7px;
}

.quote-document-footer p {
  margin: 0;
  font-size: 7px;
}

.quote-status-panel {
  margin-top: 14px;
  padding: 17px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quote-status-panel > div,
.quote-status-panel form {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quote-status-panel h3,
.quote-status-panel p {
  margin: 0;
}

.quote-status-panel h3 {
  font: 750 12px "Manrope", sans-serif;
}

.quote-status-panel p {
  margin-top: 3px;
  color: #84938f;
  font-size: 8px;
}

.flash-stack {
  position: fixed;
  top: 99px;
  right: 24px;
  z-index: 100;
  width: min(360px, calc(100vw - 30px));
  display: grid;
  gap: 8px;
}

.flash {
  min-height: 50px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  border-radius: 10px;
  background: #17423d;
  box-shadow: 0 14px 38px rgba(10, 45, 41, 0.24);
  font-size: 10px;
  font-weight: 600;
  animation: flashIn 0.25s ease-out;
}

.flash-error {
  background: #9c4741;
}

.flash > svg {
  width: 18px;
  flex: 0 0 auto;
}

.flash span {
  flex: 1;
}

.flash button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.flash button svg {
  width: 15px;
}

@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.mobile-overlay {
  display: none;
}

.contact-hero {
  position: relative;
  min-height: 175px;
  padding: 31px 34px;
  display: flex;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  color: white;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 8%, rgba(60, 169, 195, 0.27), transparent 35%),
    linear-gradient(120deg, #092f2d, #0e574f);
  box-shadow: 0 18px 42px rgba(12, 61, 56, 0.14);
}

.contact-hero > div,
.contact-route-button {
  position: relative;
  z-index: 2;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7ed9e9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-kicker svg {
  width: 15px;
}

.contact-hero h2,
.contact-hero p {
  margin: 0;
}

.contact-hero h2 {
  margin-top: 8px;
  font: 800 27px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.contact-hero p {
  max-width: 690px;
  margin-top: 7px;
  color: #bfd8d3;
  font-size: 11px;
}

.contact-route-button {
  margin-left: auto;
  color: var(--teal-900);
  border-color: white;
  background: white;
  white-space: nowrap;
}

.contact-hero-watermark {
  position: absolute;
  top: -65px;
  right: 170px;
  width: 270px;
  height: 270px;
  opacity: 0.042;
}

.contact-layout {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 340px;
  align-items: start;
  gap: 17px;
}

.contact-map-card {
  overflow: hidden;
}

.contact-map-toolbar {
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.contact-map-toolbar > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-map-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.contact-map-icon svg {
  width: 20px;
}

.contact-map-toolbar small,
.contact-map-toolbar strong {
  display: block;
}

.contact-map-toolbar small {
  color: #8a9995;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-map-toolbar strong {
  margin-top: 3px;
  overflow: hidden;
  font: 750 12px "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-map-toolbar > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-700);
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-map-toolbar > a svg {
  width: 13px;
}

.contact-map-frame {
  position: relative;
  height: 480px;
  background: #dce9e5;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.contact-map-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(8, 57, 52, 0.9);
  box-shadow: 0 10px 27px rgba(14, 50, 46, 0.2);
  font-size: 9px;
  font-weight: 750;
  backdrop-filter: blur(7px);
}

.contact-map-badge svg {
  width: 15px;
}

.contact-aside {
  display: grid;
  gap: 17px;
}

.contact-location-card {
  padding: 25px;
}

.contact-card-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.contact-card-icon.teal {
  color: var(--teal-700);
  background: var(--teal-50);
}

.contact-card-icon.orange {
  color: var(--orange-dark);
  background: var(--orange-50);
}

.contact-card-icon svg {
  width: 21px;
}

.contact-location-card h2,
.contact-location-card p {
  margin: 0;
}

.contact-location-card h2 {
  margin-top: 6px;
  font: 800 18px "Manrope", sans-serif;
}

.contact-location-card > p {
  margin-top: 4px;
  color: #899793;
  font-size: 9px;
}

.contact-location-card code {
  margin-top: 18px;
  padding: 14px;
  display: block;
  overflow-wrap: anywhere;
  color: var(--teal-800);
  border: 1px solid #d4e6e1;
  border-radius: 9px;
  background: #f0f8f6;
  font: 750 11px/1.5 "Manrope", sans-serif;
  letter-spacing: 0.025em;
}

.contact-copy-button {
  width: 100%;
  margin: 10px 0;
  color: var(--teal-700);
  border-color: #cde0dc;
  background: white;
}

.contact-copy-button.copied {
  color: white;
  border-color: var(--green);
  background: var(--green);
}

.contact-hours-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.contact-hours-card .contact-card-icon {
  margin: 0;
}

.contact-hours-card h3,
.contact-hours-card p {
  margin: 0;
}

.contact-hours-card h3 {
  margin-top: 4px;
  font: 750 12px "Manrope", sans-serif;
}

.contact-hours-card p {
  margin-top: 2px;
  color: #899793;
  font-size: 8px;
}

.contact-hours-card > strong {
  color: var(--teal-800);
  font-size: 10px;
  white-space: nowrap;
}

.contact-team-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.contact-person-card {
  min-height: 118px;
  padding: 20px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 14px;
}

.contact-person-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 17px;
  font: 800 17px "Manrope", sans-serif;
}

.contact-person-avatar.owner {
  background: linear-gradient(145deg, #176e65, #0b433e);
}

.contact-person-avatar.accounting {
  background: linear-gradient(145deg, #f08f4e, #cf6122);
}

.contact-person-card small {
  color: var(--teal-700);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.contact-person-card h3,
.contact-person-card p {
  margin: 0;
}

.contact-person-card h3 {
  margin-top: 4px;
  font: 800 16px "Manrope", sans-serif;
}

.contact-person-card p {
  margin-top: 3px;
  color: #899793;
  font-size: 8px;
}

.contact-person-card > svg {
  width: 35px;
  height: 35px;
  padding: 8px;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.inventory-hero {
  position: relative;
  min-height: 160px;
  padding: 29px 32px;
  display: flex;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  color: white;
  border-radius: 17px;
  background:
    radial-gradient(circle at 78% 10%, rgba(72, 163, 187, 0.24), transparent 37%),
    linear-gradient(120deg, #0a3733, #105a53);
  box-shadow: 0 17px 40px rgba(12, 61, 56, 0.13);
}

.inventory-hero > div,
.inventory-hero-action {
  position: relative;
  z-index: 2;
}

.inventory-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7dd7e6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.inventory-kicker svg {
  width: 15px;
}

.inventory-hero h2,
.inventory-hero p {
  margin: 0;
}

.inventory-hero h2 {
  margin-top: 7px;
  font: 800 25px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.inventory-hero p {
  margin-top: 7px;
  color: #bed8d3;
  font-size: 11px;
}

.inventory-hero-action {
  margin-left: auto;
  color: var(--teal-900);
  border-color: white;
  background: white;
  white-space: nowrap;
}

.inventory-hero-watermark {
  position: absolute;
  top: -57px;
  right: 175px;
  width: 235px;
  height: 235px;
  opacity: 0.045;
}

.inventory-stats {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.inventory-stat-card {
  min-height: 104px;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.inventory-stat-card .stat-icon {
  width: 38px;
  height: 38px;
}

.inventory-stat-card small,
.inventory-stat-card strong,
.inventory-stat-card p {
  display: block;
}

.inventory-stat-card small {
  color: #70827d;
  font-size: 9px;
  font-weight: 650;
}

.inventory-stat-card strong {
  margin-top: 3px;
  font: 800 22px "Manrope", sans-serif;
}

.inventory-stat-card strong.inventory-money {
  margin-top: 8px;
  font-size: 16px;
}

.inventory-stat-card p {
  margin: 0;
  color: #99a6a3;
  font-size: 7px;
}

.inventory-layout {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 17px;
}

.inventory-main {
  min-width: 0;
  display: grid;
  gap: 17px;
}

.inventory-directory {
  overflow: visible;
}

.inventory-directory .inventory-filter {
  flex-wrap: wrap;
  border-radius: var(--radius) var(--radius) 0 0;
  background: white;
}

.inventory-filter .filter-search {
  flex: 1;
  min-width: 230px;
}

.inventory-table-head,
.inventory-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(150px, 1fr) 100px 105px 36px;
  align-items: center;
  gap: 13px;
}

.inventory-table-head {
  min-height: 40px;
  padding: 0 18px;
  color: #899692;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.inventory-list {
  border-radius: 0 0 var(--radius) var(--radius);
  background: white;
}

.inventory-row {
  position: relative;
  min-height: 78px;
  padding: 11px 18px;
  border-bottom: 1px solid #edf1ef;
  transition: background 0.15s ease;
}

.inventory-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.inventory-row:hover {
  background: #fbfdfc;
}

.inventory-part-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inventory-part-identity > svg {
  width: 39px;
  height: 39px;
  padding: 10px;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.inventory-part-identity > span,
.inventory-part-meta,
.inventory-prices,
.stock-level {
  min-width: 0;
}

.inventory-part-identity strong,
.inventory-part-identity small,
.inventory-part-meta strong,
.inventory-part-meta small,
.inventory-prices strong,
.inventory-prices small,
.stock-level strong,
.stock-level small {
  display: block;
}

.inventory-part-identity strong,
.inventory-part-meta strong,
.inventory-prices strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory-part-identity small,
.inventory-part-meta small,
.inventory-prices small {
  margin-top: 4px;
  overflow: hidden;
  color: #8a9995;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory-part-meta small {
  display: flex;
  align-items: center;
  gap: 3px;
}

.inventory-part-meta small svg {
  width: 10px;
  flex: 0 0 auto;
}

.inventory-prices strong {
  color: var(--teal-800);
}

.stock-level {
  padding: 8px 9px;
  border-radius: 9px;
}

.stock-level strong {
  font-size: 9px;
}

.stock-level small {
  margin-top: 2px;
  font-size: 7px;
}

.stock-level.ok {
  color: var(--green);
  background: var(--green-50);
}

.stock-level.low {
  color: var(--orange-dark);
  background: var(--orange-50);
}

.stock-level.out {
  color: var(--red);
  background: var(--red-50);
}

.stock-adjustment {
  position: relative;
}

.stock-adjustment summary {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #71847f;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  list-style: none;
  cursor: pointer;
}

.stock-adjustment summary::-webkit-details-marker {
  display: none;
}

.stock-adjustment summary svg {
  width: 16px;
}

.stock-adjustment[open] summary {
  color: white;
  border-color: var(--teal-700);
  background: var(--teal-700);
}

.stock-adjustment > form {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 15;
  width: 260px;
  padding: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: white;
  box-shadow: 0 18px 48px rgba(19, 52, 48, 0.18);
}

.stock-adjustment > form > strong,
.stock-adjustment > form > p {
  margin: 0;
  display: block;
}

.stock-adjustment > form > strong {
  font: 750 12px "Manrope", sans-serif;
}

.stock-adjustment > form > p {
  margin: 3px 0 13px;
  color: #899793;
  font-size: 8px;
}

.stock-adjustment > form .field {
  margin-top: 9px;
}

.stock-adjustment > form .button {
  margin-top: 12px;
}

.inventory-add-form {
  position: sticky;
  top: 105px;
  padding: 22px;
}

.inventory-form-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.inventory-form-heading > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.inventory-form-heading > span svg {
  width: 20px;
}

.inventory-form-heading h2,
.inventory-form-heading p {
  margin: 0;
}

.inventory-form-heading h2 {
  font: 750 14px "Manrope", sans-serif;
}

.inventory-form-heading p {
  margin-top: 3px;
  color: #899793;
  font-size: 8px;
}

.inventory-form-fields {
  margin: 19px 0;
  display: grid;
  gap: 12px;
}

.inventory-add-form .field-grid {
  gap: 9px;
}

.inventory-stock-fields {
  grid-template-columns: 1fr 0.8fr 1fr;
}

.inventory-movements {
  overflow: hidden;
}

.movement-list article {
  min-height: 62px;
  padding: 10px 18px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 65px 95px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf1ef;
}

.movement-list article:last-child {
  border-bottom: 0;
}

.movement-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

.movement-icon.in {
  color: var(--green);
  background: var(--green-50);
}

.movement-icon.out {
  color: var(--orange-dark);
  background: var(--orange-50);
}

.movement-icon svg {
  width: 16px;
}

.movement-list article > span:nth-child(2) {
  min-width: 0;
}

.movement-list article > span strong,
.movement-list article > span small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movement-list article > span strong {
  font-size: 9px;
}

.movement-list article > span small {
  margin-top: 3px;
  color: #8b9996;
  font-size: 7px;
}

.movement-list article > em {
  color: #748681;
  font-size: 8px;
  font-style: normal;
}

.movement-quantity {
  color: var(--teal-800);
  font-size: 9px;
  text-align: right;
}

.payment-hero {
  min-height: 155px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  color: white;
  border-radius: 17px;
  background:
    radial-gradient(circle at 82% 15%, rgba(61, 164, 191, 0.25), transparent 35%),
    linear-gradient(120deg, #0a3632, #0f5a52);
  box-shadow: 0 17px 40px rgba(12, 61, 56, 0.13);
}

.payment-hero > div {
  position: relative;
  z-index: 2;
}

.payment-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7ed8e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.payment-kicker svg {
  width: 15px;
}

.payment-hero h2,
.payment-hero p {
  margin: 0;
}

.payment-hero h2 {
  margin-top: 7px;
  font: 800 25px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.payment-hero p {
  max-width: 720px;
  margin-top: 7px;
  color: #bed7d3;
  font-size: 11px;
  line-height: 1.55;
}

.payment-hero-icon {
  width: 78px;
  height: 78px;
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #77d5c5;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(2, 29, 27, 0.26);
}

.payment-hero-icon svg {
  width: 35px;
  height: 35px;
}

.payment-layout {
  margin-top: 17px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: 17px;
}

.payment-account-card,
.payment-settings-form {
  overflow: hidden;
}

.payment-account-card {
  min-height: 450px;
  padding: 28px;
}

.payment-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.payment-bank-icon,
.payment-form-heading > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 12px;
  background: var(--teal-50);
}

.payment-bank-icon svg,
.payment-form-heading > span svg {
  width: 21px;
}

.payment-card-heading h2,
.payment-form-heading h2,
.payment-form-heading p {
  margin: 0;
}

.payment-card-heading h2 {
  margin-top: 4px;
  font: 800 17px "Manrope", sans-serif;
}

.payment-active {
  margin-left: auto;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  border-radius: 20px;
  background: var(--green-50);
  font-size: 8px;
  font-weight: 750;
}

.payment-active i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 129, 93, 0.12);
}

.payment-account-details {
  margin: 25px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-account-details > div {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfdfc;
}

.payment-account-details .payment-iban-row {
  grid-column: 1 / -1;
  padding: 20px;
  border-color: #cfe5df;
  background: var(--teal-50);
}

.payment-account-details dt,
.payment-account-details dd {
  margin: 0;
}

.payment-account-details dt {
  color: #859590;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-account-details dd {
  margin-top: 5px;
  color: var(--ink);
  font: 750 13px/1.4 "Manrope", sans-serif;
}

.payment-account-details .payment-iban-row dd {
  overflow-wrap: anywhere;
  color: var(--teal-800);
  font-size: clamp(16px, 2vw, 23px);
  letter-spacing: 0.055em;
}

.payment-copy-button {
  width: 100%;
  margin-top: 11px;
  color: white;
  border-color: var(--teal-700);
  background: var(--teal-700);
}

.payment-copy-button:hover,
.payment-copy-button.copied {
  background: var(--teal-800);
}

.payment-delete-form {
  margin-top: 9px;
}

.payment-note {
  margin-top: 19px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6d7f7b;
  border-left: 3px solid var(--orange);
  border-radius: 0 9px 9px 0;
  background: #fff7f1;
}

.payment-note svg {
  width: 17px;
  flex: 0 0 auto;
  color: var(--orange-dark);
}

.payment-note p,
.payment-note strong {
  margin: 0;
  display: block;
}

.payment-note strong {
  margin-bottom: 3px;
  color: #86522f;
  font-size: 9px;
}

.payment-note p {
  font-size: 10px;
  line-height: 1.55;
}

.payment-security-note {
  margin: 14px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #84948f;
  font-size: 8px;
  line-height: 1.5;
}

.payment-security-note svg {
  width: 14px;
  flex: 0 0 auto;
}

.payment-empty {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #788b86;
  text-align: center;
}

.payment-empty > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 18px;
  background: var(--teal-50);
}

.payment-empty > span svg {
  width: 29px;
  height: 29px;
}

.payment-empty h3,
.payment-empty p {
  margin: 0;
}

.payment-empty h3 {
  margin-top: 15px;
  color: var(--ink);
  font: 750 15px "Manrope", sans-serif;
}

.payment-empty p {
  max-width: 330px;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.55;
}

.payment-settings-form {
  position: sticky;
  top: 105px;
  padding: 22px;
}

.payment-form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-form-heading h2 {
  font: 750 14px "Manrope", sans-serif;
}

.payment-form-heading p {
  margin-top: 3px;
  color: #879792;
  font-size: 8px;
  line-height: 1.4;
}

.payment-fields {
  margin: 20px 0;
  display: grid;
  gap: 13px;
}

.payment-fields .field > small {
  margin-top: 5px;
  color: #8c9a97;
  font-size: 8px;
  line-height: 1.4;
}

.iban-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.iban-entry-row > input {
  min-width: 0;
}

.iban-scan-button {
  min-height: 42px;
  white-space: nowrap;
}

.iban-camera-input {
  display: none;
}

.iban-scan-status {
  min-height: 16px;
  margin-top: 5px;
  display: block;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.iban-scan-status[data-state="success"] {
  color: var(--green);
}

.iban-scan-status[data-state="error"] {
  color: var(--red);
}

.iban-scan-status[data-state="loading"] {
  color: var(--teal-700);
}

.existing-customer-picker {
  margin-bottom: 17px;
  padding: 14px;
  border: 1px solid #cfe4df;
  border-radius: 10px;
  background: var(--teal-50);
}

.existing-customer-picker .field > small {
  margin-top: 6px;
  color: var(--teal-700);
  font-size: 8px;
}

.customer-directory-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.quote-payment-information {
  margin: 0 28px 22px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) minmax(320px, 1.35fr);
  align-items: center;
  gap: 18px;
  border: 1px solid #cfe3de;
  border-radius: 10px;
  background: #eff8f5;
}

.quote-payment-heading,
.quote-payment-iban {
  min-width: 0;
  display: flex;
  align-items: center;
}

.quote-payment-heading {
  gap: 9px;
}

.quote-payment-heading > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 9px;
  background: white;
}

.quote-payment-heading > span svg {
  width: 18px;
}

.quote-payment-heading small,
.quote-payment-heading strong,
.quote-payment-iban small,
.quote-payment-iban strong {
  display: block;
}

.quote-payment-heading small,
.quote-payment-iban small {
  color: #758985;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quote-payment-heading strong {
  margin-top: 3px;
  font-size: 8px;
}

.quote-payment-iban {
  padding-left: 18px;
  flex-wrap: wrap;
  border-left: 1px solid #cfe3de;
}

.quote-payment-iban small {
  width: 100%;
}

.quote-payment-iban strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--teal-800);
  font: 800 11px "Manrope", sans-serif;
  letter-spacing: 0.035em;
}

.quote-payment-iban button {
  margin-left: auto;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--teal-700);
  border: 1px solid #c8ded8;
  border-radius: 6px;
  background: white;
  font-size: 7px;
  font-weight: 700;
  cursor: pointer;
}

.quote-payment-iban button.copied {
  color: white;
  background: var(--green);
}

.quote-payment-iban button svg {
  width: 11px;
}

.quote-payment-information > p {
  grid-column: 1 / -1;
  margin: -5px 0 0;
  color: #6d817c;
  font-size: 7px;
}

.quote-supported-brands {
  margin: 0 28px 18px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(240px, 1.1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfc;
}

.quote-brand-auth-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  padding-right: 14px;
  border-right: 1px solid #e2e8f0;
}

.quote-brand-spec-col {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(130px, 1.15fr);
  align-items: center;
  gap: 12px;
}

.quote-auth-pill {
  display: inline-block;
  color: var(--teal-800);
  background: rgba(13, 64, 59, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quote-auth-logo-box {
  flex-shrink: 0;
}

.quote-auth-logo-box img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.quote-supported-brands-heading small,
.quote-supported-brands-heading strong {
  display: block;
}

.quote-supported-brands-heading small {
  color: #64748b;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.quote-supported-brands-heading strong {
  margin-top: 3px;
  color: var(--teal-800);
  font: 750 8px "Manrope", sans-serif;
}

.quote-supported-brands-logos {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(40px, 1fr));
  align-items: center;
  gap: 10px;
}

.quote-supported-brands-logos img {
  width: auto;
  max-width: 100%;
  height: 28px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.quote-supported-brands-logos .brand-mercury {
  height: 26px;
}

.mission-hero {
  position: relative;
  min-height: 270px;
  padding: 35px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
  color: white;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 8%, rgba(40, 152, 186, 0.28), transparent 34%),
    linear-gradient(120deg, #092f2d, #0e554f);
  box-shadow: 0 18px 45px rgba(12, 61, 56, 0.15);
}

.mission-hero-copy,
.mission-logo-panel {
  position: relative;
  z-index: 2;
}

.mission-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7dd4e7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-kicker svg {
  width: 16px;
}

.mission-hero h2 {
  max-width: 690px;
  margin: 10px 0 12px;
  font: 800 clamp(26px, 3vw, 39px)/1.13 "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.mission-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #c1d8d5;
  font-size: 13px;
  line-height: 1.75;
}

.mission-logo-panel {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(4, 30, 28, 0.42);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(7px);
}

.mission-logo-panel img {
  width: 100%;
  height: 138px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
}

.mission-logo-panel > span {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #c5dcd8;
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

.mission-logo-panel > span svg {
  width: 15px;
  flex: 0 0 auto;
  color: #60ca9d;
}

.mission-watermark {
  position: absolute;
  right: 30%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  opacity: 0.035;
}

.mission-purpose-grid,
.value-grid,
.team-grid {
  display: grid;
  gap: 17px;
}

.mission-purpose-grid {
  margin-top: 17px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purpose-card {
  min-height: 175px;
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.purpose-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
}

.purpose-icon.teal {
  color: var(--teal-700);
  background: var(--teal-50);
}

.purpose-icon.orange {
  color: var(--orange-dark);
  background: var(--orange-50);
}

.purpose-icon svg {
  width: 23px;
  height: 23px;
}

.purpose-card h3,
.purpose-card p {
  margin: 0;
}

.purpose-card h3 {
  margin-top: 6px;
  font: 750 17px/1.3 "Manrope", sans-serif;
}

.purpose-card p {
  margin-top: 8px;
  color: #748783;
  font-size: 11px;
  line-height: 1.7;
}

.mission-brands-section {
  margin-top: 27px;
}

.mission-brands-card {
  position: relative;
  padding: 23px 25px;
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.mission-brands-card::after {
  position: absolute;
  right: -55px;
  bottom: -85px;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(23, 104, 95, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(23, 104, 95, 0.025);
  pointer-events: none;
}

.mission-brands-copy {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.mission-brands-copy > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 12px;
  background: var(--teal-50);
}

.mission-brands-copy > span svg {
  width: 20px;
}

.mission-brands-copy h3,
.mission-brands-copy p {
  margin: 0;
}

.mission-brands-copy h3 {
  font: 750 14px/1.35 "Manrope", sans-serif;
}

.mission-brands-copy p {
  margin-top: 6px;
  color: #788a86;
  font-size: 9px;
  line-height: 1.6;
}

.mission-brands-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(75px, 1fr));
  gap: 10px;
}

.mission-brand-item {
  position: relative;
  min-width: 0;
  min-height: 108px;
  padding: 16px 8px 9px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 7px;
  border: 1px solid #e2e9e7;
  border-radius: 11px;
  background: #f9fbfa;
}

.mission-brand-item.mission-brand-auth {
  border-color: rgba(13, 64, 59, 0.35);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 4px 12px rgba(13, 64, 59, 0.08);
}

.mission-brand-badge {
  position: absolute;
  top: 5px;
  font-size: 8px;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.mission-brand-badge-spec {
  position: absolute;
  top: 5px;
  font-size: 8px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}

.mission-brand-item img {
  width: auto;
  max-width: 78px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.mission-brand-item img.brand-suzuki {
  height: 59px;
}

.mission-brand-item img.brand-mercury {
  height: 49px;
}

.mission-brand-item span {
  color: #657975;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mission-values,
.team-section {
  margin-top: 27px;
}

.mission-section-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.mission-section-heading h2,
.mission-section-heading p {
  margin: 0;
}

.mission-section-heading h2 {
  margin-top: 5px;
  font: 800 21px "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.mission-section-heading > p {
  max-width: 430px;
  color: #82938f;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  min-height: 168px;
  padding: 23px;
}

.value-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.value-card > span svg {
  width: 20px;
}

.value-card h3,
.value-card p {
  margin: 0;
}

.value-card h3 {
  margin-top: 14px;
  font: 750 14px "Manrope", sans-serif;
}

.value-card p {
  margin-top: 6px;
  color: #7c8d89;
  font-size: 10px;
  line-height: 1.6;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  min-height: 190px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 21px;
}

.team-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  border-radius: 24px;
  font: 800 23px "Manrope", sans-serif;
  box-shadow: 0 13px 27px rgba(10, 66, 60, 0.15);
}

.team-avatar.owner {
  background: linear-gradient(145deg, #176e65, #0b433e);
}

.team-avatar.accounting {
  background: linear-gradient(145deg, #f08f4e, #cf6122);
}

.team-role {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.team-role svg {
  width: 14px;
}

.team-card h3,
.team-card p {
  margin: 0;
}

.team-card h3 {
  margin-top: 6px;
  font: 800 20px "Manrope", sans-serif;
}

.team-card p {
  margin-top: 7px;
  color: #748783;
  font-size: 10px;
  line-height: 1.65;
}

.login-page {
  overflow-x: hidden;
  background: #eef4f2;
}

.login-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(480px, 1.08fr);
}

.login-showcase {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 8%, rgba(69, 153, 140, 0.33), transparent 31%),
    radial-gradient(circle at 88% 88%, rgba(231, 120, 45, 0.18), transparent 28%),
    linear-gradient(145deg, #0e4b45 0%, #082f2c 58%, #062724 100%);
}

.login-showcase::before,
.login-showcase::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

/* Gelişmiş servis yönetimi */
.service-checklist-panel,
.warranty-panel,
.engine-history-panel {
  padding: 21px 22px;
}

.service-checklist-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-checklist-row {
  min-width: 0;
  min-height: 52px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdfc;
}

.service-checklist-row > button {
  width: 29px;
  height: 29px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #8a9996;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.service-checklist-row > button svg {
  width: 18px;
}

.service-checklist-row > span,
.service-checklist-row strong,
.service-checklist-row small {
  min-width: 0;
  display: block;
}

.service-checklist-row strong {
  font-size: 9px;
}

.service-checklist-row small {
  margin-top: 3px;
  color: #8b9996;
  font-size: 7px;
}

.service-checklist-row.completed {
  border-color: #cfe5dc;
  background: #f0f8f4;
}

.service-checklist-row.completed > button {
  color: var(--green);
}

.service-checklist-row.completed strong {
  color: #61746f;
  text-decoration: line-through;
}

.checklist-add-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.checklist-add-form input,
.compact-record-form input,
.compact-record-form select,
.assignment-card select,
.appointment-row select {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: white;
  font-size: 8px;
}

.checklist-add-form input {
  flex: 1;
}

.service-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.warranty-list,
.engine-history-list,
.payment-mini-history {
  display: grid;
}

.warranty-list > div,
.engine-history-list > a,
.payment-mini-history > a {
  min-height: 48px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0ef;
  text-decoration: none;
}

.maintenance-parts-history {
  margin-top: 14px;
  padding-top: 13px;
  display: grid;
  border-top: 1px solid var(--line);
}

.maintenance-parts-history > a {
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0ef;
  text-decoration: none;
}

.maintenance-parts-history strong,
.maintenance-parts-history small {
  font-size: 7px;
}

.maintenance-parts-history small {
  color: #82928e;
}

.warranty-list span,
.warranty-list strong,
.warranty-list small,
.engine-history-list span,
.engine-history-list strong,
.engine-history-list small,
.payment-mini-history span,
.payment-mini-history strong,
.payment-mini-history small {
  min-width: 0;
  display: block;
}

.warranty-list strong,
.engine-history-list strong,
.payment-mini-history strong {
  font-size: 9px;
}

.warranty-list small,
.engine-history-list small,
.payment-mini-history small {
  margin-top: 3px;
  overflow: hidden;
  color: #869591;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warranty-list em,
.engine-history-list em {
  color: var(--teal-700);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.compact-record-form {
  margin-top: 12px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  border-top: 1px solid var(--line);
}

.compact-record-form input[name="notes"],
.compact-record-form .button {
  grid-column: span 2;
}

.assignment-card,
.collection-card {
  padding: 18px;
}

.assignment-card form,
.collection-card form {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.assignment-card select {
  width: 100%;
}

.collection-summary {
  margin-top: 10px;
  padding: 11px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collection-summary > span + span {
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.collection-summary small,
.collection-summary strong {
  display: block;
}

.collection-summary small {
  color: #899692;
  font-size: 6px;
}

.collection-summary strong {
  margin-top: 3px;
  font-size: 9px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #687b77;
  font-size: 8px;
}

.check-line input {
  width: 15px;
  height: 15px;
  accent-color: var(--teal-700);
}

.payment-mini-history {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.payment-mini-history svg {
  width: 15px;
  color: var(--teal-700);
}

/* Kabul, teslim ve tahsilat belgeleri */
.service-document,
.receipt-document {
  overflow: hidden;
}

.service-document-header {
  min-height: 122px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 5px solid var(--orange);
  background: linear-gradient(125deg, #0c403b, #11584f);
}

.service-document-header.delivery {
  background: linear-gradient(125deg, #0b3835, #17685f);
}

.service-document-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-document-header img {
  width: 166px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
}

.service-document-header > div:first-child span {
  max-width: 170px;
  color: #c1d6d2;
  font-size: 8px;
  line-height: 1.5;
}

.service-document-header > div:last-child {
  text-align: right;
}

.service-document-header small {
  color: #f6ad79;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-document-header h2,
.service-document-header p {
  margin: 0;
}

.service-document-header h2 {
  margin-top: 5px;
  font: 800 19px "Manrope", sans-serif;
}

.service-document-header p {
  margin-top: 2px;
  color: #bdd2ce;
  font-size: 8px;
}

.document-party-grid {
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfc;
}

.document-party-grid > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.document-party-grid strong,
.document-party-grid p {
  display: block;
  margin: 0;
}

.document-party-grid strong {
  margin-top: 7px;
  font: 750 11px "Manrope", sans-serif;
}

.document-party-grid p {
  margin-top: 4px;
  color: #758783;
  font-size: 8px;
}

.document-edit-form {
  display: block;
}

.document-section {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.document-section-title {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.document-section-title > span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.document-section-title svg {
  width: 18px;
}

.document-section-title small,
.document-section-title h3 {
  display: block;
  margin: 0;
}

.document-section-title small {
  color: var(--orange-dark);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.document-section-title h3 {
  margin-top: 3px;
  font: 750 13px "Manrope", sans-serif;
}

.document-field-grid {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.document-field-grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f8f7;
}

.service-photo-grid img {
  width: 100%;
  height: 135px;
  display: block;
  object-fit: cover;
}

.service-photo-grid figcaption {
  padding: 7px 9px;
  overflow: hidden;
  color: #768884;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-photo-grid button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: white;
  border: 0;
  border-radius: 7px;
  background: rgba(127, 33, 28, 0.88);
  cursor: pointer;
}

.service-photo-grid button svg {
  width: 13px;
}

.service-photo-grid figcaption strong {
  margin-right: 5px;
  color: var(--teal-700);
  font-size: 7px;
}

.service-document-file {
  position: relative;
  min-height: 135px;
  padding: 13px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7faf9;
}

.service-document-file > a {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
}

.service-document-file > a > svg {
  width: 32px;
  height: 32px;
  color: var(--teal-700);
}

.service-document-file strong,
.service-document-file small {
  max-width: 145px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-document-file strong {
  font-size: 8px;
}

.service-document-file small {
  margin-top: 4px;
  color: #7c8e89;
  font-size: 7px;
}

.service-document-file > button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: white;
  border: 0;
  border-radius: 7px;
  background: rgba(127, 33, 28, 0.88);
  cursor: pointer;
}

.service-document-file > button svg {
  width: 13px;
}

.attachment-upload-box {
  margin-top: 12px;
  padding: 13px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbfa;
}

.attachment-upload-box .photo-upload {
  grid-column: 1 / -1;
  margin-top: 0;
}

.photo-upload {
  min-height: 65px;
  margin-top: 11px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--teal-700);
  border: 1px dashed #b8d3cd;
  border-radius: 10px;
  background: #f3f9f7;
  cursor: pointer;
}

.photo-upload > i {
  width: 20px;
}

.photo-upload strong,
.photo-upload small {
  display: block;
}

.photo-upload strong {
  font-size: 9px;
}

.photo-upload small {
  margin-top: 3px;
  color: #7f918d;
  font-size: 7px;
}

.photo-upload input {
  margin-left: auto;
  max-width: 230px;
  font-size: 8px;
}

.document-empty {
  margin: 0;
  padding: 16px;
  color: #899793;
  border-radius: 9px;
  background: #f7f9f8;
  font-size: 8px;
  text-align: center;
}

.signature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  gap: 25px;
}

.signature-section > div:first-child > p {
  margin: 10px 0 0;
  color: #687b77;
  font-size: 9px;
  line-height: 1.65;
}

.signature-pad {
  position: relative;
  min-height: 150px;
  padding: 12px;
  border: 1px dashed #b9c9c5;
  border-radius: 10px;
  background: #fbfcfc;
}

.signature-pad canvas {
  width: 100%;
  height: 102px;
  margin-top: 7px;
  display: block;
  border-bottom: 1px solid #9dadab;
  cursor: crosshair;
  touch-action: none;
}

.signature-pad button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #738682;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: 7px;
  cursor: pointer;
}

.signature-pad button svg {
  width: 11px;
}

.signature-print {
  max-width: 100%;
  max-height: 80px;
  margin-top: 8px;
  object-fit: contain;
}

.document-actions {
  padding: 18px 28px;
  display: flex;
  justify-content: flex-end;
  background: #f7faf9;
}

.service-document-footer {
  min-height: 55px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f817d;
  border-top: 1px solid var(--line);
}

.service-document-footer strong {
  color: var(--teal-800);
  font-size: 10px;
}

.service-document-footer span {
  font-size: 7px;
}

.delivery-operation-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.delivery-operation-head,
.delivery-operation-table > div:not(.delivery-operation-head) {
  min-height: 46px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 70px 100px;
  align-items: center;
  gap: 10px;
}

.delivery-operation-head {
  min-height: 35px;
  color: #70847f;
  background: #edf4f2;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-operation-table > div:not(.delivery-operation-head) {
  border-top: 1px solid var(--line);
  font-size: 8px;
}

.delivery-operation-table span strong,
.delivery-operation-table span small {
  display: block;
}

.delivery-operation-table span small {
  margin-top: 3px;
  color: #899692;
  font-size: 7px;
}

.delivery-total {
  margin: 11px 0 0 auto;
  width: min(310px, 100%);
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 9px;
  background: #eef6f4;
}

.delivery-total span,
.delivery-total small {
  color: #738682;
  font-size: 8px;
}

.delivery-total strong {
  font: 800 16px "Manrope", sans-serif;
}

.delivery-total small {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.check-card {
  min-height: 100px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf9;
}

.check-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-700);
}

.check-card strong,
.check-card small {
  display: block;
}

.check-card strong {
  font-size: 9px;
}

.check-card small {
  margin-top: 4px;
  color: #81918e;
  font-size: 7px;
}

.delivery-mark {
  margin: 15px 28px 0;
  padding: 12px;
  border-radius: 9px;
  background: var(--green-50);
}

.receipt-document {
  max-width: 760px;
  margin: 0 auto;
}

.receipt-document > header {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 5px solid var(--orange);
  background: #0d4842;
}

.receipt-document header img {
  width: 170px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
}

.receipt-document header > div {
  text-align: right;
}

.receipt-document header small {
  color: #f6ad79;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.receipt-document header h2,
.receipt-document header p {
  margin: 3px 0 0;
}

.receipt-amount {
  padding: 28px;
  text-align: center;
  background: #f2f8f6;
}

.receipt-amount small,
.receipt-amount strong,
.receipt-amount span {
  display: block;
}

.receipt-amount small {
  color: #6d817c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.receipt-amount strong {
  margin-top: 6px;
  color: var(--teal-800);
  font: 800 34px "Manrope", sans-serif;
}

.receipt-amount span {
  margin-top: 4px;
  color: #758783;
  font-size: 9px;
}

.receipt-document dl {
  margin: 0;
  padding: 22px 28px;
}

.receipt-document dl > div {
  min-height: 39px;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.receipt-document dt {
  color: #7b8d89;
  font-size: 8px;
}

.receipt-document dd {
  margin: 0;
  font-size: 9px;
  font-weight: 650;
}

.receipt-signatures {
  padding: 8px 28px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.receipt-signatures > div {
  min-height: 85px;
  padding: 13px;
  border: 1px dashed #bccbc7;
  border-radius: 9px;
}

.receipt-signatures span,
.receipt-signatures strong,
.receipt-signatures em {
  display: block;
}

.receipt-signatures span,
.receipt-signatures em {
  color: #82938f;
  font-size: 7px;
  font-style: normal;
}

.receipt-signatures strong {
  margin: 7px 0;
  font-size: 9px;
}

.receipt-document footer {
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  color: #728480;
  background: #f4f8f7;
  font-size: 8px;
}

/* Randevular */
.appointments-hero {
  min-height: 110px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appointments-hero > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.appointments-hero small,
.appointments-hero h2,
.appointments-hero p,
.appointments-hero > strong {
  display: block;
  margin: 0;
}

.appointments-hero h2 {
  margin-top: 3px;
  font: 750 17px "Manrope", sans-serif;
}

.appointments-hero p {
  margin-top: 4px;
  color: #7b8d89;
  font-size: 9px;
}

.appointments-hero > strong {
  font: 800 26px "Manrope", sans-serif;
  text-align: right;
}

.appointments-hero > strong small {
  color: #81918e;
  font: 500 8px "DM Sans", sans-serif;
}

.appointments-layout,
.reports-layout {
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  align-items: start;
  gap: 15px;
}

.appointment-list-panel,
.appointment-form-panel,
.monthly-report-panel,
.expense-form-panel,
.model-report-panel {
  padding: 21px 22px;
}

.appointment-form-panel,
.expense-form-panel {
  position: sticky;
  top: 101px;
}

.appointment-form-panel > form,
.expense-form-panel > form {
  display: grid;
  gap: 11px;
}

.appointment-list {
  display: grid;
}

.appointment-row {
  min-height: 95px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 115px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.appointment-date {
  padding-left: 14px;
  border-left: 3px solid var(--teal-600);
}

.appointment-date strong,
.appointment-date small,
.appointment-date em,
.appointment-copy small,
.appointment-copy strong,
.appointment-copy p,
.appointment-copy em,
.appointment-copy i {
  display: block;
  margin: 0;
}

.appointment-date strong {
  font: 800 20px "Manrope", sans-serif;
}

.appointment-date small,
.appointment-date em {
  margin-top: 2px;
  color: #83928f;
  font-size: 7px;
  font-style: normal;
}

.appointment-copy > small {
  color: var(--orange-dark);
  font-size: 7px;
  font-weight: 800;
}

.appointment-copy > strong {
  margin-top: 3px;
  font-size: 10px;
}

.appointment-copy p,
.appointment-copy em,
.appointment-copy i {
  margin-top: 3px;
  color: #7d8e8a;
  font-size: 8px;
  font-style: normal;
}

.appointment-copy i {
  color: #566d68;
}

.appointment-row.status-tamamlandi {
  opacity: 0.7;
}

.appointment-row.status-iptal .appointment-date {
  border-left-color: var(--red);
}

/* Finansal raporlar */
.report-toolbar {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.report-toolbar h2,
.report-toolbar p {
  margin: 0;
}

.report-toolbar h2 {
  margin-top: 4px;
  font: 800 22px "Manrope", sans-serif;
}

.report-toolbar p {
  margin-top: 4px;
  color: #7d8e8a;
  font-size: 9px;
}

.report-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-stat-grid article {
  min-height: 105px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-stat-grid small,
.report-stat-grid strong,
.report-stat-grid p {
  display: block;
  margin: 0;
}

.report-stat-grid small {
  color: #758783;
  font-size: 8px;
}

.report-stat-grid strong {
  margin-top: 3px;
  font: 800 18px "Manrope", sans-serif;
}

.report-stat-grid p {
  margin-top: 3px;
  color: #91a09d;
  font-size: 7px;
}

.profit-card.negative strong,
.negative-money {
  color: var(--red) !important;
}

.monthly-report-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.report-table-head,
.report-table-row {
  min-height: 42px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 0.9fr);
  align-items: center;
  gap: 10px;
}

.report-table-head {
  color: #758783;
  background: #eef4f2;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-table-row {
  border-top: 1px solid var(--line);
  font-size: 8px;
  text-decoration: none;
}

.report-table-row.selected {
  background: #f0f8f5;
}

.expense-list {
  margin-top: 15px;
  border-top: 1px solid var(--line);
}

.expense-list > div {
  min-height: 47px;
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.expense-list span,
.expense-list strong,
.expense-list small {
  min-width: 0;
  display: block;
}

.expense-list strong {
  font-size: 8px;
}

.expense-list small {
  margin-top: 3px;
  color: #899692;
  font-size: 7px;
}

.expense-list button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 0;
  border-radius: 6px;
  background: var(--red-50);
  cursor: pointer;
}

.expense-list button svg {
  width: 12px;
}

.model-report-panel {
  margin-top: 15px;
}

.model-ranking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.model-ranking > div {
  min-height: 60px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.rank-number {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 9px;
  background: var(--teal-50);
  font-size: 8px;
  font-weight: 800;
}

.model-ranking strong,
.model-ranking small {
  display: block;
}

.model-ranking strong {
  font-size: 10px;
}

.model-ranking small {
  margin-top: 3px;
  color: #849490;
  font-size: 7px;
  font-weight: 500;
}

.model-ranking > div > strong {
  color: var(--teal-800);
  font: 800 17px "Manrope", sans-serif;
  text-align: right;
}

.maintenance-owner a {
  text-decoration: none;
}

.maintenance-owner em {
  margin-top: 4px;
  display: block;
  color: var(--green);
  font-size: 7px;
  font-style: normal;
}

.maintenance-contact-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.maintenance-contact-actions form button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border: 0;
  border-radius: 8px;
  background: var(--teal-50);
  cursor: pointer;
}

.maintenance-contact-actions svg {
  width: 13px;
}

/* Müşteri servis bağlantısı */
.customer-access-card {
  padding: 18px;
}

.customer-access-icon {
  width: 37px;
  height: 37px;
  margin-bottom: 11px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.customer-access-card > p {
  margin: 8px 0 11px;
  color: #768884;
  font-size: 8px;
  line-height: 1.55;
}

.customer-link-box {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.customer-link-box input {
  min-width: 0;
  height: 37px;
  padding: 0 9px;
  flex: 1;
  border: 0;
  outline: 0;
  background: #f7faf9;
  font-size: 7px;
}

.customer-link-box button {
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--teal-700);
  border: 0;
  border-left: 1px solid var(--line);
  background: white;
  font-size: 7px;
  font-weight: 700;
  cursor: pointer;
}

.customer-link-box button svg {
  width: 12px;
}

.customer-link-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.customer-link-actions .button {
  width: 100%;
  min-height: 34px;
  padding: 0 7px;
  font-size: 7px;
}

.customer-portal-page {
  min-height: 100vh;
  color: #183330;
  background: #edf3f1;
}

.customer-portal-topbar {
  min-height: 82px;
  padding: 11px max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  background: #0a3b37;
}

.customer-portal-topbar img {
  width: 145px;
  height: 56px;
  object-fit: cover;
  border-radius: 9px;
}

.customer-portal-topbar strong,
.customer-portal-topbar span {
  display: block;
}

.customer-portal-topbar strong {
  font: 750 13px "Manrope", sans-serif;
}

.customer-portal-topbar span {
  margin-top: 3px;
  color: #abc9c4;
  font-size: 8px;
}

.customer-portal-topbar em {
  margin-left: auto;
  color: #9ec2bc;
  font-size: 8px;
  font-style: normal;
}

.customer-portal-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 35px;
}

.customer-service-hero {
  position: relative;
  min-height: 155px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  color: white;
  border-radius: 17px;
  background: linear-gradient(125deg, #0d4842, #12635a);
  box-shadow: 0 18px 38px rgba(10, 64, 58, 0.16);
}

.customer-service-hero small,
.customer-service-hero h1,
.customer-service-hero p {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
}

.customer-service-hero small {
  color: #f4a66f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.customer-service-hero h1 {
  margin-top: 6px;
  font: 800 29px "Manrope", sans-serif;
}

.customer-service-hero p {
  margin-top: 5px;
  color: #c0d6d2;
  font-size: 10px;
}

.customer-status {
  position: relative;
  z-index: 1;
  min-height: 35px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  font-weight: 750;
}

.customer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69d5a6;
}

.customer-hero-watermark {
  position: absolute;
  right: 23%;
  bottom: -75px;
  width: 220px;
  height: 220px;
  opacity: 0.045;
}

.customer-progress-card {
  min-height: 88px;
  margin-top: 14px;
  padding: 17px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.customer-progress-card > div {
  position: relative;
  display: grid;
  place-items: center;
  gap: 5px;
  color: #9aa7a4;
  font-size: 7px;
  text-align: center;
}

.customer-progress-card > div:not(:last-child)::after {
  position: absolute;
  top: 13px;
  left: calc(50% + 15px);
  width: calc(100% - 30px);
  height: 2px;
  content: "";
  background: #e3e9e7;
}

.customer-progress-card i {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf1f0;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.customer-progress-card .done {
  color: var(--teal-700);
}

.customer-progress-card .done i,
.customer-progress-card .done:not(:last-child)::after {
  color: white;
  background: var(--teal-600);
}

.customer-progress-card .current i {
  box-shadow: 0 0 0 4px var(--teal-100);
}

.customer-portal-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.4fr);
  align-items: start;
  gap: 14px;
}

.customer-portal-main,
.customer-portal-aside {
  display: grid;
  gap: 14px;
}

.customer-portal-card {
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.customer-portal-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-portal-card > div:first-child small,
.customer-portal-card > div:first-child h2 {
  display: block;
  margin: 0;
}

.customer-portal-card > div:first-child small,
.customer-portal-card > small {
  color: var(--orange-dark);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.customer-portal-card > div:first-child h2 {
  margin-top: 3px;
  font: 750 14px "Manrope", sans-serif;
}

.portal-section-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--teal-700);
  border-radius: 10px;
  background: var(--teal-50);
}

.portal-section-icon.orange {
  color: var(--orange-dark);
  background: var(--orange-50);
}

.portal-section-icon.green {
  color: var(--green);
  background: var(--green-50);
}

.portal-section-icon.blue {
  color: var(--blue);
  background: var(--blue-50);
}

.customer-request-card > article {
  margin-top: 14px;
  padding: 14px;
  border-radius: 9px;
  background: #f7faf9;
}

.customer-request-card article > span {
  color: #71837f;
  font-size: 7px;
  font-weight: 750;
}

.customer-request-card article p {
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.55;
}

.customer-operation-list {
  margin-top: 12px;
  display: grid;
}

.customer-operation-list article {
  min-height: 65px;
  padding: 11px 0;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.customer-operation-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 9px;
  background: var(--teal-50);
}

.customer-operation-icon svg {
  width: 16px;
}

.customer-operation-list strong,
.customer-operation-list p,
.customer-operation-list small {
  display: block;
  margin: 0;
}

.customer-operation-list strong {
  font-size: 9px;
}

.customer-operation-list p,
.customer-operation-list small {
  margin-top: 3px;
  color: #7f908c;
  font-size: 7px;
}

.customer-operation-list article > strong {
  color: var(--teal-800);
  font-size: 10px;
  white-space: nowrap;
}

.customer-checklist {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.customer-checklist > span {
  min-height: 39px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #71837f;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 8px;
}

.customer-checklist > span svg {
  width: 15px;
  flex: 0 0 auto;
}

.customer-checklist > span.done {
  color: var(--green);
  border-color: #cfe3da;
  background: #f1f8f4;
}

.customer-attachment-grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.customer-attachment-grid > a {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8faf9;
  text-decoration: none;
}

.customer-attachment-grid img {
  width: 100%;
  height: 110px;
  display: block;
  object-fit: cover;
}

.customer-attachment-grid > a > svg {
  width: 34px;
  height: 75px;
  margin: 15px auto 0;
  display: block;
  color: var(--teal-700);
}

.customer-attachment-grid span {
  padding: 8px 9px;
  display: block;
}

.customer-attachment-grid strong,
.customer-attachment-grid small {
  display: block;
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-attachment-grid small {
  margin-top: 3px;
  color: #83938f;
}

.customer-info-card > small,
.customer-finance-card > small {
  display: block;
  margin-bottom: 10px;
}

.customer-info-card dl,
.customer-finance-card dl {
  margin: 0;
}

.customer-info-card dl > div,
.customer-finance-card dl > div {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.customer-info-card dt,
.customer-finance-card dt {
  color: #7c8e89;
  font-size: 7px;
}

.customer-info-card dd,
.customer-finance-card dd {
  margin: 0;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
}

.customer-finance-card .remaining {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid var(--teal-600);
  border-bottom: 0;
}

.customer-finance-card .remaining dd {
  color: var(--teal-800);
  font: 800 15px "Manrope", sans-serif;
}

.customer-test-card,
.customer-maintenance-card {
  text-align: center;
}

.customer-test-card > span,
.customer-maintenance-card > span {
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.customer-test-card strong,
.customer-maintenance-card strong {
  margin-top: 6px;
  display: block;
  font: 750 12px "Manrope", sans-serif;
}

.customer-test-card p,
.customer-maintenance-card p {
  margin: 5px 0 0;
  color: #778985;
  font-size: 8px;
  line-height: 1.5;
}

.customer-empty {
  margin: 13px 0 0;
  padding: 15px;
  color: #82928f;
  border-radius: 8px;
  background: #f7f9f8;
  font-size: 8px;
  text-align: center;
}

.customer-portal-footer {
  padding: 20px 16px 30px;
  color: #768884;
  font-size: 8px;
  text-align: center;
}

.customer-portal-footer strong,
.customer-portal-footer span {
  display: block;
}

.customer-portal-footer strong {
  margin-bottom: 4px;
  color: var(--teal-800);
  font-size: 11px;
}

.login-showcase::before {
  width: 540px;
  height: 540px;
  right: -270px;
  bottom: -170px;
}

.login-showcase::after {
  width: 360px;
  height: 360px;
  right: -175px;
  bottom: -80px;
}

.login-showcase-glow {
  position: absolute;
  z-index: -1;
  top: 38%;
  right: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(47, 129, 117, 0.2);
  filter: blur(2px);
}

.login-logo {
  width: min(230px, 58%);
  max-height: 92px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.login-showcase-copy {
  width: min(560px, 100%);
  margin: auto 0;
  padding: 70px 0;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9d1ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-kicker svg {
  width: 17px;
  color: #ec8b4b;
}

.login-showcase h1 {
  margin: 21px 0 19px;
  font: 750 clamp(32px, 4vw, 54px)/1.08 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.login-showcase p {
  width: min(500px, 100%);
  margin: 0;
  color: #a9c5c0;
  font-size: 14px;
  line-height: 1.75;
}

.login-mobile-break {
  display: none;
}

.login-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: #a7c6c0;
  font-size: 10px;
  font-weight: 600;
}

.login-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.login-trust-list svg {
  width: 15px;
  color: #ec8b4b;
}

.login-panel {
  min-height: 100vh;
  padding: 38px clamp(30px, 7vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.login-card {
  width: min(440px, 100%);
  padding: clamp(27px, 4vw, 43px);
  border: 1px solid rgba(211, 222, 219, 0.86);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(20, 55, 50, 0.11);
}

.login-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.login-lock {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  border-radius: 13px;
  background: var(--teal-800);
  box-shadow: 0 10px 24px rgba(16, 81, 73, 0.21);
}

.login-lock svg {
  width: 19px;
}

.login-heading small {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.login-heading h2 {
  margin: 6px 0 7px;
  font: 750 22px/1.2 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.login-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.login-flashes {
  margin-top: 22px;
  display: grid;
  gap: 7px;
}

.login-alert {
  min-height: 43px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a3e38;
  border: 1px solid #f0cbc7;
  border-radius: 9px;
  background: var(--red-50);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}

.login-alert-success {
  color: #276b50;
  border-color: #c9e6d5;
  background: var(--green-50);
}

.login-alert svg {
  width: 16px;
  flex: 0 0 auto;
}

.login-form {
  margin-top: 28px;
  display: grid;
  gap: 17px;
}

.login-form > label > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.login-input {
  min-height: 49px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #879692;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fbfcfc;
  transition: 0.15s ease;
}

.login-input:focus-within {
  color: var(--teal-700);
  border-color: #6f9e96;
  background: white;
  box-shadow: 0 0 0 4px rgba(23, 104, 95, 0.08);
}

.login-input svg {
  width: 17px;
  flex: 0 0 auto;
}

.login-input input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.login-input input::placeholder {
  color: #a4afad;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}

.login-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--teal-700);
}

.login-submit {
  min-height: 49px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  box-shadow: 0 13px 27px rgba(12, 61, 56, 0.2);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: 0.18s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(12, 61, 56, 0.25);
}

.login-submit svg {
  width: 17px;
}

.login-help {
  margin: 23px 0 0;
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #8b9996;
  border-top: 1px solid var(--line);
  font-size: 8px;
  line-height: 1.5;
}

.login-help svg {
  width: 14px;
  flex: 0 0 auto;
}

.login-copyright {
  margin: 23px 0 0;
  color: #93a19e;
  font-size: 8px;
}

/* Admin yönetim merkezi */
.admin-nav-label {
  margin-top: 19px !important;
}

.admin-hero {
  position: relative;
  min-height: 155px;
  padding: 29px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  color: white;
  border-radius: 17px;
  background: linear-gradient(125deg, #0b3d38, #12645b);
  box-shadow: 0 17px 40px rgba(12, 61, 56, 0.13);
}

.admin-hero > div {
  position: relative;
  z-index: 1;
}

.admin-hero .section-kicker {
  color: #87d8c9;
}

.admin-hero h2,
.admin-hero p {
  margin: 0;
}

.admin-hero h2 {
  margin-top: 7px;
  font: 800 25px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

.admin-hero p {
  margin-top: 7px;
  color: #bdd7d2;
  font-size: 10px;
}

.admin-hero-status {
  position: relative;
  z-index: 1;
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  font-weight: 750;
}

.admin-hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66daa5;
  box-shadow: 0 0 0 4px rgba(102, 218, 165, 0.12);
}

.admin-hero-watermark {
  position: absolute;
  right: 18%;
  bottom: -75px;
  width: 220px;
  height: 220px;
  opacity: 0.045;
}

.admin-stat-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.admin-stat-grid > article {
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.admin-stat-grid small,
.admin-stat-grid strong,
.admin-stat-grid p {
  display: block;
  margin: 0;
}

.admin-stat-grid small {
  color: var(--muted);
  font-size: 8px;
}

.admin-stat-grid strong {
  margin-top: 4px;
  font: 750 17px "Manrope", sans-serif;
}

.admin-stat-grid p {
  margin-top: 4px;
  color: #96a39f;
  font-size: 7px;
}

.admin-layout {
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
  align-items: start;
  gap: 15px;
}

.admin-aside {
  display: grid;
  gap: 15px;
}

.admin-users-panel {
  overflow: hidden;
}

.admin-user-create {
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr 0.7fr auto;
  align-items: end;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}

.admin-user-create .button {
  min-height: 42px;
  white-space: nowrap;
}

.admin-user-list {
  padding: 7px 20px 14px;
}

.admin-user-row {
  min-height: 73px;
  display: grid;
  grid-template-columns: 40px minmax(150px, 1fr) minmax(135px, 0.75fr) 70px auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.admin-user-row.inactive {
  opacity: 0.62;
}

.admin-user-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--teal-800);
  border-radius: 11px;
  background: var(--teal-50);
  font: 800 12px "Manrope", sans-serif;
}

.admin-user-identity strong,
.admin-user-identity small,
.admin-user-login strong,
.admin-user-login small {
  display: block;
}

.admin-user-identity strong {
  font-size: 10px;
}

.admin-user-identity small,
.admin-user-login small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.admin-user-login strong {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 650;
}

.admin-user-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.admin-user-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a6b1ae;
}

.admin-user-state.active {
  color: var(--green);
}

.admin-user-state.active i {
  background: var(--green);
}

.admin-user-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.admin-user-actions .button {
  min-height: 33px;
  padding: 0 9px;
  font-size: 7px;
}

.admin-delete-user {
  width: 33px;
  height: 33px;
  color: var(--red);
  border-color: #efcfcc;
  background: var(--red-50);
}

.admin-self-label {
  color: var(--teal-700);
  font-size: 7px;
  font-weight: 700;
}

.admin-setting-card,
.admin-health-card,
.admin-db-card {
  padding: 20px;
}

.admin-card-icon {
  width: 41px;
  height: 41px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  border-radius: 11px;
  background: var(--teal-50);
}

.admin-card-icon svg {
  width: 19px;
}

.admin-setting-card h2,
.admin-setting-card p {
  margin: 0;
}

.admin-setting-card h2,
.admin-health-card h2 {
  margin-top: 5px;
  font: 750 13px "Manrope", sans-serif;
}

.admin-setting-card p {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.admin-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-heading .admin-card-icon {
  margin: 0;
}

.admin-health-card dl {
  margin: 14px 0;
}

.admin-health-card dl > div {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.admin-health-card dt {
  color: var(--muted);
  font-size: 7px;
}

.admin-health-card dd {
  margin: 0;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
}

.admin-db-counts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.admin-db-counts span {
  padding: 9px;
  border-radius: 8px;
  background: #f6f9f8;
}

.admin-db-counts small,
.admin-db-counts strong {
  display: block;
}

.admin-db-counts small {
  color: var(--muted);
  font-size: 7px;
}

.admin-db-counts strong {
  margin-top: 3px;
  font: 750 14px "Manrope", sans-serif;
}

.admin-db-card > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.5;
}

/* Compact directory tables and separated creation flows */
.directory-table-panel {
  padding: 0;
  overflow: hidden;
}

.table-scroll-shell {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.directory-data-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 8px;
}

.boat-directory-table {
  min-width: 1080px;
}

.directory-data-table th {
  height: 42px;
  padding: 0 16px;
  background: #f5f8f7;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.directory-data-table td {
  height: 66px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}

.directory-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.directory-data-table tbody tr {
  transition: background .16s ease;
}

.directory-data-table tbody tr:hover {
  background: #f8fbfa;
}

.directory-data-table td > strong,
.table-contact strong,
.table-person strong,
.table-boat strong {
  color: var(--ink);
  font-weight: 750;
}

.directory-data-table td > small,
.table-contact small,
.table-boat small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  white-space: nowrap;
}

.table-person,
.table-boat,
.table-contact {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-person > i {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.table-boat > svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  flex: 0 0 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.table-contact {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.table-contact a {
  color: var(--ink);
  font-weight: 700;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.table-actions a,
.table-actions button,
.table-open-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 750;
  cursor: pointer;
}

.table-actions a:hover,
.table-actions button:hover,
.table-open-link:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.table-actions svg,
.table-open-link svg {
  width: 13px;
  height: 13px;
}

.table-actions em {
  font-style: normal;
}

.table-actions form {
  margin: 0;
}

.table-actions .table-archive-action {
  color: #9a531f;
  border-color: #f3d8c5;
  background: var(--orange-50);
}

.table-actions .table-archive-action:hover {
  color: #784016;
  border-color: #e9b894;
}

.table-actions .table-restore-action {
  color: var(--green);
  border-color: #c7e5d6;
  background: var(--green-50);
}

.table-actions .table-restore-action:hover {
  color: #176142;
  border-color: #8fc9ac;
}

.inventory-hero-actions,
.appointments-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventory-history-action {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.inventory-directory-full {
  margin-top: 15px;
}

.inventory-subpage-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.inventory-add-page {
  position: static;
  width: 100%;
  padding: 24px;
}

.inventory-history-panel {
  padding: 0;
  overflow: hidden;
}

.inventory-history-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 9px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.movement-history-table {
  min-width: 780px;
}

.movement-badge {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff1ec;
  color: #b54726;
  font-size: 7px;
  font-weight: 800;
}

.movement-badge.in {
  background: #eaf8f1;
  color: #176b4a;
}

.appointments-hero-actions > strong {
  color: #fff;
  font: 800 21px "Manrope", sans-serif;
  text-align: right;
}

.appointments-hero-actions > strong small {
  display: block;
  color: rgba(255, 255, 255, .68);
  font: 650 7px "Inter", sans-serif;
}

.appointment-list-full {
  margin-top: 15px;
}

.appointment-empty {
  padding: 38px 20px;
  color: var(--muted);
  text-align: center;
}

.appointment-empty > svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.appointment-empty h3 {
  margin: 10px 0 4px;
  color: var(--ink);
}

.appointment-empty p {
  margin: 0 0 15px;
}

.appointment-create-shell {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.appointment-create-copy {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brand-deep), #193f3d);
  color: #fff;
}

.appointment-create-copy h2 {
  margin: 15px 0 8px;
  font: 800 20px/1.2 "Manrope", sans-serif;
}

.appointment-create-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
}

.appointment-form-page {
  position: static;
}

.service-attachments-panel {
  overflow: hidden;
}

.attachment-count {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 7px;
  font-weight: 800;
}

.service-detail-photo-grid {
  margin-bottom: 14px;
}

.service-detail-photo-grid figure,
.service-detail-document-file {
  position: relative;
}

.service-detail-photo-grid figure > form,
.service-detail-document-file > form {
  position: absolute;
  top: 7px;
  right: 7px;
}

.service-detail-photo-grid figure > form button,
.service-detail-document-file > form button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: rgba(30, 35, 34, .82);
  color: #fff;
  cursor: pointer;
}

.service-detail-photo-grid figure > form svg,
.service-detail-document-file > form svg {
  width: 13px;
  height: 13px;
}

.service-attachment-upload {
  display: grid;
  grid-template-columns: 150px minmax(180px, .7fr) minmax(250px, 1fr) auto;
  gap: 9px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-attachment-upload .button {
  min-height: 40px;
}

@media (max-width: 700px) {
  .inventory-hero-actions,
  .appointments-hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-hero-actions .button,
  .appointments-hero-actions .button {
    width: 100%;
  }

  .appointments-hero-actions > strong {
    text-align: left;
  }

  .inventory-history-filter,
  .appointment-create-shell,
  .service-attachment-upload {
    grid-template-columns: 1fr;
  }

  .inventory-add-page {
    padding: 17px;
  }
}

@media (max-width: 1200px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .inventory-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .inventory-add-form {
    position: static;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .activity-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .activity-list > a:nth-child(3) {
    border-right: 0;
  }

  .activity-list > a:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .top-new-button {
    width: 42px;
    padding: 0;
  }

  .top-new-button span {
    display: none;
  }

  .entity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-form {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }

  .quote-form {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .mission-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  }

  .quote-item-head,
  .quote-item-row {
    grid-template-columns: minmax(170px, 1fr) 65px 78px 105px 80px 31px;
    gap: 7px;
  }
}

@media (max-width: 980px) {
  .login-shell {
    grid-template-columns: minmax(300px, 0.8fr) minmax(390px, 1.2fr);
  }

  .login-showcase {
    padding: 35px;
  }

  .login-showcase h1 {
    font-size: 35px;
  }

  .login-trust-list {
    display: grid;
  }

  .sidebar {
    transform: translateX(-102%);
    transition: transform 0.2s ease;
    box-shadow: 18px 0 50px rgba(0, 25, 22, 0.24);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: rgba(5, 25, 23, 0.54);
    backdrop-filter: blur(2px);
  }

  .sidebar-close {
    margin-left: auto;
    display: grid;
    color: white;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
  }

  .brand-logo {
    width: 160px;
    height: 63px;
  }

  .main-shell {
    margin-left: 0;
  }

  .menu-button {
    display: grid;
  }

  .topbar {
    padding: 14px 20px;
  }

  .page-title {
    min-width: 210px;
  }

  .top-search {
    width: 240px;
  }

  .page-content {
    padding: 24px 20px;
  }

  .table-header {
    display: none;
  }

  .table-row {
    grid-template-columns: 1.4fr 1fr auto 18px;
  }

  .table-row > :nth-child(3),
  .table-row > :nth-child(4) {
    display: none;
  }

  .service-form {
    grid-template-columns: 1fr;
  }

  .form-aside {
    position: static;
  }

  .form-summary {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 0 15px;
  }

  .form-summary .summary-icon {
    grid-row: 1 / 3;
  }

  .form-summary h3 {
    margin-top: 3px;
  }

  .form-summary > p {
    grid-column: 2;
  }

  .form-summary ul {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-summary .button {
    grid-column: 1 / -1;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maintenance-header-row {
    display: none;
  }

  .maintenance-row {
    grid-template-columns: 135px 1fr 1.2fr 18px;
  }

  .maintenance-row .status-badge {
    display: none;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form-aside {
    position: static;
  }

  .quote-summary-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }

  .quote-summary-heading,
  .quote-rate-fields,
  .quote-live-totals,
  .quote-summary-card .summary-security {
    grid-column: 1 / -1;
  }

  .quote-summary-card > .button {
    align-self: center;
  }

  .payment-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-settings-form {
    position: static;
  }

  .mission-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mission-hero-copy,
  .mission-logo-panel {
    min-width: 0;
    width: 100%;
    max-width: 390px;
  }
}

@media (max-width: 700px) {
  .main-shell,
  .page-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .main-shell {
    overflow-x: hidden;
  }

  .login-shell {
    width: 100%;
    display: block;
  }

  .login-showcase {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 25px 22px 58px;
  }

  .login-logo {
    width: 170px;
    max-height: 70px;
  }

  .login-showcase-copy {
    width: auto;
    max-width: calc(100vw - 44px);
    margin: 52px 0 0;
    padding: 0;
  }

  .login-showcase h1 {
    width: calc(100vw - 44px);
    margin: 16px 0 13px;
    max-width: 100%;
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  .login-showcase p {
    width: calc(100vw - 44px);
    font-size: 11px;
  }

  .login-mobile-break {
    display: block;
  }

  .login-trust-list {
    display: none;
  }

  .login-panel {
    width: 100%;
    min-width: 0;
    min-height: auto;
    margin-top: 0;
    padding: 20px 13px 28px;
    align-items: stretch;
  }

  .login-card {
    width: auto;
    max-width: 440px;
    margin: 0 auto;
    align-self: stretch;
    padding: 25px 20px;
    border-radius: 17px;
  }

  .login-card input,
  .login-card label,
  .login-heading > div {
    min-width: 0;
    max-width: 100%;
  }

  .login-heading h2 {
    font-size: 19px;
  }

  .topbar {
    min-height: 70px;
    gap: 9px;
  }

  .page-title {
    min-width: 0;
    flex: 1;
  }

  .page-title small {
    display: none;
  }

  .page-title h1 {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-search {
    width: 40px;
    height: 40px;
    margin: 0;
    justify-content: center;
  }

  .top-search input,
  .top-search kbd {
    display: none;
  }

  .top-search:focus-within {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    z-index: 2;
    width: auto;
    padding: 0 13px;
    justify-content: flex-start;
    box-shadow: var(--shadow);
  }

  .top-search:focus-within input {
    display: block;
  }

  .top-new-button {
    display: none;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
  }

  .page-content {
    padding: 15px 13px 20px;
  }

  .contact-hero {
    min-height: 180px;
    padding: 25px 21px;
  }

  .contact-hero h2 {
    font-size: 22px;
  }

  .contact-hero p {
    line-height: 1.55;
  }

  .contact-route-button {
    display: none;
  }

  .contact-hero-watermark {
    right: -50px;
  }

  .contact-map-toolbar > a {
    display: none;
  }

  .contact-map-frame {
    height: 340px;
  }

  .contact-aside,
  .contact-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-location-card {
    padding: 21px;
  }

  .contact-hours-card {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .contact-hours-card > strong {
    grid-column: 2;
  }

  .contact-person-card {
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    padding: 17px;
  }

  .contact-person-avatar {
    width: 54px;
    height: 54px;
  }

  .inventory-hero {
    min-height: 178px;
    padding: 24px 21px;
  }

  .inventory-hero h2 {
    font-size: 21px;
  }

  .inventory-hero p {
    line-height: 1.55;
  }

  .inventory-hero-action {
    display: none;
  }

  .inventory-hero-watermark {
    right: -45px;
  }

  .inventory-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .inventory-stat-card {
    min-height: 115px;
    padding: 14px;
    display: block;
  }

  .inventory-stat-card .stat-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .inventory-filter .filter-search {
    width: 100%;
    min-width: 100%;
  }

  .inventory-filter .select-wrap {
    flex: 1;
  }

  .inventory-table-head {
    display: none;
  }

  .inventory-list {
    padding: 5px;
  }

  .inventory-row {
    min-height: 0;
    margin: 7px;
    padding: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
  }

  .inventory-row:last-child {
    border: 1px solid var(--line);
    border-radius: 11px;
  }

  .inventory-part-meta {
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px solid #edf1ef;
  }

  .inventory-prices {
    grid-column: 1;
  }

  .stock-level {
    grid-column: 2;
    grid-row: 1;
  }

  .stock-adjustment {
    grid-column: 2;
  }

  .stock-adjustment > form {
    width: min(270px, calc(100vw - 62px));
  }

  .inventory-add-form {
    padding: 20px;
  }

  .movement-list article {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .movement-list article > em {
    display: none;
  }

  .welcome-card {
    min-height: 182px;
    padding: 23px;
    align-items: flex-start;
  }

  .welcome-copy h2 {
    font-size: 20px;
  }

  .welcome-copy p {
    max-width: 260px;
    line-height: 1.5;
  }

  .welcome-action {
    position: absolute;
    right: 19px;
    bottom: 19px;
  }

  .welcome-watermark {
    right: -55px;
  }

  .demo-notice {
    align-items: flex-start;
  }

  .demo-notice p {
    line-height: 1.45;
  }

  .demo-notice form {
    display: none;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .stat-card {
    min-height: 129px;
    padding: 14px;
    display: block;
  }

  .stat-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 9px;
  }

  .stat-icon svg {
    width: 17px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .stat-card strong.money-value {
    font-size: 14px;
  }

  .panel-heading {
    padding: 17px;
  }

  .job-row {
    padding: 12px 15px;
    grid-template-columns: 39px 1fr auto 15px;
  }

  .job-engine,
  .job-date {
    display: none;
  }

  .maintenance-mini-list {
    padding: 4px 15px;
  }

  .maintenance-hint {
    margin: 5px 15px 15px;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }

  .activity-list > a {
    min-height: 62px;
    padding: 13px 16px;
    grid-template-columns: 32px 1fr auto 15px;
    border-right: 0;
    border-top: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .activity-list > a:last-child {
    border-bottom: 0;
  }

  .activity-date,
  .activity-list > a > svg {
    display: block;
  }

  .activity-date {
    color: #899692;
    font-size: 7px;
  }

  .directory-intro {
    align-items: flex-start;
  }

  .directory-intro h2 {
    font-size: 18px;
  }

  .directory-intro p {
    display: none;
  }

  .directory-actions .button-secondary {
    display: none;
  }

  .filter-bar {
    padding: 12px;
    flex-wrap: wrap;
  }

  .filter-search {
    width: 100%;
  }

  .filter-bar .select-wrap {
    flex: 1;
  }

  .table-row {
    padding: 11px 14px;
    grid-template-columns: 1fr auto 16px;
    gap: 7px;
  }

  .table-row > :nth-child(2),
  .table-row > :nth-child(3),
  .table-row > :nth-child(4) {
    display: none;
  }

  .field-grid.two,
  .field-grid.three {
    grid-template-columns: 1fr;
  }

  .span-two,
  .span-all {
    grid-column: auto;
  }

  .form-section {
    padding: 18px;
  }

  .form-summary {
    display: block;
  }

  .form-summary .summary-icon {
    margin-bottom: 12px;
  }

  .form-summary ul {
    grid-template-columns: 1fr;
  }

  .detail-toolbar {
    width: calc(100vw - 26px);
    max-width: 100%;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-toolbar > div {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .detail-toolbar > div .button {
    width: auto;
    min-height: 39px;
    padding: 0 10px;
    font-size: 8px;
  }

  .detail-toolbar > div a[href^="tel:"] {
    order: -3;
  }

  .detail-toolbar > div .button-whatsapp {
    order: -2;
  }

  .detail-toolbar > div button[onclick*="print"] {
    order: -1;
  }

  .customer-directory-actions {
    width: 100%;
    align-items: stretch;
  }

  .customer-directory-intro {
    flex-direction: column;
  }

  .customer-directory-actions .compact-search {
    flex: 1;
    width: auto;
  }

  .customer-directory-actions .compact-search input {
    display: block;
  }

  .customer-directory-actions > .button {
    padding: 0 11px;
    white-space: nowrap;
  }

  .iban-entry-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .iban-scan-button {
    width: 100%;
  }

  .payment-hero,
  .payment-layout {
    width: calc(100vw - 26px);
    max-width: 100%;
  }

  .detail-hero {
    padding: 17px;
    align-items: flex-start;
  }

  .detail-boat-icon {
    width: 43px;
    height: 43px;
  }

  .detail-identity h2 {
    font-size: 16px;
  }

  .status-form {
    margin-left: auto;
  }

  .status-form > label {
    display: none;
  }

  .status-control {
    min-width: 40px;
    width: 40px;
    overflow: hidden;
  }

  .status-control select,
  .status-control > svg:last-child {
    opacity: 0;
  }

  .detail-info-grid,
  .detail-aside {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operation-form-grid {
    grid-template-columns: 1fr;
  }

  .operation-form-grid .span-two {
    grid-column: auto;
  }

  .operation-price {
    font-size: 9px;
  }

  .entity-grid {
    grid-template-columns: 1fr;
  }

  .compact-search {
    width: 42px;
  }

  .compact-search input {
    display: none;
  }

  .maintenance-banner {
    padding: 18px;
    align-items: flex-start;
  }

  .maintenance-banner-icon {
    width: 43px;
    height: 43px;
  }

  .maintenance-banner h2 {
    font-size: 14px;
  }

  .maintenance-banner p {
    display: none;
  }

  .maintenance-banner-stat {
    min-width: 65px;
    padding-left: 13px;
  }

  .maintenance-timeline {
    padding: 4px 14px 12px;
  }

  .maintenance-row {
    min-height: 88px;
    padding-left: 27px;
    grid-template-columns: 105px 1fr 16px;
    gap: 8px;
  }

  .maintenance-motor {
    display: none;
  }

  .quote-overview {
    gap: 8px;
  }

  .quote-overview-card {
    min-height: 86px;
    padding: 12px;
    display: block;
  }

  .quote-overview-card .stat-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 7px;
  }

  .quote-overview-card strong {
    font-size: 16px;
  }

  .quote-table .table-row {
    grid-template-columns: 1fr auto 16px;
  }

  .quote-item-head {
    display: none;
  }

  .quote-items {
    padding: 9px 14px;
  }

  .quote-item-row {
    margin-bottom: 9px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 78px 31px;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fbfdfc;
  }

  .quote-item-row > label:first-child {
    grid-column: 1 / -1;
  }

  .quote-item-row > label:nth-child(4) {
    grid-column: 1 / 3;
  }

  .quote-item-row > strong {
    align-self: end;
    padding-bottom: 10px;
  }

  .quote-item-row > button {
    align-self: end;
    margin-bottom: 4px;
  }

  .mobile-field-label {
    display: block;
    margin-bottom: 5px;
    color: #748581;
    font-size: 7px;
    font-weight: 700;
  }

  .quote-summary-card {
    display: block;
  }

  .quote-summary-card > .button {
    margin-top: 4px;
  }

  .quote-document-header {
    min-height: 100px;
    padding: 20px;
  }

  .quote-brand-copy {
    display: none;
  }

  .quote-brand img {
    width: 145px;
    height: 57px;
  }

  .quote-parties {
    padding: 18px 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quote-parties > div + div {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quote-line-items {
    padding: 15px 14px 5px;
    overflow-x: auto;
  }

  .quote-line-head,
  .quote-line-row {
    grid-template-columns: 24px minmax(150px, 1fr) 55px 85px;
  }

  .quote-line-head > :nth-child(4),
  .quote-line-head > :nth-child(5),
  .quote-line-row > :nth-child(4),
  .quote-line-row > :nth-child(5) {
    display: none;
  }

  .quote-bottom {
    padding: 15px 20px 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quote-document-footer {
    padding: 13px 20px;
  }

  .quote-document-footer p {
    max-width: 180px;
    text-align: right;
  }

  .quote-approval {
    margin: 0 20px 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quote-footer-number {
    display: none !important;
  }

  .quote-status-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-status-panel form {
    width: 100%;
  }

  .quote-status-panel form .select-wrap {
    flex: 1;
  }

  .payment-hero {
    min-height: 170px;
    padding: 24px 21px;
  }

  .payment-hero h2 {
    font-size: 21px;
  }

  .payment-hero-icon {
    display: none;
  }

  .payment-account-card,
  .payment-settings-form {
    padding: 20px;
  }

  .payment-account-card {
    min-height: 0;
  }

  .payment-account-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-account-details .payment-iban-row {
    grid-column: auto;
  }

  .payment-card-heading {
    align-items: flex-start;
  }

  .payment-active {
    padding: 5px 7px;
  }

  .quote-payment-information {
    margin: 0 20px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .quote-payment-iban {
    padding: 11px 0 0;
    border-top: 1px solid #cfe3de;
    border-left: 0;
  }

  .quote-supported-brands {
    margin: 0 20px 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .quote-brand-auth-col {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
  }

  .quote-brand-spec-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .quote-supported-brands-logos {
    gap: 12px;
  }

  .quote-supported-brands-logos img {
    height: 26px;
  }

  .quote-supported-brands-logos .brand-mercury {
    height: 24px;
  }

  .mission-hero {
    padding: 27px 22px;
  }

  .mission-logo-panel {
    max-width: none;
  }

  .mission-brands-card {
    padding: 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .mission-brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-purpose-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mission-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .mission-section-heading > p {
    text-align: left;
  }

  .purpose-card,
  .team-card {
    padding: 20px;
  }

  .team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 19px;
    font-size: 19px;
  }

  .app-footer {
    display: block;
    text-align: center;
  }

  .app-footer span {
    display: block;
    margin-top: 4px;
  }

  .flash-stack {
    top: 81px;
    right: 13px;
    left: 13px;
    width: auto;
  }
}

@media (max-width: 980px) {
  .service-history-grid,
  .appointments-layout,
  .reports-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-portal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-portal-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-form-panel,
  .expense-form-panel {
    position: static;
  }

  .report-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-record-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maintenance-row {
    grid-template-columns: 135px 1fr 1.2fr 68px;
  }
}

@media (max-width: 700px) {
  .service-checklist-list,
  .document-party-grid,
  .document-field-grid,
  .document-field-grid.three-columns,
  .attachment-upload-box,
  .signature-section,
  .receipt-signatures,
  .model-ranking {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-portal-topbar {
    min-height: 68px;
    padding: 9px 15px;
  }

  .customer-portal-topbar img {
    width: 112px;
    height: 44px;
  }

  .customer-portal-topbar span,
  .customer-portal-topbar em {
    display: none;
  }

  .customer-portal-shell {
    width: min(100% - 20px, 1120px);
    margin-top: 10px;
  }

  .customer-service-hero {
    min-height: 145px;
    padding: 23px 21px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .customer-service-hero h1 {
    font-size: 23px;
  }

  .customer-progress-card {
    padding: 15px 9px;
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(78px, 1fr));
  }

  .customer-portal-aside,
  .customer-checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-portal-card {
    padding: 18px 16px;
  }

  .customer-attachment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-operation-list article {
    grid-template-columns: 33px minmax(0, 1fr);
  }

  .customer-operation-list article > strong {
    grid-column: 2;
  }

  .compact-record-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-record-form input[name="notes"],
  .compact-record-form .button {
    grid-column: auto;
  }

  .service-document-header {
    min-height: 105px;
    padding: 18px;
  }

  .service-document-header img {
    width: 125px;
    height: 49px;
  }

  .service-document-header > div:first-child span {
    display: none;
  }

  .service-document-header h2 {
    font-size: 14px;
  }

  .document-party-grid,
  .document-section {
    padding: 18px;
  }

  .document-party-grid {
    gap: 13px;
  }

  .document-party-grid > div + div {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-photo-grid img {
    height: 115px;
  }

  .photo-upload {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .photo-upload input {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .delivery-operation-head,
  .delivery-operation-table > div:not(.delivery-operation-head) {
    grid-template-columns: minmax(0, 1fr) 88px;
  }

  .delivery-operation-head > :nth-child(2),
  .delivery-operation-head > :nth-child(3),
  .delivery-operation-table > div:not(.delivery-operation-head) > :nth-child(2),
  .delivery-operation-table > div:not(.delivery-operation-head) > :nth-child(3) {
    display: none;
  }

  .appointments-hero,
  .report-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .appointment-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .appointment-row form {
    grid-column: 1 / -1;
  }

  .appointment-row select {
    width: 100%;
  }

  .report-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .monthly-report-table {
    overflow-x: auto;
  }

  .report-table-head,
  .report-table-row {
    min-width: 650px;
  }

  .receipt-document > header {
    padding: 19px;
  }

  .receipt-document header img {
    width: 130px;
    height: 51px;
  }

  .receipt-document dl,
  .receipt-signatures {
    padding-right: 19px;
    padding-left: 19px;
  }

  .receipt-document dl > div {
    grid-template-columns: 105px 1fr;
  }

  .maintenance-row {
    grid-template-columns: 90px minmax(0, 1fr) 68px;
  }
}

@media (max-width: 1200px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-user-create {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-create .button {
    grid-column: 1 / -1;
  }

  .admin-user-row {
    grid-template-columns: 40px minmax(140px, 1fr) 70px auto;
  }

  .admin-user-login {
    display: none;
  }

  .admin-aside {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .admin-hero {
    min-height: 178px;
    padding: 24px 21px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .admin-hero h2 {
    font-size: 21px;
  }

  .admin-hero p {
    line-height: 1.5;
  }

  .admin-hero-status {
    margin-left: 0;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .admin-stat-grid > article {
    min-height: 132px;
    padding: 14px;
    display: block;
  }

  .admin-stat-grid .stat-icon {
    margin-bottom: 8px;
  }

  .admin-user-create {
    padding: 15px;
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-user-create .button {
    grid-column: auto;
  }

  .admin-user-list {
    padding: 7px 14px 14px;
  }

  .admin-user-row {
    margin: 7px 0;
    padding: 13px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .admin-user-state {
    grid-column: 3;
    grid-row: 1;
  }

  .admin-user-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-self-label {
    padding-left: 49px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 9mm 10mm 11mm;
  }

  html,
  body {
    width: auto;
    min-width: 0;
  }

  body {
    color: #183330;
    background: white;
    font-size: 9pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sidebar,
  .topbar,
  .flash-stack,
  .detail-toolbar,
  .app-footer,
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block;
  }

  .main-shell {
    margin: 0;
  }

  .page-content {
    max-width: none;
    padding: 0;
  }

  .detail-hero,
  .panel {
    box-shadow: none;
    break-inside: avoid;
  }

  .quote-document.panel {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-inside: auto;
  }

  .quote-document-header {
    min-height: 28mm;
    padding: 5.5mm 6.5mm;
    color: white;
    border-bottom: 1.6mm solid #e7782d;
    background: #0e3d74 !important;
  }

  .quote-brand {
    gap: 3mm;
  }

  .quote-brand img {
    width: 43mm;
    height: 16.7mm;
    border: 0.25mm solid rgba(255, 255, 255, 0.18);
    border-radius: 2mm;
    box-shadow: none;
  }

  .quote-brand-copy {
    display: grid;
    gap: 0.7mm;
  }

  .quote-brand-copy strong {
    color: white;
    font-size: 10pt;
  }

  .quote-brand-copy span {
    max-width: 42mm;
    color: #c7dcd8;
    font-size: 6.8pt;
    line-height: 1.35;
  }

  .quote-document-title > span {
    color: #f5aa73;
    font-size: 7pt;
    letter-spacing: 0.14em;
  }

  .quote-document-title h2 {
    margin: 1mm 0 0.3mm;
    color: white;
    font-size: 15pt;
  }

  .quote-document-title p {
    color: #c3d7d3;
    font-size: 7.2pt;
  }

  .quote-parties {
    padding: 5.2mm 6.5mm;
    grid-template-columns: 1fr 1.25fr 0.8fr;
    gap: 5mm;
    border-bottom: 0.25mm solid #dbe4e2;
    background: #fbfcfc;
    break-inside: avoid;
  }

  .quote-parties > div + div {
    padding-left: 5mm;
    border-left: 0.25mm solid #dbe4e2;
  }

  .quote-parties .card-label,
  .quote-notes .card-label,
  .quote-approval .card-label {
    color: #47746d;
    font-size: 6.6pt;
    letter-spacing: 0.08em;
  }

  .quote-parties h3 {
    margin-top: 1.5mm;
    font-size: 9.5pt;
    line-height: 1.25;
  }

  .quote-parties p {
    margin-top: 1mm;
    color: #5f746f;
    font-size: 7.6pt;
    line-height: 1.35;
  }

  .quote-line-items {
    padding: 5mm 6.5mm 1mm;
    overflow: visible;
  }

  .quote-line-head,
  .quote-line-row {
    grid-template-columns: 7mm minmax(55mm, 1fr) 17mm 17mm 27mm 28mm;
    gap: 2mm;
  }

  .quote-line-head {
    min-height: 9mm;
    padding: 0 2.2mm;
    color: #46655f;
    border-radius: 1.5mm;
    background: #e8f1ef !important;
    font-size: 6.6pt;
  }

  .quote-line-row {
    min-height: 11mm;
    padding: 2.2mm;
    border-bottom: 0.25mm solid #e1e8e6;
    break-inside: avoid;
  }

  .quote-line-row > span,
  .quote-line-row > strong {
    overflow-wrap: anywhere;
    font-size: 8pt;
    line-height: 1.3;
  }

  .quote-line-row > span:first-child {
    font-size: 7pt;
  }

  .quote-bottom {
    padding: 4.5mm 6.5mm 5mm;
    grid-template-columns: minmax(0, 1fr) 64mm;
    gap: 7mm;
    break-inside: avoid;
  }

  .quote-notes {
    gap: 3mm;
  }

  .quote-notes p {
    margin-top: 1mm;
    color: #4e6661;
    font-size: 7.6pt;
    line-height: 1.45;
    white-space: pre-line;
  }

  .quote-totals {
    margin: 0;
    padding: 3.2mm 3.8mm;
    border: 0.25mm solid #d5e1de;
    border-radius: 2mm;
    background: #f4f8f7 !important;
  }

  .quote-totals > div {
    padding: 1.3mm 0;
  }

  .quote-totals dt,
  .quote-totals dd {
    font-size: 8pt;
  }

  .quote-totals .grand-total {
    margin: 1.5mm -1.5mm -1mm;
    padding: 2.5mm 1.5mm 1mm;
    border-top: 0.4mm solid #17685f;
  }

  .quote-totals .grand-total dt {
    font-size: 8.4pt;
  }

  .quote-totals .grand-total dd {
    color: #105149;
    font-size: 12pt;
  }

  .quote-payment-information {
    margin: 0 6.5mm 4.5mm;
    padding: 3.2mm 3.8mm;
    grid-template-columns: minmax(47mm, 0.75fr) minmax(76mm, 1.25fr);
    gap: 4mm;
    border: 0.25mm solid #bcd8d2;
    border-radius: 2mm;
    background: #edf7f4 !important;
    break-inside: avoid;
  }

  .quote-payment-heading {
    gap: 2.2mm;
  }

  .quote-payment-heading > span {
    width: 8mm;
    height: 8mm;
    border-radius: 1.7mm;
    background: white !important;
  }

  .quote-payment-heading > span svg {
    width: 4mm;
    height: 4mm;
  }

  .quote-payment-heading small,
  .quote-payment-iban small {
    font-size: 6.2pt;
  }

  .quote-payment-heading strong {
    margin-top: 0.8mm;
    font-size: 7.5pt;
  }

  .quote-payment-iban {
    padding-left: 4mm;
    border-left: 0.25mm solid #bcd8d2;
  }

  .quote-payment-iban strong {
    margin-top: 0.8mm;
    font-size: 9.2pt;
    letter-spacing: 0.025em;
  }

  .quote-payment-information > p {
    margin-top: -1mm;
    font-size: 6.7pt;
  }

  .quote-supported-brands {
    margin: 0 6.5mm 4mm;
    padding: 2.2mm 3.5mm;
    grid-template-columns: 46mm minmax(0, 1fr);
    gap: 4mm;
    border: 0.25mm solid #d8e2df;
    border-radius: 2mm;
    background: #fbfcfc !important;
    break-inside: avoid;
  }

  .quote-brand-auth-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7.5mm;
    padding-right: 3.5mm;
    border-right: 0.25mm solid #d8e2df;
  }

  .quote-brand-spec-col {
    display: grid;
    grid-template-columns: 32mm minmax(0, 1fr);
    align-items: center;
    gap: 3mm;
  }

  .quote-auth-pill {
    font-size: 5.2pt;
    padding: 0.3mm 1.5mm;
  }

  .quote-auth-logo-box img {
    height: 7mm;
  }

  .quote-supported-brands-heading small {
    font-size: 5.2pt;
  }

  .quote-supported-brands-heading strong {
    margin-top: 0.5mm;
    font-size: 6.8pt;
  }

  .quote-supported-brands-logos {
    grid-template-columns: repeat(3, minmax(10mm, 1fr));
    gap: 2.5mm;
  }

  .quote-supported-brands-logos img {
    height: 5.5mm;
  }

  .quote-supported-brands-logos .brand-mercury {
    height: 5.2mm;
  }

  .quote-approval {
    margin: 0 6.5mm 4.5mm;
    grid-template-columns: 1fr 1fr;
    gap: 7mm;
    break-inside: avoid;
  }

  .quote-approval > div {
    min-height: 18mm;
    padding: 3mm 3.5mm;
    border: 0.25mm solid #d8e2df;
    border-radius: 1.8mm;
  }

  .quote-approval strong {
    margin-top: 1.7mm;
    font-size: 8pt;
  }

  .quote-approval p {
    margin-top: 1mm;
    font-size: 6.8pt;
  }

  .quote-document-footer {
    min-height: 13mm;
    padding: 2.8mm 6.5mm;
    color: #536b66;
    border-top: 0.25mm solid #d8e2df;
    background: #f4f8f7 !important;
    break-inside: avoid;
  }

  .quote-document-footer strong {
    font-size: 8.5pt;
  }

  .quote-document-footer span,
  .quote-document-footer p,
  .quote-footer-number {
    font-size: 6.7pt;
  }

  .quote-document-footer p {
    margin: 0;
  }

  .quote-footer-number {
    display: block !important;
    color: #6b7f7b;
    font-weight: 800;
  }

  .detail-hero {
    padding: 15px;
  }

  .detail-layout {
    display: block;
  }

  .detail-main {
    display: block;
  }

  .detail-main > * {
    margin-top: 12px;
  }

  .detail-aside {
    display: none;
  }

  .operation-row {
    break-inside: avoid;
  }

  .print-status {
    margin-left: auto;
  }

  .print-service-header {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #bbb;
    text-align: center;
  }

  .print-service-header img {
    width: 165px;
    height: 65px;
    margin: 0 auto 8px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
  }

  .print-service-header h2 {
    margin: 0;
    font-size: 12pt;
  }

  .print-service-header p {
    margin: 4px 0 0;
    color: #555;
    font-size: 8pt;
  }

  .service-document.panel,
  .receipt-document.panel {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-inside: auto;
  }

  .service-document-header {
    min-height: 27mm;
    padding: 5mm 6mm;
    border-bottom-width: 1.5mm;
    background: #0d4842 !important;
  }

  .service-document-header img {
    width: 41mm;
    height: 16mm;
    border-radius: 2mm;
  }

  .service-document-header > div:first-child span {
    max-width: 40mm;
    font-size: 6.5pt;
  }

  .service-document-header small {
    font-size: 6.5pt;
  }

  .service-document-header h2 {
    font-size: 14pt;
  }

  .service-document-header p {
    font-size: 7pt;
  }

  .document-party-grid {
    padding: 4.5mm 6mm;
    gap: 5mm;
    break-inside: avoid;
  }

  .document-party-grid > div + div {
    padding-left: 5mm;
  }

  .document-party-grid strong {
    margin-top: 1.2mm;
    font-size: 8.5pt;
  }

  .document-party-grid p {
    margin-top: 0.8mm;
    font-size: 7pt;
  }

  .document-section {
    padding: 4.5mm 6mm;
  }

  .document-section-title {
    margin-bottom: 3mm;
  }

  .document-section-title > span {
    width: 8mm;
    height: 8mm;
  }

  .document-section-title small {
    font-size: 6pt;
  }

  .document-section-title h3 {
    font-size: 9pt;
  }

  .document-edit-form .field > span {
    font-size: 6.5pt;
  }

  .document-edit-form input,
  .document-edit-form select,
  .document-edit-form textarea {
    padding: 1.5mm 2mm;
    color: #183330;
    border: 0.25mm solid #d8e2df;
    background: white !important;
    font-size: 7.5pt;
  }

  .document-edit-form textarea {
    min-height: 14mm;
    resize: none;
  }

  .service-photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2mm;
  }

  .service-photo-grid figure {
    break-inside: avoid;
  }

  .service-photo-grid img {
    height: 31mm;
  }

  .service-photo-grid figcaption {
    padding: 1.5mm;
    font-size: 5.8pt;
  }

  .signature-section {
    grid-template-columns: 1fr 0.9fr;
    gap: 6mm;
    break-inside: avoid;
  }

  .signature-section > div:first-child > p {
    font-size: 7pt;
  }

  .signature-pad {
    min-height: 24mm;
    padding: 2.5mm;
  }

  .signature-pad canvas {
    display: none;
  }

  .signature-print {
    max-height: 16mm;
    margin: 2mm auto 0;
  }

  .service-document-footer {
    min-height: 11mm;
    padding: 2.5mm 6mm;
    font-size: 6.5pt;
    break-inside: avoid;
  }

  .delivery-operation-head,
  .delivery-operation-table > div:not(.delivery-operation-head) {
    min-height: 8mm;
    padding: 1.5mm 2mm;
    grid-template-columns: minmax(0, 1fr) 22mm 14mm 24mm;
    font-size: 7pt;
    break-inside: avoid;
  }

  .delivery-total {
    padding: 2.5mm 3mm;
  }

  .receipt-document > header {
    padding: 5mm 6mm;
    border-bottom-width: 1.5mm;
    background: #0d4842 !important;
  }

  .receipt-document header img {
    width: 42mm;
    height: 16.5mm;
  }

  .receipt-amount {
    padding: 7mm;
    background: #f2f8f6 !important;
  }

  .receipt-amount strong {
    font-size: 25pt;
  }

  .receipt-document dl {
    padding: 5mm 7mm;
  }

  .receipt-document dl > div {
    min-height: 9mm;
    grid-template-columns: 40mm 1fr;
  }

  .receipt-signatures {
    padding: 2mm 7mm 7mm;
    gap: 7mm;
  }

  .receipt-signatures > div {
    min-height: 24mm;
  }

  .receipt-document footer {
    padding: 3mm 7mm;
    background: #f4f8f7 !important;
  }
}

/* Keep 2FA state aligned after the legacy responsive admin rules above. */
.admin-user-row {
  grid-template-columns: 40px minmax(140px, 1fr) minmax(125px, .7fr) 75px 70px auto;
}

@media (max-width: 1100px) {
  .admin-user-row { grid-template-columns: 40px minmax(140px,1fr) 75px 70px auto; }
  .admin-user-login { display: none; }
}

@media (max-width: 700px) {
  .admin-user-row { grid-template-columns: 40px minmax(0,1fr) auto; }
  .admin-2fa-state { grid-column: 2; }
  .admin-user-state { grid-column: 3; grid-row: 1; }
}
