/* کارحامی | قیمت‌گذاری کارتن — رنگ‌ها و قلم از هویت بصری کارحامی */
@font-face { font-family: Vazir; src: url("fonts/Vazir-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Vazir; src: url("fonts/Vazir-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazir; src: url("fonts/Vazir-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --k-night: #050c1d;
  --k-night-2: #0a1733;
  --k-blue: #2f7de1;
  --k-blue-d: #1c5fa8;
  --k-sky: #5fb0ff;
  --k-green: #8cc63f;
  --k-green-d: #6f9f2c;
  --k-green-l: #b5e46a;
  --k-grad: linear-gradient(135deg, var(--k-blue) 0%, #3fa0c8 55%, var(--k-green) 100%);
  --k-radius: 14px;
  --k-ease: cubic-bezier(.2, .8, .2, 1);

  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink: #0b1630;
  --ink-2: #33415c;
  --muted: #64748b;
  --line: #e6ebf3;
  --shadow: 0 1px 2px rgba(11, 22, 48, .04), 0 6px 24px rgba(11, 22, 48, .06);
  --shadow-hover: 0 4px 10px rgba(11, 22, 48, .06), 0 16px 40px rgba(11, 22, 48, .10);
  --sidebar-w: 248px;

  --bs-primary: #2f7de1; --bs-primary-rgb: 47, 125, 225;
  --bs-success: #6f9f2c; --bs-success-rgb: 111, 159, 44;
  --bs-link-color: #1c5fa8; --bs-link-color-rgb: 28, 95, 168;
  --bs-body-font-family: Vazir, Tahoma, sans-serif;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
}
[data-bs-theme="dark"] {
  --bg: #050c1d;
  --surface: #0c1830;
  --surface-2: #10203f;
  --ink: #e7edf8;
  --ink-2: #b9c5dc;
  --muted: #8796b3;
  --line: #1c2c4d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 24px rgba(0, 0, 0, .25);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .35);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-link-color: #5fb0ff; --bs-link-color-rgb: 95, 176, 255;
  --bs-secondary-bg: var(--surface-2);
  --bs-tertiary-bg: var(--surface-2);
}

html, body { min-height: 100%; }
body { font-family: Vazir, Tahoma, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px;
       transition: background-color .3s var(--k-ease), color .3s var(--k-ease); }
a { text-decoration: none; }
::selection { background: rgba(47, 125, 225, .25); }
.num, input.n, .ltr { direction: ltr; font-variant-numeric: tabular-nums; }
.num { text-align: left; white-space: nowrap; }
input.n { text-align: left; }
.text-grad { background: var(--k-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted { color: var(--muted) !important; }

/* ---------------- چیدمان: نوار کناری + محتوا */
.sidebar {
  position: fixed; inset-block: 0; right: 0; width: var(--sidebar-w); z-index: 1040;
  background: radial-gradient(120% 60% at 100% 0%, rgba(47, 125, 225, .25), transparent 60%),
              radial-gradient(80% 50% at 0% 100%, rgba(140, 198, 63, .16), transparent 60%),
              var(--k-night);
  color: #cfd9ec; display: flex; flex-direction: column; padding: 18px 14px;
  transition: transform .35s var(--k-ease);
}
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; }
.sidebar .brand img { width: 38px; height: 44px; filter: drop-shadow(0 4px 12px rgba(95, 176, 255, .35));
                      transition: transform .6s var(--k-ease); }
.sidebar .brand:hover img { transform: rotate(-8deg) scale(1.06); }
.sidebar .brand b { font-size: 1.15rem; display: block; line-height: 1.2; }
.sidebar .brand small { color: #8fa3c7; font-size: .75rem; }
.sidebar .new-btn { margin: 0 4px 16px; }
.sidebar nav { flex: 1; overflow-y: auto; }
.sidebar .nav-title { font-size: .7rem; color: #6d80a6; margin: 14px 12px 6px; letter-spacing: .02em; }
.sidebar nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 2px 0;
  color: #c5d1e8; border-radius: 10px; transition: background .2s, color .2s, padding .25s var(--k-ease);
}
.sidebar nav a i { width: 20px; text-align: center; color: #7f94bd; transition: color .2s, transform .25s var(--k-ease); }
.sidebar nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; padding-inline-start: 16px; }
.sidebar nav a:hover i { color: var(--k-sky); transform: scale(1.12); }
.sidebar nav a.active { background: linear-gradient(90deg, rgba(47, 125, 225, .08), rgba(47, 125, 225, .28)); color: #fff; }
.sidebar nav a.active i { color: var(--k-green-l); }
.sidebar nav a.active::before { content: ""; position: absolute; right: -14px; top: 8px; bottom: 8px; width: 4px;
                                border-radius: 4px 0 0 4px; background: var(--k-grad); }
.sidebar nav .count { margin-inline-start: auto; font-size: .7rem; background: var(--k-green); color: var(--k-night);
                      border-radius: 99px; padding: 1px 8px; font-weight: 700; animation: pulse 2.4s infinite; }
.sidebar .me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px;
               background: rgba(255, 255, 255, .05); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
          background: var(--k-grad); color: #fff; font-weight: 700; font-size: .9rem; }
.sidebar .me .name { color: #fff; font-size: .85rem; }
.sidebar .me .role { color: #8fa3c7; font-size: .72rem; }
.sidebar .me a, .sidebar .me button { color: #8fa3c7; }
.sidebar .me a:hover, .sidebar .me button:hover { color: #fff; }

.main { margin-right: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 12px;
          padding: 12px 28px; background: color-mix(in srgb, var(--bg) 82%, transparent);
          backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.topbar .crumb { font-size: .75rem; color: var(--muted); }
.topbar .search { position: relative; max-width: 300px; }
.topbar .search i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.topbar .search input { padding-right: 34px; border-radius: 99px; background: var(--surface); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
            border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
            transition: transform .2s var(--k-ease), box-shadow .2s, color .2s; }
.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--k-blue); }
.theme-toggle .fa-sun { display: none; }
[data-bs-theme="dark"] .theme-toggle .fa-sun { display: inline-block; }
[data-bs-theme="dark"] .theme-toggle .fa-moon { display: none; }
.content { padding: 24px 28px 48px; flex: 1; }
.menu-btn { display: none; }
.backdrop { display: none; }

@media (max-width: 991.98px) {
  .sidebar { transform: translateX(105%); box-shadow: -20px 0 60px rgba(0, 0, 0, .3); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .backdrop { display: block; position: fixed; inset: 0; background: rgba(5, 12, 29, .5); z-index: 1035;
                            animation: fadeIn .25s; }
  .main { margin-right: 0; }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 10px 16px; }
  .topbar .search { display: none; }
  .content { padding: 16px 16px 40px; }
}

/* ---------------- کارت‌ها */
.card, .k-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--k-radius);
  box-shadow: var(--shadow); transition: box-shadow .3s var(--k-ease), transform .3s var(--k-ease), border-color .3s;
  --bs-card-bg: var(--surface); --bs-card-border-color: var(--line);
}
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: 14px 18px;
               font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-header .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .85rem;
                    background: rgba(47, 125, 225, .12); color: var(--k-blue); }
.card-header .ico.g { background: rgba(140, 198, 63, .16); color: var(--k-green-d); }
.card-header .ico.o { background: rgba(245, 159, 0, .14); color: #d98500; }
.card-header .ico.v { background: rgba(124, 92, 252, .13); color: #6a4ce0; }
[data-bs-theme="dark"] .card-header .ico.g { color: var(--k-green-l); }
.card-body { padding: 18px; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* کارت شاخص */
.kpi { position: relative; overflow: hidden; padding: 18px 20px; }
.kpi .label { color: var(--muted); font-size: .8rem; }
.kpi .value { font-size: 1.7rem; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.kpi .value small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.kpi .ico { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 14px;
            display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: var(--k-grad);
            box-shadow: 0 8px 20px rgba(47, 125, 225, .3); transition: transform .4s var(--k-ease); }
.kpi:hover .ico { transform: rotate(-10deg) scale(1.08); }
.kpi.green .ico { background: linear-gradient(135deg, var(--k-green), var(--k-green-d)); box-shadow: 0 8px 20px rgba(140, 198, 63, .35); }
.kpi.amber .ico { background: linear-gradient(135deg, #ffb547, #f08c00); box-shadow: 0 8px 20px rgba(240, 140, 0, .3); }
.kpi.violet .ico { background: linear-gradient(135deg, #8c74ff, #5b3fd9); box-shadow: 0 8px 20px rgba(91, 63, 217, .3); }
.kpi .foot { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.kpi::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%;
              background: radial-gradient(circle, rgba(47, 125, 225, .10), transparent 70%); pointer-events: none; }

/* ---------------- دکمه‌ها و فرم */
.btn { border-radius: 10px; font-weight: 500; transition: transform .15s var(--k-ease), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-k { background: var(--k-grad); background-size: 160% 160%; color: #fff; border: 0;
         box-shadow: 0 6px 18px rgba(47, 125, 225, .28); animation: gradShift 8s ease infinite; }
.btn-k:hover { color: #fff; box-shadow: 0 10px 26px rgba(47, 125, 225, .38); transform: translateY(-1px); }
.btn-soft { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.btn-soft:hover { border-color: var(--k-blue); color: var(--k-blue); background: var(--surface); }
.form-label { margin-bottom: .25rem; font-size: .78rem; color: var(--muted); }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); background-color: var(--surface);
                              color: var(--ink); font-size: .9rem;
                              transition: border-color .2s, box-shadow .2s, background-color .3s; }
.form-control:focus, .form-select:focus { border-color: var(--k-blue); box-shadow: 0 0 0 .2rem rgba(47, 125, 225, .15);
                                          background-color: var(--surface); color: var(--ink); }
.form-control:disabled, .form-select:disabled { background-color: var(--surface-2); opacity: 1; }
.unit { font-size: .7rem; color: var(--muted); opacity: .85; }
.hint { font-size: .75rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.hint i { color: var(--k-blue); margin-top: 3px; }
.input-flash { animation: inputFlash 1.2s var(--k-ease); }

/* ---------------- جدول‌ها */
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-hover-bg: rgba(47, 125, 225, .05);
         --bs-table-border-color: var(--line); margin: 0; }
.table thead th { font-size: .75rem; color: var(--muted); font-weight: 500; background: var(--surface-2);
                  border-bottom-width: 1px; white-space: nowrap; padding: 10px 12px; }
.table td { padding: 11px 12px; vertical-align: middle; }
.table-hover tbody tr { transition: background .15s; }
.row-link { cursor: pointer; }

/* ---------------- نشان وضعیت */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: .75rem;
      font-weight: 500; white-space: nowrap; }
.st i { font-size: .7rem; }
.st-draft { background: rgba(100, 116, 139, .12); color: #55657d; }
.st-pending { background: rgba(245, 159, 0, .14); color: #b86e00; }
.st-rejected { background: rgba(224, 49, 49, .12); color: #c92a2a; }
.st-approved { background: rgba(47, 125, 225, .12); color: var(--k-blue-d); }
.st-sent { background: rgba(124, 92, 252, .13); color: #5b3fd9; }
.st-won { background: rgba(140, 198, 63, .18); color: #4d7a17; }
.st-lost { background: rgba(11, 22, 48, .08); color: #4a5568; }
[data-bs-theme="dark"] .st-draft { color: #a9b6cc; } [data-bs-theme="dark"] .st-pending { color: #ffc35c; }
[data-bs-theme="dark"] .st-rejected { color: #ff8787; } [data-bs-theme="dark"] .st-approved { color: var(--k-sky); }
[data-bs-theme="dark"] .st-sent { color: #b4a3ff; } [data-bs-theme="dark"] .st-won { color: var(--k-green-l); }
[data-bs-theme="dark"] .st-lost { color: #94a3b8; background: rgba(255, 255, 255, .06); }
.st-pending i { animation: spinSlow 3s linear infinite; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-size: .8rem;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all .2s var(--k-ease); }
.chip:hover { border-color: var(--k-blue); color: var(--k-blue); transform: translateY(-1px); }
.chip.active { background: var(--k-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(47, 125, 225, .25); }
.chip b { font-size: .72rem; opacity: .75; }

/* ---------------- پنل نتیجه برگه */
.result { position: sticky; top: 84px; }
.price-hero { border-radius: var(--k-radius) var(--k-radius) 0 0; padding: 22px 18px 18px; color: #fff; text-align: center;
              background: radial-gradient(120% 120% at 100% 0%, rgba(140, 198, 63, .35), transparent 50%), var(--k-night-2);
              position: relative; overflow: hidden; }
.price-hero .cap { font-size: .78rem; color: #a9bad9; }
.price-hero .big { font-size: 2.1rem; font-weight: 700; direction: ltr; letter-spacing: .5px; line-height: 1.25; }
.price-hero .sub { font-size: .78rem; color: #c3d1ea; }
.price-hero.bump .big { animation: bump .5s var(--k-ease); }
.price-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
                     transform: translateX(100%); }
.price-hero.loading::after { animation: shimmer 1s infinite; }
.stack { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .1); margin-top: 14px; }
.stack span { height: 100%; transition: width .6s var(--k-ease); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; margin-top: 8px; font-size: .7rem; color: #c3d1ea; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-left: 4px; }
.breakdown td { padding: 7px 14px; font-size: .84rem; }
.breakdown td.v { direction: ltr; text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown tr.grp td { font-weight: 700; background: var(--surface-2); }
.breakdown tr.det td { color: var(--muted); font-size: .78rem; padding-top: 4px; padding-bottom: 4px; }
.breakdown tr.det td:first-child { padding-right: 28px; }
.breakdown tr.total td { font-weight: 700; color: var(--k-blue-d); font-size: .95rem; }
[data-bs-theme="dark"] .breakdown tr.total td { color: var(--k-sky); }
.breakdown .changed { animation: valFlash 1s var(--k-ease); }

.pieces .seq { width: 2.5rem; font-weight: 700; color: var(--k-blue); }
.pieces tr { animation: fadeUp .35s var(--k-ease) both; }
.steps-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.steps-nav a { flex: none; padding: 6px 14px; border-radius: 99px; font-size: .8rem; color: var(--ink-2); background: var(--surface);
               border: 1px solid var(--line); transition: all .2s; }
.steps-nav a:hover { border-color: var(--k-blue); color: var(--k-blue); }
.steps-nav a i { margin-left: 6px; color: var(--k-blue); }
.section-anchor { scroll-margin-top: 90px; }

/* خط زمان رویدادها */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; right: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 44px 16px 0; animation: fadeUp .4s var(--k-ease) both; }
.timeline .dot { position: absolute; right: 4px; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
                 font-size: .65rem; background: var(--surface); border: 2px solid var(--k-blue); color: var(--k-blue); }
.timeline .when { font-size: .72rem; color: var(--muted); }
.timeline .note { font-size: .8rem; background: var(--surface-2); border-radius: 8px; padding: 6px 10px; margin-top: 4px; }

/* حالت خالی */
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .art { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 26px; display: grid; place-items: center;
              font-size: 2rem; color: var(--k-blue); background: rgba(47, 125, 225, .1); animation: float 3.5s ease-in-out infinite; }

/* ---------------- اعلان (toast) و پنجره‌ی تأیید */
.toasts { position: fixed; left: 20px; bottom: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.k-toast { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--surface);
           color: var(--ink); box-shadow: var(--shadow-hover); border: 1px solid var(--line); border-inline-start: 4px solid var(--k-blue);
           animation: toastIn .45s var(--k-ease) both; font-size: .88rem; }
.k-toast.success { border-inline-start-color: var(--k-green); } .k-toast.success i { color: var(--k-green-d); }
.k-toast.danger { border-inline-start-color: #e03131; } .k-toast.danger i { color: #e03131; }
.k-toast.warning { border-inline-start-color: #f59f00; } .k-toast.warning i { color: #f08c00; }
.k-toast i { margin-top: 3px; color: var(--k-blue); }
.k-toast.out { animation: toastOut .35s var(--k-ease) forwards; }
.modal-content { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-hover); }

/* ---------------- ورود */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { position: relative; overflow: hidden; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
             background: radial-gradient(70% 60% at 85% 10%, rgba(47, 125, 225, .45), transparent 60%),
                         radial-gradient(60% 50% at 10% 90%, rgba(140, 198, 63, .35), transparent 60%), var(--k-night); }
.login-art h2 { font-size: 2rem; font-weight: 700; line-height: 1.6; }
.login-art .boxes span { position: absolute; border: 2px solid rgba(255, 255, 255, .12); border-radius: 10px;
                         animation: drift 14s ease-in-out infinite; }
.login-art .feat { display: flex; gap: 10px; align-items: center; color: #c9d6ee; margin: 8px 0; }
.login-art .feat i { color: var(--k-green-l); }
.login-form { display: grid; place-items: center; padding: 32px; background: var(--bg); }
.login-form .box { width: 100%; max-width: 380px; animation: fadeUp .6s var(--k-ease) both; }
.login-form .logo { width: 64px; height: 74px; animation: float 4s ease-in-out infinite; }
@media (max-width: 860px) { .login-wrap { grid-template-columns: 1fr; } .login-art { display: none; } }

/* ---------------- انیمیشن‌ها */
.reveal { animation: fadeUp .55s var(--k-ease) both; }
.reveal-1 { animation-delay: .05s; } .reveal-2 { animation-delay: .1s; } .reveal-3 { animation-delay: .15s; }
.reveal-4 { animation-delay: .2s; } .reveal-5 { animation-delay: .25s; } .reveal-6 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-30px) scale(.96); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes shimmer { to { transform: translateX(-100%); } }
@keyframes valFlash { 0% { background: rgba(140, 198, 63, .35); } 100% { background: transparent; } }
@keyframes inputFlash { 0% { box-shadow: 0 0 0 .25rem rgba(140, 198, 63, .45); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, .5); } 50% { box-shadow: 0 0 0 6px rgba(140, 198, 63, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(20px, -30px) rotate(12deg); } }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spinSlow { 0%, 40% { transform: rotate(0); } 60%, 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------- چاپ */
.print-sheet { background: #fff; color: #111; max-width: 210mm; margin: auto; padding: 12mm; font-size: 12px; border-radius: 6px;
               box-shadow: var(--shadow-hover); }
.print-sheet table { font-size: 11.5px; --bs-table-color: #111; }
.print-sheet th { background: #f1f4f9 !important; font-weight: 600; color: #333; }
.print-sheet .head { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid; border-image: var(--k-grad) 1; padding-bottom: 10px; margin-bottom: 12px; }
.print-sheet .head img { width: 40px; }
.sign { height: 24mm; border: 1px dashed #aaa; border-radius: 6px; padding: 4px 8px; color: #555; }
.watermark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 90px; font-weight: 700;
             color: rgba(224, 49, 49, .09); transform: rotate(-25deg); }
@media print {
  .no-print, .sidebar, .topbar, .toasts { display: none !important; }
  .main { margin: 0 !important; }
  .content { padding: 0 !important; }
  body { background: #fff !important; }
  .print-sheet { padding: 0; max-width: none; box-shadow: none; }
  @page { size: A4 portrait; margin: 10mm; }
}
