/* Vierasopas tools – Arvosteluohje vieraille (uses the base .vot-* styles from rules.css) 2026-10-14 */
#vot-review{margin-top:36px}
#vot-review *{box-sizing:border-box}
#vot-review .vot-out{display:flex!important}
#vot-review .vot-sec h3{margin:0 0 14px!important}
#vot-review .vot-hint{font-size:13.5px!important;line-height:1.5!important}
#vot-review .vot-hint a{color:var(--ink)!important;text-decoration:underline}
#vot-review .vot-small{font-size:12.5px!important;line-height:1.45!important}
#vot-review .vot-field>span{font-size:14px!important;line-height:1.35!important}
#vot-review .vot-field textarea{resize:vertical;min-height:72px}
#vot-review .vot-seg{margin:0!important}
#vot-review .vot-seg-lg button{height:40px;padding:0 16px;font-size:14.5px}
#vot-review button.vot-btn{background:#FFFF00!important;color:#161514!important;font-size:16px!important;font-weight:600!important;line-height:1!important;border:0!important;box-shadow:none!important}
#vot-review button.vot-btn.vot-btn-dark{background:#161514!important;color:#fff!important}
#vot-review button.vot-btn.vr-ghost{background:var(--bg)!important;color:#161514!important}
#vot-review button.vot-btn:disabled{opacity:.5}
#vot-review .vot-cta a.vot-btn{background:#FFFF00!important;color:#161514!important}
.vr-p{margin:0!important;font-size:15px!important;line-height:1.5!important;color:var(--body)!important;padding:0!important}
.vr-btns,.vr-act{display:flex;flex-wrap:wrap;gap:10px}
.vr-btns .vot-btn,.vr-act .vot-btn{margin-top:14px}
.vr-edit{margin-top:6px}
.vr-lh{margin:18px 0 0!important;font-size:13px!important;font-weight:800!important;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)!important;padding:0!important}
@media (max-width:999px){#vot-review .vot-grid{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:690px){#vot-review{margin-top:28px}#vot-review .vot-seg-lg button{padding:0 12px;font-size:14px}.vr-act .vot-btn{flex:1 1 140px}}

/* ---------- the A4 sheet (210 x 297 mm = 794 x 1123 px) ---------- */
.vr-sheet{--ink:#161514;--ink2:#4A4744;--stone:#8A857E;--soft:#F4F1EC;--gold-b:#F2EBD6;--green-b:#E4ECDD;--green-f:#2D7A4F;--gold:#F0A030;--emp:#D9D4CC;
  width:210mm;height:297mm;background:#fff;color:var(--ink);padding:20mm 19mm 14mm;display:flex;flex-direction:column;position:relative;overflow:hidden;
  font-family:Manrope,-apple-system,system-ui,sans-serif;font-weight:500;text-align:left;box-shadow:0 2px 14px rgba(0,0,0,.08);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.vr-sheet *{box-sizing:border-box;margin:0;padding:0}
.vr-sheet .hd{display:flex;align-items:center;gap:5mm;margin-bottom:8mm}
.vr-sheet .bdg{width:19mm;height:19mm;border-radius:50%;flex:0 0 19mm;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#FFD86E,#F0A030);color:#fff;font-size:10mm;line-height:1;font-family:'Segoe UI Symbol','DejaVu Sans',system-ui,sans-serif}
.vr-sheet .eb{display:block;font-size:3.2mm;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--stone);margin-bottom:1.2mm;line-height:1.2}
.vr-sheet .h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:17mm;line-height:1;letter-spacing:-.01em;color:var(--ink)}
.vr-sheet .h1.lg{font-size:13mm}
.vr-sheet .h1 .en{display:block;font-size:7.4mm;color:var(--stone);margin-top:1mm;font-style:italic}
.vr-sheet .in{font-size:5mm;line-height:1.5;color:var(--ink2);margin:0 0 8mm;max-width:160mm}
.vr-sheet .in .en{display:block;color:var(--stone);font-size:3.9mm;margin-top:1.6mm;font-style:italic}
.vr-sheet .rows{display:flex;flex-direction:column;gap:3.4mm}
.vr-sheet .r{display:flex;align-items:center;gap:6mm;padding:5.4mm 7mm;border-radius:6mm;background:var(--soft)}
.vr-sheet .r.r5{background:var(--gold-b)}
.vr-sheet .st{flex:0 0 auto;width:45mm;font-size:7.6mm;letter-spacing:.8mm;line-height:1;white-space:nowrap;font-family:'Segoe UI Symbol','DejaVu Sans',system-ui,sans-serif}
.vr-sheet .st .f{color:var(--gold)} .vr-sheet .st .e{color:var(--emp)}
.vr-sheet .tx{font-size:5.3mm;line-height:1.35;font-weight:600;min-width:0;overflow-wrap:anywhere}
.vr-sheet .r5 .tx{font-weight:800}
.vr-sheet .tx .en{display:block;font-weight:500;color:var(--stone);font-size:3.7mm;margin-top:.6mm}
.vr-sheet .ft{display:flex;gap:5mm;align-items:flex-start;margin-top:8mm;padding:6mm 7mm;border-radius:6mm;background:var(--green-b);font-size:4.8mm;line-height:1.5}
.vr-sheet .ft .ic{flex:0 0 auto;width:10mm;height:10mm;border-radius:50%;background:#fff;color:var(--green-f);display:flex;align-items:center;justify-content:center;font-size:5.6mm;margin-top:.2mm;font-family:'Segoe UI Symbol','DejaVu Sans',system-ui,sans-serif}
.vr-sheet .ft b{font-weight:800}
.vr-sheet .ft .en{display:block;color:#56705F;font-size:3.8mm;margin-top:1.6mm;font-style:italic}
.vr-sheet .ty{margin-top:auto;padding-top:6mm;text-align:center;font-family:'Instrument Serif',Georgia,serif;font-size:10mm;line-height:1.15}
.vr-sheet .ty .en{display:block;font-size:5mm;color:var(--stone);font-style:italic;margin-top:1mm}
.vr-sheet .mark{position:absolute;left:0;right:0;bottom:7mm;text-align:center;font-size:2.8mm;color:#B5AFA6;letter-spacing:.06em}
/* two languages: tighter */
.vr-sheet.bi{padding-top:16mm}
.vr-sheet.bi .hd{margin-bottom:5mm} .vr-sheet.bi .bdg{width:17mm;height:17mm;flex-basis:17mm;font-size:9mm}
.vr-sheet.bi .h1{font-size:14mm} .vr-sheet.bi .h1.lg{font-size:12mm}
.vr-sheet.bi .in{margin-bottom:6mm;font-size:4.4mm}
.vr-sheet.bi .rows{gap:2.4mm} .vr-sheet.bi .r{padding:3.4mm 6mm;border-radius:5mm} .vr-sheet.bi .st{width:42mm;font-size:7mm}
.vr-sheet.bi .tx{font-size:4.7mm}
.vr-sheet.bi .ft{margin-top:6mm;padding:4.6mm 6mm;font-size:4.2mm;border-radius:5mm} .vr-sheet.bi .ft .ic{width:9mm;height:9mm;font-size:5mm}
.vr-sheet.bi .ty{padding-top:5mm;font-size:8.4mm}
/* black & white: no colour, light backgrounds, thin borders */
.vr-sheet.bw{--ink:#000;--ink2:#222;--stone:#555;--soft:#fff;--gold-b:#EDEDED;--green-b:#fff;--green-f:#000;--gold:#000;--emp:#C8C8C8}
.vr-sheet.bw .bdg{background:#000;color:#fff}
.vr-sheet.bw .r{border:.35mm solid #9A9A9A}
.vr-sheet.bw .r.r5{border-color:#000}
.vr-sheet.bw .ft{border:.35mm solid #000}
.vr-sheet.bw .ft .ic{border:.35mm solid #000}
.vr-sheet.bw .ft .en{color:#444}
.vr-sheet.bw .mark{color:#888}

/* ---------- printing: only the sheet, full size ---------- */
#vr-print{display:none}
@media print{
  @page{size:A4;margin:0}
  html.vr-printing,html.vr-printing body{background:#fff!important;margin:0!important;padding:0!important;height:auto!important;overflow:visible!important}
  html.vr-printing body>*:not(#vr-print){display:none!important}
  html.vr-printing #vr-print{display:block!important;position:static!important}
  html.vr-printing #vr-print .vr-sheet{box-shadow:none;margin:0;page-break-after:avoid;break-after:avoid}
}

/* the theme forces Manrope on div/span with !important – restore the sheet fonts */
.vr-sheet .h1,.vr-sheet .h1 .en,.vr-sheet .ty,.vr-sheet .ty .en{font-family:'Instrument Serif',Georgia,serif!important}
.vr-sheet .bdg,.vr-sheet .st,.vr-sheet .st span,.vr-sheet .ft .ic{font-family:'Segoe UI Symbol','DejaVu Sans',system-ui,sans-serif!important}

/* CTA: two buttons (Kokeile maksutta + Katso demo) */
.vr-cta-b{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
#vot-review .vr-cta-b .vot-btn{margin-top:0;align-self:auto}
#vot-review .vot-cta a.vot-btn.vr-demo{background:transparent!important;color:#fff!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)!important}
#vot-review .vot-cta a.vot-btn.vr-demo:hover{box-shadow:inset 0 0 0 1.5px #fff!important}
@media (max-width:690px){.vr-cta-b .vot-btn{flex:1 1 140px}}

/* print: never split the sheet; Safari / iPhone keep their own page margins, so the sheet is made shorter there */
@media print{
  html.vr-printing #vr-print .vr-sheet{break-inside:avoid;page-break-inside:avoid}
  html.vr-printing.vr-wk #vr-print .vr-sheet{height:262mm;padding-top:13mm;padding-bottom:9mm}
  html.vr-printing.vr-wk #vr-print .vr-sheet.bi{padding-top:8mm}
  html.vr-printing.vr-wk #vr-print .vr-sheet.bi .ty{padding-top:3mm}
  html.vr-printing.vr-wk #vr-print .vr-sheet .mark{bottom:3.5mm}
}

/* 2026-10-14: "Sama ohje digitaalisena" – phone preview */
#vot-review .vr-dig{container-type:inline-size;padding:0;gap:0;overflow:hidden;margin-top:22px}
#vot-review .vr-dig-in{display:flex;flex-direction:column}
#vot-review .vr-dig-t{display:flex;flex-direction:column;gap:6px;padding:24px 24px 0}
#vot-review .vr-dig-t .vr-cta-b{margin-top:12px}
#vot-review .vr-ph-a{display:block;align-self:center;margin-top:26px;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
#vot-review .vr-ph{position:relative;width:236px;height:282px;overflow:hidden;border-radius:34px 34px 0 0;background:#3A3734;padding:8px 8px 0;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset}
#vot-review .vr-ph-s{position:relative;height:100%;border-radius:27px 27px 0 0;background:#F4F2EF;overflow:hidden;padding:30px 10px 0;color:#161514;font-family:Manrope,system-ui,sans-serif}
#vot-review .vr-ph-s::before{content:"";position:absolute;top:9px;left:50%;width:62px;height:17px;margin-left:-31px;border-radius:10px;background:#161514}
#vot-review .vr-ph-lg{position:absolute;top:34px;right:12px;display:flex;align-items:center;gap:4px;padding:4px 9px 4px 7px;border-radius:99px;background:#fff;box-shadow:0 1px 3px rgba(22,21,20,.12);font-size:10px;font-weight:700;line-height:1;color:#161514}
#vot-review .vr-ph-lg svg{width:11px;height:11px;flex:0 0 auto}
#vot-review .vr-ph-c{margin-top:26px;background:#fff;border-radius:16px;padding:12px 10px 12px;box-shadow:0 1px 2px rgba(22,21,20,.06);transition:opacity .35s ease}
#vot-review .vr-ph-c.fade,#vot-review .vr-ph-lg.fade{opacity:0}
#vot-review .vr-ph-lg{transition:opacity .35s ease}
#vot-review .vr-ph-h{display:flex;align-items:center;gap:8px;margin:0 0 10px}
#vot-review .vr-ph-ic{flex:0 0 auto;width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,#FFD86E,#F0A030);display:flex;align-items:center;justify-content:center}
#vot-review .vr-ph-ic svg{width:13px;height:13px}
#vot-review .vr-ph-ti{font-size:13px;font-weight:600;line-height:1.2;letter-spacing:-.01em}
#vot-review .vr-ph-r{display:flex;align-items:center;gap:7px;margin:0 0 4px;padding:6px 7px;border-radius:8px;background:#F6F1EA;font-size:9.5px;line-height:1.3;color:#161514}
#vot-review .vr-ph-r.r5{background:#F3EADA;font-weight:700}
#vot-review .vr-ph-st{flex:0 0 auto;width:56px;font-size:10px;letter-spacing:.5px;line-height:1;white-space:nowrap;color:#F0A030;font-family:'Segoe UI Symbol','DejaVu Sans',system-ui,sans-serif!important}
#vot-review .vr-ph-st i{font-style:normal;color:#C9C4BC;font-family:inherit!important}
#vot-review .vr-ph-x{min-width:0}
@container (min-width:620px){
  #vot-review .vr-dig-in{flex-direction:row;align-items:flex-end;gap:28px}
  #vot-review .vr-dig-t{flex:1 1 auto;max-width:560px;padding:32px 0 32px 40px;align-self:center}
  #vot-review .vr-ph-a{margin:24px 56px 0 auto;align-self:flex-end}
}
@media (prefers-reduced-motion:reduce){#vot-review .vr-ph-c,#vot-review .vr-ph-lg{transition:none}}

/* 2026-10-15: PDF to e-mail + pilot opt-in */
.vr-mail .vot-field{flex:0 0 auto}
.vr-mail .vot-consent span b{font-weight:700;color:var(--ink)}
.vr-mail .vot-btn{align-self:flex-start;margin-top:12px}
.vr-mail .vr-link{align-self:flex-start;background:none;border:0;padding:0;margin:6px 0 0;font:inherit;font-size:14px;color:var(--muted,#6B6864);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.vr-mail .vr-link[disabled]{opacity:.6;cursor:default}
.vr-mail{margin-top:22px}
