.bc-workspace{max-width:1100px;margin:auto;overflow-wrap:anywhere}.bc-narrow{max-width:680px}.bc-workspace h1{font-size:1.5rem;font-weight:700}.bc-workspace h2{font-size:1.05rem;font-weight:650;margin-bottom:8px}.bc-muted{color:#64748b;font-size:14px;line-height:1.7;margin:8px 0 16px}.bc-panel,.bc-card{border:1px solid #dce3e3;border-radius:16px;padding:20px;margin:16px 0;background:#fff}.bc-workspace :is(button,input[type=submit],.bc-primary,.bc-actions a){min-height:44px;padding:10px 16px;border:1px solid #cbd5e1;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-weight:600}.bc-workspace .bc-primary{background:#0d766b;color:white;border-color:#0d766b}.bc-back{display:inline-block;padding:12px 0;color:#0f766e;min-height:44px}.bc-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.bc-upload+.bc-upload{border-top:1px solid #dce3e3;margin-top:24px;padding-top:24px}.bc-preview{max-height:260px;max-width:100%;object-fit:contain;margin:12px auto}.bc-fields{display:grid;gap:18px}.bc-fields label{display:block;margin-bottom:6px;font-size:14px;font-weight:600}.bc-workspace :is(input:not([type=checkbox]):not([type=submit]):not([type=file]),select,textarea){width:100%;min-width:0;max-width:100%;font-size:16px;border:1px solid #cbd5e1;border-radius:9px;padding:11px;background:transparent;min-height:44px}.bc-workspace input[type=date]{appearance:none}.bc-workspace .bc-check{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;white-space:nowrap}.bc-check input{width:20px;height:20px}.bc-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.bc-filters input[type=search]{flex:2;min-width:180px!important}.bc-filters select{flex:1;min-width:140px!important}.bc-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.bc-card{display:flex;gap:12px;margin:0;padding:16px;align-items:center;min-width:0}.bc-avatar{width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#e3f3ef;color:#0f766e;display:grid;place-items:center;font-weight:700}.bc-card-body{flex:1;min-width:0}.bc-card-body p,.bc-card-body small{font-size:13px;color:#64748b}.bc-badge{font-size:11px;flex-shrink:0;background:#eff4f3;padding:5px;border-radius:5px}.bc-warning{background:#fff6dc;color:#704c0b;padding:16px;border-radius:12px;margin:16px 0}.bc-warning a{text-decoration:underline}.bc-photos summary{cursor:pointer;min-height:44px;padding:10px 0}.bc-photos img{max-height:360px;max-width:100%;object-fit:contain;margin:12px auto}.bc-details{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:20px 0}.bc-details dt{color:#64748b;font-size:14px}.bc-empty{text-align:center;padding:40px 20px}.bc-manual{margin:16px 0}.bc-workspace [hidden]{display:none!important}.menu-close{min-height:44px;text-align:right;padding:10px 20px;flex-shrink:0}
.dark .bc-panel,.dark .bc-card{background:#111827;border-color:#374151}.dark .bc-badge{background:#263b38}.dark .bc-muted,.dark .bc-card-body p,.dark .bc-card-body small,.dark .bc-details dt{color:#a1b2c3}.dark .bc-workspace :is(input,select,textarea,button){border-color:#475569}.dark .bc-workspace select option{background:#111827}
@media(max-width:767px){#app-sidebar{z-index:60;top:0;height:100dvh;max-width:calc(100vw - 48px);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}[data-sidebar-target=backdrop]{z-index:50!important}#app-sidebar nav a{min-height:44px}#app-sidebar>div{flex-shrink:0}.bc-panel{padding:16px}.bc-workspace{padding-bottom:24px}.bc-filters{gap:8px}.bc-filters select{flex-basis:100%}.bc-fields input[type=submit]{width:100%}}

.bc-photo-editor{border:0;border-radius:16px;padding:20px;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);margin:auto;overflow:auto;background:white;color:#172b29}.bc-photo-editor::backdrop{background:#000a}.bc-photo-editor canvas{max-width:100%;width:auto;max-height:45dvh;height:auto;touch-action:none;margin-top:14px}.bc-photo-editor p{font-size:14px;color:#64748b}.dark .bc-photo-editor{background:#111827;color:white}
