.medicine-picker{position:relative;min-width:0;width:100%}.medicine-picker input{width:100%;min-width:0;box-sizing:border-box}.medicine-picker-hint{display:block;font-size:13px;line-height:1.45;font-weight:400;color:#62695d;margin:8px 0 0}.medicine-options{position:absolute;top:calc(100% - 0px);left:0;right:0;z-index:30;max-height:260px;overflow:auto;border:2px solid #30382e;border-radius:12px;background:#fffef8;box-shadow:4px 5px 0 #30382e33}.medicine-option{padding:12px 14px;line-height:1.4;font-size:15px;font-weight:600;overflow-wrap:anywhere;border-bottom:1px solid #d9dfcf;cursor:pointer}.medicine-option:last-child{border:0}.medicine-option:hover,.medicine-option[aria-selected=true]{background:#e1efd4;color:#135c4e}.medicine-options.hidden{display:none}.catalogue-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.catalogue-toolbar label:first-child{flex:1;min-width:200px}.catalogue-toolbar label{margin:0}.catalogue-card{background:#fffef8;border:2px solid #c4ccba;border-radius:18px;padding:18px;margin:12px 0;display:flex;gap:16px;justify-content:space-between;align-items:center}.catalogue-copy{min-width:0;flex:1}.catalogue-copy h3{margin:0 0 8px;overflow-wrap:anywhere;font-size:18px}.catalogue-copy p{margin:6px 0;overflow-wrap:anywhere}.catalogue-actions{display:flex;gap:8px;flex-wrap:wrap}.catalogue-status{display:inline-block;background:#deedd3;border:1px solid #9aac94;border-radius:6px;padding:3px 8px;font-size:12px}.catalogue-status.inactive{background:#eee7e2;color:#6b5448}#catalogue-editor{background:#eef4e6}#catalogue-editor textarea{min-height:110px;width:100%;box-sizing:border-box}#catalogue-editor .catalogue-check{display:flex;align-items:center;gap:10px}#catalogue-editor .catalogue-check input{width:20px;height:20px}#register-form input[name=name]{text-transform:uppercase}.catalogue-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.catalogue-actions button{white-space:normal}.catalogue-unlinked{color:#765610;font-size:13px}@media(max-width:640px){.catalogue-card{align-items:stretch;flex-direction:column}.catalogue-toolbar{align-items:stretch}.catalogue-toolbar label,.catalogue-toolbar label:first-child{width:100%;min-width:0}.medicine-option{font-size:14px}.catalogue-actions button{flex:1}.medicine-options{max-height:220px}}

/* Keep checkbox controls separate from full-width text inputs. */
#bakiubat-sticker-design label.catalogue-check {
 display:flex;align-items:center;justify-content:flex-start;gap:10px;
 width:fit-content;max-width:100%;min-height:44px;margin:12px 0;
 padding:6px 0;line-height:1.5;font-size:14px;font-weight:500;cursor:pointer;
}
#bakiubat-sticker-design .catalogue-check input[type="checkbox"] {
 -webkit-appearance:none;appearance:none;display:inline-block;box-sizing:border-box;
 flex:0 0 18px;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;
 margin:0;padding:0;border:2px solid #648575;border-radius:5px;
 background:#fffef8;background-position:center;background-repeat:no-repeat;background-size:14px 14px;
 cursor:pointer;vertical-align:middle;
}
#bakiubat-sticker-design .catalogue-check input[type="checkbox"]:checked {
 border-color:#176d5b;background-color:#176d5b;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#bakiubat-sticker-design .catalogue-check input[type="checkbox"]:focus-visible {outline:3px solid #d3ac25;outline-offset:3px;}
#bakiubat-sticker-design .catalogue-check input[type="checkbox"]:disabled {opacity:.55;cursor:default;}

/* Compact brand signature and deliberate welcome-text lines. */
#bakiubat-sticker-design .bu-brand{gap:11px;flex-shrink:0;}
#bakiubat-sticker-design .bu-brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
#bakiubat-sticker-design .bu-brand-name{display:block;line-height:1.1;}
#bakiubat-sticker-design .bu-brand-name>span{margin-left:5px;}
#bakiubat-sticker-design .bu-brand-tagline{display:block;font-size:11px;font-weight:500;line-height:1.35;letter-spacing:.15px;color:#526453;white-space:nowrap;}
#bakiubat-sticker-design #welcome-description{max-width:none;line-height:1.65;}
#bakiubat-sticker-design .bu-welcome-status,#bakiubat-sticker-design .bu-welcome-help{display:block;text-wrap:pretty;}
#bakiubat-sticker-design .bu-welcome-status{font-weight:650;margin-bottom:4px;}
#bakiubat-sticker-design .bu-keep-together{white-space:nowrap;}
@media(max-width:560px){
 #bakiubat-sticker-design .bu-top{flex-wrap:wrap;}
 #bakiubat-sticker-design .bu-topright{margin-left:auto;flex-wrap:wrap;}
 #bakiubat-sticker-design .bu-brand-tagline{font-size:10px;}
 #bakiubat-sticker-design .bu-hero h1{min-height:105px;}
 #bakiubat-sticker-design #welcome-description{padding-right:0;}
}
