:root,[data-theme=dark]{color-scheme:dark;--bg: #1a1c23;--surface: #22252f;--surface-2: #2a2e3a;--border: #33384a;--accent: #f97316;--primary: var(--accent);--accent-strong: #ea580c;--accent-dim: rgba(249, 115, 22, .15);--accent-border: rgba(249, 115, 22, .35);--accent-glow: rgba(249, 115, 22, .32);--primary-glow: var(--accent-glow);--hero-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);--xmas-secondary:#f97316;--xmas-gold: #f97316;--xmas-ribbon: none;--xmas-ambient: none;--btn-text: #ffffff;--text: #f1f5f9;--text-muted: #8892a4;--text-inv: #0f172a;--danger: #ef4444;--danger-dim: rgba(239, 68, 68, .12);--success: #22c55e;--overlay-bg: rgba(0, 0, 0, .65);--shadow: 0 8px 32px rgba(0, 0, 0, .5);--header-bg: #14161d;--drawer-bg: #14161d;--toggle-knob: #f97316;--input-bg: rgba(255, 255, 255, .06);--input-border: rgba(255, 255, 255, .1);--row-stripe: rgba(255, 255, 255, .03);--heat-0: #333848;--heat-0-hi: #485068;--heat-0-lo: #232734;--heat-1: #c89d2b;--heat-1-hi: #eed171;--heat-1-lo: #906c14;--heat-2: #fb923c;--heat-2-hi: #fed09c;--heat-2-lo: #c55d12;--heat-3: #22c55e;--heat-3-hi: #86efac;--heat-3-lo: #15803d;--heat-4: #ef4444;--heat-4-hi: #fda4af;--heat-4-lo: #a81b1b;--body-light: #353b4d;--body-fill: #262a36;--body-dark: #191c25;--body-stroke: #464e64;--muscle-stroke: #1a1c23;--muscle-selected-stroke: #ffffff}[data-theme=light]{color-scheme:light;--bg: #f4f6f9;--surface: #ffffff;--surface-2: #eef1f6;--border: #dde3ee;--accent: #f97316;--primary: var(--accent);--accent-strong: #ea580c;--accent-dim: rgba(249, 115, 22, .1);--accent-border: rgba(249, 115, 22, .3);--accent-glow: rgba(249, 115, 22, .25);--primary-glow: var(--accent-glow);--hero-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);--xmas-secondary:#f97316;--xmas-gold: #f97316;--xmas-ribbon: none;--xmas-ambient: none;--btn-text: #ffffff;--text: #111827;--text-muted: #6b7280;--text-inv: #ffffff;--danger: #dc2626;--danger-dim: rgba(220, 38, 38, .08);--success: #16a34a;--overlay-bg: rgba(0, 0, 0, .4);--shadow: 0 4px 24px rgba(0, 0, 0, .12);--header-bg: #ffffff;--drawer-bg: #ffffff;--toggle-knob: #f97316;--input-bg: #f4f6f9;--input-border: #dde3ee;--row-stripe: rgba(0, 0, 0, .02);--heat-0: #d5dce6;--heat-0-hi: #e8edf4;--heat-0-lo: #b8c4d4;--heat-1: #e8bd4b;--heat-1-hi: #fae08c;--heat-1-lo: #c49523;--heat-2: #fb923c;--heat-2-hi: #fdba74;--heat-2-lo: #d96b14;--heat-3: #16a34a;--heat-3-hi: #4ade80;--heat-3-lo: #15803d;--heat-4: #ef4444;--heat-4-hi: #fca5a5;--heat-4-lo: #b91c1c;--body-light: #f6f9fc;--body-fill: #e9eef5;--body-dark: #ccd6e4;--body-stroke: #b9c7da;--muscle-stroke: #ffffff;--muscle-selected-stroke: #111827}[data-template=noel][data-theme=light],[data-theme=noel-sucre]{color-scheme:light;--bg: #fdf7f7;--surface: #ffffff;--surface-2: #f9ebeb;--border: #f0d4d4;--accent: #dc2626;--primary: var(--accent);--accent-strong: #b91c1c;--accent-dim: rgba(220, 38, 38, .1);--accent-border: rgba(220, 38, 38, .3);--accent-glow: rgba(220, 38, 38, .24);--primary-glow: var(--accent-glow);--hero-gradient: linear-gradient(135deg, #be123c 0%, #dc2626 56%, #f43f5e 100%);--xmas-secondary:#0f766e;--xmas-gold: #d97706;--xmas-ribbon: repeating-linear-gradient(-45deg, #dc2626 0 9px, #ffffff 9px 18px);--xmas-candy: repeating-linear-gradient(-45deg, #dc2626 0 7px, #ffffff 7px 14px);--xmas-ambient: radial-gradient(680px circle at 12% 8%, rgba(220, 38, 38, .08), transparent 58%), radial-gradient(560px circle at 90% 88%, rgba(15, 118, 110, .08), transparent 60%);--bulb-wire: rgba(15, 118, 110, .45);--bulb-1: #ef4444;--bulb-2: #ffffff;--bulb-3: #dc2626;--bulb-4: #14b8a6;--bauble-1: #ff5263;--bauble-2: #dc2626;--bauble-3: #991b1b;--bauble-band: #ffffff;--bauble-cap: #d97706;--bauble-done-1: #14b8a6;--bauble-done-2: #0f766e;--bauble-done-3: #115e59;--bauble-star: #fef08a;--hat-red-1: #f43f5e;--hat-red-2: #dc2626;--hat-red-3: #991b1b;--hat-fur: #ffffff;--hat-fur-shade: #f5e2e4;--snow-cap-fill: #ffffff;--snow-cap-edge: #f3d6da;--btn-text: #ffffff;--text: #231719;--text-muted: #755c60;--text-inv: #ffffff;--danger: #dc2626;--danger-dim: rgba(220, 38, 38, .08);--success: #0f766e;--overlay-bg: rgba(35, 23, 25, .45);--shadow: 0 4px 24px rgba(153, 27, 27, .09);--header-bg: #ffffff;--drawer-bg: #fffafa;--toggle-knob: #dc2626;--input-bg: #fdf7f7;--input-border: #ebd0d0;--row-stripe: rgba(220, 38, 38, .03);--heat-0: #e5dcdc;--heat-0-hi: #f4eded;--heat-0-lo: #cbbcbc;--heat-1: #eab308;--heat-1-hi: #fde047;--heat-1-lo: #b48304;--heat-2: #f97316;--heat-2-hi: #fdba74;--heat-2-lo: #c24d09;--heat-3: #16a34a;--heat-3-hi: #4ade80;--heat-3-lo: #15803d;--heat-4: #991b1b;--heat-4-hi: #dc2626;--heat-4-lo: #630d0d;--body-light: #fcf6f6;--body-fill: #f6ecec;--body-dark: #dfd0d0;--body-stroke: #d2b9b9;--muscle-stroke: #fdf7f7;--muscle-selected-stroke: #0f766e}[data-template=noel][data-theme=dark]{color-scheme:dark;--bg: #1a1c23;--surface: #22252f;--surface-2: #2a2e3a;--border: #33384a;--accent: #ef4444;--primary: var(--accent);--accent-strong: #dc2626;--accent-dim: rgba(239, 68, 68, .16);--accent-border: rgba(239, 68, 68, .38);--accent-glow: rgba(239, 68, 68, .34);--primary-glow: var(--accent-glow);--hero-gradient: linear-gradient(135deg, #b91c1c 0%, #dc2626 55%, #ef4444 100%);--xmas-secondary:#14b8a6;--xmas-gold: #fbbf24;--xmas-ribbon: repeating-linear-gradient(-45deg, #ef4444 0 9px, #e2e8f0 9px 18px);--xmas-candy: repeating-linear-gradient(-45deg, #ef4444 0 7px, #e2e8f0 7px 14px);--xmas-ambient: radial-gradient(680px circle at 12% 8%, rgba(239, 68, 68, .1), transparent 58%), radial-gradient(560px circle at 90% 88%, rgba(20, 184, 166, .1), transparent 60%);--bulb-wire: rgba(45, 212, 191, .55);--bulb-1: #ef4444;--bulb-2: #fef08a;--bulb-3: #fca5a5;--bulb-4: #2dd4bf;--bauble-1: #ff6b7a;--bauble-2: #ef4444;--bauble-3: #991b1b;--bauble-band: #fde68a;--bauble-cap: #f59e0b;--bauble-done-1: #2dd4bf;--bauble-done-2: #14b8a6;--bauble-done-3: #0f766e;--bauble-star: #fef08a;--hat-red-1: #fb7185;--hat-red-2: #ef4444;--hat-red-3: #991b1b;--hat-fur: #f8fafc;--hat-fur-shade: #cbd5e1;--snow-cap-fill: #f1f5f9;--snow-cap-edge: #94a3b8;--btn-text: #ffffff;--text: #f1f5f9;--text-muted: #8892a4;--text-inv: #0f172a;--danger: #ef4444;--danger-dim: rgba(239, 68, 68, .15);--success: #14b8a6;--overlay-bg: rgba(0, 0, 0, .68);--shadow: 0 8px 32px rgba(0, 0, 0, .52);--header-bg: #14161d;--drawer-bg: #14161d;--toggle-knob: #ef4444;--input-bg: rgba(255, 255, 255, .06);--input-border: rgba(255, 255, 255, .1);--row-stripe: rgba(255, 255, 255, .03);--heat-0: #333848;--heat-0-hi: #485068;--heat-0-lo: #232734;--heat-1: #eab308;--heat-1-hi: #fde047;--heat-1-lo: #a16207;--heat-2: #f97316;--heat-2-hi: #fdba74;--heat-2-lo: #c2410c;--heat-3: #22c55e;--heat-3-hi: #86efac;--heat-3-lo: #15803d;--heat-4: #dc2626;--heat-4-hi: #f87171;--heat-4-lo: #7f1d1d;--body-light: #353b4d;--body-fill: #262a36;--body-dark: #191c25;--body-stroke: #464e64;--muscle-stroke: #1a1c23;--muscle-selected-stroke: #2dd4bf}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;height:100%}html{background-color:var(--bg);transition:background-color .25s ease}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:transparent;color:var(--text);-webkit-font-smoothing:antialiased;transition:color .25s ease}html[data-template=noel]:before,html[data-xmas=true]:before{content:"";position:fixed;top:0;left:0;right:0;height:3px;background:var(--xmas-ribbon);z-index:10002;pointer-events:none}html[data-template=noel] body:before,html[data-xmas=true] body:before{content:"";position:fixed;inset:0;background:var(--xmas-ambient);pointer-events:none;z-index:-2}html[data-template=noel] .card,html[data-template=noel] .group-card,html[data-template=noel] .meas-card,html[data-template=noel] .xmas-card,html[data-theme=noel-sucre] .card,html[data-theme=noel-sucre] .group-card,html[data-theme=noel-sucre] .meas-card,html[data-theme=noel-sucre] .xmas-card{position:relative}html[data-template=noel] .card:before,html[data-template=noel] .group-card:before,html[data-template=noel] .meas-card:before,html[data-template=noel] .xmas-card:before,html[data-theme=noel-sucre] .card:before,html[data-theme=noel-sucre] .group-card:before,html[data-theme=noel-sucre] .meas-card:before,html[data-theme=noel-sucre] .xmas-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--xmas-candy);border-radius:12px 12px 0 0;pointer-events:none;z-index:4}html[data-template=noel] .xmas-snow-cap,html[data-theme=noel-sucre] .xmas-snow-cap{top:3px}html[data-template=noel] .group-card:before,html[data-theme=noel-sucre] .group-card:before{border-radius:9px 9px 0 0}input{width:100%;padding:.75rem;border-radius:8px;border:1px solid var(--border);background:var(--input-bg);color:var(--text);margin-bottom:1rem;box-sizing:border-box;font-size:1rem;transition:border-color .2s,background .2s}input:focus{outline:none;border-color:var(--accent)}button{width:100%;padding:.8rem;border-radius:8px;border:none;background:var(--accent);color:var(--btn-text, #fff);font-size:1rem;font-weight:700;cursor:pointer;transition:opacity .2s,transform .15s}button:active{opacity:.85}.container{padding:1rem;max-width:480px;margin:0 auto}.card{background:var(--surface);border-radius:14px;padding:1.75rem;border:1px solid var(--border);box-shadow:var(--shadow)}.btn-secondary{background:transparent;border:1.5px solid var(--accent);color:var(--accent)}.mof-unilateral-pill{display:inline-flex;align-items:center;gap:.2rem;padding:.1rem .42rem;border-radius:999px;font-size:.66rem;font-weight:700;letter-spacing:.01em;line-height:1.25;white-space:nowrap;flex-shrink:0;background:#f9731624;color:var(--accent, #f97316);border:1px solid rgba(249,115,22,.34)}.mof-unilateral-chip{background:#f9731624!important;color:var(--accent, #f97316)!important;border-color:#f973165c!important;font-weight:700!important}.mof-unilateral-mult{margin-left:.22rem;font-size:.72em;font-weight:600;color:var(--accent, #f97316);white-space:nowrap}
