/* 손님 화면: 단계별 자세한 설명 */
.bbo-c-flow li{display:block;padding-bottom:0;border-top:1px solid #ddd}
.bbo-c-flow ol>li:last-child{border-bottom:1px solid #ddd}
.bbo-c-det summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0;cursor:pointer;list-style:none}
.bbo-c-det summary::-webkit-details-marker{display:none}
.bbo-c-det summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.bbo-c-sum{flex:1 1 auto;min-width:0;display:block}
.bbo-c-sum .bbo-c-step{display:block;padding-top:0}
.bbo-c-ing{display:block}
.bbo-c-chev{flex:0 0 10px;width:10px;height:10px;margin-right:4px;border-right:2px solid #111;border-bottom:2px solid #111;transform:rotate(45deg) translate(-2px,-2px)}
.bbo-c-det[open] .bbo-c-chev{transform:rotate(225deg) translate(-2px,-2px)}
.bbo-c-guide{padding:2px 0 16px 40px;color:#111;font-size:14px}
.bbo-c-flow .bbo-c-guide ul{margin:0 0 12px;padding-left:18px;list-style:disc}
.bbo-c-flow .bbo-c-guide ul>li{display:list-item;border:0;padding:0 0 4px;color:#111}
.bbo-c-g-t{margin-bottom:4px;font-size:13px;font-weight:800}
.bbo-c-g-note{margin-bottom:12px;padding:10px 12px 2px;background:#fdf3d0}
.bbo-c-flow .bbo-c-g-note ul{margin-bottom:8px}
.bbo .bbo-c-g-btn{min-height:44px;margin-top:8px;font-size:14px}

/* 관리자 화면: 주문별 안내 추가 */
.bbo-notes{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.bbo-note-row{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;background:#f6f6f6;font-size:14px}
.bbo-note-body{flex:1 1 auto;min-width:0;word-break:break-word}
.bbo-note-step{display:block;font-size:12px;font-weight:800;color:#555}
.bbo .bbo-note-del{flex:0 0 auto;min-width:48px;min-height:36px;border:1px solid #111;background:#fff;color:#111;cursor:pointer;font-size:13px;font-weight:700}
.bbo-notes-empty{font-size:13px;color:#555}
.bbo textarea{display:block;width:100%;min-height:72px;border:1px solid #111;border-radius:0;padding:10px 12px;background:#fff;font:inherit}
.bbo-note-add{width:100%;margin-top:10px}

/* 관리자 화면: 주문 완료·삭제 줄 */
.bbo-delete{flex-direction:column;align-items:stretch}
.bbo-end-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.bbo-end-row .bbo-btn{min-width:140px}

/* 관리자 화면: 고객 수 통계 */
.bbo-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.bbo-stat-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bbo-stat-t{font-size:14px;font-weight:800;text-align:center}
.bbo .bbo-stat-nav{flex:0 0 44px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #111;background:#fff;color:#111;font-size:20px;font-weight:800;text-decoration:none}
.bbo .bbo-stat-nav.is-off{border-color:#ddd;color:#bbb}
.bbo-stat-n{margin-top:6px;font-size:30px;font-weight:900;text-align:center}
.bbo-stat .bbo-sub{text-align:center}

/* 손님 확인 안내 */
.bbo-c-done{margin:12px 16px;padding:12px 16px;background:#111;color:#f2c94c;font-weight:800}

/* 관리자 화면: 손님과 함께 확인 */
.bbo-chk-t{font-size:14px;font-weight:900}
.bbo-chk-s{font-size:13px;color:#555;margin-top:2px}


/* 관리자 화면: 옷 여러 줄 */
.bbo-line-cards{display:flex;flex-direction:column;gap:14px}
.bbo-line-card{padding:14px;border:1px solid #111;background:#fafafa}
.bbo-line-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.bbo-line-title{font-size:15px;font-weight:900}
.bbo-line-tools{display:flex;flex-wrap:wrap;gap:6px}
.bbo-line-sub{margin-top:12px;text-align:right;font-weight:800}
.bbo-line-add{width:100%;margin-top:14px}
.bbo-qline-name{min-width:0;word-break:keep-all}
.bbo-qline-sub{display:block;font-size:12px;font-weight:400;color:#ddd}
.bbo-qline-amt{white-space:nowrap}
.bbo-line-tools [hidden]{display:none}

/* 관리자 편집 화면: 요약을 위에, 가끔 쓰는 칸은 접어서 */
.bbo-edit{display:flex;flex-direction:column;gap:14px;padding-top:16px}
.bbo-edit .bbo-card{padding:16px}
.bbo-edit .bbo-h{margin-bottom:10px;font-size:14px}
.bbo-sum{display:grid;grid-template-columns:1.6fr 1.6fr 1fr 1fr .7fr;background:#fff;border:1px solid #111}
.bbo-sum-t{min-width:0;padding:12px 14px;border-left:1px solid #ddd}
.bbo-sum-t:first-child{border-left:0}
.bbo-sum-t span{display:block;font-size:12px;font-weight:700;color:#555}
.bbo-sum-t b{display:block;font-size:17px;font-weight:900;line-height:1.35;word-break:keep-all}
.bbo-sum-t em{display:block;font-size:12px;font-style:normal;color:#555}
.bbo-sum-t.is-next{background:#f2c94c}
.bbo-sum-t.is-next span{color:#111}
.bbo-edit .bbo-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid #111}
.bbo-edit .bbo-step{justify-content:center;min-height:40px;padding:4px 6px;border:0;border-left:1px solid #ddd;font-size:13px;font-weight:700;text-align:center;word-break:keep-all;line-height:1.3}
.bbo-edit .bbo-step{position:relative}
.bbo-edit .bbo-step:first-child{border-left:0}
.bbo-edit .bbo-step input{position:absolute;opacity:0;width:1px;height:1px}
.bbo-edit .bbo-step:focus-within{outline:2px solid #2563eb;outline-offset:-2px}
.bbo-edit .bbo-step.is-done{background:#ececea;color:#666}
.bbo-edit .bbo-step.is-cur{background:#111;color:#f2c94c}
.bbo-step-help{margin-top:8px;font-size:13px;color:#555}
.bbo-work{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;align-items:stretch}
.bbo-work>.bbo-card{min-width:0}
.bbo-edit .bbo-check{min-height:36px;margin-top:4px}
.bbo-edit .bbo-chk-t.bbo-mt{margin-top:8px}
.bbo-fold{background:#fff;border:1px solid #111}
.bbo-fold>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-height:48px;padding:12px 40px 12px 16px;position:relative;cursor:pointer;list-style:none}
.bbo-fold>summary::-webkit-details-marker{display:none}
.bbo-fold>summary::after{content:'';position:absolute;right:18px;top:18px;width:9px;height:9px;border-right:2px solid #111;border-bottom:2px solid #111;transform:rotate(45deg)}
.bbo-fold[open]>summary::after{top:22px;transform:rotate(225deg)}
.bbo-fold>summary b{font-size:15px;font-weight:900}
.bbo-fold>summary span{min-width:0;font-size:13px;color:#555}
.bbo-fold>summary:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
.bbo-fold-in{display:flex;flex-direction:column;gap:14px;padding:0 16px 16px}
.bbo-edit .bbo-fold-in>.bbo-card:not(.bbo-card-dark){padding:0;border:0}
.bbo-savebar{position:sticky;bottom:0;z-index:20;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding:8px 12px;background:#fff;border:1px solid #111}
.bbo-savebar .bbo-sub{flex:1 1 200px}
.bbo-savebar .bbo-btn{flex:0 0 180px}
.bbo-savebar.is-dirty{background:#f2c94c}
.bbo-savebar.is-dirty .bbo-sub{color:#111;font-weight:800}
@media (max-width:900px){.bbo-sum{grid-template-columns:1fr 1fr}.bbo-sum-t{border-left:0;border-top:1px solid #ddd}.bbo-sum-t.is-next{grid-column:1/-1;border-top:0}.bbo-edit .bbo-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.bbo-edit .bbo-step{border-bottom:1px solid #ddd}}
@media (max-width:600px){.bbo-savebar .bbo-btn{flex:1 1 100%;min-height:44px}.bbo-savebar:not(.is-dirty) .bbo-sub{display:none}}

/* 관리자 화면: 제작 체크 */
.bbo-make-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.bbo-make-head .bbo-h{margin:0}
.bbo-make-sum b{font-size:22px;font-weight:900}
.bbo-make-bar{margin-top:6px;height:8px;background:#e4e4e4}
.bbo-make-bar i{display:block;height:100%;background:#111;transition:width .2s}
.bbo-make-line{margin-top:14px;font-size:14px;font-weight:900}
.bbo-make-rows{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:6px}
.bbo-make-row{display:flex;align-items:flex-start;gap:6px;min-width:0}
.bbo-make-size{flex:0 0 auto;min-width:44px;height:44px;padding:0 6px;display:flex;align-items:center;justify-content:center;background:#111;color:#fff;font-size:13px;font-weight:800}
.bbo-make-chips{min-width:0;display:flex;flex-wrap:wrap;gap:4px}
.bbo .bbo-chip{width:44px;height:44px;padding:0;border:1px solid #111;background:#fff;color:#111;font-size:14px;font-weight:800;cursor:pointer}
.bbo .bbo-chip.is-on{background:#f2c94c}
.bbo .bbo-chip.is-on::before{content:'✓ ';font-size:11px}
.bbo .bbo-make-all{flex:0 0 auto;height:44px;padding:0 8px;border:1px solid #111;background:#fff;color:#111;font-size:12px;font-weight:700;cursor:pointer}
.bbo-make-done{margin-top:10px;padding:8px 12px;background:#111;color:#f2c94c;font-weight:800}
.bbo-make-done[hidden]{display:none}
