:root{--bg:#f3f1ec;--dot:#d9d5cc;--ink:#16181d;--muted:#5d6470;--card:#fff;--line:#e4e1da;--orange:#ff7a00;--good:#00807a;--good-soft:#e3f3f2;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;overflow:hidden}body{color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,sans-serif}.viewport{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--bg);background-image:radial-gradient(var(--dot) 1.2px, transparent 1.2px);cursor:grab;background-size:22px 22px;position:fixed;inset:0;overflow:hidden}.viewport:active{cursor:grabbing}.mobile-hint{display:none}.content{transform-origin:0 0;will-change:transform;width:max-content;position:absolute;top:0;left:0}.board{flex-direction:column;gap:72px;width:max-content;padding:64px;display:flex}.intro h1{letter-spacing:-.02em;margin:0 0 12px;font-size:56px;font-weight:800}.intro p{color:var(--muted);max-width:1100px;margin:0;font-size:22px;line-height:1.5}.intro .hint{margin-top:8px;font-size:18px}.mark-legend{color:var(--orange);font-weight:700}.section h2{background:var(--ink);color:#fff;border-radius:12px;margin:0 0 20px;padding:6px 18px;font-size:34px;font-weight:800;display:inline-block}.row{align-items:flex-start;gap:32px;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:24px;min-width:420px;padding:24px 64px 28px;box-shadow:0 2px #00000008,0 12px 32px #0000000d}.card-head{align-items:center;gap:12px;margin-bottom:18px;display:flex}.card-head h3{margin:0;font-size:26px;font-weight:750}.card-idx{min-width:34px;height:34px;color:var(--muted);background:#f0eee9;border-radius:10px;place-items:center;padding:0 8px;font-size:17px;font-weight:700;display:grid}.card-body{align-items:flex-start;gap:40px;display:flex}.group{flex-direction:column;gap:10px;display:flex}.tag{color:#c45a00;background:#fff1e5;border-radius:999px;align-self:flex-start;padding:4px 12px;font-size:15px;font-weight:700}.tag-good{background:var(--good-soft);color:var(--good)}.shots{gap:72px;display:flex}.shot{flex-direction:column;align-items:center;gap:6px;margin:0;display:flex}.shot figcaption{color:var(--muted);font-size:15px;font-weight:600}.shot-frame{aspect-ratio:920/2000;background:#f4f4f4;border-radius:22px;outline:1px solid #00000014;width:220px;position:relative}.shot-frame img{object-fit:cover;-webkit-user-select:none;user-select:none;border-radius:22px;width:100%;height:100%;display:block}.shot-fixed{aspect-ratio:9/16;outline:3px solid var(--good);width:auto;height:478.261px}.shot-marks{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.mk-box{fill:none;stroke:var(--orange);stroke-width:1.1px}.mk-line{stroke:var(--orange);stroke-width:1.6px;stroke-linecap:round}.mk-halo{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round}.mk-head{fill:var(--orange);stroke:#fff;stroke-width:.6px;stroke-linejoin:round}.mk-badge{fill:var(--orange);stroke:#fff;stroke-width:1px}.mk-num{fill:#fff;text-anchor:middle;dominant-baseline:central;font-size:6.4px;font-weight:800}.to{color:var(--good);margin-top:250px;font-size:44px;font-weight:300}.problems{flex-direction:column;gap:8px;max-width:760px;margin:22px 0 0;padding:0;list-style:none;display:flex}.problems li{align-items:flex-start;gap:10px;font-size:19px;line-height:1.4;display:flex}.num{background:var(--orange);color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;margin-top:0;font-size:14px;font-weight:800;display:grid}.fix{background:var(--good-soft);border-radius:14px;max-width:760px;margin:14px 0 0;padding:12px 16px;font-size:19px;line-height:1.45}.fix b{color:var(--good)}.swatches{gap:28px;display:flex}.swatches>div{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.sw{color:#fff;border-radius:14px;place-items:center;width:200px;height:52px;font-size:18px;font-weight:700;display:grid}.sw-old{background:linear-gradient(#8ad3d6 0%,#5ab8cf 55%,#3d86cf 100%)}.sw-new{background:var(--good)}.sw-bg-old{background:linear-gradient(#b5ecf2,#e6f8fb);border-radius:18px;padding:16px}.sw-bg-new{outline:1px solid var(--line);background:#fff;border-radius:18px;padding:16px}.swatches code{color:var(--muted);font-size:16px}.toolbar{left:50%;bottom:max(14px, env(safe-area-inset-bottom));border:1px solid var(--line);scrollbar-width:none;background:#fff;border-radius:16px;gap:4px;max-width:calc(100vw - 24px);padding:6px;display:flex;position:fixed;overflow-x:auto;transform:translate(-50%);box-shadow:0 8px 24px #0000001f}.toolbar button{font:inherit;color:var(--ink);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:10px;flex:none;padding:9px 12px;font-size:14px;font-weight:600}.toolbar button:hover{background:#f1efea}.toolbar .sep{background:var(--line);flex:none;width:1px;margin:6px 2px}.editable{border-radius:6px;transition:background-color .2s,box-shadow .2s}.editable:hover{cursor:text;background:#fff4c2}.editable[data-editing=true]{box-shadow:0 0 0 2px var(--orange);-webkit-user-select:text;user-select:text;cursor:text;background:#fff;outline:none}.editable[data-state=saved]{background:#d7f5e5}.editable[data-state=error]{background:#ffd9d9}.edit-hint{color:#8a5a00;white-space:nowrap;background:#fff4c2;border-radius:8px;flex:none;align-self:center;margin-right:4px;padding:6px 10px;font-size:13px;font-weight:600}.editable:empty{min-width:180px;display:inline-block}.editable:empty:before{content:"Энд 2 дарж бичнэ…";color:#a7a39b}@media (width<=760px){.mobile{-webkit-overflow-scrolling:touch;background-color:var(--bg);background-image:radial-gradient(var(--dot) 1.2px, transparent 1.2px);background-size:22px 22px;position:fixed;inset:0;overflow:hidden auto}.board{width:auto;padding:20px 14px calc(110px + env(safe-area-inset-bottom));gap:36px}.intro h1{margin-bottom:8px;font-size:28px}.intro p{font-size:15px}.intro .hint{display:none}.intro .mobile-hint{margin-top:8px;font-size:13px;display:block}.section{scroll-margin-top:12px}.section h2{border-radius:10px;margin-bottom:12px;padding:5px 12px;font-size:20px}.row{flex-direction:column;gap:16px}.card{border-radius:18px;width:100%;min-width:0;padding:16px}.card-head{margin-bottom:10px}.card-head h3{font-size:19px}.card-idx{min-width:28px;height:28px;font-size:14px}.card-body{scroll-snap-type:x proximity;scrollbar-width:none;gap:28px;margin:0 -16px;padding:4px 40px 28px 54px;overflow-x:auto}.card-body::-webkit-scrollbar{display:none}.group{scroll-snap-align:start;flex:none;scroll-margin-left:54px}.shots{gap:48px}.shot-frame{border-radius:16px;width:158px}.shot-frame img{border-radius:16px}.shot-fixed{width:auto;height:343.478px}.to{flex:none;margin-top:170px;font-size:30px}.problems{margin-top:4px}.problems li,.fix{font-size:15px}.num{width:22px;height:22px;font-size:12px}.fix{padding:10px 12px}.swatches{gap:16px}.sw{width:130px;height:44px;font-size:15px}.sw-bg-old,.sw-bg-new{padding:10px}.toolbar{max-width:none;left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom));transform:none}.toolbar button{padding:9px 10px;font-size:13px}.toolbar .zoom-only,.edit-hint{display:none}}
