/* Owner 2026-11-11: printed documents (invoice, seller subscription, warranty terms, legal pages, shipping / order slip) in the portal's own look:
   Cairo font, navy headings, a blue accent, light lines, numbers that line up. On paper: no background, no shadow. Used by PrintHtml and VendorOrders/Print. */
@font-face{font-family:"Cairo";font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/cairo-arabic-variable.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:"Cairo";font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/cairo-latin-ext-variable.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Cairo";font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/cairo-latin-variable.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--pr-ink:#0c1a3a;--pr-muted:#56627a;--pr-line:#dde4ef;--pr-soft:#f3f6fb;--pr-accent:#1d4fd8;--pr-bg:#eef2f8}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:"Cairo","Segoe UI",Tahoma,Arial,"Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--pr-ink);background:var(--pr-bg);font-size:14px;line-height:1.6;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.bar{position:sticky;top:0;z-index:2;display:flex;justify-content:center;gap:10px;max-width:none;margin:0;padding:12px 16px;background:color-mix(in srgb,var(--pr-bg) 88%,transparent);backdrop-filter:blur(6px);text-align:center}
.bar button{font:600 14px/1 inherit;font-family:inherit;height:40px;padding:0 22px;border-radius:999px;border:0;background:var(--pr-accent);color:#fff;cursor:pointer;box-shadow:0 2px 8px rgba(29,79,216,.25)}
.bar button:hover{filter:brightness(1.08)}
.bar button:focus-visible{outline:3px solid rgba(29,79,216,.4);outline-offset:2px}
.sheet{max-width:820px;margin:8px auto 32px;background:#fff;padding:36px 40px;border:1px solid var(--pr-line);border-radius:14px;box-shadow:0 1px 2px rgba(12,26,58,.05),0 8px 24px rgba(12,26,58,.06)}
h1{font-size:22px;font-weight:800;line-height:1.3;margin:0 0 18px;padding-bottom:12px;border-bottom:3px solid var(--pr-accent);letter-spacing:.01em}
/* PrintHtml documents: one row per line, cells side by side; the last cell (amounts) lines up at the end */
.row{display:flex;gap:16px;padding:7px 2px;border-bottom:1px solid var(--pr-line)}
.row>span{flex:1;min-width:0;overflow-wrap:break-word}
.row>span:last-child:not(:first-child){text-align:end;font-variant-numeric:tabular-nums}
.sep{border-top:1px solid var(--pr-ink);margin:14px 0;opacity:.35}
.cell-num{unicode-bidi:plaintext}
bdi{unicode-bidi:isolate}
/* shipping / order slip (VendorOrders/Print) */
.muted{color:var(--pr-muted);font-size:13px}
.top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:3px solid var(--pr-accent);padding-bottom:14px}
.top h1{border:0;padding:0;margin:0 0 6px}
.bc{text-align:center}.bc svg{display:block;height:64px;width:260px}.bc div{font:12px ui-monospace,Consolas,monospace;letter-spacing:2px}
.cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.box{border:1px solid var(--pr-line);padding:14px 16px;border-radius:10px;background:#fff}
.box h2{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--pr-muted)}
.box p{margin:4px 0;font-size:14px}
table{width:100%;border-collapse:collapse;font-size:14px}
th{background:var(--pr-soft);color:var(--pr-muted);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
th,td{border-bottom:1px solid var(--pr-line);padding:8px 10px;text-align:start;vertical-align:top}
td:last-child,th:last-child{text-align:end;font-variant-numeric:tabular-nums}
.hf{text-align:center;font-size:13px;color:var(--pr-muted)}.hf div{margin:2px 0}
.hf.h{border-bottom:1px solid var(--pr-line);padding-bottom:10px;margin-bottom:14px}.hf.f{border-top:1px solid var(--pr-line);padding-top:10px;margin-top:18px}
@media (max-width:640px){.sheet{padding:22px 18px;border-radius:0;margin:0}.cols{grid-template-columns:1fr}.top{flex-direction:column}}
@page{margin:12mm}
@media print{body{background:#fff}.sheet{border:0;border-radius:0;box-shadow:none;margin:0;max-width:none;padding:0}.bar{display:none}}
.gap{height:10px}
/* legal pages (formatted text) */
.sheet.rich h2{font-size:17px;margin:22px 0 8px}.sheet.rich h3{font-size:15px;margin:18px 0 6px}.sheet.rich p,.sheet.rich li{font-size:14px}.sheet.rich ul,.sheet.rich ol{padding-inline-start:22px}
.sheet.rich h1+h2{margin-top:0}
.sheet.rich>h2:first-child{font-size:22px;font-weight:800;line-height:1.3;margin:0 0 18px;padding-bottom:12px;border-bottom:3px solid var(--pr-accent)}
/* the name like the logo (owner 2026-11-11) */
.mk-wm{font-weight:700;white-space:nowrap;color:#0c1e3d;unicode-bidi:isolate}.mk-wm b{font-weight:inherit;color:var(--pr-accent)}
h1 .mk-wm,th .mk-wm,.bar .mk-wm,.bar .mk-wm b{font-weight:inherit}.bar button .mk-wm,.bar button .mk-wm b{color:inherit}
