:root{color-scheme:light;--cream:#fffaf3;--paper:#fffdf8;--ink:#513426;--soft:#795d4e;--line:#e2d1bb;--accent:#b88b6b;--rose:#dcae9f;--font-size-base:16px}
*{box-sizing:border-box}html{background:var(--cream)}body{margin:0;color:var(--ink);font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:16px;line-height:1.8;background:radial-gradient(ellipse at 8% 6%,#ead6bf60,transparent 32%),radial-gradient(ellipse at 96% 25%,#eacdc040,transparent 30%),var(--cream)}
button,input,select{font:inherit}a{color:#80523b;text-underline-offset:4px}a:hover{color:#513426}button,summary{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #b88b6b;outline-offset:4px}button{touch-action:manipulation}
.site-header{max-width:980px;margin:0 auto;padding:28px 28px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-family:Georgia,"Yu Mincho",serif;font-size:1.4rem;font-style:italic;letter-spacing:.035em}.brand svg{width:24px;height:42px}.header-note{font-size:.875rem;letter-spacing:.07em;color:var(--soft)}
.hero{text-align:center;max-width:760px;margin:0 auto;padding:35px 24px 43px;position:relative}.eyebrow{font-size:.8rem;letter-spacing:.17em;color:var(--soft);margin:0 0 7px}.hero h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(1.8rem,4vw,2.55rem);font-weight:500;letter-spacing:.06em;margin:0;line-height:1.55}.hero p:last-child{margin:13px 0 0;color:var(--soft);font-size:.95rem;line-height:1.9}.hero .accent{position:relative;white-space:nowrap}.hero .accent:after{content:"";position:absolute;left:0;right:0;bottom:-6px;border-bottom:5px solid #dfc8a560;border-radius:50%;transform:rotate(-2deg)}
#konu-sweetener-converter{max-width:980px;padding:0 28px;margin:0 auto;display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:start}.paper{background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:1px 5px 18px #5134260a;position:relative;padding:32px}.tape{position:absolute;top:-13px;left:50%;width:102px;height:27px;transform:translateX(-50%) rotate(-3deg);background:repeating-linear-gradient(90deg,#dfc8a591 0 2px,#dfc8a560 2px 5px);clip-path:polygon(1% 5%,98% 0,100% 93%,0 100%)}
h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:1.3rem;line-height:1.6;font-weight:500;letter-spacing:.04em;margin:0 0 22px}.sweet-block{margin-top:20px}.viz-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-label{display:block;font-size:.875rem;font-weight:500;line-height:1.65}.form-control,.form-select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #d9c5ac;border-radius:5px;background:#fff;color:var(--ink);margin-top:7px;font-size:1rem;box-shadow:inset 0 1px 2px #51342604}.form-control:hover,.form-select:hover{border-color:#b88b6b}.form-control:focus,.form-select:focus{border-color:#987151;background:#fffefb}.form-select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23795d4e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.form-range{width:100%;height:28px;margin:12px 0 0;accent-color:#a07856}.range-label{font-weight:400;color:var(--soft)}
#sweet-target{font-size:.92rem}#sweet-amount{font-family:Georgia,"Yu Mincho",serif;font-size:1.4rem;line-height:1.3}#sweet-recipe-note{font-size:.8rem;line-height:1.8;background:#f6ede1;padding:10px 12px;border-radius:4px;margin-top:12px}.text-small{font-size:.875rem;line-height:1.8}.text-muted{color:var(--soft)}hr{border:0;border-top:1px dashed #ddcbb4;margin:25px 0}.form-paper>.viz-controls:nth-of-type(4){grid-template-columns:1fr}
.result-paper{background:#fbf3e7;box-shadow:2px 5px 18px #5134260b}.result-paper:after{content:"";position:absolute;right:15px;bottom:15px;width:40px;height:40px;border-right:1px solid #dfc8a5;border-bottom:1px solid #dfc8a5;border-radius:0 0 4px 0;pointer-events:none}.result-eyebrow{font-size:.8rem;color:var(--soft);letter-spacing:.06em;margin:-13px 0 23px}.use-summary{padding-bottom:23px;margin-bottom:19px;border-bottom:1px dashed #d8bea1}.use-name{font-size:.9rem;color:var(--soft)}.use-amount{font-family:Georgia,"Yu Mincho",serif;font-size:2.4rem;line-height:1.5;letter-spacing:.02em}.use-amount span{font-size:1.1rem;margin-left:6px}.viz-grid{display:grid;grid-template-columns:1fr;gap:19px}.card{background:transparent;border:0;padding:0}.card>div:first-child{font-size:.875rem;color:var(--soft)}.viz-stat-value{font-family:Georgia,"Yu Mincho",serif;font-size:1.9rem;line-height:1.5}.tabular-nums{font-variant-numeric:tabular-nums}#sweet-ratio{padding-top:17px;border-top:1px dashed #d8bea1;font-size:.8rem;color:var(--soft)}#sweet-liquid{font-weight:500;margin-top:14px}.result-footnote{font-size:.8rem;line-height:1.9;color:var(--soft);margin-top:24px}.result-flower{width:56px;height:82px;display:block;margin:22px auto 0;opacity:.8}
.extras{grid-column:1/-1;margin:0 8px}.extras .sweet-block{margin:0}.extras details{border-bottom:1px solid var(--line);padding:18px 0}.extras summary{font-size:.875rem;list-style-position:outside;margin-left:18px}.extras summary::marker{color:#b88b6b}.extras details[open] summary{margin-bottom:16px}.extras .table-responsive{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:.875rem}.table th{text-align:left;font-weight:500}.table td,.table th{padding:7px 8px;border-bottom:1px solid #ebdecd}.table .form-control{margin:0;min-width:74px;min-height:42px;padding:7px 8px}.table th:first-child{width:43%}.sweet-links{display:grid;gap:8px}.text-destructive{color:#a73f2d}#sweet-error{background:#fff1e9;padding:12px;border-radius:4px;font-size:.875rem}.method-note{max-width:760px;margin:30px auto 0;text-align:center;padding:0 28px;color:var(--soft);font-size:.875rem;line-height:1.9}.site-footer{max-width:980px;padding:28px;margin:24px auto 0;display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);font-size:.8rem;color:var(--soft)}.site-footer .footer-brand{font-family:Georgia,serif;font-size:1.2rem;font-style:italic}.site-footer p{margin:0}.screen-reader-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(min-width:721px){.result-paper{position:sticky;top:28px}.form-paper .viz-controls:has(#sweet-target){grid-template-columns:1fr}.form-paper .viz-controls:has(#sweet-target) label:last-child{margin-top:1px}}
@media(max-width:720px){.site-header{padding:20px 22px 0}.header-note{font-size:.75rem}.brand{font-size:1.2rem}.hero{padding:26px 22px 34px}.hero h1{font-size:1.85rem}.hero p:last-child{font-size:.875rem}.hero .break{display:block}#konu-sweetener-converter{padding:0 22px;grid-template-columns:1fr;gap:30px}.paper{padding:27px 24px}.extras{margin:0}.result-flower{position:absolute;right:24px;bottom:37px;width:42px;height:65px;opacity:.5;pointer-events:none}.result-footnote{padding-right:34px}.result-paper:after{display:none}.method-note{margin-top:23px;text-align:left;padding:0 24px}.site-footer{padding:22px;align-items:flex-start;gap:12px}.site-footer p{max-width:195px}.use-amount{font-size:2.25rem}.viz-grid{grid-template-columns:1fr 1fr;gap:14px}.viz-stat-value{font-size:1.65rem}}
@media(max-width:380px){#konu-sweetener-converter{padding:0 16px}.site-header{padding-inline:18px}.hero{padding-inline:18px}.hero h1{font-size:1.65rem}.paper{padding:25px 20px}.viz-controls{gap:12px}.form-label{font-size:.82rem}.form-paper .viz-controls:has(#sweet-target){grid-template-columns:1fr}.header-note{display:none}.viz-stat-value{font-size:1.45rem}}
.hero .course-label{display:inline-block;font-size:.875rem;letter-spacing:.12em;background:#f3e8da;border:1px solid #dfc8a5;border-radius:999px;padding:4px 17px;margin-bottom:15px;color:#795d4e}
@media(prefers-reduced-motion:no-preference){.form-control,.form-select{transition:background-color .15s,border-color .15s}}
