/* tools/bundle.php — cafe (원본 CSS 를 .swt-cafe 안으로 한정) */
.swt-cafe *{box-sizing:border-box}.swt-cafe{margin:0;background:#f6f3ee;color:#302c28;font:13px system-ui,sans-serif}.swt-cafe button,.swt-cafe input,.swt-cafe select{font:inherit}.swt-cafe button{cursor:pointer;background:white;border:1px solid #ded6cd;border-radius:8px;padding:10px 12px;color:#57483c}.swt-cafe button:hover{border-color:#842f34}.swt-cafe .primary,.swt-cafe button.active{background:#7d3035;color:white;border-color:#7d3035}.swt-cafe input,.swt-cafe select{width:100%;border:1px solid #ded7ce;background:#fff;border-radius:7px;padding:9px;color:#463d34}.swt-cafe label{display:block;margin:12px 0 7px;font-size:12px;color:#7d6c5b}.swt-cafe label input,.swt-cafe label select{margin-top:6px}.swt-cafe header{padding:19px 26px;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid #e8dfd4;gap:12px}.swt-cafe header small{display:block;color:#b08b72;letter-spacing:3px;font-size:9px;margin-bottom:6px}.swt-cafe header b{font-size:21px}.swt-cafe header em{font-size:12px;font-style:normal;background:#f3e9dd;padding:5px 9px;border-radius:20px;color:#886947;margin-left:8px}.swt-cafe .headActions{display:flex;gap:7px}.swt-cafe main{display:grid;grid-template-columns:270px minmax(300px,1fr) 230px;gap:17px;padding:22px;max-width:1800px;margin:auto}.swt-cafe aside{background:white;border:1px solid #e9e0d5;padding:21px;border-radius:14px}.swt-cafe h1{font-size:27px;margin:8px 0}.swt-cafe h2{font-size:17px;margin:10px 0 17px}.swt-cafe .step{font-size:10px;letter-spacing:1.5px;color:#9a7052;margin-top:12px}.swt-cafe .hint,.swt-cafe .caption{font-size:11px;color:#978775;line-height:1.7}.swt-cafe .full{width:100%;margin-top:12px}.swt-cafe .row{display:flex;gap:9px}.swt-cafe .row>*{flex:1;min-width:0}.swt-cafe .stage{position:relative;background:#ece7de;border:1px solid #e4dccf;border-radius:16px;overflow:hidden}.swt-cafe .stageTitle{padding:23px 25px 0}.swt-cafe .stageTitle p{font-size:11px;color:#978674;margin:0}.swt-cafe .badge{position:absolute;right:19px;top:24px;padding:6px 10px;background:#ffffffb0;border-radius:20px;font-size:11px;color:#79634d}.swt-cafe canvas{display:block;width:100%;height:480px;touch-action:none}.swt-cafe nav{display:flex;gap:6px;padding:0 20px 20px;flex-wrap:wrap}.swt-cafe nav button{font-size:11px;padding:9px 12px}.swt-cafe .info{display:flex;background:white;border-radius:12px;border:1px solid #e6ddd2;margin-top:14px;padding:19px}.swt-cafe .info>div{flex:1;border-right:1px solid #eee5da;padding-left:17px}.swt-cafe .info>div:last-child{border:0}.swt-cafe .info small{display:block;font-size:10px;color:#9b8a79;margin-bottom:7px}.swt-cafe .info strong{font-size:21px;font-weight:600}.swt-cafe .caption{padding:0 7px}.swt-cafe details{border-top:1px solid #eee5da;margin-top:17px;padding-top:15px}.swt-cafe summary{cursor:pointer;font-size:12px;font-weight:600}.swt-cafe .arrows{text-align:center;margin:20px 0}.swt-cafe .arrows div{display:flex;justify-content:center;align-items:center;gap:14px;margin:8px 0}.swt-cafe .arrows span{font-size:11px;color:#a18e7b}.swt-cafe .arrows button{width:42px}.swt-cafe .note{font-size:11px;line-height:1.7;background:#f9f4ed;padding:14px;margin-top:25px;border-radius:9px;color:#8d7963}.swt-cafe #list button{display:block;width:100%;text-align:left;margin:9px 0;font-size:12px}.swt-cafe .product{border:1px solid #e8ddcf;margin-top:12px;border-radius:9px;padding:10px;display:flex;gap:9px;align-items:center}.swt-cafe .product img{width:53px;height:53px;object-fit:contain;background:#f4f0e9}.swt-cafe .product a{font-size:11px;color:#7d3035;text-decoration:none}.swt-cafe .product small{display:block;color:#a18b74;font-size:10px;margin-top:5px}.swt-cafe #warning{font-size:11px;color:#a24d31;line-height:1.6}.swt-cafe #toast{display:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:13px 21px;border-radius:10px;background:#3a3029;color:white;z-index:20}@media(min-width:1100px){.swt-cafe aside{max-height:calc(100dvh - 120px);overflow:auto}.swt-cafe .stage canvas{height:calc(100dvh - 370px);min-height:380px}}@media(max-width:1050px){.swt-cafe main{grid-template-columns:250px 1fr}.swt-cafe .right{grid-column:1/3}}@media(max-width:650px){.swt-cafe header{padding:15px;flex-wrap:wrap}.swt-cafe header b{font-size:17px}.swt-cafe .headActions{width:100%}.swt-cafe .headActions>*{flex:1;font-size:11px}.swt-cafe main{display:flex;flex-direction:column;padding:12px}.swt-cafe .center{order:0}.swt-cafe aside{order:1}.swt-cafe .right{order:2}.swt-cafe canvas{height:340px}.swt-cafe .stageTitle{padding:16px}.swt-cafe .stageTitle h1{font-size:21px}.swt-cafe .badge{top:16px;font-size:9px}.swt-cafe .info{padding:14px}.swt-cafe .info strong{font-size:17px}}.swt-cafe [hidden]{display:none!important}.swt-cafe{background:#faf5ef}.swt-cafe header{background:#601625;color:#fff0d9;padding:22px 30px;border:0;min-height:84px}.swt-cafe header b{font-size:32px;letter-spacing:-1px}.swt-cafe header em{font-size:16px;background:#f8e8cc;color:#651b28;padding:6px 18px;vertical-align:middle}.swt-cafe .headActions button{background:transparent;border-color:#b47c7d;color:#fff0dc}.swt-cafe main{grid-template-columns:270px minmax(0,1fr);gap:20px;padding:23px 22px}.swt-cafe .catalog{padding:0;overflow:hidden;border:1px solid #e8d0be;border-radius:13px;background:#fbf5ee;max-height:none}.swt-cafe .catalogTitle{background:#701e2f;color:#fff5e4;padding:17px 22px;margin:0;font-size:24px}.swt-cafe .catalogBody{padding:17px 13px}.swt-cafe .productCard{border:1px solid #e6cdb9;border-radius:11px;padding:13px;margin-bottom:17px}.swt-cafe .productCard h2{color:#601625;font-size:22px;margin:0 0 10px}.swt-cafe .productPhoto{position:relative;background:#e8e1d9;border-radius:9px;overflow:hidden;margin-bottom:11px}.swt-cafe .productPhoto svg{display:block;width:100%;height:175px}.swt-cafe .productPhoto span{position:absolute;bottom:6px;right:7px;padding:3px 6px;border-radius:4px;background:#ffffffc9;color:#7a6556;font-size:10px}.swt-cafe .productCard input{font-size:11px;background:#fdf9f4}.swt-cafe .productCard .full{margin-top:7px;padding:8px;font-size:11px}.swt-cafe .big{font-size:19px;padding:15px 8px;background:#701e2f;border-radius:9px}.swt-cafe .catalog .hint{font-size:10px}.swt-cafe .stage{background:#f4e9df;border-color:#e3c9b8;border-radius:12px}.swt-cafe .stageTitle{padding:15px 22px 10px}.swt-cafe .stageTitle h1{font-size:23px;color:#681d2b;margin:0 0 4px}.swt-cafe .stageTitle p{font-size:10px}.swt-cafe #referenceView svg{width:100%;height:auto;display:block}.swt-cafe #editorView{position:relative}.swt-cafe #editorView canvas{height:510px;min-height:400px}.swt-cafe .badge{top:12px;right:15px}.swt-cafe .sceneCaption{padding:12px 22px;background:#fbf4ec;color:#8e7666;font-size:11px;border-top:1px solid #e8d6c6}.swt-cafe .bottomActions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:17px auto;max-width:620px}.swt-cafe .bottomActions button{min-width:0;width:100%;background:#fcf8f1;color:#701e2f;border-color:#91525a;padding:12px 10px;font-weight:600;white-space:nowrap}.swt-cafe .info{background:#fffaf4}.swt-cafe .catalog{grid-row:1/span 2;align-self:start}.swt-cafe .center{grid-row:1;grid-column:2}.swt-cafe .right{grid-row:2;grid-column:2;padding:20px;max-height:none;background:#fffaf4;margin-top:4px}.swt-cafe .editGrid{display:grid;grid-template-columns:220px 1fr;gap:25px}.swt-cafe .arrows{margin:10px 0}.swt-cafe #list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.swt-cafe #list button{margin:0}.swt-cafe .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){.swt-cafe main{grid-template-columns:250px minmax(0,1fr)}.swt-cafe .right{grid-row:2;grid-column:2}.swt-cafe .bottomActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.swt-cafe .bottomActions button{min-width:0;width:100%;max-width:230px;justify-self:center}.swt-cafe .editGrid{grid-template-columns:1fr}}@media(max-width:650px){.swt-cafe .catalog,.swt-cafe .center,.swt-cafe .right{grid-row:auto;grid-column:auto}.swt-cafe header{padding:17px 15px}.swt-cafe header b{font-size:22px}.swt-cafe header em{font-size:11px;padding:5px 10px}.swt-cafe .headActions{width:auto}.swt-cafe .headActions button{padding:7px 12px}.swt-cafe main{padding:12px;gap:13px}.swt-cafe .catalog{order:0}.swt-cafe .center{order:1}.swt-cafe .right{order:2}.swt-cafe .catalogBody{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swt-cafe .productCard{padding:9px;margin:0}.swt-cafe .productCard h2{font-size:18px}.swt-cafe .productPhoto svg{height:130px}.swt-cafe .catalogBody>p,.swt-cafe .catalogBody>button,.swt-cafe .catalogBody>details,.swt-cafe #products{grid-column:1/-1}.swt-cafe #editorView canvas{height:350px;min-height:300px}.swt-cafe .stageTitle{padding:14px}.swt-cafe .stageTitle h1{font-size:19px}.swt-cafe .bottomActions{gap:8px}.swt-cafe .bottomActions button{min-width:0;padding:10px 8px;font-size:11px}.swt-cafe .editGrid{grid-template-columns:1fr}.swt-cafe .productCard input{font-size:10px}}.swt-cafe .uploadBox{border:1px dashed #b98087;border-radius:8px;background:#fffaf4;padding:10px;margin:10px 0 13px}.swt-cafe .uploadTitle{display:block;margin:0 0 8px;font-size:13px;font-weight:700;color:#701e2f}.swt-cafe .uploadBox input[type=file]{display:block;width:100%;min-width:0;padding:5px;background:white;border-color:#e0c6b4;font-size:10px}.swt-cafe .uploadBox input::file-selector-button{border:0;background:#701e2f;color:#fff4e3;padding:7px 9px;border-radius:5px;margin-right:6px;cursor:pointer}.swt-cafe .uploadMeta{display:flex;align-items:center;gap:6px;justify-content:space-between;margin-top:7px;font-size:9px;color:#95796a}.swt-cafe .uploadMeta span{overflow-wrap:anywhere;min-width:0}.swt-cafe .uploadMeta button{font-size:9px;white-space:nowrap;padding:4px 6px}.swt-cafe .productPhoto img.uploadedPhoto{display:block;width:100%;height:175px;object-fit:contain;background:#f7f2ec}@media(max-width:650px){.swt-cafe .productPhoto img.uploadedPhoto{height:130px}.swt-cafe .uploadBox{padding:7px}.swt-cafe .uploadTitle{font-size:12px}.swt-cafe .uploadBox input[type=file]{font-size:9px}.swt-cafe .uploadBox input::file-selector-button{padding:6px;font-size:10px}.swt-cafe .uploadMeta{flex-wrap:wrap}}


.swt-cafe>header,.swt-cafe .sw-top{display:none}
.swt-cafe{position:relative;display:block;text-align:left}
.swt-cafe *{text-align:inherit}