:root {
  color-scheme: light;
  --navy: #0b1b3d;
  --navy-dark: #071329;
  --gold: #d4af37;
  --cream: #faf9f6;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 "Plus Jakarta Sans", Arial, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: #9a6b09; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section { padding: 76px 0; }
.section h2 { margin: 8px 0 12px; font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.2 "Playfair Display", Georgia, serif; color: var(--navy); }
.lead { max-width: 760px; color: var(--muted); }
.hero { position: relative; overflow: hidden; min-height: 570px; display: grid; align-items: center; color: white; background: linear-gradient(90deg, rgba(5,15,34,.94), rgba(5,15,34,.62)), url("images/rice_mill_facility_1791791107190.jpg") center/cover; }
.hero-content { max-width: 780px; padding: 78px 0; }
.hero h1 { margin: 10px 0 18px; font: 700 clamp(2.5rem, 5.7vw, 4.7rem)/1.06 "Playfair Display", Georgia, serif; }
.hero p { max-width: 690px; color: #e7e5e4; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 5px; padding: 11px 18px; background: var(--gold); color: #1c1917; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(.95); }
.button-outline { border-color: #d6d3d1; background: transparent; color: inherit; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 38px; }
.stat { padding: 14px; border: 1px solid #ffffff38; border-radius: 6px; background: #0713298c; }
.stat strong { display: block; color: #f5d875; font-size: 1.15rem; }
.stat span { color: #d6d3d1; font-size: .78rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 5px 18px #1c19170d; }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 20px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font: 700 1.25rem "Playfair Display", Georgia, serif; }
.card p { margin: 7px 0; color: var(--muted); }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 14px; margin: 15px 0; font-size: .82rem; }
.spec-list span:nth-child(odd) { color: var(--muted); }
.product-contact-actions { display:grid; justify-items:start; gap:8px; margin-top:15px; }
.product-contact-actions .button { min-height:40px; border-radius:7px; }
.product-inquiry-link { background:#0b1b3d; color:#fff; }
.product-inquiry-link:hover { background:#173461; filter:none; }
.product-whatsapp-link { display:inline-flex; min-height:34px; align-items:center; gap:7px; border:1px solid #dcefe3; border-radius:18px; padding:3px 11px 3px 4px; background:#fff; color:#18783e; font-size:.74rem; font-weight:800; text-decoration:none; transition:border-color .16s,background .16s,transform .16s; }
.product-whatsapp-link:hover { transform:translateY(-1px); border-color:#25a956; background:#f4fff7; }
.product-whatsapp-link:focus-visible { outline:3px solid #128c4966; outline-offset:2px; }
.product-whatsapp-icon { display:grid; width:26px; height:26px; flex:0 0 26px; place-items:center; border-radius:50%; background:#25d366; color:#fff; }
.product-whatsapp-link svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.tag { display: inline-block; margin: 2px; border-radius: 20px; padding: 3px 9px; background: #f5f5f4; color: #57534e; font-size: .74rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.filters .button { padding: 8px 13px; font-size: .85rem; }
.filters .active { background: var(--navy); color: white; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.photo { width: 100%; min-height: 300px; object-fit: cover; border-radius: 8px; }
.cert { padding: 18px; }
.cert h3 { margin: 0; color: var(--navy); }
.cert strong { color: #9a6b09; font-size: .8rem; }
.destination-regions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:28px; }
.destination-region { border:1px solid var(--line); border-radius:8px; padding:18px 20px; background:#fff; }
.destination-region h3 { margin:0 0 12px; color:var(--navy); font:700 1.12rem "Playfair Display",Georgia,serif; }
.destination-list { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.destination-list li { border:1px solid #e7e5e4; border-radius:20px; padding:4px 10px; background:#faf9f6; color:#43516a; font-size:.84rem; }
.policy-condition-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:26px 0 14px; }
.private-label-intro { margin-top:18px; }
.private-label-content { max-width:940px; margin:30px 0; }
.private-label-content h2,.private-label-content h3 { margin:26px 0 8px; color:var(--navy); font:700 1.35rem "Playfair Display",Georgia,serif; }
.private-label-content p { color:#57534e; }
.private-label-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
.private-label-benefits article { border:1px solid var(--line); border-radius:8px; padding:16px; background:#fff; }
.private-label-benefits h3,.private-label-benefits h4 { margin:0 0 6px; color:var(--navy); font:700 1.05rem "Playfair Display",Georgia,serif; }
.private-label-benefits p { margin:0; font-size:.88rem; }
.private-label-photo { min-height:320px; }
.private-label-note { display:block; margin-top:14px; }
.policy-condition { border:1px solid var(--line); border-radius:9px; padding:20px; background:#fff; box-shadow:0 5px 18px #1c19170d; }
.policy-condition h3,.policy-condition h4 { margin:0 0 12px; color:var(--navy); font:700 1.15rem "Playfair Display",Georgia,serif; }
.policy-condition ul { margin:0; padding-inline-start:20px; color:#57534e; }
.policy-condition li+li { margin-top:9px; }
.contact-box { border-radius: 10px; padding: 30px; background: var(--navy); color: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d6d3d1; border-radius: 5px; padding: 10px 11px; background: white; color: var(--ink); font: inherit; }
.field textarea { min-height: 110px; resize: vertical; }
.notice { margin: 16px 0; border-radius: 5px; padding: 12px 15px; background: #ecfdf5; color: #065f46; }
.site-footer { padding: 45px 0 20px; background: var(--navy-dark); color: #d6d3d1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer a { text-decoration: none; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr 1fr; }
.footer-social-links { display:grid; gap:9px; margin-top:14px; }
.footer-social-link { display:inline-flex; width:max-content; min-height:40px; align-items:center; gap:10px; border:1px solid #ffffff24; border-radius:8px; padding:7px 12px; background:#ffffff08; color:#e7e5e4; font-size:.82rem; font-weight:700; transition:border-color .16s,background .16s,color .16s,transform .16s; }
.footer-social-link:hover { transform:translateY(-1px); }
.footer-social-link svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.footer-social-link svg .footer-social-dot { fill:currentColor; stroke:none; }
.footer-social-instagram { border-color:#d6297652; color:#ed5a77; }
.footer-social-instagram:hover { border-color:#d62976a6; background:#d629761c; color:#ff8a45; }
.footer-social-instagram svg { stroke:url(#instagram-brand-gradient); }
.footer-social-instagram svg .footer-social-dot { fill:#d62976; }
.footer-social-whatsapp { border-color:#25d36666; color:#25d366; }
.footer-social-whatsapp:hover { border-color:#25d366; background:#25d3661c; color:#48e17c; }
.footer-social-section>strong { display:block; }
.footer-privacy-link { margin:16px 0 0; color:#a8a29e; font-size:.76rem; text-align:center; }
.footer-privacy-link a,.footer-privacy-link button { border:0; padding:0; background:none; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
.analytics-consent[hidden] { display:none !important; }
.analytics-consent { position:fixed; z-index:100; right:20px; bottom:20px; display:flex; width:min(530px,calc(100vw - 32px)); align-items:center; justify-content:space-between; gap:18px; border:1px solid #d6deea; border-radius:12px; padding:18px 20px; background:#fff; color:#263650; box-shadow:0 14px 42px #0713292e; }
.analytics-consent p { margin:0; font-size:.82rem; }
.analytics-consent p strong { color:#102344; }
.analytics-consent-actions { display:flex; flex:0 0 auto; gap:8px; }
.analytics-consent-actions button { min-height:38px; border:1px solid #dce2eb; border-radius:7px; padding:7px 10px; background:white; color:#40506b; font:700 .76rem "Plus Jakarta Sans",Arial,sans-serif; cursor:pointer; }
.analytics-consent-actions .analytics-consent-accept { border-color:#102344; background:#102344; color:#fff; }
.analytics-consent-actions button:focus-visible,.footer-privacy-link button:focus-visible { outline:3px solid #d4af3766; outline-offset:2px; }
.privacy-content { max-width:850px; }
.privacy-content h2 { margin-top:32px; color:var(--navy); font:700 1.4rem "Playfair Display",Georgia,serif; }
.privacy-content p,.privacy-content li { color:#57534e; }
@media (max-width:560px) {
  .analytics-consent { right:10px; bottom:10px; flex-direction:column; align-items:stretch; gap:12px; padding:15px; }
  .analytics-consent-actions { justify-content:flex-end; }
}
.admin-wrap { width: min(1100px, calc(100% - 32px)); margin: 36px auto; }
.admin-top { display:flex; justify-content:space-between; gap:20px; align-items:center; background:var(--navy); color:white; padding:22px; border-radius:9px; }
.panel { margin-top:20px; padding:22px; border:1px solid var(--line); border-radius:8px; background:white; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:.88rem; }
th, td { padding:11px 9px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }
th { background:#fafaf9; color:#57534e; }
.admin-nav { display:flex; flex-wrap:wrap; gap:12px; margin:16px 0; }
.admin-nav a { color:#92400e; font-weight:700; }
.muted { color:var(--muted); }
.notice-error { background:#fef2f2; color:#991b1b; }
@media (max-width: 800px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .section { padding: 54px 0; }
  .cards, .form-grid, .footer-grid, .destination-regions, .policy-condition-grid, .private-label-benefits { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero { min-height: 530px; }
  .contact-box { padding: 20px; }
}
@media print {
  .no-print, header, footer { display:none !important; }
  body { background:white; }
  .panel { border:0; }
}

/* Admin workspace */
.admin-body { min-height:100vh; background:#f3f5f9; color:#182237; }
.admin-wrap { width:min(1320px, calc(100% - 40px)); margin:32px auto 60px; }
.admin-top { position:relative; overflow:hidden; min-height:172px; padding:30px 34px; border:1px solid #25375c; border-radius:18px; background:linear-gradient(115deg,#08152f 0%,#10264d 64%,#1a3763 100%); box-shadow:0 18px 45px #12234122; }
.admin-top::after { position:absolute; right:15%; top:-95px; width:300px; height:300px; border:1px solid #d4af372e; border-radius:50%; content:""; box-shadow:0 0 0 26px #d4af3710,0 0 0 55px #d4af3708; }
.admin-brand { position:relative; z-index:1; display:flex; align-items:center; gap:16px; }
.admin-brand-mark { display:grid; width:56px; height:56px; place-items:center; border:1px solid #dfc466; border-radius:15px; background:#d4af371c; color:#f4d979; font:700 1.1rem "Playfair Display",Georgia,serif; }
.admin-kicker { margin:0 0 5px; color:#e6ca76; font-size:.7rem; font-weight:800; letter-spacing:.19em; text-transform:uppercase; }
.admin-heading { margin:0; color:#fff; font:700 clamp(1.5rem,3vw,2rem)/1.2 "Playfair Display",Georgia,serif; }
.admin-subtitle { margin:8px 0 0; color:#c8d0df; font-size:.88rem; }
.admin-top-actions { position:relative; z-index:1; display:flex; align-items:center; gap:11px; }
.admin-top .button { min-height:42px; border-radius:8px; }
.admin-top .button-outline { border-color:#ffffff55; background:#ffffff0d; color:#fff; }
.admin-nav { gap:8px; margin:18px 0 22px; padding:7px; border:1px solid #e2e7ef; border-radius:12px; background:#fff; box-shadow:0 4px 14px #18223708; }
.admin-nav a { padding:9px 13px; border-radius:8px; color:#506079; font-size:.84rem; text-decoration:none; transition:background .16s,color .16s; }
.admin-nav a:hover { background:#eef2f7; color:#152649; }
.admin-nav a.admin-nav-primary { margin-left:auto; background:#0b1b3d; color:#f5d875; }
.admin-content { display:grid; gap:20px; }
.admin-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0; }
.metric-card { position:relative; overflow:hidden; min-height:136px; margin:0; padding:19px; border:1px solid #e3e8f0; border-radius:13px; background:#fff; box-shadow:0 8px 22px #15264908; }
.metric-card::after { position:absolute; right:-22px; bottom:-46px; width:116px; height:116px; border:16px solid #eef2f8; border-radius:50%; content:""; }
.metric-label { display:flex; align-items:center; gap:9px; color:#65738b; font-size:.78rem; font-weight:700; }
.metric-dot { width:9px; height:9px; border-radius:50%; background:#d4af37; box-shadow:0 0 0 4px #d4af371b; }
.metric-card:nth-child(2) .metric-dot { background:#4b83cd; box-shadow:0 0 0 4px #4b83cd1b; }
.metric-card:nth-child(3) .metric-dot { background:#32a77a; box-shadow:0 0 0 4px #32a77a1b; }
.metric-card:nth-child(4) .metric-dot { background:#9b6bd3; box-shadow:0 0 0 4px #9b6bd31b; }
.metric-value { position:relative; z-index:1; display:block; margin-top:15px; color:#12213c; font:700 clamp(1.45rem,2.3vw,2rem)/1 "Plus Jakarta Sans",Arial,sans-serif; letter-spacing:-.04em; }
.admin-panel { overflow:hidden; margin:0; padding:0; border:1px solid #e2e7ef; border-radius:14px; background:#fff; box-shadow:0 8px 22px #15264908; scroll-margin-top:22px; }
.admin-panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:21px 24px; border-bottom:1px solid #edf0f4; }
.invoice-panel-head { display:grid; grid-template-columns:minmax(180px,1fr) auto auto; align-items:center; }
.admin-panel-head h2 { margin:0; color:#142443; font:700 1.18rem "Playfair Display",Georgia,serif; }
.admin-panel-head p { margin:5px 0 0; color:#7b879a; font-size:.8rem; }
.invoice-create-picker { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.invoice-create-picker label { color:#667085; font-size:.78rem; font-weight:700; }
.invoice-create-picker select { min-height:42px; border:1px solid #d7deea; border-radius:8px; padding:0 10px; background:#fff; color:#172644; font:600 .8rem "Plus Jakarta Sans",Arial,sans-serif; }
.dashboard-pagination { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:13px; color:#69768b; font-size:.78rem; }
.dashboard-pagination>div { display:flex; gap:8px; }
.pagination-link { display:inline-flex; min-height:34px; align-items:center; border:1px solid #d7deea; border-radius:7px; padding:0 12px; background:#fff; color:#172644; font-weight:700; text-decoration:none; }
.pagination-link:hover { border-color:#8792d7; background:#f7f8ff; }
.admin-panel-body { padding:22px 24px; }
.admin-panel .form-grid { max-width:760px; margin-top:16px; }
.admin-panel .field label { color:#40506b; }
.admin-panel .field input { border-color:#dce2eb; border-radius:8px; }
.admin-panel .field input:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.admin-panel .button { border-radius:8px; }
.rate-summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:15px 0 0; }
.rate-chip { display:inline-flex; align-items:center; gap:7px; border:1px solid #e6eaf0; border-radius:9px; padding:8px 11px; background:#f8fafc; color:#43516a; font-size:.82rem; }
.rate-chip strong { color:#12213c; }
.cost-build-up-settings { display:grid; grid-template-columns:repeat(2,minmax(0,220px)); gap:14px; }
.cost-build-up-settings .field label { display:block; margin-bottom:6px; color:#40506b; font-size:.76rem; font-weight:700; }
.cost-build-up-settings .field select { width:100%; border:1px solid #dce2eb; border-radius:8px; padding:10px 11px; background:#fff; color:#12213c; font:inherit; }
.cost-build-up-settings .field select:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.cost-build-up-help { margin:14px 0 18px; color:#778398; font-size:.78rem; }
.cost-build-up-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr); align-items:start; gap:22px; }
.cost-input-list { overflow:hidden; border:1px solid #e5e9ef; border-radius:11px; }
.cost-input-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(125px,180px); align-items:center; gap:15px; padding:13px 15px; border-bottom:1px solid #edf0f4; }
.cost-input-row:last-child { border-bottom:0; }
.cost-input-row label { color:#263752; font-size:.8rem; font-weight:800; }
.cost-input-row p { margin:3px 0 0; color:#7b879a; font-size:.72rem; line-height:1.45; }
.cost-input-row input { width:100%; min-width:0; border:1px solid #dce2eb; border-radius:7px; padding:9px 10px; background:#fff; color:#12213c; font:600 .83rem "Plus Jakarta Sans",Arial,sans-serif; text-align:right; }
.cost-input-row input:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.cost-input-row input[aria-invalid="true"] { border-color:#dc2626; }
.cost-totals { display:grid; gap:10px; }
.cost-total-card { display:grid; gap:5px; border:1px solid #e5e9ef; border-radius:11px; padding:15px; background:#f8fafc; }
.cost-total-card > span { color:#64728a; font-size:.7rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.cost-total-card > strong { color:#142443; font-size:1.4rem; letter-spacing:-.035em; overflow-wrap:anywhere; }
.cost-total-card > small { color:#66758d; font-size:.72rem; }
.cost-total-card > p { margin:3px 0 0; color:#7b879a; font-size:.7rem; line-height:1.45; }
.cost-total-highlight { border-color:#ddc975; background:#fffaf0; }
.cost-total-highlight > span { color:#80600d; }
.cost-calculation-status { margin:2px 0 0; color:#66758d; font-size:.72rem; }
.admin-table-wrap { overflow-x:auto; }
.admin-table { min-width:760px; }
.admin-table th { padding:12px 16px; background:#f8fafc; color:#6a778e; font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.admin-table td { padding:14px 16px; color:#34425a; font-size:.83rem; }
.admin-table tbody tr:hover { background:#fafbfc; }
.admin-table tbody tr:last-child td { border-bottom:0; }
.table-empty { padding:30px !important; color:#8490a2 !important; text-align:center !important; }
.type-pill { display:inline-flex; min-width:39px; justify-content:center; border:1px solid #eadba7; border-radius:20px; padding:3px 8px; background:#fff9e8; color:#80600d; font-size:.69rem; font-weight:800; letter-spacing:.04em; }
.status-pill { display:inline-flex; border-radius:20px; padding:4px 9px; background:#ecfdf5; color:#087451; font-size:.7rem; font-weight:700; text-transform:capitalize; }
.lead-status-new { background:#eff6ff; color:#1d4ed8; }
.lead-status-contacted { background:#f5f3ff; color:#6d28d9; }
.lead-status-qualified { background:#ecfdf5; color:#047857; }
.lead-status-quoted { background:#fffbeb; color:#a16207; }
.lead-status-won { background:#dcfce7; color:#166534; }
.lead-status-lost { background:#f1f5f9; color:#64748b; }
.lead-table { min-width:1120px; }
.lead-table td { vertical-align:top; }
.lead-details summary { color:#8a6710; font-size:.78rem; font-weight:800; cursor:pointer; }
.lead-details[open] summary { margin-bottom:14px; }
.lead-details-body { width:min(620px,calc(100vw - 90px)); color:#34425a; }
.lead-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 16px; margin:0 0 14px; }
.lead-facts div { min-width:0; }
.lead-facts dt { color:#7b879a; font-size:.67rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.lead-facts dd { overflow-wrap:anywhere; margin:2px 0 0; font-size:.8rem; }
.lead-message { border-left:3px solid #d4af37; padding:4px 0 4px 12px; }
.lead-message strong { color:#142443; font-size:.76rem; }
.lead-message p { overflow-wrap:anywhere; margin:3px 0 14px; color:#56637a; font-size:.8rem; }
.lead-followup-form { display:grid; gap:10px; border-top:1px solid #edf0f4; padding-top:13px; }
.lead-followup-form .field label { color:#40506b; font-size:.73rem; }
.lead-followup-form .field select,.lead-followup-form .field textarea { width:100%; border:1px solid #dce2eb; border-radius:7px; padding:8px 10px; background:#fff; color:#34425a; font:inherit; font-size:.78rem; }
.lead-followup-form .field textarea { min-height:82px; resize:vertical; }
.lead-followup-form .button { justify-self:start; padding:8px 12px; font-size:.78rem; }
.shipment-tracking-body { display:grid; gap:18px; }
.shipment-provider-notice { border:1px solid #f0d18a; border-radius:10px; padding:14px 16px; background:#fffbeb; color:#704f0b; }
.shipment-provider-notice>strong { display:flex; align-items:center; gap:8px; font-size:.84rem; }
.shipment-provider-notice p { margin:6px 0 0; font-size:.77rem; line-height:1.6; }
.shipment-provider-dot { width:9px; height:9px; border-radius:50%; background:#d97706; box-shadow:0 0 0 4px #d977061c; }
.shipment-create,.shipment-manage { border:1px solid #e4e9f0; border-radius:10px; padding:14px 16px; background:#fbfcfe; }
.shipment-create summary,.shipment-manage summary { color:#805f11; font-size:.85rem; font-weight:800; cursor:pointer; }
.shipment-form { display:grid; gap:13px; margin-top:15px; }
.shipment-form .field label { color:#40506b; }
.shipment-form .field input,.shipment-form .field select,.shipment-form .field textarea { border-color:#dce2eb; border-radius:7px; }
.shipment-form .field textarea { min-height:72px; }
.shipment-form .button { justify-self:start; border-radius:8px; }
.shipment-list { display:grid; gap:14px; }
.shipment-card { border:1px solid #e1e7f0; border-radius:12px; padding:18px; background:#fff; box-shadow:0 5px 16px #15264908; }
.shipment-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.shipment-card-heading .eyebrow { font-size:.65rem; letter-spacing:.09em; }
.shipment-card-heading h3 { margin:4px 0; color:#142443; font:700 1.05rem "Playfair Display",Georgia,serif; }
.shipment-card-heading p { margin:3px 0 0; color:#68758a; font-size:.79rem; }
.shipment-status { flex:0 0 auto; background:#eef2ff; color:#3730a3; }
.shipment-status-gate_in,.shipment-status-departed,.shipment-status-in_transit { background:#e0f2fe; color:#075985; }
.shipment-status-arrived,.shipment-status-customs { background:#fef3c7; color:#92400e; }
.shipment-status-delivered { background:#dcfce7; color:#166534; }
.shipment-status-delayed { background:#fee2e2; color:#991b1b; }
.shipment-status-cancelled { background:#f1f5f9; color:#64748b; }
.shipment-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:15px 0; border-block:1px solid #edf0f4; padding:13px 0; }
.shipment-facts div { min-width:0; }
.shipment-facts span { display:block; color:#7b879a; font-size:.64rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.shipment-facts strong { display:block; overflow-wrap:anywhere; margin-top:3px; color:#34425a; font-size:.77rem; }
.shipment-last-event,.shipment-last-updated,.shipment-poll-status { margin:8px 0; color:#58667c; font-size:.74rem; }
.shipment-last-event { border-left:3px solid #d4af37; padding-left:10px; }
.shipment-last-updated { color:#8791a1; font-size:.68rem; }
.shipment-manage { margin-top:12px; padding:11px 13px; background:#f8fafc; }
.shipment-manage-grid { display:grid; grid-template-columns:minmax(260px,1fr) minmax(260px,1fr); gap:18px; margin-top:12px; }
.shipment-update-form { align-content:start; }
.shipment-history h4 { margin:1px 0 10px; color:#142443; font:700 .9rem "Playfair Display",Georgia,serif; }
.shipment-history ol { display:grid; gap:11px; margin:0; padding:0 0 0 20px; }
.shipment-history li { padding-left:3px; color:#34425a; font-size:.75rem; }
.shipment-history li strong { display:block; color:#233451; }
.shipment-history li time,.shipment-history li span { display:block; color:#7b879a; font-size:.68rem; }
.shipment-history li p { margin:4px 0 0; overflow-wrap:anywhere; color:#58667c; white-space:normal; }
.shipment-empty { margin:0; color:#7b879a; font-size:.82rem; }
.shipment-poll-status { margin:0; text-align:right; }
.table-link { color:#8a6710; font-weight:800; text-decoration:none; }
.table-link:hover { color:#0b1b3d; text-decoration:underline; }
.admin-notice { margin:14px 0 0; border:1px solid #b8e5d3; border-radius:9px; padding:12px 15px; background:#ecfdf5; color:#065f46; }
.admin-notice.notice-error { border-color:#fecaca; background:#fef2f2; color:#991b1b; }
.purchase-order-table { min-width:1060px; }
.purchase-status-form { display:flex; align-items:center; gap:6px; }
.purchase-status-select { min-height:33px; border:1px solid #dfe5ed; border-radius:6px; padding:4px 7px; background:#fff; color:#40506b; font:600 .73rem "Plus Jakarta Sans",Arial,sans-serif; }
.purchase-status-save { min-height:32px; border:0; border-radius:6px; padding:4px 8px; background:#edf1f7; color:#293b5b; font:700 .7rem "Plus Jakarta Sans",Arial,sans-serif; cursor:pointer; }
.purchase-status-save:hover { background:#dce5f1; }
.campaign-form { display:grid; max-width:760px; gap:16px; }
.campaign-form .field label { color:#40506b; }
.campaign-form .field input,.campaign-form .field textarea { border-color:#dce2eb; border-radius:8px; }
.campaign-form .field input:focus,.campaign-form .field textarea:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.campaign-form .field textarea { min-height:190px; }
.campaign-help { color:#7b879a; font-size:.76rem; }
.campaign-confirm { display:flex; align-items:flex-start; gap:10px; color:#43516a; font-size:.83rem; }
.campaign-confirm input { width:17px; height:17px; flex:0 0 17px; margin:2px 0 0; accent-color:#9a7415; }
.campaign-form .button { justify-self:start; border-radius:8px; }
.campaign-form .button:disabled { cursor:not-allowed; opacity:.55; }
.website-contact-tool { max-width:760px; margin:0 0 24px; border:1px solid #e3e8f0; border-radius:11px; padding:18px; background:#fbfcfe; }
.website-contact-tool > summary,.website-contact-prompt > summary { color:#293b5b; font-size:.85rem; font-weight:800; cursor:pointer; }
.website-contact-tool > p { margin:8px 0 14px; color:#728097; font-size:.77rem; line-height:1.55; }
.website-contact-form { display:grid; gap:12px; }
.website-contact-form .field label { color:#40506b; font-size:.76rem; font-weight:700; }
.website-contact-form .field textarea { min-height:92px; border-color:#dce2eb; border-radius:8px; }
.website-contact-form .field textarea:focus,.website-contact-prompt textarea:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.website-contact-results { display:grid; gap:10px; margin-top:16px; }
.website-contact-result { border:1px solid #e5e9ef; border-radius:8px; padding:12px; background:#fff; }
.website-contact-result h4 { overflow-wrap:anywhere; margin:0 0 9px; color:#293b5b; font-size:.77rem; }
.website-contact-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; color:#465570; font-size:.77rem; }
.website-contact-columns ul { display:grid; gap:5px; margin:6px 0 0; padding:0; list-style:none; }
.website-contact-columns li { overflow-wrap:anywhere; }
.website-contact-columns li label { display:inline-flex; align-items:flex-start; gap:6px; }
.website-contact-columns input { margin:2px 0 0; accent-color:#9a7415; }
.website-contact-columns p { margin:6px 0 0; }
.website-contact-columns small { color:#7b879a; font-size:.7rem; }
.website-contact-linkedin { margin-top:12px; color:#465570; font-size:.77rem; }
.website-contact-linkedin ul { display:grid; gap:5px; margin:6px 0 0; padding-left:18px; }
.website-contact-linkedin li { overflow-wrap:anywhere; }
.website-contact-linkedin a { color:#1769aa; }
.website-contact-warnings { margin:10px 0 0; padding-left:18px; color:#8a5a10; font-size:.72rem; }
.website-contact-error { margin:0; color:#991b1b; font-size:.77rem; }
.website-contact-results > .button { justify-self:start; }
.website-contact-results > .campaign-help { margin:0; }
.website-contact-prompt { display:grid; gap:10px; margin-top:16px; border-top:1px solid #e3e8f0; padding-top:14px; }
.website-contact-prompt p { margin:0; }
.website-contact-prompt textarea { min-height:190px; resize:vertical; border-color:#dce2eb; border-radius:8px; color:#465570; font:inherit; font-size:.76rem; line-height:1.55; }
.website-contact-prompt .button { justify-self:start; }
.campaign-confirmation { display:grid; max-width:760px; gap:9px; border:1px solid #e6eaf0; border-radius:10px; padding:18px; background:#f8fafc; color:#43516a; }
.campaign-confirmation h3,.campaign-confirmation p { margin:0; }
.campaign-confirmation h3 { color:#142443; font-size:1rem; }
.campaign-confirmation .campaign-form { margin-top:8px; }
.campaign-result { display:grid; gap:5px; margin-bottom:18px; border:1px solid #b8e5d3; border-radius:9px; padding:14px 16px; background:#ecfdf5; color:#065f46; font-size:.84rem; }
.campaign-result small { margin-top:3px; color:#517768; }
.campaign-result-partial { border-color:#f4d28b; background:#fffbeb; color:#854d0e; }
.campaign-result-partial small { color:#8d6d3f; }

/* Invoice engine */
.engine-body { background:#f3f5f9; }
.engine-wrap { width:min(1000px, calc(100% - 36px)); margin:28px auto 60px; }
.engine-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; border-radius:15px; padding:23px 27px; background:linear-gradient(115deg,#08152f,#173461); color:#fff; }
.engine-heading h1 { margin:0; font:700 1.55rem "Playfair Display",Georgia,serif; }
.engine-heading p { margin:6px 0 0; color:#ccd4e1; font-size:.84rem; }
.engine-panel { margin:0; border-radius:13px; padding:25px; box-shadow:0 8px 24px #1526490b; }
.invoice-exporter-details { display:block; margin:0 0 18px; border:1px solid #dce2eb; border-left:4px solid #d4af37; border-radius:8px; padding:13px 15px; background:#f8fafc; color:#42516a; font-size:.82rem; }
.invoice-exporter-details > strong { display:block; margin-bottom:9px; color:#596781; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; }
.invoice-exporter-details .field label { font-size:.75rem; }
.engine-panel h2 { margin:24px 0 14px; padding-bottom:10px; border-bottom:1px solid #e9edf3; color:#142443; font:700 1.1rem "Playfair Display",Georgia,serif; }
.engine-panel h2:first-of-type { margin-top:0; }
.engine-panel .field label { color:#465570; }
.engine-panel .field input,.engine-panel .field select,.engine-panel .field textarea { border-color:#dce2eb; border-radius:8px; }
.engine-panel .field input:focus,.engine-panel .field select:focus,.engine-panel .field textarea:focus { border-color:#9c7b23; outline:3px solid #d4af3724; }
.invoice-item-row { margin:12px 0; padding:16px; border:1px solid #dce2eb; border-radius:10px; background:#fbfcfe; }
.invoice-item-row .remove-invoice-item { color:#842b32; }
.engine-submit { display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid #e9edf3; padding-top:17px; }
.engine-submit .button { min-height:46px; border-radius:8px; }

/* Branded PI / CI document */
.invoice-body { min-height:100vh; background:#f3f5f9 !important; }
.invoice-page { min-height:100vh; padding:28px 16px 60px; background:#f3f5f9 !important; }
.invoice-toolbar { display:flex; width:min(960px,100%); align-items:center; justify-content:space-between; gap:14px; margin:0 auto 16px; }
.invoice-toolbar-title { color:#1a2945; font-size:.88rem; font-weight:800; }
.invoice-toolbar-actions { display:flex; gap:9px; }
.invoice-toolbar .button { min-height:40px; border-radius:8px; }
.invoice-paper { position:relative; overflow:hidden; width:min(960px,100%); min-height:1050px; margin:0 auto; border:1px solid #e1e5ec; background:#f3f5f9; box-shadow:0 22px 65px #1b2b481c; }
.invoice-paper::before { position:absolute; top:0; left:0; width:100%; height:8px; background:linear-gradient(90deg,#0b1b3d 0 70%,#d4af37 70%); content:""; }
.invoice-paper--proforma::before { background:linear-gradient(90deg,#0b1b3d 0 70%,#d4af37 70%); }
.invoice-paper--commercial::before { background:linear-gradient(90deg,#0b1b3d 0 70%,#36836c 70%); }
.invoice-paper--purchase-order::before { background:linear-gradient(90deg,#0b1b3d 0 70%,#5276a8 70%); }
.invoice-inner { padding:44px 52px 35px; }
.invoice-masthead { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-bottom:23px; border-bottom:1px solid #e7eaf0; }
.invoice-company { display:flex; align-items:center; gap:14px; }
.invoice-seal { display:grid; width:58px; height:58px; flex:0 0 58px; place-items:center; border:2px solid #d4af37; border-radius:50%; background:#0b1b3d; color:#f2d777; font:700 .95rem "Playfair Display",Georgia,serif; }
.invoice-company h1 { margin:0; color:#102344; font:700 1.15rem "Playfair Display",Georgia,serif; letter-spacing:.015em; }
.invoice-company p { margin:5px 0 0; color:#78849a; font-size:.73rem; line-height:1.55; }
.invoice-kind { min-width:210px; text-align:right; }
.invoice-kind span { display:block; color:#9a7415; font-size:.65rem; font-weight:800; letter-spacing:.17em; text-transform:uppercase; }
.invoice-kind h2 { margin:3px 0 4px; color:#102344; font:700 1.65rem "Playfair Display",Georgia,serif; letter-spacing:.045em; }
.invoice-kind p { margin:0; color:#64728a; font-size:.78rem; }
.invoice-meta { display:grid; grid-template-columns:repeat(3,1fr); margin:20px 0 22px; border:1px solid #e5e9ef; border-radius:9px; background:#f8fafc; }
.invoice-meta div { padding:12px 15px; border-right:1px solid #e5e9ef; }
.invoice-meta div:last-child { border-right:0; }
.invoice-meta span,.invoice-block-label { display:block; color:#7c8799; font-size:.64rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.invoice-meta strong { display:block; margin-top:4px; color:#172644; font-size:.88rem; }
.invoice-parties { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:21px; }
.invoice-party { min-height:126px; border:1px solid #e6e9ef; border-radius:9px; padding:15px 17px; }
.invoice-party h3 { margin:0 0 9px; color:#7c8799; font-size:.66rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.invoice-party strong { display:block; color:#142443; font-size:.95rem; }
.invoice-party p { margin:5px 0 0; color:#56637a; font-size:.78rem; line-height:1.65; }
.invoice-section-title { margin:24px 0 11px; color:#132442; font:700 1.05rem "Playfair Display",Georgia,serif; }
.invoice-grid { display:grid; grid-template-columns:repeat(3,1fr); overflow:hidden; border:1px solid #e4e8ef; border-radius:9px; }
.invoice-grid div { min-height:69px; padding:12px 14px; border-right:1px solid #e8ebf1; border-bottom:1px solid #e8ebf1; }
.invoice-grid div:nth-child(3n) { border-right:0; }
.invoice-grid div:nth-last-child(-n+3) { border-bottom:0; }
.invoice-grid span { display:block; color:#7c8799; font-size:.63rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.invoice-grid strong { display:block; margin-top:5px; color:#20304e; font-size:.81rem; }
.invoice-table { margin-top:12px; border:1px solid #e0e5ed; border-radius:9px; overflow:hidden; }
.invoice-table table { font-size:.8rem; }
.invoice-table th { padding:12px 14px; background:#102344; color:#fff; font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; }
.invoice-table td { padding:14px; color:#394861; white-space:normal; }
.invoice-table tbody tr:last-child td { border-bottom:0; }
.invoice-discount-row td { background:#f3faf6; color:#236649; font-weight:700; }
.invoice-discount-row td:last-child { color:#236649; }
.invoice-total-row td { background:#f8fafc; color:#152443; font-weight:800; }
.invoice-total-row td:last-child { color:#87650d; font-size:1rem; }
.invoice-words { margin:15px 0 0; border-left:3px solid #d4af37; border-radius:0 7px 7px 0; padding:11px 14px; background:#fcfaf3; color:#4a5364; font-size:.75rem; line-height:1.65; }
.invoice-words strong { color:#28344b; }
.invoice-terms { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:14px; }
.invoice-term { border-radius:8px; padding:12px 14px; background:#f7f8fa; color:#536078; font-size:.74rem; line-height:1.65; }
.invoice-signature { display:flex; justify-content:flex-end; margin-top:38px; }
.invoice-signature div { width:210px; border-top:1px solid #aab3c0; padding-top:8px; color:#25344e; font-size:.76rem; font-weight:700; text-align:center; }
.invoice-bottom { display:flex; justify-content:space-between; gap:12px; margin-top:27px; border-top:1px solid #e7eaf0; padding-top:12px; color:#8791a1; font-size:.65rem; }
.invoice-money { font-variant-numeric:tabular-nums; white-space:nowrap; }
@page invoice-classic { size:A4 landscape; margin:8mm; }
.invoice-paper--classic { page:invoice-classic; width:min(1280px,100%); min-height:0; border:1px solid #555; box-shadow:0 18px 55px #1b2b4818; }
.invoice-classic-inner { padding:18px 20px 14px; color:#171717; font:10px/1.35 Arial,Helvetica,sans-serif; }
.classic-title { border:1px solid #555; text-align:center; }
.classic-title h1 { margin:0; padding:6px 10px; color:#171717; font:bold 21px/1.2 Arial,Helvetica,sans-serif; text-transform:uppercase; }
.classic-table { width:100%; margin:0; border-collapse:collapse; table-layout:fixed; color:#171717; }
.classic-table th,.classic-table td { border:1px solid #686868; padding:5px 6px; white-space:normal; vertical-align:top; }
.classic-table th { background:#102344; color:#fff; font:bold 9px/1.25 Arial,Helvetica,sans-serif; text-align:center; }
.classic-ref-table td { width:50%; height:112px; }
.classic-exporter { font-size:11px; line-height:1.55; }
.classic-reference { font-size:10px; line-height:1.75; }
.classic-date { float:right; }
.classic-party { width:50%; height:82px; font-size:10px; line-height:1.5; }
.classic-route td { width:25%; text-align:center; font-size:10px; }
.classic-route td strong { display:block; margin-bottom:3px; }
.classic-terms { border:1px solid #686868; border-top:0; padding:6px 8px; font-size:10px; line-height:1.7; }
.classic-goods { margin-top:0; font-size:9px; }
.classic-goods th { padding:6px 3px; }
.classic-goods td { padding:7px 4px; text-align:center; vertical-align:top; overflow-wrap:anywhere; }
.classic-goods td:nth-child(4) { text-align:left; }
.classic-total-row td { background:#f1f2f4; }
.classic-bottom-main { width:72%; }
.classic-bank { width:28%; min-height:260px; font-size:10px; line-height:2; }
.classic-packing,.classic-words,.classic-declaration { padding:9px 7px; text-align:center; }
.classic-packing { min-height:72px; }
.classic-words,.classic-declaration { border-top:1px solid #686868; text-align:left; }
.classic-container th { font-size:8px; }
.classic-container td { text-align:center; }
.classic-signature { margin:12px -6px -5px; border-top:1px solid #686868; padding:10px 5px 4px; text-align:center; line-height:1.45; }
.classic-footer { border-top:1px solid #686868; padding-top:5px; color:#565656; text-align:right; font-size:8px; }
.invoice-paper--classic::before { display:none; }
.invoice-paper--classic { border-color:#707985; box-shadow:0 16px 42px #17264416; }
.invoice-classic-inner { padding:14px; font-size:9px; line-height:1.35; }
.classic-title { border-color:#667085; background:#f7f9fc; }
.classic-title h1 { padding:9px 10px; color:#102344; font-size:22px; letter-spacing:.045em; }
.classic-table th,.classic-table td { border-color:#aab3c0; }
.classic-table th { background:#17365d; color:#fff; }
.classic-ref-table td { height:98px; }
.classic-exporter { color:#25344e; }
.classic-reference { line-height:1.65; }
.classic-party { height:74px; }
.classic-route td { background:#f4f6f9; }
.classic-terms { background:#fbfcfe; }
.classic-goods { font-size:8.5px; }
.classic-goods th { padding:7px 3px; font-size:8px; }
.classic-goods td { padding:9px 4px; }
.classic-goods th:nth-child(1) { width:4%; }
.classic-goods th:nth-child(2) { width:8%; }
.classic-goods th:nth-child(3) { width:9%; }
.classic-goods th:nth-child(4) { width:21%; }
.classic-goods th:nth-child(5) { width:8%; }
.classic-goods th:nth-child(6) { width:8%; }
.classic-goods th:nth-child(7),.classic-goods th:nth-child(8) { width:9%; }
.classic-goods th:nth-child(9) { width:12%; }
.classic-goods th:nth-child(10) { width:12%; }
.classic-total-row td { background:#f2f5f9; }
.classic-total-row:last-child td { background:#e8eef6; color:#102344; font-weight:700; }
.classic-bottom-main { width:70%; }
.classic-bank { width:30%; background:#fbfcfe; line-height:1.85; }
.classic-packing { min-height:64px; background:#fbfcfe; }
.classic-words { background:#fffdf6; }
.classic-container th { background:#17365d; }
.classic-signature { margin-top:18px; min-height:98px; }
.classic-footer { margin-top:4px; }
@media screen and (max-width:900px) {
  .invoice-paper--classic { width:100%; overflow-x:auto; }
  .invoice-classic-inner { min-width:920px; }
}
@page invoice-finstack { size:letter portrait; margin:0; }
.invoice-paper--finstack { page:invoice-finstack; width:min(820px,100%); min-height:0; overflow:visible; border:1px solid #d9e0eb; box-shadow:0 18px 50px #17264414; }
.invoice-paper--finstack::before { display:none; }
.finstack-invoice { padding:34px 40px 28px; color:#101a2d; font:12px/1.45 Aptos,"Aptos Display",Arial,Helvetica,sans-serif; }
.finstack-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin:-34px -40px 18px; border-bottom:1px solid #ffffff45; padding:22px 40px 18px; background:#10264d url("images/invoice-header-background.png") center/cover no-repeat; color:#fff; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.finstack-document-heading { min-width:0; text-align:right; }
.finstack-gstin { margin:5px 0 0; color:#111; font-size:12px; font-weight:600; }
.finstack-brand { display:flex; align-items:center; gap:12px; }
.finstack-header .site-brand-seal span { color:#f1d77f !important; }
.finstack-header .site-brand-copy strong { color:#fff !important; font:700 1.02rem/1.15 "Playfair Display",Georgia,serif; letter-spacing:.09em; }
.finstack-header .site-brand-copy strong span { color:#f1d77f !important; font-size:.78rem; letter-spacing:.18em; }
.finstack-header .site-brand-copy small { margin-top:6px; color:#f0f4fb !important; font-size:.57rem; font-weight:800; letter-spacing:.16em; }
.finstack-header .site-brand-copy small i { color:#f1d77f !important; font-style:normal; }
.finstack-seal { display:grid; width:48px; height:48px; flex:0 0 48px; place-items:center; border:1px solid #d4af37; border-radius:50%; background:radial-gradient(circle at 35% 28%,#19345c,#081832 70%); box-shadow:inset 0 0 0 4px #ffffff0c; }
.finstack-seal span { display:grid; width:34px; height:34px; place-items:center; border:1px solid #d4af378c; border-radius:50%; color:#f1d77f !important; font:bold 11px Georgia,serif; }
.finstack-company h2 { margin:0 0 2px; color:#102344; font:700 15px Georgia,serif; letter-spacing:.06em; line-height:1.2; }
.finstack-company .finstack-exporter-label { display:block; margin-bottom:4px; color:#f1d77f !important; font-size:9px; letter-spacing:.13em; }
.finstack-header .finstack-company h2,.finstack-header h1 { color:#fff !important; }
.finstack-company h2 span { color:#9a7415; font-size:11px; letter-spacing:.1em; }
.finstack-header .finstack-company h2 span { color:#f1d77f !important; }
.finstack-company small { display:block; margin-bottom:5px; color:#78849a; font-size:12px; font-weight:700; letter-spacing:.12em; }
.finstack-company p { margin:2px 0; color:#647084; font-size:12px; }
.finstack-header .finstack-company small,.finstack-header .finstack-company p,.finstack-header .finstack-company p span,.finstack-header .finstack-gstin { color:#f0f4fb !important; }
.finstack-company p span,.finstack-lower span { color:#aab3c0; }
.finstack-header h1 { margin:3px 0 0; color:#0f172a; font-size:20px; line-height:1.2; text-align:right; text-transform:uppercase; }
.finstack-meta { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:0; margin:16px 0; border:1px solid #e0e5ee; background:#f8f9fc; }
.finstack-meta div { padding:10px 11px; border-right:1px solid #e0e5ee; }
.finstack-meta div:last-child { border-right:0; }
.finstack-meta b,.finstack-trade-details b { display:block; margin-bottom:3px; color:#5b63d6; font-size:12px; letter-spacing:.04em; text-transform:uppercase; }
.finstack-meta span { display:block; color:#152238; font-size:12px; font-weight:700; overflow-wrap:anywhere; }
.finstack-exporter-details { margin:0 0 16px; border:1px solid #e0e5ee; border-left:4px solid #d4af37; border-radius:6px; padding:11px 13px; background:#fbfcfe; }
.finstack-exporter-details .finstack-company h2 { color:#102344; }
.finstack-exporter-details .finstack-company small { color:#78849a; }
.finstack-exporter-details .finstack-company .finstack-exporter-label { color:#9a7415 !important; }
.finstack-exporter-details .finstack-company p { color:#34425a; }
.finstack-parties { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:14px; }
.finstack-consignee { min-height:98px; padding:0 2px 14px; }
.finstack-parties .finstack-consignee { min-height:0; margin:0; border:1px solid #e0e5ee; border-radius:7px; padding:12px; }
.finstack-consignee h2,.finstack-lower h2 { margin:0 0 8px; color:#5b63d6; font-size:11px; }
.finstack-consignee strong { display:block; font-size:12px; }
.finstack-consignee div { margin-top:2px; color:#536176; font-size:12px; }
.finstack-trade-details { display:grid; grid-template-columns:1fr 1.35fr 1.2fr 1fr; gap:0; border-top:1px solid #e0e5ee; border-bottom:1px solid #e0e5ee; }
.finstack-trade-details div { min-height:52px; padding:9px 10px; border-right:1px solid #e0e5ee; }
.finstack-trade-details div:first-child { padding-left:2px; }
.finstack-trade-details div:last-child { border-right:0; }
.finstack-trade-details span { display:block; color:#25334a; font-size:12px; font-weight:600; }
.finstack-payment { margin:12px 0 16px; color:#27364c; font-size:13px; font-weight:400; line-height:1.5; }
.finstack-payment b { color:#17243a; }
.finstack-goods { width:100%; border:1px solid #c8d0dc; border-collapse:collapse; table-layout:fixed; font-size:12px; background:#fff; }
.finstack-goods th { padding:9px 8px; border:1px solid #c8d0dc; background:#5b63d6; color:#fff; font-size:12px; font-weight:700; text-align:left; }
.finstack-goods th { padding:8px 4px; font-size:10px; line-height:1.25; overflow-wrap:anywhere; }
.finstack-goods th:nth-child(1) { width:20%; }
.finstack-goods th:nth-child(2) { width:8%; }
.finstack-goods th:nth-child(3) { width:8%; }
.finstack-goods th:nth-child(4) { width:7%; }
.finstack-goods th:nth-child(5) { width:7%; }
.finstack-goods th:nth-child(6) { width:9%; }
.finstack-goods th:nth-child(7) { width:10%; }
.finstack-goods th:nth-child(8) { width:10%; }
.finstack-goods th:nth-child(9) { width:11%; text-align:right; }
.finstack-goods th:nth-child(10) { width:10%; text-align:right; }
.finstack-goods td { min-height:55px; padding:10px 4px; border:1px solid #d9e0eb; background:#fff; color:#1b2940; vertical-align:top; overflow-wrap:anywhere; word-break:break-word; font-size:10px; line-height:1.35; }
.finstack-goods td:nth-child(1),.finstack-goods td:nth-child(2) { min-width:0; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.finstack-goods td:nth-child(8),.finstack-goods td:nth-child(9) { font-size:9px; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.finstack-goods td:nth-child(9),.finstack-goods td:last-child { text-align:right; font-weight:700; white-space:normal; overflow-wrap:anywhere; word-break:break-all; font-variant-numeric:tabular-nums; }
.finstack-goods td strong { display:block; }
.finstack-goods td small { display:block; margin-top:4px; color:#6d788a; font-size:12px; line-height:1.4; }
.finstack-goods td:nth-child(6) small { font-size:8px; line-height:1.25; overflow-wrap:anywhere; }
.finstack-goods tbody td:nth-child(3),.finstack-goods tbody td:nth-child(4),.finstack-goods tbody td:nth-child(5),.finstack-goods tbody td:nth-child(6),.finstack-goods tbody td:nth-child(7),.finstack-goods tbody td:nth-child(8) { text-align:center; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.finstack-product { min-width:0; }
.finstack-product strong { font-size:10px; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.finstack-product small { overflow-wrap:anywhere; }
.finstack-summary { display:grid; grid-template-columns:1fr minmax(230px,43%); gap:22px; padding-top:13px; }
.finstack-logistics { color:#526075; font-size:12px; }
.finstack-logistics p { margin:3px 0; }
.finstack-logistics b { color:#27364c; }
.finstack-totals div { display:flex; justify-content:space-between; gap:16px; border-bottom:1px solid #e6eaf0; padding:7px 0; color:#59667a; font-size:12px; }
.finstack-totals strong { color:#1c2a40; font-variant-numeric:tabular-nums; white-space:nowrap; }
.finstack-totals .finstack-declared { margin-top:4px; border:0; padding:11px 12px; background:#eef0ff; color:#17243a; font-size:12px; }
.finstack-totals .finstack-declared strong { color:#414bb8; font-size:12px; }
.finstack-words { display:grid; gap:4px; margin-top:17px; border:1px solid #e1e5f3; padding:11px 13px; background:#f8f9ff; }
.finstack-words b { color:#5b63d6; font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
.finstack-words span { color:#26354c; font-size:12px; }
.finstack-lower { display:grid; grid-template-columns:1fr; gap:14px; margin-top:18px; padding-top:14px; border-top:1px solid #e0e5ee; }
.finstack-lower h2 { margin-bottom:7px; }
.finstack-lower p { margin:3px 0; color:#556277; font-size:12px; overflow-wrap:anywhere; }
.finstack-lower p b { color:#26354c; }
.finstack-signature { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin-top:25px; color:#27364c; font-size:12px; font-weight:700; }
.finstack-sign-line { width:210px; min-height:22px; border-top:1px solid #68758a; padding-top:8px; text-align:center; font-size:12px; font-weight:800; }
.finstack-invoice,.finstack-invoice * { color:#111 !important; }
.finstack-goods th { color:#fff !important; }
@media screen and (max-width:700px) {
  .invoice-paper--finstack { overflow-x:auto; }
  .finstack-invoice { min-width:620px; padding:25px; }
  .finstack-header { margin:-25px -25px 18px; padding:18px 25px 15px; }
}
@page invoice-professional { size:A4 portrait; margin:10mm; }
.invoice-paper--professional { page:invoice-professional; width:min(1040px,100%); min-height:0; border:1px solid #dce2eb; border-radius:13px; box-shadow:0 22px 65px #1b2b4818; }
.invoice-professional-inner { padding:42px 48px 32px; color:#1c2940; font:13px/1.5 "Plus Jakarta Sans",Arial,sans-serif; }
.professional-header { display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid #e1e6ee; padding:0 0 23px; }
.professional-brand { display:flex; align-items:center; gap:14px; min-width:0; }
.professional-mark { display:grid; width:54px; height:54px; flex:0 0 54px; place-items:center; border-radius:15px; background:#102344; color:#f2d777; font:700 1rem "Playfair Display",Georgia,serif; }
.professional-brand p,.professional-doc-title>span { margin:0 0 5px; color:#9a7415; font-size:.62rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.professional-brand h1 { margin:0; color:#102344; font:700 1.2rem "Playfair Display",Georgia,serif; letter-spacing:.025em; }
.professional-brand span { display:block; margin-top:5px; color:#69768b; font-size:.68rem; }
.professional-doc-title { text-align:right; }
.professional-doc-title h2 { margin:0; color:#102344; font:700 1.65rem/1.15 "Playfair Display",Georgia,serif; }
.professional-doc-title p { margin:5px 0 0; color:#7b879a; font-size:.72rem; }
.invoice-paper--commercial .professional-doc-title h2 { color:#286c59; }
.professional-references { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); margin:18px 0; overflow:hidden; border:1px solid #e2e7ef; border-radius:9px; background:#f8fafc; }
.professional-references div { min-height:62px; padding:11px 14px; border-right:1px solid #e2e7ef; }
.professional-references div:last-child { border-right:0; }
.professional-references span,.professional-shipment span,.professional-detail-grid span { display:block; color:#7d899b; font-size:.61rem; font-weight:800; letter-spacing:.075em; text-transform:uppercase; }
.professional-references strong { display:block; margin-top:5px; color:#1a2945; font-size:.78rem; overflow-wrap:anywhere; }
.professional-parties { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.professional-card { border:1px solid #e1e6ee; border-radius:9px; padding:15px 17px; background:#fff; }
.professional-label { display:block; margin-bottom:7px; color:#9a7415; font-size:.61rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.professional-card h3 { margin:0; color:#172644; font-size:.9rem; font-weight:800; }
.professional-card p { margin:6px 0 0; color:#59677e; font-size:.72rem; line-height:1.7; overflow-wrap:anywhere; }
.professional-shipment { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:14px; overflow:hidden; border:1px solid #e1e6ee; border-radius:9px; }
.professional-shipment div { min-height:62px; padding:10px 12px; border-right:1px solid #e8ecf2; border-bottom:1px solid #e8ecf2; }
.professional-shipment div:nth-child(4n) { border-right:0; }
.professional-shipment div:nth-last-child(-n+4) { border-bottom:0; }
.professional-shipment strong { display:block; margin-top:5px; color:#23334f; font-size:.72rem; }
.professional-payment { margin-top:12px; border-left:3px solid #d4af37; border-radius:0 7px 7px 0; padding:10px 13px; background:#fbf9f2; }
.professional-payment span,.professional-words>span { color:#8c6a15; font-size:.61rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.professional-payment p { margin:4px 0 0; color:#4e5b70; font-size:.72rem; }
.professional-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:24px 0 9px; }
.professional-section-heading h3 { margin:0; color:#172644; font:700 1.02rem "Playfair Display",Georgia,serif; }
.professional-section-heading span { border-radius:20px; padding:5px 10px; background:#eef2f7; color:#45536b; font-size:.65rem; font-weight:800; }
.professional-table-wrap { overflow-x:auto; border:1px solid #dfe5ee; border-radius:9px; }
.professional-goods-table { width:100%; min-width:680px; border-collapse:collapse; font-size:.7rem; }
.professional-goods-table th { padding:10px 9px; background:#102344; color:#fff; font-size:.59rem; font-weight:800; letter-spacing:.045em; text-align:left; text-transform:uppercase; }
.professional-goods-table td { padding:13px 9px; border-bottom:1px solid #e8ecf2; color:#34425a; vertical-align:top; white-space:normal; }
.professional-goods-table td:first-child { color:#8b6a17; font-weight:800; }
.professional-goods-table td:last-child { color:#142443; font-weight:800; white-space:nowrap; }
.professional-goods-table td strong { color:#172644; }
.professional-goods-table td small { display:block; margin-top:4px; color:#78849a; font-size:.62rem; line-height:1.5; }
.professional-goods-table tfoot td { border-top:1px solid #dce3ec; padding:10px 9px; font-variant-numeric:tabular-nums; }
.professional-goods-table tfoot td:last-child { text-align:right; white-space:nowrap; }
.professional-subtotal-row td { background:#f5f7fa; color:#34425a; font-size:.68rem; }
.professional-discount-row td { background:#f2faf6; color:#287052; font-size:.68rem; }
.professional-grand-total td { border-top:2px solid #102344 !important; background:#102344; color:#fff !important; font-size:.76rem; font-weight:800; }
.professional-grand-total td:last-child { color:#f5d875 !important; font-size:.9rem; }
.professional-totals { display:grid; grid-template-columns:1fr minmax(240px,310px); gap:20px; align-items:start; margin-top:13px; }
.professional-total-details { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; padding:8px 0; }
.professional-total-details span { color:#78849a; font-size:.68rem; }
.professional-total-details strong { color:#34425a; font-size:.7rem; }
.professional-total-card { border:1px solid #dce3ec; border-radius:10px; padding:15px 17px; background:#f8fafc; text-align:right; }
.professional-total-card>span { display:block; color:#67758b; font-size:.63rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.professional-total-card>strong { display:block; margin-top:5px; color:#102344; font-size:1.35rem; font-variant-numeric:tabular-nums; }
.professional-total-card>strong small { color:#78849a; font-size:.65rem; }
.professional-total-card div { display:flex; justify-content:space-between; gap:10px; margin-bottom:10px; border-bottom:1px solid #e1e6ee; padding-bottom:9px; color:#68758a; font-size:.68rem; }
.professional-words { margin-top:13px; border:1px solid #e6e0cc; border-radius:8px; padding:11px 14px; background:#fcfaf3; }
.professional-words p { margin:4px 0 0; color:#39465d; font-size:.74rem; }
.professional-bottom { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:15px; }
.professional-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:10px; }
.professional-detail-grid strong { display:block; margin-top:4px; color:#34425a; font-size:.7rem; overflow-wrap:anywhere; }
.professional-bank { background:#fbfcfe; }
.professional-declaration { margin-top:15px; border-top:1px solid #e4e8ef; padding-top:11px; }
.professional-declaration strong { color:#31405a; font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; }
.professional-declaration p { margin:4px 0 0; color:#67758a; font-size:.67rem; }
.professional-footer { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-top:35px; border-top:1px solid #dfe4ec; padding-top:12px; color:#7c8799; font-size:.62rem; }
.professional-footer div { display:grid; width:220px; gap:3px; border-top:1px solid #9da8b8; padding-top:7px; color:#34425a; text-align:center; }
.professional-footer div span { color:#768298; font-size:.6rem; }
@media (max-width:760px) {
  .invoice-professional-inner { padding:28px 22px 24px; }
  .professional-header { align-items:flex-start; flex-direction:column; }
  .professional-doc-title { text-align:left; }
  .professional-references { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .professional-references div:nth-child(2n) { border-right:0; }
  .professional-references div:nth-child(-n+2) { border-bottom:1px solid #e2e7ef; }
  .professional-shipment { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .professional-shipment div:nth-child(2n) { border-right:0; }
  .professional-shipment div:nth-child(4n) { border-right:0; }
  .professional-shipment div:nth-last-child(-n+4) { border-bottom:1px solid #e8ecf2; }
  .professional-shipment div:nth-last-child(-n+2) { border-bottom:0; }
  .professional-totals { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .invoice-professional-inner { padding:21px 14px; }
  .professional-parties,.professional-bottom { grid-template-columns:1fr; }
  .professional-brand h1 { font-size:1rem; }
  .professional-doc-title h2 { font-size:1.4rem; }
  .professional-footer { align-items:flex-start; flex-direction:column; }
}

/* Public navigation */
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; clip-path:inset(50%); }
.site-topbar { position:relative; z-index:61; background:#091832; color:#e5e7eb; font-size:.72rem; }
.site-topbar-inner { display:flex; min-height:34px; align-items:center; justify-content:space-between; gap:14px; }
.site-topbar-note,.site-topbar-contact { display:flex; align-items:center; gap:10px; }
.site-topbar-note { color:#e8d18a; font-weight:700; letter-spacing:.035em; }
.site-topbar-note>span { color:#f3d574; }
.site-topbar-note i { display:block; width:4px; height:4px; border-radius:50%; background:#9eabc0; }
.site-topbar-contact a { color:#d6dce7; text-decoration:none; transition:color .16s; }
.site-topbar-contact a:hover { color:#f3d574; }
.site-header { position:sticky; z-index:60; top:0; border-bottom:1px solid #e5e9ef; background:#ffffffed; box-shadow:0 5px 20px #1023440a; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.site-header-inner { display:flex; min-height:86px; align-items:center; justify-content:space-between; gap:22px; }
.site-brand { display:flex; flex:0 0 auto; align-items:center; gap:12px; color:#102344; text-decoration:none; }
.site-brand-seal { display:grid; width:53px; height:53px; place-items:center; border:1px solid #d4af37; border-radius:50%; background:radial-gradient(circle at 35% 28%,#19345c,#081832 70%); box-shadow:inset 0 0 0 4px #ffffff0c,0 3px 10px #1023441a; }
.site-brand-seal span { display:grid; width:37px; height:37px; place-items:center; border:1px solid #d4af378c; border-radius:50%; color:#f1d77f; font:700 .78rem "Playfair Display",Georgia,serif; }
.site-brand-copy { display:flex; flex-direction:column; line-height:1.15; }
.site-brand-copy strong { color:#102344; font:700 1.02rem "Playfair Display",Georgia,serif; letter-spacing:.09em; }
.site-brand-copy strong span { color:#9a7415; font-size:.78rem; letter-spacing:.18em; }
.site-brand-copy small { margin-top:6px; color:#78849a; font-size:.57rem; font-weight:800; letter-spacing:.16em; }
.site-brand-copy small i { color:#c39a2d; font-style:normal; }
.site-navigation { display:flex; align-items:center; justify-content:flex-end; gap:5px; }
.site-nav-link { position:relative; display:inline-flex; min-height:42px; align-items:center; border-radius:7px; padding:0 12px; color:#4e5b72; font-size:.82rem; font-weight:700; text-decoration:none; transition:background .17s,color .17s; }
.site-nav-link:hover,.site-nav-link.is-active { background:#f4f1e8; color:#805f11; }
.site-nav-link.is-active::after { position:absolute; right:12px; bottom:3px; left:12px; height:2px; border-radius:2px; background:#c6a238; content:""; }
.site-nav-admin { display:inline-flex; min-height:40px; align-items:center; gap:13px; margin-left:5px; border:1px solid #263858; border-radius:7px; padding:0 12px; background:#102344; color:#f1d77f; font-size:.76rem; font-weight:800; text-decoration:none; box-shadow:0 3px 9px #10234420; transition:background .17s,transform .17s; }
.site-nav-admin:hover { transform:translateY(-1px); background:#1b355d; }
.site-nav-admin span:last-child { color:#fff; font-size:.9rem; }
.site-language { margin:0 0 0 4px; }
.site-language select { min-height:38px; max-width:118px; border:1px solid #e1e5ec; border-radius:7px; padding:0 9px; background:#fff; color:#4a566c; font:600 .74rem "Plus Jakarta Sans",Arial,sans-serif; cursor:pointer; }
.site-language select:focus-visible,.site-menu-toggle:focus-visible,.site-navigation a:focus-visible { outline:3px solid #d4af3766; outline-offset:2px; }
.site-menu-toggle { display:none; }
@media (max-width: 900px) {
  .site-header-inner { min-height:75px; }
  .site-menu-toggle { display:flex; align-items:center; gap:9px; border:1px solid #e0e5ed; border-radius:8px; padding:9px 11px; background:#fff; color:#182744; font:700 .8rem "Plus Jakarta Sans",Arial,sans-serif; cursor:pointer; }
  .site-menu-icon { display:grid; gap:4px; }
  .site-menu-icon i { display:block; width:17px; height:2px; border-radius:2px; background:#a17a18; transition:transform .17s; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon i:first-child { transform:translateY(6px) rotate(45deg); }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon i:nth-child(2) { opacity:0; }
  .site-menu-toggle[aria-expanded="true"] .site-menu-icon i:last-child { transform:translateY(-6px) rotate(-45deg); }
  .site-navigation { position:absolute; top:calc(100% + 1px); right:0; left:0; display:none; align-items:stretch; gap:5px; border-bottom:1px solid #e2e7ef; padding:12px max(20px,calc((100vw - 1180px)/2)); background:#fff; box-shadow:0 14px 24px #10234417; }
  .site-navigation.is-open { display:flex; flex-direction:column; }
  .site-nav-link { min-height:43px; padding:0 12px; }
  .site-nav-link.is-active::after { right:auto; bottom:8px; left:0; width:2px; height:26px; }
  .site-nav-admin { justify-content:space-between; margin:3px 0; }
  .site-language { margin:4px 0 0; }
  .site-language select { width:100%; max-width:none; }
}
@media (max-width: 560px) {
  .site-topbar-inner { min-height:31px; justify-content:center; }
  .site-topbar-note { display:none; }
  .site-topbar-contact { display:flex; gap:0; font-size:.68rem; white-space:nowrap; }
  .site-topbar-contact a[href^="tel:"] { display:none; }
  .site-header-inner { min-height:68px; }
  .site-brand { gap:9px; }
  .site-brand-seal { width:45px; height:45px; }
  .site-brand-seal span { width:32px; height:32px; font-size:.7rem; }
  .site-brand-copy strong { font-size:.9rem; }
  .site-brand-copy strong span { font-size:.7rem; }
  .site-brand-copy small { margin-top:5px; font-size:.51rem; }
}
@media (max-width: 800px) {
  .invoice-panel-head { grid-template-columns:1fr 1fr; align-items:stretch; }
  .invoice-panel-head > div:first-child { grid-column:1 / -1; }
  .invoice-panel-head .invoice-create-picker { min-width:0; }
  .invoice-panel-head .invoice-create-picker select { min-width:0; max-width:100%; }
  .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-top { align-items:flex-start; }
  .invoice-inner { padding:35px 28px 28px; }
  .invoice-kind { min-width:160px; }
  .shipment-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shipment-manage-grid { grid-template-columns:1fr; }
  .cost-build-up-grid { grid-template-columns:1fr; }
}
@media (min-width: 801px) {
  .admin-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .invoice-panel-head { grid-template-columns:minmax(0,1fr); gap:12px; padding:18px 16px; }
  .invoice-panel-head > div:first-child { grid-column:auto; }
  .invoice-panel-head .invoice-create-picker { display:grid; grid-template-columns:auto minmax(0,1fr); width:100%; }
  .invoice-panel-head .invoice-create-picker select { width:100%; }
  .invoice-panel-head #invoice-create-link { grid-column:1 / -1; justify-content:center; }
  .dashboard-pagination { align-items:flex-start; flex-direction:column; }
  .admin-wrap { width:calc(100% - 24px); margin-top:14px; }
  .admin-top { min-height:unset; padding:22px 18px; }
  .admin-brand { align-items:flex-start; }
  .admin-brand-mark { width:45px; height:45px; flex-basis:45px; }
  .admin-top-actions { width:100%; margin-left:61px; }
  .admin-top .button { padding:9px 11px; }
  .lead-facts { grid-template-columns:1fr; }
  .lead-details-body { width:min(520px,calc(100vw - 72px)); }
  .shipment-card { padding:14px; }
  .shipment-card-heading { flex-direction:column; }
  .shipment-provider-notice { padding:12px; }
  .shipment-create,.shipment-manage { padding:12px; }
  .shipment-facts { gap:10px; }
  .shipment-poll-status { text-align:left; }
  .admin-nav { gap:3px; }
  .admin-nav a { padding:8px; font-size:.75rem; }
  .admin-nav a.admin-nav-primary { margin-left:0; }
  .admin-metrics { gap:9px; }
  .metric-card { min-height:116px; padding:14px; }
  .metric-value { font-size:1.45rem; }
  .admin-panel-head,.admin-panel-body { padding:17px; }
  .website-contact-tool { padding:13px; }
  .website-contact-columns { grid-template-columns:1fr; }
  .cost-build-up-settings { grid-template-columns:1fr 1fr; }
  .cost-input-row { grid-template-columns:minmax(0,1fr) 105px; gap:10px; padding:12px; }
  .cost-total-card > strong { font-size:1.25rem; }
  .engine-heading { align-items:flex-start; padding:19px; }
  .engine-panel { padding:18px; }
  .engine-submit { align-items:flex-start; flex-direction:column; }
  .invoice-page { padding:13px 8px 30px; }
  .invoice-toolbar { align-items:flex-start; }
  .invoice-toolbar .button { padding:8px 10px; font-size:.78rem; }
  .invoice-inner { padding:29px 18px 23px; }
  .invoice-masthead { align-items:flex-start; flex-direction:column; }
  .invoice-kind { text-align:left; }
  .invoice-meta { grid-template-columns:1fr; }
  .invoice-meta div { border-right:0; border-bottom:1px solid #e5e9ef; }
  .invoice-meta div:last-child { border-bottom:0; }
  .invoice-parties { grid-template-columns:1fr; }
  .invoice-grid { grid-template-columns:repeat(2,1fr); }
  .invoice-grid div:nth-child(3n) { border-right:1px solid #e8ebf1; }
  .invoice-grid div:nth-child(2n) { border-right:0; }
  .invoice-grid div:nth-last-child(-n+3) { border-bottom:1px solid #e8ebf1; }
  .invoice-grid div:last-child { border-bottom:0; }
  .invoice-terms { grid-template-columns:1fr; }
}
@page { margin:14mm; size:A4; }
@media print {
  body, .engine-body, .invoice-body, .invoice-page { background:#f3f5f9 !important; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .invoice-page { min-height:auto; padding:0; }
  .invoice-paper { width:100%; min-height:0; border:0; background:#f3f5f9 !important; box-shadow:none; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .invoice-paper--classic { width:100%; overflow:visible; border:0; box-shadow:none; }
  .invoice-paper--finstack { width:100%; border:0; box-shadow:none; }
  .invoice-paper--professional { width:100%; border:0; border-radius:0; box-shadow:none; }
  .invoice-paper .finstack-header { display:flex !important; }
  .invoice-paper .finstack-signature { display:flex !important; }
  .invoice-paper::before { height:5px; }
  .invoice-inner { padding:25px 20px 20px; }
  .invoice-classic-inner { min-width:0; padding:0; }
  .finstack-invoice { min-width:0; padding:12mm; }
  .finstack-header { margin:-12mm -12mm 18px; padding:18px 12mm 15px; background:#10264d url("images/invoice-header-background.png") center/cover no-repeat !important; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .finstack-header,.finstack-meta,.finstack-parties,.finstack-consignee,.finstack-trade-details,.finstack-goods,.finstack-summary,.finstack-words,.finstack-lower,.finstack-signature { break-inside:avoid; }
  .finstack-signature { display:flex !important; visibility:visible !important; min-height:48px; margin-top:18px; page-break-inside:avoid; break-inside:avoid; color:#27364c !important; font-size:12px !important; }
  .finstack-sign-line { display:block !important; min-height:27px; border-top:1px solid #68758a !important; color:#27364c !important; font-size:12px !important; font-weight:800 !important; }
  .finstack-goods thead { display:table-header-group; }
  .finstack-goods tr { break-inside:avoid; }
  .classic-table,.classic-bottom,.classic-goods,.classic-container { break-inside:avoid; }
  .classic-goods thead { display:table-header-group; }
  .classic-goods tr,.classic-container tr { break-inside:avoid; }
  .invoice-professional-inner { padding:0; }
  .professional-header,.professional-references,.professional-parties,.professional-shipment,.professional-payment,.professional-section-heading,.professional-table-wrap,.professional-totals,.professional-words,.professional-bottom,.professional-declaration,.professional-footer { break-inside:avoid; }
  .professional-goods-table thead { display:table-header-group; }
  .professional-goods-table tr { break-inside:avoid; }
  .invoice-toolbar { display:none; }
  .invoice-section-title,.invoice-masthead,.invoice-meta,.invoice-party,.invoice-grid,.invoice-table,.invoice-terms,.invoice-words,.invoice-signature,.invoice-bottom { break-inside:avoid; }
  .invoice-table thead { display:table-header-group; }
  .invoice-table tr { break-inside:avoid; }
  .invoice-paper,.invoice-paper * { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .invoice-paper,.invoice-paper * { font-family:Arial,Helvetica,sans-serif !important; }
  .finstack-invoice,.finstack-invoice * { color:#111 !important; }
  .finstack-header .site-brand-seal span { color:#f1d77f !important; }
  .finstack-header .site-brand-copy strong { color:#fff !important; font:700 1.02rem/1.15 "Playfair Display",Georgia,serif !important; letter-spacing:.09em; }
  .finstack-header .site-brand-copy strong span,.finstack-header .site-brand-copy small i { color:#f1d77f !important; }
  .finstack-header .site-brand-copy small { color:#f0f4fb !important; font-size:.57rem !important; font-weight:800 !important; letter-spacing:.16em; }
  .finstack-goods th { color:#fff !important; }
  .invoice-company h1,.invoice-kind h2,.invoice-total-row td:last-child { color:#102344 !important; }
  .admin-top,.engine-heading { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
