@font-face { font-family: Fredoka; src: url(/fonts/fredoka-he.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Fredoka; src: url(/fonts/fredoka-la.woff2) format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2212, U+FEFF; }
:root {
  --berry: #2B246E; --berry2: #1F1A55; --honey: #FFB627; --coral: #FF6B8A; --mint: #19C7A4; --paper: #FFF9EA;
  --bg: #F4F2FC; --card: #FFFFFF; --ink: #1F1A4D; --dim: #6A6690; --line: #E4E0F3; --tint: #EAE6FA; --accent: #4B3FC9;
  --fill: #FFE3A3; --fill-over: #FFC4CF; --good: #DDF6EF; --goodt: #0B6B58; --warn: #FFF0CC; --warnt: #7A5200; --bad: #FFE1E6; --badt: #A31C3D; --info: #E7E4FB; --infot: #38309A;
  --in: #0B8A70; --out: var(--ink); --s1: #5B4BE0; --s2: #C2700A; color-scheme: light;
  --nav: 68px; --safe: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #15123A; --card: #211D52; --ink: #F2F0FF; --dim: #A9A5D2; --line: #322D6B; --tint: #2C2767; --accent: #B3A8FF;
  --fill: #6B4F12; --fill-over: #7A2940; --good: #123F3A; --goodt: #8CEBD3; --warn: #4A3810; --warnt: #FFD98A; --bad: #4F1A2C; --badt: #FFB3C3; --info: #2C2767; --infot: #CFC8FF;
  --in: #5FE0C2; --s1: #8A7CFF; --s2: #D98F24; color-scheme: dark;
} }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--berry); }
body { margin: 0; font: 400 16px/1.45 Fredoka, system-ui, sans-serif; color: var(--ink); background: var(--bg); min-height: 100dvh; padding-bottom: calc(var(--nav) + var(--safe) + 22px); overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; touch-action: manipulation; }
:focus-visible { outline: 2.5px solid var(--honey); outline-offset: 2px; }
h1, h2, h3, h4, p { margin: 0; }
small { font-size: .8125rem; }
.m { font-weight: 600; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.muted, .dim { color: var(--dim); }
.muted { margin-block: 4px 16px; }
.grow { flex: 1; min-width: 0; }

/* גיבור: המדף והצנצנת */
.hero { background: var(--berry); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0; position: relative; }
.top { display: flex; justify-content: space-between; align-items: flex-start; }
.top h1 { font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.top p { color: #C9C4F0; font-size: .9375rem; }
.tools { display: flex; gap: 2px; margin-inline-end: -8px; }
.tools button { width: 44px; height: 44px; display: grid; place-items: center; color: #DAD6F7; border-radius: 50%; }
.stage { display: grid; grid-template-columns: 1fr minmax(190px, 58%) 1fr; align-items: end; gap: 4px; margin-top: 2px; }
.mj { position: relative; aspect-ratio: 1 / 1.27; cursor: pointer; }
.mj canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.paper { position: absolute; inset-inline: 13%; top: 41%; background: var(--paper); color: #2B246E; padding: 9px 8px 10px; text-align: center; transform: rotate(-2.2deg); border-radius: 3px; box-shadow: 0 2px 0 rgba(31, 26, 85, .22); pointer-events: none; }
.paper span { display: block; font-size: .875rem; font-weight: 500; }
.paper strong { display: block; font-size: clamp(1.8rem, 9.5vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.paper em { font-style: normal; font-size: .9375rem; font-weight: 500; color: #6A5A1E; }
.kj { position: relative; display: block; width: 100%; max-width: 78px; justify-self: center; }
.kj canvas { width: 100%; aspect-ratio: 1 / 1.34; display: block; }
.kj .tag { position: absolute; inset-inline: 9%; top: 46%; background: var(--paper); color: #2B246E; text-align: center; padding: 2px 1px 3px; border-radius: 2px; transform: rotate(1.6deg); line-height: 1.12; box-shadow: 0 1px 0 rgba(31, 26, 85, .22); }
.kj .tag b { display: block; font-weight: 600; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kj .tag small { display: block; font-size: .75rem; font-weight: 500; }
.plank { height: 12px; margin-inline: -16px; background: #6B4A9E; border-top: 2px solid #8D6CC2; }

/* גוף */
.flow { padding: 14px 16px 0; max-width: 640px; margin-inline: auto; }
.trio, .plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block: 2px 8px; }
.trio > div, .plan > div { display: flex; flex-direction: column; font-size: 1.0625rem; }
.trio small, .plan small { color: var(--dim); line-height: 1.2; }
.plan small { min-height: 2.4em; }
.plan { background: var(--tint); padding: 12px; border-radius: 14px; }
.plan .neg .m { color: var(--badt); }
.note { display: flex; gap: 8px; padding: 11px 13px; border-radius: 12px; margin-bottom: 12px; align-items: flex-start; }
.note.good { background: var(--good); color: var(--goodt); } .note.warn { background: var(--warn); color: var(--warnt); } .note.bad { background: var(--bad); color: var(--badt); } .note.info { background: var(--info); color: var(--infot); }
.link { color: var(--accent); font-weight: 500; min-height: 32px; white-space: nowrap; }
.note .link { color: inherit; text-decoration: underline; }
.linkw { color: #DAD6F7; text-align: center; min-height: 44px; text-decoration: underline; }
.h { display: flex; justify-content: space-between; align-items: center; font-size: 1.125rem; font-weight: 600; margin-block: 22px 6px; }
.day { display: flex; justify-content: space-between; font-size: .9375rem; font-weight: 500; color: var(--dim); margin-block: 16px 4px; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 11px; padding-block: 9px; border-bottom: 1px solid var(--line); width: 100%; min-height: 56px; }
.rows > .row:last-child { border-bottom: 0; }
.row b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row small { color: var(--dim); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.static small { white-space: normal; }
.ico { width: 38px; height: 38px; display: grid; place-items: center; font-size: 1.25rem; background: var(--tint); border-radius: 12px; flex: none; }
.amt { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amt.in { color: var(--in); } .amt.save { color: var(--accent); }
.date { width: 36px; text-align: center; flex: none; line-height: 1.1; }
.date.wide { width: 46px; }
.date b { font-size: 1.125rem; font-weight: 600; } .row .date small { font-size: .75rem; }
.strips { display: flex; flex-direction: column; gap: 6px; }
.strip { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 8px 8px 12px; background: var(--card); border-radius: 12px; overflow: hidden; width: 100%; min-height: 54px; }
.strip i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); background: var(--fill); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.strip.over i { background: var(--fill-over); }
.strip > :not(i) { position: relative; }
.strip .ico { background: transparent; width: 32px; height: 32px; }
.strip .grow { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.val { white-space: nowrap; }
.val small { color: var(--dim); }
.strip .val small { color: inherit; opacity: .78; }
.empty { padding: 26px 12px; text-align: center; color: var(--dim); }
.mnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mnav button { width: 44px; height: 44px; display: grid; place-items: center; }
.mnav b { font-weight: 600; font-size: 1.0625rem; }
.bar { display: flex; justify-content: space-between; align-items: center; background: var(--berry); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 16px; }
.bar h1 { font-size: 1.5rem; font-weight: 600; }
.iconbtn { color: #fff; border: 1.5px solid #6E66B8; padding: 7px 13px; border-radius: 99px; font-size: .9375rem; min-height: 40px; }
.totalb { text-align: end; } .totalb small { display: block; color: #C9C4F0; } .totalb .m { font-size: 1.25rem; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); padding-inline: 12px; border-radius: 12px; height: 46px; color: var(--dim); }
.search input { border: 0; background: none; outline: 0; flex: 1; color: var(--ink); min-width: 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrapc { flex-wrap: wrap; overflow: visible; padding-block: 4px 8px; }
.chip { border: 1.5px solid var(--line); background: var(--card); padding: 6px 14px; border-radius: 99px; white-space: nowrap; min-height: 40px; font-weight: 500; flex: none; }
.chip.on { background: var(--berry); border-color: var(--berry); color: #fff; }
@media (prefers-color-scheme: dark) { .chip.on { background: var(--honey); border-color: var(--honey); color: #2B246E; } }
.sum { color: var(--dim); font-size: .9375rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--tint); padding: 4px; border-radius: 12px; margin-bottom: 12px; }
.seg button { text-align: center; padding: 9px; border-radius: 9px; font-weight: 500; min-height: 42px; }
.seg button.on { background: var(--card); box-shadow: 0 1px 2px rgba(31, 26, 85, .14); }
.seg.small { width: 190px; margin: 0 auto 2px; }
.seg.small button { padding: 5px; min-height: 36px; }

/* כפתורים וטפסים */
.btn { display: flex; align-items: center; justify-content: center; background: var(--berry); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; width: 100%; min-height: 52px; text-align: center; font-size: 1.0625rem; }
@media (prefers-color-scheme: dark) { .btn { background: var(--honey); color: #2B246E; } }
.btn.soft { background: var(--tint); color: var(--ink); }
.btn.ghost { background: none; color: var(--ink); }
.btn.line { background: none; color: #fff; border: 1.5px solid #7C74C6; }
.btn.danger { color: var(--badt); }
.btn.big { background: var(--honey); color: #2B246E; font-size: 1.1875rem; min-height: 58px; }
.btn:disabled { opacity: .4; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.mt { margin-top: 16px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 4px; color: var(--dim); font-size: .9375rem; min-width: 0; }
.form.tight { margin-top: 6px; gap: 8px; }
.lab { color: var(--dim); font-size: .9375rem; margin-top: 4px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; background: var(--tint); border: 1.5px solid transparent; border-radius: 12px; padding: 11px 12px; color: var(--ink); min-height: 48px; font-size: 1.0625rem; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); }
.search input[type=search] { background: none; border: 0; min-height: 40px; padding: 0; }
.flow > .shelfrow:first-child { margin-top: -14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two.w3 { grid-template-columns: 74px 1fr; }
.two.w3r { grid-template-columns: 1fr 78px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink); }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); margin-top: 2px; }
.swatches { display: flex; gap: 12px; padding-block: 2px; }
.swatches label { display: block; }
.swatches input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatches i { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); border: 3px solid transparent; }
.swatches input:checked + i { border-color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 12px; padding-block: 2px; }
.stepper span { color: var(--dim); }
.stepper button { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); text-align: center; font-size: 1.375rem; }
.stepper b { font-weight: 600; min-width: 24px; text-align: center; font-size: 1.25rem; }
.stepper small { color: var(--dim); }

/* ניווט */
#nav { position: fixed; inset-inline: 0; bottom: 0; height: calc(var(--nav) + var(--safe)); padding-bottom: var(--safe); background: var(--card); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); z-index: 10; }
#nav[hidden] { display: none; }
#nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--dim); font-size: .8125rem; gap: 1px; }
#nav button.on { color: var(--accent); font-weight: 500; }
#nav .fab { width: 64px; height: 64px; border-radius: 50%; background: var(--honey); color: #2B246E; margin: -20px auto 0; border: 4px solid var(--card); }
#nav .fab:active { transform: scale(.94); }

/* גיליונות */
.wrap { position: fixed; inset: 0; z-index: 20; }
.scrim { position: absolute; inset: 0; background: rgba(21, 18, 58, .5); opacity: 0; transition: opacity .24s; }
.sheet { position: absolute; inset-inline: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; background: var(--bg); border-radius: 22px 22px 0 0; padding: 8px 16px calc(var(--safe) + 18px); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .85, .25, 1); overscroll-behavior: contain; }
.wrap.open .scrim { opacity: 1; } .wrap.open .sheet { transform: none; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.sheet h2 { font-size: 1.3125rem; font-weight: 600; margin-bottom: 8px; }
.page .sheet { top: 0; max-height: none; border-radius: 0; transform: translateX(-100%); padding-top: 0; }
.page .grab { display: none; }
.pbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; background: var(--bg); padding-block: calc(env(safe-area-inset-top, 0px) + 8px) 8px; z-index: 3; }
.pbar button:first-child { width: 44px; height: 44px; display: grid; place-items: center; margin-inline-start: -10px; }
.pbar h2 { margin: 0; flex: 1; }
.lead { font-size: 1.1875rem; line-height: 1.4; margin-bottom: 8px; }
.kidsplit { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 10px; }
.kidsplit button { background: var(--card); border-inline-start: 5px solid var(--kc); padding: 10px 12px; border-radius: 10px; display: flex; flex-direction: column; font-size: 1.25rem; }
.kidsplit small { color: var(--dim); }
.kidhero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--kc); color: #1F1A4D; padding: 16px 14px; border-radius: 16px; font-size: 1.25rem; margin-top: 4px; }
.kidhero > div { display: flex; flex-direction: column; }
.kidhero small { font-size: .875rem; }
.kidsave { display: flex; gap: 14px; align-items: center; width: 100%; padding-block: 16px 4px; }
.kidsave canvas { width: 76px; height: 98px; flex: none; }
.kidsave b { font-weight: 500; display: block; } .kidsave strong { display: block; font-size: 1.625rem; font-weight: 600; } .kidsave small { color: var(--dim); display: block; line-height: 1.3; }
.gphero { display: flex; gap: 18px; align-items: center; padding-block: 8px 18px; }
.gphero canvas { width: 104px; height: 134px; flex: none; }
.gphero strong { font-size: 2rem; display: block; line-height: 1.1; } .gphero small { color: var(--dim); } .gphero p { margin-top: 6px; }
.gphero canvas, .kidsave canvas, .gj canvas { background: var(--berry); border-radius: 14px; padding: 0; }

/* המדף */
.shelfrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--berry); padding: 14px 10px 0; margin-inline: -16px; align-items: end; padding-inline: 20px; }
.gj { position: relative; display: block; }
.gj canvas { width: 100%; aspect-ratio: 1 / 1.3; display: block; background: none; }
.gi { position: absolute; inset-inline: 0; top: 52%; text-align: center; font-size: 1.5rem; }
.plank2 { height: 10px; margin-inline: -16px; background: #6B4A9E; border-top: 2px solid #8D6CC2; }
.shelflabels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 4px 18px; }
.shelflabels button { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 44px; }
.shelflabels b { font-weight: 500; font-size: .9375rem; line-height: 1.2; }
.shelflabels small { color: var(--dim); }

/* גרפים */
.chart { background: var(--card); padding: 12px; border-radius: 14px; }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.chart text { font: 400 11px Fredoka, sans-serif; fill: var(--dim); }
.chart .axis, .chart .zero { stroke: var(--line); stroke-width: 1; }
.chart .zero { stroke: var(--dim); stroke-dasharray: 3 4; }
.chart .s1 { fill: var(--s1); background: var(--s1); } .chart .s2 { fill: var(--s2); background: var(--s2); }
.chart .hit { fill: transparent; }
.chart .ln { fill: none; stroke: var(--s1); stroke-width: 2; stroke-linejoin: round; }
.chart .cross { stroke: var(--dim); stroke-width: 1; }
.chart .dot { fill: var(--s1); stroke: var(--card); stroke-width: 2; }
.cap { font-weight: 500; font-size: .9375rem; margin-bottom: 6px; min-height: 1.4em; }
.legend { display: flex; gap: 14px; font-size: .875rem; color: var(--dim); margin-bottom: 4px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: block; }

/* מסך הוספה */
.addsheet .sheet { padding-top: 6px; }
.amtbox { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-top: 8px; }
.amtbox .cur { font-size: 1.75rem; color: var(--dim); }
.amtbox .big { font-size: clamp(2.75rem, 15vw, 3.75rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.amtbox .ph { color: var(--dim); opacity: .5; }
.sumline { text-align: center; color: var(--dim); min-height: 1.4em; }
.quick { display: flex; gap: 8px; justify-content: center; margin-block: 2px 8px; }
.pillbtn { display: flex; align-items: center; gap: 5px; padding: 6px 13px; background: var(--tint); border-radius: 99px; font-size: .9375rem; min-height: 40px; }
.pillbtn svg { width: 18px; height: 18px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.key { height: 58px; text-align: center; font-size: 1.625rem; font-weight: 500; background: var(--card); border-radius: 14px; display: grid; place-items: center; }
.key:active { background: var(--tint); }
.key.fn { background: var(--tint); }
.key.zero { grid-column: span 2; }
.key.go { grid-column: span 2; background: var(--honey); color: #2B246E; font-size: 1.1875rem; font-weight: 600; }
.key.go:disabled { opacity: .4; }
.addhead { display: flex; align-items: center; gap: 10px; }
.amtback { font-size: 1.75rem; font-weight: 600; flex: none; }
.addhead .chips { padding-block: 6px; flex: 1; }
.guess { color: var(--dim); }
.ccgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.cc { background: var(--card); border-radius: 14px; padding: 9px 3px 7px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 84px; text-align: center; border: 2px solid transparent; }
.cc span { font-size: 1.625rem; line-height: 1.2; }
.cc small { line-height: 1.15; font-size: .8125rem; }
.cc.on { border-color: var(--accent); }
.morebar { display: flex; justify-content: space-between; margin-top: 8px; }
.hint { text-align: center; color: var(--dim); font-size: .875rem; margin-top: 8px; }

/* קליטה */
.ob { min-height: 100dvh; padding: calc(env(safe-area-inset-top, 0px) + 24px) 20px 28px; display: flex; flex-direction: column; margin-bottom: calc(-1 * (var(--nav) + var(--safe) + 22px)); }
.ob h2 { font-size: 1.625rem; font-weight: 600; }
.ob.welcome { background: var(--berry); color: #fff; align-items: center; text-align: center; justify-content: center; gap: 12px; }
.welcome canvas { width: 180px; height: 232px; }
.welcome h1 { font-size: 2.125rem; line-height: 1.12; font-weight: 700; }
.welcome p { color: #D5D1F4; max-width: 30ch; font-size: 1.0625rem; }
.welcome .stack { width: 100%; max-width: 340px; margin-top: 12px; }
.welcome .samsung { font-size: .9375rem; max-width: none; }
a.btn, a.link { text-decoration: none; }
.note a.link { color: inherit; text-decoration: underline; }
.obdots { display: flex; gap: 6px; margin-bottom: 20px; }
.obdots i { height: 5px; flex: 1; border-radius: 5px; background: var(--line); }
.obdots i.on { background: var(--honey); }
.obnav { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.fxlist { display: flex; flex-direction: column; }
.fx { display: flex; align-items: center; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.fx input { width: 96px !important; text-align: center; }

/* הגדרות, ייבוא */
.codebox { background: var(--tint); padding: 14px; border-radius: 14px; }
.codebox small { color: var(--dim); }
.codebox strong { display: block; font-size: 1.5rem; font-weight: 600; text-align: start; letter-spacing: .03em; margin-bottom: 6px; }
label.row { cursor: pointer; }
.foot { text-align: center; color: var(--dim); font-size: .875rem; margin-top: 8px; }
.filebtn { cursor: pointer; }
.imp { flex-wrap: wrap; }
.imp select { flex-basis: 100%; min-height: 40px; padding: 6px 10px; font-size: .9375rem; }
.imp select.unk { border-color: var(--honey); }
.stickyb { position: sticky; bottom: 0; }

#toast { position: fixed; inset-inline: 16px; bottom: calc(var(--nav) + var(--safe) + 14px); background: #1F1A4D; color: #fff; padding: 12px 16px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 40; opacity: 0; transform: translateY(12px); transition: .22s; pointer-events: none; }
#toast.show { opacity: 1; transform: none; pointer-events: auto; }
#toast button { color: var(--honey); font-weight: 600; min-height: 32px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (min-width: 700px) { .hero, .bar { padding-inline: calc(50% - 304px); } .sheet { inset-inline: calc(50% - 320px); } .page .sheet { inset-inline: 0; padding-inline: calc(50% - 304px); } .plank { margin-inline: calc(304px - 50%); } }
