/* FWS BLU — a parcel packed on a cutting mat, seen from above */
:root {
  --mat: #dde6df; --mat-2: #cfdad2; --grid: rgba(38, 72, 56, .12); --grid-5: rgba(38, 72, 56, .24); --print: #24443a; --print-2: #4b6a5f;
  --kraft: #c59a6a; --kraft-dk: #946b3e; --kraft-in: #b3875a; --kraft-lt: #d4ad80;
  --ink: #141714; --ink-2: #4a4f4b; --paper: #fbfbf8; --rule: #d9dcd6;
  --blue: #1556d8; --blue-dk: #0f40a6; --red: #e03a26;
  --s: 1px; --cm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.87, 0, .13, 1);
  --cond: 'Encode Sans Condensed', 'Arial Narrow', sans-serif; --sten: 'Stardos Stencil', 'Courier New', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mat); color: var(--ink); font: 400 15px/1.5 var(--cond); }
::selection { background: var(--blue); color: #fff; }
a { color: var(--blue); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* the mat: printed centimetre grid, heavier every 5 cm */
.mat { position: relative; min-height: 100vh; overflow: clip;
  background-color: var(--mat);
  background-image: linear-gradient(var(--grid-5) 1px, transparent 1px), linear-gradient(90deg, var(--grid-5) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: calc(var(--cm) * 5) calc(var(--cm) * 5), calc(var(--cm) * 5) calc(var(--cm) * 5), var(--cm) var(--cm), var(--cm) var(--cm); }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; padding: 22px 32px 40px 48px; align-items: start; }
.left { position: sticky; top: 0; min-width: 0; padding-top: 4px; }

/* printed header on the mat */
.print { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo h1 lang" "logo intro intro" "logo hint hint"; column-gap: 24px; align-items: end; max-width: 980px; }
.logo { grid-area: logo; height: 68px; width: auto; align-self: start; margin-top: 6px; }
.print h1 { grid-area: h1; margin: 0; font: 700 clamp(44px, 5.2vw, 76px)/.86 var(--sten); letter-spacing: -.01em; color: var(--print); }
.intro { grid-area: intro; margin: 10px 0 0; max-width: 68ch; font-size: 15.5px; line-height: 1.5; color: var(--print); }
.intro b { font-weight: 700; color: var(--ink); }
.hint { grid-area: hint; margin: 6px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--print-2); text-transform: uppercase; }
.hint b { display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--blue); color: #fff; font-size: 14px; line-height: 1; }
.lang { grid-area: lang; display: flex; align-self: start; border: 1.5px solid var(--print); }
.lang button { padding: 4px 10px; border: 0; background: transparent; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--print); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--print); color: var(--mat); }

/* the scene: everything inside is placed in millimetres times --s */
.scene { position: relative; margin-top: 14px; width: calc(1020 * var(--s)); height: calc(690 * var(--s)); }
.axis { position: absolute; font: 600 10px/1 var(--cond); color: var(--print-2); pointer-events: none; }
.ax-x { left: 0; top: -14px; right: 0; height: 12px; }
.ax-y { top: 0; left: -26px; width: 22px; bottom: 0; }
.axis span { position: absolute; }
.ax-x span { transform: translateX(-50%); }
.ax-y span { right: 0; transform: translateY(-50%); }

/* the box */
.box { position: absolute; left: calc(var(--cx) * var(--s)); top: calc(var(--cy) * var(--s)); width: calc(var(--bw) * var(--s)); height: calc(var(--bh) * var(--s));
  transform: translate(-50%, -50%); transition: width .7s var(--ease), height .7s var(--ease); z-index: 2; }
.inner { position: absolute; inset: 0; background: var(--kraft-in); box-shadow: inset 0 0 0 calc(4 * var(--s)) var(--kraft-dk), inset 0 calc(14 * var(--s)) calc(28 * var(--s)) rgba(70, 40, 10, .35); overflow: hidden; }
.inner::before { content: ''; position: absolute; inset: calc(4 * var(--s)); background: repeating-linear-gradient(90deg, rgba(255, 240, 210, .08) 0 2px, transparent 2px 7px); pointer-events: none; }
.empty { position: absolute; left: 10%; right: 10%; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; font: 400 clamp(14px, 1.3vw, 19px)/1.15 var(--sten); color: rgba(60, 34, 10, .62); transition: opacity .3s; }
.box.has .empty { opacity: 0; }
.size { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; text-align: center; font: 700 10.5px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: #4a2c0c; z-index: 4; white-space: nowrap; }
.packed { position: absolute; inset: calc(6 * var(--s)); }
.layer { position: absolute; right: calc(8 * var(--s)); top: calc(8 * var(--s)); margin: 0; padding: 3px 7px; background: var(--blue); color: #fff; font: 400 14px/1 var(--sten); letter-spacing: .04em; z-index: 6; display: none; }
.box.multi .layer { display: block; }
.box.shut .layer { display: none; }
.nocabe { position: absolute; left: 50%; top: 50%; margin: 0; padding: 4px 12px 3px; border: 3px solid var(--red); color: var(--red); background: rgba(255, 255, 255, .86); font: 700 24px/1 var(--sten); text-transform: uppercase; letter-spacing: .05em; transform: translate(-50%, -50%) rotate(-8deg) scale(1.4); opacity: 0; pointer-events: none; z-index: 8; transition: opacity .25s, transform .35s var(--ease); }
.box.warn .nocabe { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }

.flap { position: absolute; transform-style: preserve-3d; transition: transform .75s var(--ease-io); }
.flap i { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flap .i::before { content: ''; position: absolute; inset: 0; background: var(--kraft); box-shadow: inset 0 0 0 1px rgba(110, 72, 30, .35); }
.flap .o { background: var(--kraft-lt); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(110, 72, 30, .4); }
.flap .i { display: grid; place-items: center; }
.flap .i span { position: relative; z-index: 1; font: 700 calc(24 * var(--s))/1 var(--sten); color: rgba(60, 34, 10, .5); letter-spacing: .08em; white-space: nowrap; }
.fl-b .i span { font-size: calc(15 * var(--s)); }
.fl-l .i span, .fl-r .i span { transform: rotate(-90deg); font-size: calc(17 * var(--s)); }
.fl-r .i span { transform: rotate(90deg); }
.flap .o span { font: 700 calc(26 * var(--s))/1 var(--sten); color: rgba(40, 22, 6, .78); letter-spacing: .06em; white-space: nowrap; }
.fl-t, .fl-b { left: 0; width: 100%; height: calc(var(--bh) * var(--s) / 2); z-index: 3; }
.fl-t { bottom: 100%; transform-origin: 50% 100%; }
.fl-t i { clip-path: polygon(1% 0, 99% 0, 100% 100%, 0 100%); }
.fl-b { top: 100%; transform-origin: 50% 0; }
.fl-b i { clip-path: polygon(0 0, 100% 0, 99% 100%, 1% 100%); }
.fl-l, .fl-r { top: 0; height: 100%; width: calc(var(--fs) * var(--s)); z-index: 1; }
.fl-l { right: 100%; transform-origin: 100% 50%; }
.fl-l .i { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%); }
.fl-l .o { clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%); }
.fl-r { left: 100%; transform-origin: 0 50%; }
.fl-r .i { clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%); }
.fl-r .o { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%); }
.fl-t .o, .fl-b .o { transform: rotateX(180deg); }
.fl-l .o, .fl-r .o { transform: rotateY(180deg); }
.fl-l .o span, .fl-r .o span { transform: rotate(-90deg); font-size: calc(17 * var(--s)); }
.box.shut .fl-l { transform: perspective(1200px) rotateY(180deg); z-index: 4; }
.box.shut .fl-r { transform: perspective(1200px) rotateY(-180deg); z-index: 4; }
.box.shut .fl-t { transform: perspective(1200px) rotateX(-180deg); transition-delay: .32s; z-index: 5; }
.box.shut .fl-b { transform: perspective(1200px) rotateX(180deg); transition-delay: .32s; z-index: 5; }
.box { filter: drop-shadow(0 calc(6 * var(--s)) calc(10 * var(--s)) rgba(30, 50, 40, .28)); }
.tape { position: absolute; left: -2%; right: -2%; top: 50%; height: calc(48 * var(--s)); margin-top: calc(-24 * var(--s)); background: var(--blue); opacity: .94; z-index: 6; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 11px); clip-path: polygon(0 4%, 2% 0, 1% 30%, 2.5% 55%, 0.5% 100%, 98% 100%, 100% 70%, 98.5% 40%, 100% 0); }
.box.shut .tape { transform: scaleX(1); transition-delay: 1s; }

/* packed things: same drawings, placed in mm inside the box */
.pk { position: absolute; left: calc(var(--x) * var(--s)); top: calc(var(--y) * var(--s)); width: calc(var(--w) * var(--s)); height: calc(var(--h) * var(--s)); padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(40, 20, 0, .45)); }
.pk svg { position: absolute; left: 50%; top: 50%; width: calc(var(--dw) * var(--s)); height: calc(var(--dh) * var(--s)); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); display: block; }
.pk.under { filter: brightness(.7) saturate(.6); pointer-events: none; }
.divider { position: absolute; inset: calc(-2 * var(--s)); background: rgba(176, 133, 88, .86); background-image: repeating-linear-gradient(90deg, rgba(120, 80, 40, .16) 0 1px, transparent 1px 6px); box-shadow: 0 2px 6px rgba(60, 30, 0, .3); }
.pk.new { animation: drop .55s var(--ease) both; }
@keyframes drop { from { transform: translateY(-14px) scale(1.12); opacity: 0; } }

/* things on the mat */
.media { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.it { position: absolute; left: calc(var(--x) * var(--s)); top: calc(var(--y) * var(--s)); width: calc(var(--w) * var(--s)); height: calc(var(--h) * var(--s)); pointer-events: auto; touch-action: none; cursor: grab; }
.it .dr { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: inherit; filter: drop-shadow(0 calc(3 * var(--s)) calc(4 * var(--s)) rgba(20, 40, 30, .32)); transition: transform .35s var(--ease); }
.it .dr svg { width: 100%; height: 100%; display: block; }
.it:hover .dr, .it.sel .dr { transform: translateY(-3px); }
.it .nm { position: absolute; left: 0; top: 100%; margin-top: 3px; font: 700 10.5px/1.1 var(--cond); letter-spacing: .07em; text-transform: uppercase; color: var(--print); white-space: nowrap; pointer-events: none; }
.it .add { position: absolute; right: -9px; top: -9px; width: 26px; height: 26px; padding: 0; border: 0; background: var(--blue); color: #fff; font: 700 20px/26px var(--cond); text-align: center; cursor: pointer; box-shadow: 0 2px 0 var(--blue-dk); transition: transform .25s var(--ease); z-index: 2; }
.it .add:hover { transform: scale(1.12); }
.it .add:active { transform: translateY(2px); box-shadow: none; }
.it .ct { position: absolute; left: -8px; top: -8px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--paper); color: var(--blue); font: 800 12px/20px var(--cond); text-align: center; box-shadow: 0 0 0 1.5px var(--blue); display: none; z-index: 2; }
.it.in .ct { display: block; }
.it.lp-it .add { right: auto; left: calc(150 * var(--s) - 13px); top: -12px; }
.it.lp-it .ct { left: calc(150 * var(--s) + 18px); top: -10px; }
.it.lp-it .nm { top: auto; bottom: 50%; left: -8px; margin: 0; transform: translateX(-100%); }
/* measuring lines shown on the selected thing */
.it .dim { position: absolute; pointer-events: none; opacity: 0; transition: opacity .25s; font: 700 10px/1 var(--cond); color: var(--blue); }
.it.sel .dim { opacity: 1; }
.dim.dw { left: 0; right: 0; bottom: calc(100% + 6px); height: 9px; border: 1.5px solid var(--blue); border-bottom: 0; }
.dim.dh { top: 0; bottom: 0; left: calc(100% + 6px); width: 9px; border: 1.5px solid var(--blue); border-left: 0; }
.dim b { position: absolute; background: var(--mat); padding: 0 3px; white-space: nowrap; }
.dw b { left: 50%; top: -6px; transform: translateX(-50%); }
.dh b { left: 12px; top: 50%; transform: translateY(-50%); }
.ghost { position: fixed; z-index: 50; pointer-events: none; opacity: .9; filter: drop-shadow(0 12px 14px rgba(20, 40, 30, .35)); transform: translate(-50%, -50%) rotate(-4deg); }
.ghost svg { width: 100%; height: 100%; display: block; }
.box.over .inner { box-shadow: inset 0 0 0 calc(4 * var(--s)) var(--blue), inset 0 calc(14 * var(--s)) calc(28 * var(--s)) rgba(70, 40, 10, .35); }

.callout { position: absolute; left: 0; bottom: -6px; transform: translateY(100%); max-width: 560px; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--print); min-height: 20px; }
.callout b { color: var(--ink); }
.callout em { font-style: normal; color: var(--blue); font-weight: 700; }

/* address label: lies on the mat, goes onto the lid when the box is closed */
.label { position: absolute; left: calc(6 * var(--s)); top: calc(452 * var(--s)); width: 214px; padding: 9px 11px 10px; background: var(--paper); color: var(--ink); font-size: 10.5px; line-height: 1.32; box-shadow: 0 1px 0 #c9cec8, 0 8px 14px -6px rgba(20, 40, 30, .4); transform: rotate(-3deg); z-index: 4; transition: transform .8s var(--ease), opacity .4s; }
.label p { margin: 0; }
.lb-h { font: 800 9px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 3px; border-bottom: 1.5px solid var(--ink); margin-bottom: 4px !important; }
.lb-to b { font: 400 15px/1 var(--sten); }
.lb-wa { margin: 3px 0 7px !important; font-weight: 600; }
.lb-from { min-height: 14px; font-weight: 700; }
.label.on-lid { z-index: 9; }

.dvdnote { position: absolute; left: calc(250 * var(--s)); top: calc(660 * var(--s)); margin: 0; font: 400 15px/1.1 var(--sten); color: var(--print); white-space: nowrap; }

/* the list sheet */
.sheet { position: relative; z-index: 5; margin: 0; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 #bfc6c0, 0 18px 30px -16px rgba(20, 40, 30, .45); transform: rotate(.6deg); transform-origin: 50% 0; }
.grab { display: none; }
.sh-in { padding: 26px 26px 26px; }
.sheet h2 { margin: 0; font: 800 23px/1.05 var(--cond); letter-spacing: -.01em; }
.sheet h2 small { display: block; font: 500 14px/1.3 var(--cond); color: var(--ink-2); letter-spacing: 0; }
.draft { margin: 8px 0 0; padding: 6px 8px; border: 1.5px dashed var(--ink-2); font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.blk { margin: 18px 0 0; padding: 0; border: 0; border-top: 2px solid var(--ink); padding-top: 8px; min-width: 0; }
.blk legend, .legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; font: 800 11.5px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.blk label { display: grid; grid-template-columns: 62px 1fr; align-items: end; gap: 8px; margin: 4px 0; font-size: 13px; color: var(--ink-2); clear: both; }
.blk label.wide { grid-template-columns: 1fr; }
.blk input:not([type=radio]), .blk textarea { width: 100%; padding: 4px 2px; border: 0; border-bottom: 1.5px solid #9aa19b; background: transparent; font-size: 15px; color: var(--ink); border-radius: 0; }
.blk textarea { resize: vertical; border: 1.5px solid #9aa19b; padding: 6px 8px; font-size: 14px; }
.blk input:focus, .blk textarea:focus { outline: none; border-color: var(--blue); }
::placeholder { color: #7d837e; }
.lines { width: 100%; border-collapse: collapse; font-size: 13.5px; clear: both; }
.lines th { text-align: left; font: 700 10.5px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 4px 4px 4px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.lines th small { display: block; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--blue); }
.lines th:last-child, .lines td:last-child { text-align: right; padding-right: 0; }
.lines td { padding: 5px 4px 5px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.lines td:first-child { width: 22px; font-weight: 700; color: var(--ink-2); }
.lines td.q { white-space: nowrap; }
.lines .st { width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--ink); background: var(--paper); font-weight: 700; line-height: 1; cursor: pointer; }
.lines .st:hover { border-color: var(--blue); color: var(--blue); }
.lines .q b { display: inline-block; min-width: 26px; text-align: center; color: var(--blue); font-weight: 800; }
.lines td small { display: block; font-size: 11.5px; color: var(--ink-2); }
.lines .none td { color: var(--ink-2); font-style: italic; text-align: left !important; }
.tot { margin: 8px 0 0; }
.tot div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 13.5px; }
.tot dt small { font-size: 11.5px; color: var(--blue); font-weight: 600; margin-left: 4px; }
.tot dd { margin: 0; font-weight: 700; text-align: right; }
.tot .big { margin-top: 4px; padding-top: 6px; border-top: 1.5px solid var(--ink); font-size: 16px; }
.tot .big dd { color: var(--blue); font-size: 20px; font-weight: 800; }
.opt { grid-template-columns: 22px 1fr !important; align-items: start !important; padding: 6px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.opt input, .switch input { accent-color: var(--blue); width: 16px; height: 16px; margin: 3px 0 0; }
.opt b { display: block; color: var(--ink); font-size: 14px; }
.opt small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.switch { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); clear: both; }
.switch label { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0; padding: 8px 6px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.switch label + label { border-left: 2px solid var(--ink); }
.switch label:has(input:checked) { background: var(--ink); color: var(--paper); }
.switch input { margin: 0; }
.modetxt { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); display: none; }
.sheet[data-modo="correios"] #mt-correios, .sheet[data-modo="pessoal"] #mt-pessoal { display: block; }
.decl { font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.decl p { margin: 0 0 6px; padding-left: 12px; border-left: 3px solid var(--blue); }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.acts button { padding: 12px 10px; border: 2px solid var(--ink); background: var(--paper); font-weight: 800; font-size: 14.5px; letter-spacing: .02em; cursor: pointer; border-radius: 0; transition: transform .2s var(--ease), background .2s; }
.acts button:hover { transform: translateY(-2px); }
.acts .b-close { grid-column: 1 / -1; background: var(--kraft); border-color: var(--kraft-dk); color: #2a1a08; font: 700 18px/1 var(--sten); letter-spacing: .04em; }
.acts .b-wa { background: var(--blue); border-color: var(--blue); color: #fff; }
.status { grid-column: 1 / -1; margin: 0; min-height: 18px; font-size: 13px; font-weight: 700; color: var(--blue); }
.acts .lead-note { grid-column: 1 / -1; margin: 0; }

/* printed table under the desk */
.table-print { position: relative; margin: 10px 32px 0 48px; padding: 26px 0 30px; border-top: 2px solid var(--print); color: var(--print); }
.table-print h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 48px)/1 var(--sten); color: var(--print); }
.table-print h2 span { color: var(--blue); }
.tp-sub { margin: 6px 0 0; font-size: 14px; max-width: 70ch; }
.tp-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1.5fr; gap: 0; margin-top: 18px; }
.tp-col { padding: 0 20px 0 0; margin-right: 20px; border-right: 1px solid var(--grid-5); min-width: 0; }
.tp-col:last-child { border-right: 0; margin-right: 0; }
.tp-col h3 { margin: 0 0 8px; font: 800 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; padding: 5px 0; border-bottom: 1px dotted var(--print-2); font-size: 14px; }
.row b { white-space: nowrap; color: var(--blue); font-weight: 800; }
.tp-n { margin: 8px 0 0; font-size: 12.5px; color: var(--print-2); }
.tp-mm { margin-top: 22px; }
.small { margin: 8px 0 0; font-size: 12.5px; color: var(--print); }
.small a { color: var(--print); font-weight: 700; }

/* phone: box on top as a square, media as a strip, list as a bottom sheet */
@media (max-width: 760px) {
  body { padding-bottom: 58px; }
  .desk { display: block; padding: 16px 16px 0; }
  .left { position: static; }
  .print { grid-template-columns: auto 1fr; grid-template-areas: "logo lang" "h1 h1" "intro intro" "hint hint"; row-gap: 8px; }
  .logo { height: 48px; }
  .lang { justify-self: end; }
  .print h1 { font-size: 46px; margin-top: 6px; }
  .intro { font-size: 15px; }
  .scene { width: 100%; height: auto; margin-top: 16px; }
  .axis { display: none; }
  .stage { position: relative; width: 100%; aspect-ratio: 1; }
  .box { left: 50%; top: 50%; }
  .media { position: relative; inset: auto; display: flex; gap: 22px; align-items: flex-end; overflow-x: auto; overscroll-behavior-x: contain; padding: 22px 16px 30px 12px; margin: 6px -16px 0; pointer-events: auto; scrollbar-width: thin; }
  .it { position: relative; left: auto; top: auto; flex: 0 0 auto; }
  .it .nm { white-space: normal; width: max-content; max-width: 130px; }
  .it.lp-it { width: calc(170 * var(--s)); height: calc(170 * var(--s)); }
  .it.lp-it .add { left: auto; right: -9px; top: -9px; }
  .it.lp-it .ct { left: -8px; top: -8px; }
  .it.lp-it .nm { top: 100%; bottom: auto; margin: 3px 0 0; }
  .it .dim { display: none; }
  .label { position: absolute; opacity: 0; pointer-events: none; }
  .label.on-lid { opacity: 1; pointer-events: auto; }
  .dvdnote { position: static; white-space: normal; margin: 0 0 4px; font-size: 16px; }
  .callout { position: static; transform: none; margin: 0 0 8px; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; transform: translateY(calc(100% - 58px)); max-height: 88vh; overflow: hidden; transition: transform .5s var(--ease); z-index: 40; box-shadow: 0 -10px 24px -10px rgba(20, 40, 30, .45); }
  .sheet.open { transform: none; overflow-y: auto; }
  .grab { display: flex; align-items: center; gap: 10px; width: 100%; height: 58px; padding: 0 16px; border: 0; border-bottom: 2px solid var(--ink); background: var(--paper); font-weight: 800; font-size: 15px; text-align: left; cursor: pointer; position: sticky; top: 0; z-index: 2; }
  .grab::before { content: ''; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; background: #b9beb9; }
  .grab b { min-width: 26px; height: 24px; padding: 0 6px; background: var(--blue); color: #fff; text-align: center; line-height: 24px; }
  .grab em { margin-left: auto; font-style: normal; color: var(--blue); }
  .sh-in { padding: 16px 16px 28px; }
  .table-print { margin: 20px 16px 0; padding-bottom: 30px; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-col { border-right: 0; margin: 0 0 18px; padding: 0; }
  .row { font-size: 13.5px; }
}
@media (min-width: 761px) { .stage { position: absolute; inset: 0; } }

html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* legal pages: a white sheet lying on the mat */
.legal-page { background-image: linear-gradient(rgba(38, 72, 56, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 72, 56, .12) 1px, transparent 1px); background-size: 10px 10px; }
main.legal { display: block; max-width: 860px; margin: 36px auto 48px; padding: 36px 44px 44px; background: var(--paper); box-shadow: 0 1px 0 #bfc6c0, 0 18px 30px -16px rgba(20, 40, 30, .45); font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
main.legal h1 { font: 700 clamp(30px, 4vw, 44px)/1.05 var(--sten); margin: 0 0 18px; color: var(--print); }
main.legal h2 { font: 800 19px/1.25 var(--cond); margin: 28px 0 8px; padding-top: 8px; border-top: 2px solid var(--ink); }
main.legal table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
main.legal td, main.legal th { border: 1px solid var(--rule); padding: 6px 8px; text-align: left; vertical-align: top; }
@media (max-width: 760px) { main.legal { margin: 16px; padding: 22px 18px 28px; } }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: fws-blu */
.ck { left: 22px; right: auto; bottom: 22px; width: 380px; max-width: calc(100vw - 32px); padding: 22px 22px 18px; border: 11px solid transparent; border-radius: 4px; color: #141714; font-family: 'Encode Sans Condensed', 'Arial Narrow', sans-serif;
  background: linear-gradient(rgba(236, 242, 246, .9), rgba(236, 242, 246, .9)) padding-box, repeating-linear-gradient(-45deg, #1556d8 0 3px, #eef3fb 3px 7px) border-box;
  box-shadow: 0 1px 0 rgba(20, 40, 30, .25), 0 14px 26px -12px rgba(20, 40, 30, .5); transform: rotate(-1.2deg); isolation: isolate; animation: fws-ck .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes fws-ck { from { opacity: 0; transform: translateY(26px) rotate(-1.2deg); } }
html.static .ck { animation: none; }
.ck::before { content: ''; position: absolute; inset: 7px 7px 7px 7px; z-index: -1; background: #fbfbf8; box-shadow: 0 1px 2px rgba(20, 30, 40, .25); transform: rotate(.8deg); }
.ck::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 0 4%, rgba(255, 255, 255, .35) 4% 9%, transparent 9% 100%); border-radius: 2px; }
.ck .ck-k { position: relative; display: inline-block; margin: 0; padding: 2px 6px; border: 1.5px solid #141714; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #141714; }
.ck .ck-t { position: relative; margin-top: 8px; }
.ck .ck-t b { display: block; font: 700 21px/1.05 'Stardos Stencil', 'Courier New', serif; color: #141714; }
.ck .ck-p { position: relative; margin-top: 6px; font-size: 13px; line-height: 1.45; color: #2b302c; }
.ck .b { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #8a918b; }
.ck button.ok, .ck button.no { padding: 8px 14px; border-radius: 0; background: transparent; font: 800 13.5px/1 'Encode Sans Condensed', sans-serif; letter-spacing: .03em; cursor: pointer; }
.ck button.ok { border: 2px solid #1556d8; color: #1556d8; }
.ck button.no { border: 2px solid #141714; color: #141714; }
.ck button.ok:hover { background: #1556d8; color: #fff; }
.ck button.no:hover { background: #141714; color: #fbfbf8; }
.ck a.more { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #141714; text-decoration: underline; text-underline-offset: 2px; }
.ck button:focus-visible, .ck a.more:focus-visible { outline: 2px solid #1556d8; outline-offset: 2px; }
@media (max-width: 760px) { .ck.ck { left: 12px; right: 12px; width: auto; bottom: 70px; } }
footer.seller { background: #cfdad2; color: #141714; border-top: 2px solid #24443a; }
footer.seller a { color: #0f40a6; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
