.art-craft-dialog{width:min(900px,calc(100vw - 24px));background:#fffdf8;color:#17213b;overflow:hidden}.art-craft-dialog form>header{position:relative;z-index:2;background:linear-gradient(110deg,#fff 0%,#fff8e9 55%,#f4efff 100%)}.art-craft-body{background:linear-gradient(180deg,#fffdf9,#f9f6ff)}.art-craft-stage{position:relative;display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;min-height:190px;padding:16px;border:1px solid #f0d8a1;border-radius:22px;background:radial-gradient(circle at 9% 18%,#ffcddd 0 18px,transparent 19px),radial-gradient(circle at 95% 12%,#ded1ff 0 22px,transparent 23px),radial-gradient(circle at 88% 92%,#fff0a8 0 25px,transparent 26px),linear-gradient(145deg,#fff7df,#fffdfa 48%,#f4efff);overflow:hidden}.art-craft-stage:before,.art-craft-stage:after{position:absolute;z-index:0;font-size:54px;opacity:.32;filter:saturate(.8);content:'🌸'}.art-craft-stage:before{left:-11px;bottom:-15px;transform:rotate(-18deg)}.art-craft-stage:after{right:-8px;top:-16px;content:'🌼';transform:rotate(20deg)}.art-craft-vase-hero{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:156px;border-radius:18px;background:radial-gradient(ellipse at 50% 73%,#f1d194 0 34%,transparent 35%),linear-gradient(180deg,#ffffffc7,#fff4d1b8);box-shadow:inset 0 0 0 1px #fff,0 8px 24px #91692e1c}.art-craft-vase-hero:after{content:'';position:absolute;left:18%;right:18%;bottom:30px;height:11px;border-radius:50%;background:#8c67342b;filter:blur(3px)}.art-craft-vase-hero img{position:relative;z-index:1;width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 8px 6px #5039192e)}.art-craft-vase-hero strong{position:relative;z-index:1;max-width:94%;font-size:12px;text-align:center}.art-craft-vase-picker{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:8px;max-height:158px;padding-right:4px;overflow-y:auto}.art-craft-vase-option{display:grid!important;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:7px!important;border:1px solid #e5ddcf!important;border-radius:13px!important;background:#ffffffd9!important;text-align:left}.art-craft-vase-option img{width:46px;height:46px;object-fit:contain}.art-craft-vase-option span{min-width:0;font-size:10px;font-weight:800;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.art-craft-vase-option.is-selected{border-color:#725ce7!important;background:#f1edff!important;box-shadow:0 0 0 2px #725ce72e}.art-craft-flower-area>b{display:block;font-size:15px}.art-craft-flower-area>small{display:block;margin:2px 0 9px;color:#7d8397;font-size:11px}.art-craft-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.art-craft-flower-slot{min-width:0;padding:10px;border:1px solid #e2def4;border-radius:17px;background:#fff;box-shadow:0 5px 16px #3e386910}.art-craft-position{margin-bottom:6px;color:#6757e8;font-size:10px;font-weight:900;text-transform:uppercase}.art-craft-flower-current{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px;min-height:72px;padding:6px;border-radius:13px;background:linear-gradient(135deg,#f5f2ff,#fffaf0)}.art-craft-flower-current>img{width:62px;height:62px;object-fit:contain;border-radius:12px;background:#fff}.art-craft-flower-current b{display:block;font-size:11px;line-height:1.25}.art-craft-flower-current small{display:block;margin-top:4px;color:#777f94;font-size:9px}.art-craft-no-stock{grid-column:1/-1;color:#9a604e;font-size:11px;font-weight:700;text-align:center}.art-craft-flower-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:105px;margin-top:7px;overflow-y:auto}.art-craft-flower-choice{position:relative;display:block!important;min-width:0;padding:4px!important;border:1px solid #ebe8f3!important;border-radius:10px!important;background:#fff!important}.art-craft-flower-choice img{width:100%;height:38px;object-fit:contain}.art-craft-flower-choice span{display:block;overflow:hidden;color:#333c55;font-size:8px;font-weight:750;line-height:1.15;white-space:nowrap;text-overflow:ellipsis}.art-craft-flower-choice small{display:block;color:#7d8397;font-size:8px}.art-craft-flower-choice.is-selected{border-color:#725ce7!important;background:#eeeaff!important;box-shadow:inset 0 0 0 1px #725ce7}.art-craft-flower-choice:disabled{opacity:.4}.art-craft-quantity{background:linear-gradient(90deg,#f0edff,#fff8e8)}
@media(max-width:700px){.art-craft-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 14px)}.art-craft-dialog form>header{padding:11px 14px}.art-craft-dialog header h3{font-size:18px}.art-craft-body{padding:10px;gap:10px}.art-craft-stage{grid-template-columns:112px minmax(0,1fr);min-height:144px;padding:10px;gap:9px;border-radius:17px}.art-craft-vase-hero{min-height:122px}.art-craft-vase-hero img{width:82px;height:82px}.art-craft-vase-hero strong{font-size:9px}.art-craft-vase-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:124px;gap:5px}.art-craft-vase-option{grid-template-columns:34px minmax(0,1fr);padding:4px!important}.art-craft-vase-option img{width:34px;height:34px}.art-craft-vase-option span{font-size:8px}.art-craft-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.art-craft-flower-slot{padding:6px;border-radius:13px}.art-craft-flower-current{display:flex;flex-direction:column;gap:2px;min-height:104px;padding:4px;text-align:center}.art-craft-flower-current>img{width:54px;height:54px}.art-craft-flower-current b{font-size:8px}.art-craft-flower-current small{font-size:7px}.art-craft-flower-choices{grid-template-columns:repeat(2,minmax(0,1fr));max-height:91px;gap:3px}.art-craft-flower-choice{padding:2px!important}.art-craft-flower-choice img{height:31px}.art-craft-flower-choice span{font-size:7px}.art-craft-flower-choice small{font-size:7px}.art-craft-quantity{padding:8px}.art-craft-dialog form>footer{padding:9px 12px}}
.art-craft-dialog{max-height:min(820px,calc(100dvh - 20px))}.art-craft-body{gap:10px;padding:14px 18px;overscroll-behavior:contain}.art-craft-stage{min-height:154px;padding:11px}.art-craft-vase-hero{min-height:132px}.art-craft-vase-hero img{width:92px;height:92px}.art-craft-vase-picker{max-height:132px}.art-craft-flower-current{min-height:60px}.art-craft-flower-current>img{width:52px;height:52px}.art-craft-flower-choices{max-height:72px}.art-craft-flower-choices:has(.art-craft-flower-choice:only-child){display:none}.art-craft-slots:has(>.art-craft-flower-slot:only-child){grid-template-columns:minmax(240px,340px);justify-content:center}.art-craft-slots:has(>.art-craft-flower-slot:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(240px,340px));justify-content:center}.art-craft-quantity{justify-content:center;align-items:center;text-align:center}.art-craft-quantity label{width:150px}.art-craft-quantity small{padding:0}.art-craft-preview{display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 12px;border:1px solid #eadfff;border-radius:14px;background:#fff}.art-craft-preview img{width:54px;height:54px;object-fit:contain}.art-craft-preview small,.art-craft-preview b{display:block}.art-craft-preview small{color:#7d8397;font-size:9px}.art-craft-preview b{font-size:11px}.art-craft-body>p.is-success{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:#eaf9ef;color:#197540}.art-craft-body>p.is-success small{font-size:10px}.art-craft-body>p.is-error{color:#b33b3b}.art-craft-body>p.is-waiting{color:#6757e8}
@media(max-width:700px){.art-craft-dialog{max-height:calc(100dvh - 10px)}.art-craft-dialog form>header{padding:9px 12px}.art-craft-dialog header small{font-size:9px}.art-craft-dialog header h3{font-size:16px}.art-craft-body{padding:8px;gap:8px}.art-craft-stage{grid-template-columns:92px minmax(0,1fr);min-height:116px;padding:7px}.art-craft-vase-hero{min-height:100px}.art-craft-vase-hero img{width:66px;height:66px}.art-craft-vase-picker{max-height:102px}.art-craft-vase-option{grid-template-columns:29px minmax(0,1fr)}.art-craft-vase-option img{width:29px;height:29px}.art-craft-flower-area>b{font-size:13px}.art-craft-flower-area>small{font-size:9px;margin-bottom:6px}.art-craft-slots,.art-craft-slots:has(>.art-craft-flower-slot:only-child),.art-craft-slots:has(>.art-craft-flower-slot:nth-child(2):last-child){display:flex;justify-content:center;gap:5px}.art-craft-flower-slot{flex:0 1 31.8%;max-width:180px;padding:5px}.art-craft-slots>.art-craft-flower-slot:only-child{flex-basis:58%}.art-craft-slots>.art-craft-flower-slot:nth-child(2):last-child,.art-craft-slots>.art-craft-flower-slot:first-child:nth-last-child(2){flex-basis:46%}.art-craft-flower-current{min-height:82px}.art-craft-flower-current>img{width:45px;height:45px}.art-craft-flower-current b{font-size:8px}.art-craft-flower-current small{font-size:7px}.art-craft-flower-choices{max-height:66px}.art-craft-preview{padding:5px}.art-craft-preview img{width:42px;height:42px}.art-craft-quantity{flex-direction:column;align-items:center;gap:5px}.art-craft-quantity label{width:130px}.art-craft-quantity input{text-align:center}.art-craft-dialog form>footer{padding:7px 10px}}
@media(min-width:701px){.art-craft-dialog{max-height:calc(100dvh - 16px)}.art-craft-dialog form{max-height:calc(100dvh - 16px)}.art-craft-body{overflow:hidden}.art-craft-flower-slot{padding:7px}.art-craft-position{margin-bottom:3px}.art-craft-quantity{padding:7px 12px}.art-craft-dialog form>header{padding:11px 18px}.art-craft-dialog form>footer{padding:9px 16px}}
.art-craft-confirm{display:grid;gap:4px;padding:10px 14px!important;border:1px solid #dfd3ff;border-radius:13px;background:#f6f2ff;color:#392a8c!important;text-align:center}.art-craft-confirm small{color:#5d6170;font-size:10px;line-height:1.45}
@media(max-width:700px){.art-craft-flower-choices{max-height:none!important;overflow:visible!important;scrollbar-width:none}.art-craft-flower-choices::-webkit-scrollbar{display:none}.art-craft-flower-slot{overflow:visible}.art-craft-body{overflow-y:auto;overflow-x:hidden}}
.art-craft-flower-choices{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}.art-craft-flower-choice{flex:0 0 56px}.art-craft-confirm-dialog{width:min(430px,calc(100vw - 24px));padding:0;border:0;border-radius:24px;background:transparent;box-shadow:0 24px 80px #16152c66}.art-craft-confirm-dialog::backdrop{background:#17182aa8}.art-craft-confirm-card{position:relative;padding:22px;text-align:center;background:linear-gradient(155deg,#fffdf8,#f3efff);border:1px solid #e3d8ff;border-radius:24px}.art-craft-confirm-card>small{color:#6757e8;font-size:10px;font-weight:900;letter-spacing:.08em}.art-craft-confirm-card>[data-cancel][aria-label]{position:absolute;right:14px;top:14px;width:36px;height:36px;padding:0;border:1px solid #dddff0;border-radius:11px;background:#fff}.art-craft-confirm-art{display:block;width:150px;height:150px;margin:8px auto 2px;object-fit:contain;filter:drop-shadow(0 10px 8px #53412328)}.art-craft-confirm-card h3{margin:4px 0;font-size:19px}.art-craft-confirm-card p{margin:3px 0 12px;color:#646a7e}.art-craft-confirm-card ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}.art-craft-confirm-card li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:5px 9px;border-radius:11px;background:#fff;text-align:left}.art-craft-confirm-card li img{width:34px;height:34px;object-fit:contain}.art-craft-confirm-card li span{font-size:11px;font-weight:700}.art-craft-confirm-card li b{color:#a14d42;font-size:11px}.art-craft-confirm-card footer{display:flex;justify-content:center;gap:8px;margin-top:15px}.art-craft-confirm-card footer button{padding:10px 16px;border:1px solid #dddff0;border-radius:11px;background:#fff;font-weight:800}.art-craft-confirm-card footer [data-accept]{border-color:#6757e8;background:#6757e8;color:#fff}
@media(max-width:700px){.art-craft-slots,.art-craft-slots:has(>.art-craft-flower-slot:only-child),.art-craft-slots:has(>.art-craft-flower-slot:nth-child(2):last-child){display:grid;grid-template-columns:1fr}.art-craft-flower-slot,.art-craft-slots>.art-craft-flower-slot:only-child,.art-craft-slots>.art-craft-flower-slot:nth-child(2):last-child,.art-craft-slots>.art-craft-flower-slot:first-child:nth-last-child(2){display:grid;grid-template-columns:86px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:4px 7px;max-width:none;flex:none}.art-craft-position{grid-column:1/-1;margin:0}.art-craft-flower-current{grid-column:1;grid-row:2;min-height:76px}.art-craft-flower-choices{grid-column:2;grid-row:2;justify-content:center;margin:0}.art-craft-flower-choice{flex:0 0 50px}.art-craft-confirm-card{padding:18px 14px}.art-craft-confirm-art{width:118px;height:118px}.art-craft-confirm-card h3{font-size:17px}}
.art-craft-preview{display:none!important}
@media(max-width:760px){.art-rack-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.art-rack{display:grid;grid-template-columns:1fr;place-items:center;min-height:82px;padding:7px 3px;text-align:center}.art-rack>span{top:3px;left:5px}.art-rack>i{width:34px;height:34px;font-size:18px}.art-rack>i img{width:31px;height:31px}.art-rack div{min-width:0;width:100%}.art-rack div b{font-size:8px}.art-rack div small{display:none}.art-rack>em{font-size:7px}.art-inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:none;overflow:visible;padding:0}.art-item{display:grid;grid-template-columns:1fr;place-items:center;min-height:105px;padding:6px 3px;text-align:center}.art-item>i{width:58px;height:58px}.art-item img{width:54px;height:54px}.art-item span{min-width:0;width:100%}.art-item span b{overflow:hidden;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.art-item span small{font-size:7px}.art-item>em{padding:3px 5px;font-size:7px}.art-craft-open{margin:10px auto;padding:9px 14px;font-size:12px}}
@media(max-width:760px){.art-sale-panel .art-rack-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.art-sale-panel .art-rack{display:grid!important;grid-template-columns:1fr!important;min-height:78px!important;padding:6px 3px!important}.art-sale-panel .art-inventory-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;max-height:none!important;overflow:visible!important}.art-sale-panel .art-item{display:grid!important;grid-template-columns:1fr!important;min-height:102px!important;padding:5px 3px!important}.art-sale-panel .art-item>i{width:56px!important;height:56px!important}.art-sale-panel .art-item img{width:52px!important;height:52px!important}}

/* Mobile polish: compact 4-column art inventory and non-overlapping flower choices. */
@media(max-width:760px){
  .art-sale-panel .art-inventory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;max-height:430px!important;overflow-x:hidden!important;overflow-y:auto!important;padding:2px 3px 4px!important;align-content:start}
  .art-sale-panel .art-item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-height:104px!important;padding:5px 2px!important;text-align:center!important;overflow:hidden}
  .art-sale-panel .art-item>i{width:48px!important;height:48px!important;flex:0 0 48px!important}
  .art-sale-panel .art-item img{width:46px!important;height:46px!important;object-fit:contain!important}
  .art-sale-panel .art-item span{width:100%!important;min-width:0!important}
  .art-sale-panel .art-item span b{display:block!important;overflow:hidden!important;font-size:7px!important;line-height:1.2!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  .art-sale-panel .art-item span small{font-size:7px!important;line-height:1.2!important}
  .art-craft-slots,.art-craft-slots:has(>.art-craft-flower-slot:only-child),.art-craft-slots:has(>.art-craft-flower-slot:nth-child(2):last-child){display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .art-craft-flower-slot,.art-craft-slots>.art-craft-flower-slot:only-child,.art-craft-slots>.art-craft-flower-slot:nth-child(2):last-child,.art-craft-slots>.art-craft-flower-slot:first-child:nth-last-child(2){display:block!important;max-width:none!important;padding:7px!important}
  .art-craft-position{margin:0 0 5px!important;text-align:center!important}
  .art-craft-flower-current{display:none!important}
  .art-craft-flower-choices{display:flex!important;grid-column:auto!important;grid-row:auto!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:6px!important;max-height:none!important;margin:0!important;overflow:visible!important}
  .art-craft-flower-choice{flex:0 0 72px!important;width:72px!important;padding:4px!important}
  .art-craft-flower-choice img{width:100%!important;height:48px!important;object-fit:contain!important}
  .art-craft-flower-choice span{font-size:8px!important}.art-craft-flower-choice small{font-size:7px!important}
}

/* Keep the craft sheet inside one phone viewport; choices stay in one compact row. */
.art-craft-quantity{min-height:0!important;padding:6px 12px!important;gap:12px!important}
.art-craft-quantity label{gap:3px!important}.art-craft-quantity input{min-height:36px!important;padding:5px 9px!important}
@media(max-width:700px){
  .art-craft-dialog{max-height:calc(100dvh - 8px)!important}
  .art-craft-dialog form{max-height:calc(100dvh - 8px)!important}
  .art-craft-body{overflow:hidden!important;padding:7px!important;gap:7px!important}
  .art-craft-stage{grid-template-columns:88px minmax(0,1fr)!important;min-height:106px!important;padding:6px!important;gap:6px!important}
  .art-craft-vase-hero{min-height:92px!important}.art-craft-vase-hero img{width:60px!important;height:60px!important}
  .art-craft-vase-picker{max-height:92px!important;gap:4px!important}.art-craft-vase-option{grid-template-columns:27px minmax(0,1fr)!important;min-height:42px!important;padding:3px!important}.art-craft-vase-option img{width:27px!important;height:27px!important}
  .art-craft-flower-area>b{font-size:12px!important}.art-craft-flower-area>small{margin:1px 0 4px!important;font-size:8px!important}
  .art-craft-slots,.art-craft-slots:has(>.art-craft-flower-slot:only-child),.art-craft-slots:has(>.art-craft-flower-slot:nth-child(2):last-child){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .art-craft-flower-slot,.art-craft-slots>.art-craft-flower-slot:only-child,.art-craft-slots>.art-craft-flower-slot:nth-child(2):last-child,.art-craft-slots>.art-craft-flower-slot:first-child:nth-last-child(2){display:block!important;min-width:0!important;max-width:none!important;padding:4px!important;border-radius:12px!important}
  .art-craft-position{margin:0 0 3px!important;font-size:8px!important;text-align:center!important}
  .art-craft-flower-choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;max-height:none!important;overflow:hidden!important}
  .art-craft-flower-choice{width:auto!important;min-width:0!important;padding:2px!important;border-radius:8px!important}
  .art-craft-flower-choice img{width:100%!important;height:38px!important}.art-craft-flower-choice span{font-size:6px!important}.art-craft-flower-choice small{font-size:6px!important}
  .art-craft-quantity{flex-direction:row!important;justify-content:center!important;align-items:center!important;padding:5px 8px!important;gap:8px!important}
  .art-craft-quantity label{width:92px!important;font-size:11px!important}.art-craft-quantity input{min-height:34px!important;text-align:center!important}.art-craft-quantity small{padding:0!important;font-size:8px!important}
  .art-craft-body>p:empty{display:none!important}.art-craft-dialog form>footer{padding:6px 9px!important}
}

.art-craft-suggest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.art-craft-suggest button{display:flex!important;align-items:center;justify-content:center;gap:8px;padding:8px 12px!important;border-color:#dcd5ff!important;background:linear-gradient(135deg,#fff,#f4f0ff)!important;color:#30285d}
.art-craft-suggest button.is-active{border-color:#6757e8!important;background:#eeeaff!important;box-shadow:inset 0 0 0 1px #6757e8;color:#5144c7}
.art-craft-suggest b,.art-craft-suggest small{display:block}.art-craft-suggest b{font-size:11px}.art-craft-suggest small{color:#777f94;font-size:9px}
.art-craft-body>p.is-suggestion{min-height:0;color:#6757e8;font-size:10px;text-align:center}
@media(min-width:701px){
  .art-craft-vase-option span{font-size:11px!important}.art-craft-vase-hero strong{font-size:13px!important}
  .art-craft-flower-area>b{font-size:16px!important}.art-craft-flower-area>small{font-size:12px!important}
  .art-craft-position{font-size:11px!important}.art-craft-flower-current b{font-size:12px!important}.art-craft-flower-current small{font-size:10px!important}
  .art-craft-flower-choice span{font-size:9px!important}.art-craft-flower-choice small{font-size:9px!important}
  .art-craft-suggest b{font-size:12px}.art-craft-suggest small{font-size:10px}
}
@media(max-width:700px){
  .art-craft-suggest{gap:5px}.art-craft-suggest button{padding:5px!important;gap:3px;flex-direction:column}.art-craft-suggest b{font-size:8px}.art-craft-suggest small{font-size:6px}
}
