/* Cafe Ito / Colorful donut atelier. Applies after app.css. */
:root{--paper:#fff9ef;--cream:#fff0d5;--ink:#493840;--muted:#79616a;--line:#e8cfc3;--green:#466b57;--pink:#f3aebb;--pink-dark:#a93959;--white:#fffdf8;--rose:#b34563;--butter:#f9d97e;--sage:#adcbb2;--lilac:#ddd5ee}
body{background-color:var(--paper);background-image:radial-gradient(#cea48d2b .8px,transparent .8px);background-size:9px 9px}
.site-header{max-width:1240px;padding-top:22px;padding-bottom:22px;position:relative}
.brand{color:#74424d}.brand-mark{color:var(--rose);border-right-color:#ddb7b7}.brand small{color:#79616a;letter-spacing:.12em}
.site-header nav{padding:5px 8px;background:#fffdfa;border:1px solid #eedbd0;border-radius:40px;gap:5px;box-shadow:0 4px 0 #f0dfcc77}
.site-header nav a{padding:9px 19px;border-radius:30px;font-size:12px}.site-header nav a.active{background:#f5c3cc;color:#7c2d46}.site-header nav a.active:after{display:none}.site-header nav a:hover{background:#fce4da;text-decoration:none}
.account-button{background:#f8df98;border-color:#e6c975;color:#684e36;box-shadow:0 3px 0 #e2c27155;font-weight:500;min-height:44px}
.demo-banner{background:#e8edd9;color:#445f48;border-top:1px solid #d7e2bd;border-bottom:1px solid #d7e2bd}.demo-banner span{color:#536849}
main{max-width:1220px;padding:0 40px}
.intro{position:relative;isolation:isolate;margin:28px -6px 0;padding:40px 40px 46px;min-height:350px;gap:22px;border-radius:30px 30px 0 0;background:#fbe5d8;overflow:hidden}
.intro:before{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 7% 10%,#fff4c9 0,transparent 33%),radial-gradient(circle at 95% 80%,#f3bdc9 0,transparent 40%)}
.intro:after{content:'';position:absolute;left:34px;top:21px;width:62px;height:9px;background:repeating-linear-gradient(90deg,#d7868e 0 6px,transparent 6px 12px);transform:rotate(-5deg);opacity:.5}
.intro>div:first-child{position:relative;z-index:2;width:55%;flex-shrink:0}.intro .eyebrow{color:#98516a;font-size:10px;letter-spacing:.17em}.little-flower{color:#b75873;font-size:25px}
.intro h1{font-size:52px;line-height:1.45;letter-spacing:.03em;margin-bottom:20px;color:#60414a}.intro h1 span{display:block;color:#ae4262}.intro h1 span:after{height:9px;bottom:0;background:var(--butter);width:86%;opacity:.85;border-radius:50%;transform:rotate(-2deg);z-index:-1}
.intro p:not(.eyebrow){font-size:12px;line-height:2.05;color:#72515c;margin:0}
.hero-confections{position:relative;align-self:stretch;flex:1;min-width:0;min-height:290px}.hero-confections:before{content:'';position:absolute;inset:10px -35px 0 -10px;background:#f3bbca;border-radius:48% 52% 40% 60%;transform:rotate(-15deg);border:1px solid #eba0b333}
.hero-donut{position:absolute;filter:drop-shadow(0 11px 7px #8b535920)}.hero-donut svg{display:block;width:100%}.hero-donut-0{width:235px;left:-35px;top:16px;transform:rotate(-18deg);z-index:2}.hero-donut-1{width:173px;right:-20px;top:5px;transform:rotate(15deg);z-index:1}.hero-donut-2{width:195px;right:-1px;bottom:-45px;transform:rotate(-10deg);z-index:3}
.hero-sticker{position:absolute;font-size:11px;line-height:1.7;z-index:4;text-align:center;padding:13px 16px;border:1px solid #b6935933;box-shadow:0 4px 0 #a4685a13}.sticker-yellow{left:-12px;bottom:-7px;transform:rotate(-8deg);background:#fae49a;color:#795329;border-radius:4px}.sticker-yellow:before{content:'';position:absolute;top:-6px;left:25%;width:50%;height:13px;background:#f5efe1aa;transform:rotate(4deg)}.sticker-green{right:-11px;top:-12px;background:#d6e5cd;border-color:#aac298;color:#426448;transform:rotate(12deg);border-radius:46% 54% 44% 56%;font-size:9px;padding:17px 21px}.sticker-green b{font-size:11px}.hero-flower{position:absolute;font-size:59px;line-height:1;color:#b67199;left:-43px;bottom:63px;z-index:4}.hero-spark{position:absolute;font-size:45px;color:#95724a;right:-20px;bottom:83px;z-index:4}
.flavor-ribbon{display:flex;align-items:center;justify-content:space-around;gap:14px;margin:0 -6px 27px;background:#b84e68;color:#fff7e9;padding:11px 20px;border-radius:0 0 16px 16px;font-size:9px;letter-spacing:.12em;overflow:hidden}.flavor-ribbon span{white-space:nowrap}.flavor-ribbon i{font-size:15px;font-style:normal;color:#ffe3a0}
.theme-strip{margin-bottom:24px;padding:15px 20px;border:1px solid #e9cb80;border-radius:16px;background:#fff0bb;box-shadow:0 4px 0 #f0dba955;position:relative}.theme-strip .pill{color:#fff9e9;background:#9b6c34}.theme-strip select{color:#745128;font-size:14px}.theme-strip>small{color:#795728}.theme-note{color:#7f623b}
.atelier{border:1px solid #ddb9ab;border-radius:26px;box-shadow:0 8px 0 #ecdbcb,0 16px 35px #a2705714;overflow:clip;background:#fffdf8;grid-template-columns:1fr 1.12fr}
.preview-panel{background-color:#dcebcf;background-image:linear-gradient(90deg,#fbfff52e 50%,transparent 50%),linear-gradient(#fbfff52e 50%,transparent 50%);background-size:42px 42px;border-right:1px solid #c7d6bb;padding:27px 30px 29px}
.preview-heading{color:#4e6a4d}.preview-heading>span:first-child{letter-spacing:.17em;font-weight:500}.tiny-pill{background:#fcf6d8;border-color:#cfcc91;color:#626341;transform:rotate(3deg);padding:5px 11px}
.donut-stage{margin:4px auto 0}.donut-stage:before{content:'';position:absolute;inset:12% 3% 3%;border:1px dashed #82a67c;border-radius:50%;transform:rotate(-12deg);opacity:.7}.donut-stage svg{position:relative}.stage-spark{color:#b26682}.spark-b{color:#7a9060}
.preview-caption{margin-top:-3px}.handwritten{display:inline-block;background:#fff8db;padding:3px 15px;color:#6c7149;border-radius:20px;font-size:10px;border:1px solid #dfd8a3}.preview-caption h2{color:#385d48;margin:11px 0 6px}.preview-caption p{color:#546d52}
.point-box{background:#fffef3c9;padding:14px 17px;border:1px solid #bbcca8;border-radius:13px;box-shadow:0 3px 0 #abbc9140}.point-box>div:first-child>span{color:#4e6343}.point-box b{color:#a84767}.point-box>small{color:#60704f}.meter{background:#e9dfbb;height:7px}.meter span{background:repeating-linear-gradient(120deg,#d28595 0 9px,#e6a4b0 9px 18px)}
.recipe-chips span{background:#fffcf0;border-color:#bfd0ad;color:#526546;padding:5px 10px}.recipe-chips span:nth-child(3n+2){background:#fff0e5;border-color:#e6c3b0}.recipe-chips span:nth-child(3n){background:#f9e5ef;border-color:#ddbfcf}
.work-panel{padding:25px 29px 22px;background:#fffdfa}.step-nav{border-bottom:1px dashed #d9b8bf;padding-bottom:22px;gap:6px}.step-nav button>span{background:#f2deeb;color:#7f5570;border:1px solid #e5c6d6;width:33px;height:33px;line-height:31px;font-size:12px;box-shadow:0 2px 0 #e9cbd64d}.step-nav button:nth-child(2)>span{background:#fff0b5;color:#88652f;border-color:#eed78a}.step-nav button:nth-child(3)>span{background:#ddeaca;color:#5c7145;border-color:#c0d2a6}.step-nav button:nth-child(4)>span{background:#e5def6;color:#75618c;border-color:#d2c2e9}.step-nav button:nth-child(5)>span{background:#f9dccb;color:#986448;border-color:#e9bfa6}.step-nav button.current>span{background:var(--rose);border-color:#a73957;color:#fff;box-shadow:0 3px 0 #e9b7c3;transform:translateY(-2px)}.step-nav button.done>span{background:#4f755b;color:#fff;border-color:#4f755b}.step-nav .current small{color:#a03756}
.step-body>.eyebrow{color:#a4506a;letter-spacing:.12em}.step-body h2{color:#684252;font-size:24px}.step-body h3{display:flex;align-items:center;color:#81515e;gap:5px}.step-body h3:before{content:'';display:inline-block;width:7px;height:7px;background:#e3a4b5;border-radius:50%;margin-right:3px}
.ingredient-grid{gap:12px}.ingredient-wrap{background:#fdf3eb;border:1px solid #e6c7b7;border-radius:15px;box-shadow:0 3px 0 #ebd2bc55;transition:transform .18s,box-shadow .18s,border-color .18s}.ingredient-wrap:nth-child(4n+2){background:#f9eaf0;border-color:#e5c1cd}.ingredient-wrap:nth-child(4n+3){background:#edf2df;border-color:#cfdbb2}.ingredient-wrap:nth-child(4n+4){background:#f1edfa;border-color:#d9cdec}.ingredient-wrap.kind-coating{background:#fbefdf}.ingredient-wrap.kind-sauce{background:#fbefd7}.ingredient-wrap.kind-base{background:#fcf0d0}.ingredient-wrap.kind-base:nth-child(2){background:#f3e1d9}.ingredient-wrap:not(.unavailable):hover{transform:translateY(-3px);border-color:#c17189;box-shadow:0 6px 0 #edd5d766}.ingredient-wrap.selected{border:2px solid #b65270;background:#fce3eb;box-shadow:0 3px 0 #e6a6bb66}.ingredient-wrap.selected .ingredient i{background:#b65270;color:white;border-radius:50%;width:17px;height:17px;text-align:center;line-height:17px;top:7px;right:7px}.ingredient{min-height:100px;padding:16px 12px;gap:10px}.ingredient svg{background:#fffaf7aa;border:1px solid #ffffff;border-radius:13px;padding:4px;width:50px;max-width:30%;height:50px;flex-shrink:0}.ingredient b{font-size:12px;color:#674656}.ingredient small{color:#826071;font-size:10px}.ingredient i{color:#ae5572}.quantity{background:#fff6f8a8;border-color:#e9bdcb}.quantity button{color:#a44162}.tip{background:#eee7f7;border:1px dashed #c1acd9;color:#735681;transform:rotate(-1deg);padding:16px 18px}.tip span{color:#a481b8}
.button{background:#b34465;border-color:#a33b59;color:#fff9ed;box-shadow:0 3px 0 #8a2c461b;font-weight:500;min-height:44px}.button:hover{background:#99374f;transform:translateY(-1px)}.button.secondary{background:#fff5df;border-color:#dcc58d;color:#725933;box-shadow:0 2px 0 #ddcba733}.button.secondary:hover{background:#f8e6bd}.step-footer{border-color:#e8c8cb}.text-button{color:#965971}.autosave-note{color:#836874}.check input{accent-color:#b34465}.field input,.field textarea,.field select{border-color:#dfc5c6;background:#fffcf9;box-shadow:inset 0 2px 3px #b77d7010}.field>span{color:#7c4c62;font-weight:500}.field input:focus,.field textarea:focus,.field select:focus{outline-color:#b85e7e}.ai-box{background:#f0e9fa;border:1px solid #cebde5;color:#695080;box-shadow:0 4px 0 #e4d8f2}.ai-box summary{color:#735388}.name-choice{background:#fff9ff;border-color:#d5bfeb;color:#725286}.review-card{background:#fff0d0;border-color:#ccab70}.allergens{color:#775e62}
.inspiration{position:relative;padding:60px 0 43px}.inspiration .section-heading .eyebrow{color:#aa4e74}.section-heading h2{color:#70475b}.section-heading h2:after{content:'';display:block;width:75px;height:5px;margin-top:8px;background:repeating-linear-gradient(90deg,#d68da3 0 14px,#ecc16d 14px 28px,#a3bc81 28px 42px);border-radius:4px}.inspiration-grid{gap:20px;margin-top:27px}.idea-card{position:relative;overflow:visible;background:#f7d9e3;border-color:#e6b7c8;border-radius:20px 20px 20px 5px;box-shadow:0 5px 0 #e8c0cc;padding:12px 12px 12px 0;min-height:135px}.idea-card:before{content:'';position:absolute;top:-7px;left:38%;width:60px;height:15px;background:#fff9e6a6;transform:rotate(-5deg);border-left:1px dashed #dec5b4;border-right:1px dashed #dec5b4}.idea-card:nth-child(2){background:#fae2a3;border-color:#e4c67d;box-shadow:0 5px 0 #e7ce94;border-radius:20px 5px 20px 20px;transform:rotate(1deg)}.idea-card:nth-child(3){background:#d9e9cb;border-color:#bbd1a6;box-shadow:0 5px 0 #bdcfae;transform:rotate(-1deg)}.idea-card:hover{transform:translateY(-5px) rotate(0)}.idea-card b{color:#67404e;font-size:15px}.idea-card:nth-child(2) b{color:#7b592b}.idea-card:nth-child(3) b{color:#456b4c}.idea-card small{color:#855268}.idea-card>span>span{color:#73515b}.idea-card:nth-child(2)>span>span{color:#795c36}.idea-card:nth-child(3)>span>span{color:#576b49}.idea-card i{display:inline-block;font-style:normal;background:#fff8e4;border-radius:50%;width:22px;text-align:center;color:#9b506c;margin-left:4px}
.journey{position:relative;margin:10px -6px 45px;background:#eee6f4;border:1px solid #dacee4;border-radius:26px;padding:39px 24px 38px;isolation:isolate;overflow:hidden}.journey:before{content:'＊';position:absolute;top:24px;left:38px;color:#cbb7e0;font-size:86px;line-height:1;transform:rotate(13deg);z-index:-1}.journey:after{content:'＊';position:absolute;right:32px;bottom:22px;font-size:105px;color:#dccbed;line-height:1;z-index:-1}.journey>.eyebrow{color:#816097}.journey h2{color:#765379;font-size:30px}.journey>div{gap:13px}.journey>div p{padding:19px 12px;background:#fff5d3;border:1px solid #e7d5a0;border-radius:16px;box-shadow:0 3px 0 #d7c4dc55;margin:0}.journey>div p:nth-child(2){background:#fbdfe5;border-color:#e9bccb}.journey>div p:nth-child(3){background:#dfebd5;border-color:#c3d4b6}.journey b{color:#735443}.journey span{color:#6f5b67;font-size:11px;line-height:1.9}.journey .button.secondary{background:#fffaf1;border-color:#c4a8d2;color:#74518a}
footer{max-width:none;background:#dce9d6;border-top:6px solid #b9cfae;padding:35px max(40px,calc((100vw - 1140px)/2)) 25px;color:#48664a}.footer-links{font-size:11px}footer b{color:#3d6244;font-size:20px}footer p,footer>small{color:#5c745b}footer>small{letter-spacing:.15em;padding-top:7px}
.page-intro{margin:27px 0 24px;padding:29px 30px 25px;background:#f8dce5;border:1px solid #e7bdce;border-radius:23px;position:relative;overflow:hidden}.page-intro:after{content:'＊';position:absolute;right:28px;top:-13px;color:#ecc0d5;font-size:122px;line-height:1;pointer-events:none}.page-intro h1{color:#914460;position:relative;z-index:1}.page-intro>.eyebrow{color:#a05070}.page-intro p:not(.eyebrow){color:#7e5b6b;position:relative;z-index:1}.gallery-toolbar{padding:15px;background:#fff0c6;border:1px solid #e8d39c;border-radius:16px}.gallery-toolbar select{background:#fffcf2;border-color:#e1c88e}.product-card{border-color:#e5bdcc;border-radius:20px;box-shadow:0 5px 0 #edd0d833}.product-visual{background:#f7dde4}.product-card:nth-child(3n+2) .product-visual{background:#fae7b5}.product-card:nth-child(3n+3) .product-visual{background:#e3edd7}.product-copy{background:#fffdf8}.product-copy h2{color:#82435d}.pill{background:#efdeee;color:#7c547c}.featured{background:#f9dd88;color:#7c5c28;border:1px solid #dfbd63}.heart{color:#b14266}.empty{background:#fcf0de;border:1px dashed #dec5ac;border-radius:25px;margin:25px 0 40px}.empty h1,.empty h2{color:#985470}.empty-donut{color:#c4748f}
.guide,.rules{background:#fffdf8;border:1px solid #e5cfbb;border-top:8px solid #e6a7ba;padding:29px 32px;border-radius:22px;box-shadow:0 6px 0 #ecdccc55}.guide h1,.rules h1{color:#9f4e6b}.guide section:nth-of-type(3n+1){border-bottom-color:#e5b5c9}.guide section:nth-of-type(3n+2){border-bottom-color:#e9cf8c}.guide section:nth-of-type(3n){border-bottom-color:#bcd0ab}.guide h2,.rules h2{color:#825671}
.admin-tabs{border-color:#dfc4d2}.admin-tabs button{background:#f9e6ec;border-color:#e3bccb;color:#98516d}.admin-tabs button:nth-child(2){background:#faedbc;border-color:#e2cb87;color:#826537}.admin-tabs button:nth-child(3){background:#e4eed8;border-color:#c3d6ad;color:#5f764c}.admin-tabs button:nth-child(4){background:#eee4f7;border-color:#d7c6e6;color:#835e96}.admin-tabs button.active{background:#a54869;color:#fff;border-color:#933859;box-shadow:0 3px 0 #e3b4c5}.admin-content>h2,.admin-content .section-heading h2{color:#87485f}.config-card{background:#fffdf7;border-color:#e8c7c7;box-shadow:0 3px 0 #edd9cf55;border-left:5px solid #e3a0b9}.config-card:nth-child(3n+2){border-left-color:#e3c571}.config-card:nth-child(3n){border-left-color:#acc78f}.admin-products article{background:#fffaf0;border-color:#e4cdb8;box-shadow:0 3px 0 #e5d0b855}.admin-save{background:#fff4e6f5;border-color:#e9c4b0;border-radius:12px;padding-left:14px;padding-right:14px}.forbidden-row{background:#f8ecf3;border-color:#e0c0d4}
dialog{background:#fffaf1;border:2px solid #ddadc2;box-shadow:0 25px 100px #78415840}dialog::backdrop{background:#51405270;backdrop-filter:blur(5px)}.close-dialog{background:#f4dce6;border-color:#dcb1c3;color:#994367}.modal-heading h2,.detail-top h2{color:#a04967}.detail-top{background:#f7e8df;padding:16px;border-radius:18px}.detail-top>.pill{background:#f9dfa4;color:#7c572e}.timeline{border-left:2px dashed #d29bb4}.timeline details{background:#eee5f5}.toast{background:#4b7056}.toast.error{background:#a04f5c}
@media(min-width:1400px){.intro h1{font-size:55px}.intro{padding-top:43px;padding-bottom:47px}}
@media(max-width:1000px){.site-header{padding-left:24px;padding-right:24px}.site-header nav a{padding:9px 13px}.intro{padding:36px 30px;min-height:320px}.intro h1{font-size:43px}.intro>div:first-child{width:54%}.hero-donut-0{width:198px;left:-21px;top:35px}.hero-donut-1{width:144px;right:-30px;top:27px}.hero-donut-2{width:160px;bottom:-20px;right:-8px}.hero-confections{min-height:260px}.sticker-green{right:-23px;top:-6px;padding:13px;font-size:8px}.sticker-green b{font-size:9px}.sticker-yellow{left:-12px;bottom:-5px;font-size:9px}.hero-flower{font-size:42px;left:-23px;bottom:63px}.hero-spark{right:-20px;bottom:68px}.work-panel{padding:24px 21px}.preview-panel{padding:26px 23px}.ingredient{gap:6px;padding:15px 9px}.ingredient b{font-size:11px}.ingredient svg{width:43px;height:43px}.idea-card{padding:8px 15px 19px;min-height:220px}.idea-card b{font-size:16px}.idea-card>span>span{font-size:10px}.journey span{font-size:10px}.step-body h2{font-size:22px}}
@media(max-width:720px){main{padding:0 18px}.site-header{padding:16px 18px 0;gap:0 10px}.brand{font-size:16px}.account-button{font-size:10px;padding:8px 12px}.site-header nav{gap:0;padding:4px;margin:15px 0 12px;width:100%;justify-content:space-around;box-shadow:0 3px 0 #f0dfcc77}.site-header nav a{padding:8px 21px;font-size:11px}.demo-banner{font-size:9px}.intro{margin:20px -3px 0;padding:29px 24px 21px;min-height:0;display:block;border-radius:23px 23px 0 0}.intro>div:first-child{width:100%}.intro:after{left:24px;top:14px;width:45px;height:7px}.intro .eyebrow{font-size:8px;margin-bottom:9px;letter-spacing:.08em}.little-flower{font-size:21px}.intro h1{font-size:37px;line-height:1.45;letter-spacing:.02em;margin-bottom:13px}.intro h1 span{display:block}.intro h1 span:after{width:92%;height:7px}.intro p:not(.eyebrow){font-size:11px;line-height:1.95}.hero-confections{height:206px;min-height:0;margin:20px 0 6px}.hero-confections:before{inset:4px -13px 8px -10px;border-radius:43% 57% 51% 49%;transform:rotate(-7deg)}.hero-donut-0{width:170px;left:-20px;top:6px}.hero-donut-1{width:127px;right:-10px;top:-2px}.hero-donut-2{width:144px;right:-2px;bottom:-6px}.sticker-yellow{font-size:9px;left:0;bottom:1px;padding:8px 12px}.sticker-green{right:-8px;top:-13px;font-size:7px;padding:8px 12px}.sticker-green b{font-size:8px}.hero-flower{font-size:33px;left:-12px;bottom:51px}.hero-spark{font-size:33px;right:-14px;bottom:64px}.flavor-ribbon{margin:0 -3px 20px;padding:9px 12px;gap:11px;border-radius:0 0 13px 13px;font-size:8px;letter-spacing:.05em;justify-content:center}.flavor-ribbon span:nth-of-type(n+3),.flavor-ribbon i:nth-of-type(n+2){display:none}.flavor-ribbon i{font-size:13px}.theme-strip{padding:12px 13px;gap:4px;margin-bottom:22px;border-radius:14px;box-shadow:0 3px 0 #f0dba955}.theme-strip select{font-size:12px;max-width:215px;padding-right:8px}.theme-strip>small{font-size:9px}.atelier{grid-template-columns:1fr;border-radius:22px;box-shadow:0 6px 0 #ecdbcb,0 10px 20px #a2705714}.preview-panel{padding:20px 23px 22px;border-right:0;border-bottom:1px solid #bdcfad;background-size:34px 34px}.preview-heading{font-size:9px}.tiny-pill{font-size:8px}.donut-stage{max-width:285px;margin:4px auto 0}.preview-caption{margin:-5px 0 16px}.handwritten{font-size:9px;padding:2px 12px}.preview-caption h2{font-size:19px;margin-top:8px}.point-box{padding:12px 14px}.point-box>small{font-size:10px}.recipe-chips{margin-top:12px}.recipe-chips span{font-size:9px}.work-panel{padding:23px 18px 20px}.mobile-preview{background:#fff2e4f5;border-bottom-color:#e5c6b5;margin:-11px -8px 20px;padding:7px 8px;border-radius:14px 14px 0 0}.mobile-preview b{color:#96546c}.mobile-preview small,.mobile-preview span{color:#88616c}.step-nav{padding-bottom:18px;gap:4px}.step-nav button>span{width:31px;height:31px;line-height:29px}.step-nav small{font-size:9px}.step-body h2{font-size:22px;line-height:1.6}.step-body>.eyebrow{font-size:9px}.step-description{font-size:11px}.ingredient-grid{gap:11px}.ingredient{min-height:101px;padding:17px 9px 13px;gap:6px}.ingredient b{font-size:11px}.ingredient small{font-size:9px}.ingredient svg{width:43px;height:43px;max-width:30%;padding:4px}.quantity button{min-width:44px;min-height:44px}.quantity{font-size:10px}.tip{padding:14px 16px}.step-footer{margin-top:25px;padding-top:18px}.step-footer .button{padding:11px 18px}.autosave-note{font-size:9px}.inspiration{padding:42px 0 26px}.section-heading h2{font-size:23px}.section-heading h2:after{height:4px;width:65px}.inspiration-grid{grid-template-columns:1fr;gap:18px;margin-top:25px}.idea-card{flex-direction:row;padding:6px 15px 6px 0;min-height:121px;border-radius:18px 18px 18px 5px}.idea-card:nth-child(2){border-radius:18px 5px 18px 18px}.idea-card>div{width:37%;max-width:135px}.idea-card b{font-size:17px;line-height:1.6}.idea-card small{font-size:8px}.idea-card>span>span{font-size:9px}.idea-card i{width:19px;font-size:12px}.journey{margin:15px -3px 31px;padding:30px 18px;border-radius:22px}.journey h2{font-size:25px;line-height:1.65}.journey:before{font-size:61px;left:10px;top:18px;opacity:.6}.journey:after{font-size:77px;right:1px;bottom:12px;opacity:.7}.journey>.eyebrow{font-size:8px}.journey>div{grid-template-columns:1fr;gap:12px;margin:25px 0}.journey>div p{padding:17px 12px;margin:0}.journey b{font-size:13px}.journey span{font-size:11px}.journey .button{font-size:11px}footer{padding:27px 23px 22px;border-top-width:5px}.footer-links{gap:14px;font-size:10px}footer b{font-size:18px}.page-intro{margin:22px 0 20px;padding:23px 20px 20px;border-radius:20px}.page-intro h1{font-size:27px;line-height:1.7}.page-intro:after{font-size:96px;right:10px;top:0;opacity:.6}.gallery-toolbar{padding:12px;gap:10px}.gallery-toolbar select{max-width:181px}.product-grid{gap:13px}.product-copy h2{font-size:17px}.product-copy{padding:13px 11px}.guide,.rules{padding:23px 21px;border-top-width:6px}.guide h1,.rules h1{font-size:28px}.config-card{padding:16px 13px;border-left-width:4px}.admin-save{padding:13px 10px}.admin-tabs{gap:7px}.admin-tabs button{font-size:10px;padding:10px 13px}.detail-top{padding:13px}.detail-top h2{font-size:23px}.close-dialog{z-index:6}.empty{padding:35px 15px}.empty h1{font-size:26px}}
@media(max-width:360px){.brand{font-size:14px}.brand small{font-size:6px}.site-header nav a{font-size:10px;padding:8px 18px}.account-button{font-size:9px;padding:8px 10px}.intro{padding-left:19px;padding-right:19px}.intro h1{font-size:33px}.intro p:not(.eyebrow){font-size:10px}.hero-confections{height:189px}.hero-donut-0{width:148px}.hero-donut-1{width:111px;top:7px}.hero-donut-2{width:131px;bottom:-5px}.sticker-yellow{font-size:8px;padding:8px 10px;left:-4px}.sticker-green{font-size:6px;right:-11px}.sticker-green b{font-size:7px}.theme-strip select{max-width:178px;font-size:11px}.work-panel{padding:21px 14px 18px}.step-body h2{font-size:20px}.ingredient svg{width:33px;height:37px;padding:2px}.ingredient b{font-size:10px}.ingredient small{font-size:9px}.ingredient{gap:5px;padding-left:7px;padding-right:7px}.step-nav small{font-size:8px}.idea-card b{font-size:16px}.journey h2{font-size:22px}.recipe-chips span{font-size:8px}.gallery-toolbar select{max-width:163px}}

/* Readability update: body 16px, supporting text 13px+, controls 16px. */
body{font-size:16px;line-height:1.85}
small,.tiny{font-size:13px;line-height:1.8}
.muted{color:#715763}
.brand{font-size:21px}.brand small{font-size:10px}.brand-mark span{font-size:12px}.site-header nav a{font-size:15px;padding:11px 18px}.account-button{font-size:14px;padding:11px 18px}
.demo-banner{font-size:13px;line-height:1.9;padding:10px 18px}.demo-banner span{font-size:13px}
.eyebrow,.intro .eyebrow{font-size:12px;line-height:1.8;letter-spacing:.1em}.intro p:not(.eyebrow){font-size:16px;line-height:2}.hero-sticker{font-size:13px}.sticker-green{font-size:11px}.sticker-green b{font-size:13px}.flavor-ribbon{font-size:11px;letter-spacing:.08em;flex-wrap:wrap}
.theme-strip .pill,.pill{font-size:13px;padding:6px 13px}.theme-strip select{font-size:17px;max-width:320px}.theme-note{font-size:14px;max-width:350px}.theme-strip>small{font-size:13px;white-space:normal}.theme-strip>div{flex:1}.theme-strip{gap:16px}
.preview-heading{font-size:12px;letter-spacing:.08em}.tiny-pill{font-size:12px}.preview-caption h2{font-size:25px;line-height:1.7}.handwritten{font-size:13px}.preview-caption p{font-size:13px}.point-box>div:first-child>span{font-size:15px}.point-box b{font-size:28px}.point-box b small{font-size:14px}.point-box>small{font-size:14px;line-height:1.9}.recipe-chips span{font-size:13px;padding:6px 10px;line-height:1.6}.recipe-chips{gap:8px}.meter{height:8px;margin:12px 0}
.step-nav button>span{width:36px;height:36px;line-height:34px;font-size:15px}.step-nav small{font-size:13px;white-space:normal;line-height:1.6;display:block;word-break:normal;overflow-wrap:anywhere}.step-nav button{align-self:start}.step-body>.eyebrow{font-size:12px}.step-body h2{font-size:27px;line-height:1.65}.step-description{font-size:16px;line-height:1.9}.step-body h3,h3{font-size:17px;line-height:1.7}.step-body h3 small,h3 small{font-size:13px}.ingredient{min-height:115px;padding:18px 12px;gap:10px}.ingredient b{font-size:16px;line-height:1.65}.ingredient small{font-size:13px;line-height:1.65;display:block;margin-top:4px}.ingredient i{font-size:15px}.ingredient-wrap.selected .ingredient i{width:20px;height:20px;line-height:20px;font-size:13px}.ingredient svg{width:48px;height:48px}.ingredient>span{min-width:0;flex:1}.quantity{font-size:14px;line-height:1.7}.quantity button{min-width:44px;min-height:44px;font-size:20px}.tip{font-size:15px;line-height:1.9}.tip span{font-size:28px}.step-footer{gap:14px;flex-wrap:wrap}.button,.step-footer .button{font-size:16px;min-height:48px;padding:12px 22px;line-height:1.6}.text-button{font-size:14px;min-height:44px;line-height:1.8}.autosave-note{font-size:13px;line-height:1.9;margin-top:18px}
.field>span,.config-grid .field>span{font-size:15px;line-height:1.8;margin-bottom:8px}.field input,.field textarea,.field select,.config-grid .field input,input.share-url{font-size:16px;line-height:1.7;min-height:48px}.field input[type=file]{font-size:14px}.check{font-size:14px;line-height:1.85;gap:10px}.check input{width:20px;height:20px}.ai-box summary{font-size:16px;line-height:1.8}.ai-result{font-size:16px}.name-choice{font-size:15px;padding:9px 13px}.review-card p{font-size:16px;line-height:1.9}.review-card h3{font-size:25px}.allergens,.allergens p{font-size:13px;line-height:1.9}
.section-heading h2{font-size:29px;line-height:1.7}.section-heading p:not(.eyebrow){font-size:15px;line-height:1.9}.section-heading{align-items:flex-start}.section-heading>.eyebrow,.section-heading .eyebrow{font-size:12px}.idea-card{gap:5px;padding-right:14px;min-height:180px}.idea-card small{font-size:11px;line-height:1.7}.idea-card b{font-size:19px;line-height:1.7}.idea-card>span>span{font-size:13px;line-height:1.9}.idea-card i{font-size:16px;width:25px}.inspiration>.tiny{font-size:13px;line-height:1.9;margin-top:16px}.journey h2{font-size:32px;line-height:1.75}.journey b{font-size:16px;line-height:1.8}.journey span{font-size:14px;line-height:1.9}.journey>.eyebrow{font-size:12px}.journey>div p{padding:22px 16px}.journey>div{max-width:1000px}
footer b{font-size:23px}footer p{font-size:14px;line-height:1.9}.footer-links{font-size:14px;gap:20px;flex-wrap:wrap}.footer-links a{padding:6px 0}footer>small{font-size:11px}
.page-intro h1{font-size:37px;line-height:1.6}.page-intro p:not(.eyebrow){font-size:16px;line-height:1.9}.gallery-toolbar label{font-size:14px}.gallery-toolbar select{font-size:15px;max-width:250px;padding:12px 10px}.product-copy h2{font-size:24px;line-height:1.6}.product-copy p{font-size:16px;line-height:1.9}.product-copy small{font-size:13px}.product-copy .pill{font-size:12px}.demo-label{font-size:12px}.heart{font-size:17px;min-height:44px;padding:8px}.featured{font-size:12px;padding:6px 10px}.guide p,.guide li{font-size:16px;line-height:2}.guide h2{font-size:25px}.guide h1,.rules h1{font-size:36px}.empty p{font-size:16px;line-height:1.9}.empty h2{font-size:27px}
.admin-tabs button{font-size:15px;min-height:46px;padding:10px 18px}.admin-content>p{font-size:16px;line-height:1.9}.admin-products h3{font-size:20px}.admin-products p{font-size:14px;line-height:1.9}.admin-products article>div:last-child{flex-wrap:wrap}.config-card summary{font-size:17px;line-height:1.8;flex-wrap:wrap}.config-card summary small{font-size:13px}.config-card summary svg{width:44px;height:44px}.allowed-grid .check{font-size:14px}.admin-save small{font-size:13px}.admin-save{flex-wrap:wrap}.forbidden-row label{font-size:14px}.forbidden-row input,.forbidden-row select{font-size:16px;min-height:48px}.checklist{font-size:16px;line-height:2}.modal-heading h2{font-size:30px}.modal-heading p{font-size:16px;line-height:1.9}.detail-top p{font-size:16px;line-height:1.9}.detail-ingredients{font-size:15px;line-height:1.8}.detail-top small{font-size:14px}.detail-actions .button{font-size:15px}.timeline section,details p{font-size:15px;line-height:1.9}.timeline small{font-size:13px}.toast{font-size:15px;line-height:1.8}.error-box{font-size:15px;line-height:1.9}
@media(max-width:1100px){.site-header{gap:12px}.brand{font-size:18px}.brand small{font-size:9px}.site-header nav a{font-size:14px;padding:10px 13px}.account-button{font-size:13px;padding:10px 13px}.theme-note{max-width:none;width:100%}.ingredient b{font-size:15px}.ingredient{gap:8px;padding:18px 10px}.ingredient svg{width:43px;height:43px}.idea-card{padding:12px 16px 21px}.idea-card b{font-size:20px}.idea-card>span>span{font-size:14px}.journey span{font-size:14px}}
@media(max-width:850px) and (min-width:721px){.site-header{flex-wrap:wrap;justify-content:space-between}.site-header nav{order:3;flex-basis:100%;justify-content:center;margin-top:10px}.atelier{grid-template-columns:.9fr 1.1fr}.preview-panel{padding:22px 18px}.work-panel{padding:23px 18px}.ingredient{flex-direction:column;text-align:center;padding-top:22px;min-height:145px}.ingredient svg{max-width:none}.ingredient b{font-size:15px}.step-nav small{font-size:12px}.point-box>div:first-child{gap:8px}.preview-heading{flex-wrap:wrap;gap:10px}.point-box>small{font-size:13px}}
@media(max-width:720px){
body{font-size:16px;line-height:1.9}.site-header{gap:0 8px;padding:16px 15px 0}.brand{font-size:17px;gap:9px}.brand small{font-size:8px;letter-spacing:.08em}.brand-mark{font-size:29px;padding-right:9px}.brand-mark span{font-size:11px}.account-button{font-size:13px;padding:10px 13px}.account-button span{margin-left:5px}.site-header nav{gap:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px}.site-header nav a{font-size:14px;padding:10px 4px;text-align:center;white-space:normal;line-height:1.6}.demo-banner,.demo-banner span{font-size:12px;line-height:1.85}.demo-banner{padding:9px 16px}.demo-banner span{display:block;margin-left:0}.intro{padding:29px 22px 21px}.intro .eyebrow{font-size:10px;letter-spacing:.045em}.intro h1{font-size:38px;line-height:1.5}.intro p:not(.eyebrow){font-size:16px;line-height:1.95}.hero-sticker{font-size:12px}.sticker-yellow{font-size:11px}.sticker-green{font-size:10px}.sticker-green b{font-size:11px}.hero-confections{margin-top:26px}.flavor-ribbon{font-size:11px;gap:9px;padding:10px}.theme-strip{padding:13px 14px;gap:9px}.theme-strip>div{gap:8px;min-width:0}.theme-strip .pill{font-size:12px;padding:5px 11px}.theme-strip select{font-size:16px;max-width:100%;width:100%;padding:7px 6px 7px 0;white-space:normal}.theme-strip>small{font-size:13px;margin-left:0}.theme-note{display:none}.preview-panel{padding:21px 23px 23px}.preview-heading{font-size:11px;gap:9px;flex-wrap:wrap}.tiny-pill{font-size:11px}.handwritten{font-size:12px}.preview-caption h2{font-size:23px;line-height:1.7}.preview-caption p{font-size:12px;line-height:1.8}.point-box>div:first-child>span{font-size:15px}.point-box b{font-size:26px}.point-box b small{font-size:14px}.point-box>small{font-size:14px;line-height:1.9}.recipe-chips span{font-size:12px;line-height:1.7;padding:5px 9px}.work-panel{padding:23px 18px 21px}.mobile-preview{gap:10px;padding:9px 8px}.mobile-preview svg{width:66px;height:65px}.mobile-preview b{font-size:16px;line-height:1.6}.mobile-preview small{font-size:10px;letter-spacing:.04em}.mobile-preview span{font-size:12px;line-height:1.7;display:block}.step-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding-bottom:19px}.step-nav button>span{width:34px;height:34px;line-height:32px;font-size:14px}.step-nav small{font-size:12px;line-height:1.55;white-space:normal;min-height:38px}.step-body>.eyebrow{font-size:11px;letter-spacing:.055em}.step-body h2{font-size:25px;line-height:1.65}.step-description{font-size:16px;line-height:1.85}.step-body h3{font-size:17px;flex-wrap:wrap}.step-body h3 small{font-size:13px}.ingredient-grid{gap:12px}.ingredient{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:21px 9px 14px;gap:7px;min-height:152px}.ingredient svg{width:46px;height:46px;max-width:none;min-width:0}.ingredient b{font-size:16px;line-height:1.55;overflow-wrap:anywhere}.ingredient small{font-size:13px;line-height:1.7}.ingredient>span{flex:0 1 auto;width:100%}.ingredient-wrap.selected .ingredient i{width:20px;height:20px;line-height:20px;top:7px;right:7px}.quantity{font-size:14px}.quantity button{min-width:42px;min-height:46px;font-size:21px}.tip{font-size:15px;line-height:1.9;padding:15px}.step-footer{gap:12px;align-items:center}.step-footer>.text-button{font-size:14px}.step-footer>div{margin-left:auto;gap:8px}.button,.step-footer .button{font-size:16px;padding:12px 20px;min-height:48px}.text-button{font-size:14px}.autosave-note{font-size:13px;line-height:1.85;margin-top:17px}.tiny{font-size:13px}.field>span,.config-grid .field>span{font-size:15px;line-height:1.75}.field input,.field textarea,.field select,.config-grid .field input{font-size:16px;line-height:1.7}.field input[type=file]{font-size:13px;padding:10px 6px}.check{font-size:14px;line-height:1.9}.ai-box summary{font-size:16px;line-height:1.8}.allergens,.allergens p{font-size:13px}.review-card p{font-size:16px;line-height:1.9}.section-heading h2{font-size:26px}.section-heading p:not(.eyebrow){font-size:15px;line-height:1.9;margin-top:13px}.section-heading .eyebrow{font-size:11px}.idea-card{min-height:158px;padding:11px 14px 11px 0}.idea-card>div{width:34%}.idea-card b{font-size:19px;line-height:1.7}.idea-card small{font-size:10px}.idea-card>span>span{font-size:14px;line-height:1.85}.idea-card i{font-size:15px;width:24px}.inspiration>.tiny{font-size:13px}.journey h2{font-size:27px;line-height:1.75}.journey>.eyebrow{font-size:10px;letter-spacing:.04em}.journey b{font-size:17px;line-height:1.8}.journey span{font-size:15px;line-height:1.9}.journey>div p{padding:20px 14px}.journey .button{font-size:16px}footer{padding:28px 23px}footer b{font-size:21px}footer p{font-size:14px}.footer-links{font-size:14px;gap:11px 20px}footer>small{font-size:10px;letter-spacing:.1em}.page-intro h1{font-size:29px;line-height:1.7}.page-intro p:not(.eyebrow){font-size:16px;line-height:1.9}.gallery-toolbar label{font-size:14px;display:block;width:100%}.gallery-toolbar select{font-size:16px;max-width:100%;width:100%;margin:6px 0 0;padding:12px}.gallery-toolbar{gap:13px}.product-grid{grid-template-columns:1fr;gap:22px}.product-visual{padding:0 23px}.product-copy{padding:20px}.product-copy h2{font-size:24px}.product-copy p{font-size:16px}.product-copy small{font-size:13px}.product-copy .pill{font-size:13px}.heart{font-size:18px}.featured{font-size:13px;padding:6px 11px}.demo-label{font-size:12px;display:inline-block;margin-left:8px}.guide h1,.rules h1{font-size:29px}.guide h2{font-size:24px}.guide p,.guide li{font-size:16px;line-height:2}.guide,.rules{padding:24px 21px}.empty h1{font-size:29px}.empty h2{font-size:25px}.empty p{font-size:16px;line-height:1.9}.admin-tabs button{font-size:14px;padding:11px 14px}.admin-content>p{font-size:16px}.admin-products h3{font-size:20px}.admin-products p{font-size:14px;line-height:1.9}.config-card summary{font-size:16px;gap:9px;align-items:center;flex-wrap:wrap}.config-card summary small{font-size:13px;width:100%;margin-left:0}.config-card summary svg{width:36px;height:36px}.config-grid{grid-template-columns:1fr;gap:0}.allowed-grid{grid-template-columns:1fr}.allowed-grid .check{font-size:15px;line-height:1.8}.admin-save small{font-size:13px}.forbidden-row{grid-template-columns:1fr}.forbidden-row label{font-size:14px}.forbidden-row select,.forbidden-row input{font-size:16px;width:100%;min-width:0}.detail-top h2{font-size:26px}.detail-top p{font-size:16px}.detail-top small{font-size:13px}.detail-ingredients{font-size:15px}.detail-ingredients li{align-items:flex-start}.detail-ingredients b{white-space:nowrap}.detail-actions .button{font-size:15px;padding:12px 18px}.timeline section,details p{font-size:15px;line-height:1.9}.timeline small{font-size:13px}.modal-heading h2{font-size:27px}.modal-heading p{font-size:16px}.toast{font-size:14px;padding:13px 18px;line-height:1.8}.trial-grid{grid-template-columns:1fr}.error-box{font-size:15px}}
@media(max-width:360px){.brand{font-size:15px}.brand small{font-size:7px}.brand-mark{font-size:26px}.account-button{font-size:12px;padding:9px 10px}.site-header nav a{font-size:13px;padding:10px 3px}.intro{padding:27px 19px 21px}.intro .eyebrow{font-size:9px}.intro h1{font-size:34px}.intro p:not(.eyebrow){font-size:16px}.hero-sticker{font-size:10px}.sticker-green{font-size:9px}.sticker-green b{font-size:10px}.hero-donut-1{top:12px}.theme-strip select{font-size:16px;max-width:100%}.theme-strip>small{font-size:13px}.preview-panel{padding:20px 18px}.preview-caption h2{font-size:22px}.work-panel{padding:22px 14px 20px}.step-body h2{font-size:23px}.step-nav{gap:3px}.step-nav small{font-size:11px}.ingredient-grid{gap:10px}.ingredient{padding-left:7px;padding-right:7px;min-height:150px}.ingredient b{font-size:15px}.ingredient small{font-size:13px}.ingredient svg{width:44px;height:44px}.quantity{font-size:13px}.quantity button{min-width:38px}.step-footer .button{padding:12px 17px}.mobile-preview b{font-size:15px}.mobile-preview span{font-size:12px}.recipe-chips span{font-size:12px}.idea-card b{font-size:18px}.idea-card>span>span{font-size:14px}.journey h2{font-size:25px}.journey b{font-size:16px}.journey span{font-size:15px}.gallery-toolbar select{max-width:100%;font-size:16px}.page-intro h1{font-size:27px}}
/* Keep enlarged Japanese headings from leaving a short orphaned ending. */
h1,h2,.idea-card b{text-wrap:balance}.step-description,.intro p,.journey span{text-wrap:pretty}

/* Mobile atelier: keep the live creation beside every ingredient choice. */
.preview-zoom{display:none}.zoom-donut{text-align:center}.zoom-donut>svg{display:block;width:min(100%,440px);margin:auto}.zoom-donut p{font-size:15px;line-height:1.8}
@media(max-width:720px){
 .atelier{display:block;overflow:visible;overflow-anchor:none}
 .atelier>.preview-panel{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(105px,42%) minmax(0,1fr);grid-template-rows:auto auto auto;gap:4px 10px;padding:10px 12px;align-items:center;border:1px solid #b8cda8;border-radius:18px;box-shadow:0 5px 14px #514c3126;background-color:#dcebcf}
 .preview-panel .preview-heading,.preview-panel .handwritten,.preview-panel .recipe-chips,.preview-panel .stage-spark,.preview-panel .point-box>small{display:none}
 .preview-panel .donut-stage{grid-column:1;grid-row:1/4;width:100%;max-width:160px;margin:0 auto;aspect-ratio:1;height:auto}
 .preview-panel .donut-stage svg{width:100%;height:auto;display:block}
 .preview-panel .preview-caption{grid-column:2;grid-row:1;margin:0;text-align:left}
 .preview-panel .preview-caption h2{font-size:16px;line-height:1.5;letter-spacing:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .preview-panel .preview-caption p{font-size:12px;line-height:1.5;margin:3px 0 0}
 .preview-panel .point-box{grid-column:2;grid-row:2;padding:5px 8px;margin:0;width:100%;border-radius:9px}
 .preview-panel .point-box>div:first-child{gap:4px;flex-wrap:wrap}
 .preview-panel .point-box>div:first-child>span{font-size:12px}
 .preview-panel .point-box b{font-size:20px;line-height:1.3}.preview-panel .point-box b small{font-size:12px}.preview-panel .meter{margin:4px 0 0;height:5px}
 .preview-panel .preview-zoom{display:block;grid-column:2;grid-row:3;min-height:44px;padding:6px 10px;border:1px solid #91ad80;border-radius:22px;background:#fffdf1;color:#36543d;font:inherit;font-size:14px;cursor:pointer}
 .work-panel .mobile-preview{display:none}.work-panel{border-radius:0 0 18px 18px}
 .ingredient,.quantity button{scroll-margin-top:220px}
}
@media(max-width:720px) and (max-height:500px){
 .atelier>.preview-panel{grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto auto;padding:5px 10px;gap:3px 10px}
 .preview-panel .donut-stage{grid-row:1/3;max-width:100px}.preview-panel .preview-caption{display:none}
 .preview-panel .point-box{grid-row:1}.preview-panel .preview-zoom{grid-row:2}
}

/* Japanese phrases and flexible mobile controls. */
.phrase{display:inline-block;max-width:100%;vertical-align:baseline;word-break:normal;overflow-wrap:anywhere}
.step-short{display:none}
.preview-caption p .phrase+.phrase{margin-left:.4em}
@media(max-width:720px){
 body{line-break:strict;word-break:normal}
 h1,h2,h3,p,label,summary{word-break:normal;overflow-wrap:anywhere}
 .intro h1 .hero-line{display:block;white-space:nowrap;width:fit-content;max-width:100%}
 .intro h1 .hero-line:first-child:after{display:none}
 .intro p:not(.eyebrow){letter-spacing:0;line-height:1.9}
 .step-body h2,.section-heading h2,.journey h2{letter-spacing:0;line-height:1.65}
 .step-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
 .step-nav button{min-width:0;padding:9px 2px}
 .step-nav small{white-space:nowrap;font-size:14px;letter-spacing:0}
 .step-long{display:none}.step-short{display:inline}
 .site-header nav a,.account-button,.preview-zoom,.quantity button{white-space:nowrap;flex-shrink:0}
 .site-header nav a{letter-spacing:0}
 .step-footer{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
 .step-footer>div{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
 .step-footer .button,.step-footer .text-button{white-space:nowrap;flex-shrink:0}
 .button{max-width:100%;height:auto;min-height:46px;line-height:1.6;text-align:center;text-wrap:balance;overflow-wrap:anywhere}
 .theme-strip>div{min-width:0;width:100%;flex-wrap:wrap}
 .theme-strip select{min-width:0;max-width:100%;width:100%;margin:8px 0}
 .theme-note{display:block;width:100%;line-height:1.8}
 .theme-strip>small{white-space:normal}
 .field>span{display:block;line-height:1.7;text-wrap:pretty}
 .field input,.field textarea{min-width:0;max-width:100%}
 .preview-panel .point-long{display:none}
 .preview-panel .point-box>div:first-child{flex-wrap:nowrap}
 .preview-panel .point-box b{white-space:nowrap}
 .preview-panel .preview-caption p .phrase{display:block;margin:0;letter-spacing:0}
 .preview-panel .preview-caption h2{overflow-wrap:anywhere}
 .footer-links{flex-wrap:wrap}.footer-links a{white-space:nowrap}
 .demo-banner span{display:block;line-height:1.7;margin-top:4px}
 .page-intro h1,.empty h1{font-size:28px;text-wrap:balance;line-height:1.6}
 .product-copy h2,.review-card h3,.detail-top h2{overflow-wrap:anywhere;text-wrap:pretty}
 .detail-actions,.gallery-toolbar{flex-wrap:wrap;gap:10px}
 .section-heading>div,.idea-card>span{min-width:0}
}
@media(max-width:420px){
 .ingredient-grid{grid-template-columns:minmax(0,1fr)}
 .ingredient{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:94px;text-align:left;padding:14px 16px}
 .ingredient>span{flex:1;min-width:0}.ingredient b{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
 .ingredient small{font-size:14px;line-height:1.65}.ingredient svg{flex-shrink:0;width:48px;height:48px}
 .ingredient>i{position:static;flex-shrink:0;margin-left:auto}
 .quantity{justify-content:center;gap:20px}.quantity span{white-space:nowrap}
 .step-footer>.text-button{width:100%;text-align:left}.step-footer>div{width:100%;justify-content:flex-end}
 .intro h1{font-size:34px;letter-spacing:0}.journey h2{font-size:25px}
}
@media(max-width:360px){
 main{padding-left:12px;padding-right:12px}.work-panel{padding-left:14px;padding-right:14px}
 .intro{padding-left:18px;padding-right:18px}.intro h1{font-size:32px}
 .brand{gap:8px;font-size:15px}.brand-mark{padding-right:9px}.site-header{padding-left:12px;padding-right:12px}
 .step-body h2,.section-heading h2{font-size:24px}.step-nav small{font-size:13px}
}

/* Café POP preview */
.pop-dialog{text-align:center;max-width:600px}.pop-dialog h2{font-size:26px;margin:4px 0}.pop-dialog p{font-size:15px;line-height:1.7}.pop-dialog img{display:block;width:min(100%,390px);height:auto;max-height:65vh;object-fit:contain;margin:12px auto 16px;border-radius:12px;box-shadow:0 7px 22px #4c352d33}.pop-dialog .button{width:min(100%,390px)}

/* Show the submitted illustration and AI concept image together. */
.creation-comparison,.posted-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;margin:16px 0}.creation-comparison>div,.posted-pair>span,.posted-pair>div{min-width:0;border:1px solid #e6cfbe;border-radius:16px;overflow:hidden;background:#fff9f1;text-align:center;padding:8px}.creation-comparison small,.posted-pair small{display:block;font-size:13px;color:#674b43;padding:3px 0 6px}.creation-comparison svg,.posted-pair svg,.creation-comparison img,.posted-pair img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}.creation-comparison img,.posted-pair img{object-fit:cover;border-radius:10px}.comparison-placeholder{display:grid;place-items:center;min-height:150px;padding:14px;color:#755a51;font-size:14px;line-height:1.6}.product-visual .posted-pair{margin:7px 2px;gap:5px}.product-visual .posted-pair>span{padding:4px;border-radius:9px}.product-visual .posted-pair small{font-size:11px;line-height:1.4}.detail-pair{margin:0 0 16px}.detail-pair img,.detail-pair svg{max-height:280px}
@media(max-width:420px){.creation-comparison,.posted-pair{gap:6px}.creation-comparison>div,.posted-pair>span,.posted-pair>div{padding:5px}.creation-comparison small,.posted-pair small{font-size:12px}}

/* トップの写真調ドーナツ。生成素材はサイト内に同梱しています。 */
.hero-confections .hero-donut-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;pointer-events:none;filter:drop-shadow(0 10px 12px rgba(101,64,50,.12))}
.hero-confections .hero-sticker,.hero-confections .hero-flower,.hero-confections .hero-spark{z-index:5}

/* 店舗から提供された実物ドーナツの切り抜き写真 */
.hero-confections .hero-donut{aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:#fff9f0;box-shadow:0 6px 14px #825b4930, inset 0 0 0 1px #e8d6c7;overflow:hidden}
.hero-confections .hero-donut img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.06)}

/* スマートフォンのお題カードと登録案内。画面幅による不自然な折返しを防ぐ。 */
@media(max-width:720px){
 .theme-strip{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:16px;margin-bottom:22px;min-width:0}
 .theme-strip>div{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;min-width:0}
 .theme-strip .pill{align-self:flex-start;white-space:nowrap}
 .theme-strip select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:46px;margin:0;padding:8px 30px 8px 12px;border:1px solid #dfc897;border-radius:10px;background:#fffaf0;color:#674627;font-size:17px;line-height:1.5}
 .theme-strip .theme-note{display:block;width:100%;max-width:none;margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
 .theme-strip>small{display:block;margin:0;align-self:flex-start;font-size:13px;line-height:1.6;white-space:normal}
 .autosave-note .autosave-line{display:block}
}

/* 小さい画面では写真の下にコピーの場所を確保する。 */
@media(max-width:720px){
 .hero-confections{height:clamp(232px,62vw,295px);margin-bottom:8px}
 .hero-confections .sticker-yellow{left:2px;bottom:8px;max-width:52%;z-index:6;padding:9px 12px;font-size:11px;line-height:1.5}
 .hero-confections .hero-donut-0{top:2px}
 .hero-confections .hero-donut-2{bottom:0}
}
@media(max-width:360px){.hero-confections .sticker-yellow{font-size:10px;padding:8px 10px}}

/* 制作画面の案内文をスマートフォンで意図した行に揃える。 */
.preview-caption .unnamed-line{display:block}
@media(max-width:720px){
 .step-body h2 .phrase{display:block}
 .step-description .instruction-line{display:block}
 .preview-panel .preview-caption h2.unnamed-preview{display:block;-webkit-line-clamp:unset;overflow:visible}
}

/* 店舗提供のかふぇ絲ロゴをヘッダーに表示 */
.site-header .brand-logo{display:block;width:60px;height:56px;flex:0 0 auto;object-fit:contain}
@media(max-width:720px){.site-header .brand-logo{width:50px;height:47px}}
@media(max-width:360px){.site-header .brand-logo{width:44px;height:42px}}
/* 店舗管理の個別削除 */
.admin-products article>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.admin-products [data-admin-delete]{color:#9c373b;font-weight:700;padding:10px 12px;min-height:44px}
.button.danger{background:#a43842;color:#fff;border-color:#a43842}
.button.danger:hover{background:#842b34;color:#fff}
