/* V26: one-save romance workflow. No impact on other admin tabs. */
.v26-tag{background:#eee9ff;color:#6946d2;font:800 10px/1.2 system-ui,sans-serif;border-radius:99px;padding:7px 10px;vertical-align:middle;white-space:nowrap}
.v26-customer-list{margin-bottom:18px}.v26-list-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.v26-list-top h3{margin:0}
.v26-form{display:grid;gap:17px;min-width:0}.v26-top-tools{position:sticky;top:0;z-index:25;background:#fff;border:1px solid #e8e4f4;border-radius:18px;padding:13px 17px;box-shadow:0 10px 38px #15085a15}.v26-top-row{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:10px}.v26-top-row strong{font-size:15px}.v26-top-row .btn{white-space:normal}
.v26-jump{display:grid;grid-template-columns:95px minmax(145px,240px) 1fr;gap:9px;align-items:center}.v26-search-label{font-size:12px;font-weight:800;color:#6f6884}.v26-jump input{min-width:0;margin:0;border:1px solid #e6e3ee;border-radius:9px;padding:9px 12px;width:100%;background:#faf9ff}
.v26-quick-links{display:flex;gap:6px;overflow-x:auto;min-width:0;scrollbar-width:thin}.v26-quick-links button{white-space:nowrap;border-radius:999px;background:#f3f1fa;color:#51466c;border:0;padding:9px 12px;cursor:pointer;font-size:11px;font-weight:800}.v26-quick-links button:hover{background:#e9e3ff}.v26-quick-links button[hidden]{display:none}
.v26-basic{scroll-margin-top:155px}.v26-basic h3{margin-top:0}.v26-active-row{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#f5f0ff;border-radius:12px;font-weight:800}.v26-active-row input{width:auto}
.v26-modules-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.v26-modules-head h3{margin:0 0 5px}.v26-modules-head p{margin:0;font-size:13px;color:#7f7a91}.v26-modules-actions{display:flex;flex-wrap:wrap;gap:7px}.v26-module-list{display:grid;gap:10px}
.v26-module{scroll-margin-top:155px;background:#fff;border:1px solid #e2e4f0;border-radius:16px;min-width:0;box-shadow:0 5px 20px #0b0d2410;overflow:hidden}.v26-module[hidden]{display:none}.v26-module.v26-open{border-color:#bdb4eb}.v26-module.v26-dragging{opacity:.55;border:2px dashed #7750d8}.v26-module-head{display:flex;align-items:center;gap:11px;padding:13px 15px;min-width:0}.v26-grip{display:grid;place-items:center;cursor:grab;color:#8475b8;background:#f3efff;padding:8px 11px;border-radius:9px;font-size:24px;user-select:none;touch-action:none}.v26-grip:active{cursor:grabbing}.v26-module-label{flex:1;min-width:0}.v26-expand{border:0;background:transparent;padding:3px;text-align:left;cursor:pointer;color:#20243a;display:grid;gap:3px;width:100%}.v26-expand b{font-size:15px}.v26-expand span{font-size:11px;font-weight:500;color:#7c8292}.v26-toggle{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 10px;background:#e8faf0;color:#147647;font-weight:800;font-size:12px;border-radius:99px;cursor:pointer}.v26-toggle input{accent-color:#17a663;width:16px;height:16px;margin:0}.v26-inactive .v26-toggle{background:#f2f3f7;color:#777}.v26-sort-controls{display:flex;gap:3px}.v26-sort-controls button,.v26-open-icon,.v26-repeat-title button{border:1px solid #dfdfea;background:#fff;color:#646783;border-radius:9px;padding:7px 10px;font-weight:900;cursor:pointer}.v26-open-icon{font-size:18px}.v26-open .v26-open-icon{transform:rotate(180deg)}.v26-module-body{padding:21px;border-top:1px solid #e9e7f0;display:grid;gap:14px}.v26-module-body[hidden]{display:none}.v26-module-body label:not(.inline-check){display:grid;gap:7px;font-weight:700;font-size:13px}.v26-module-body input:not([type=checkbox]),.v26-module-body textarea,.v26-module-body select{min-width:0;width:100%;box-sizing:border-box}.v26-module-body .fields{margin-bottom:2px}.v26-module-body small{color:#7c8292;font-size:12px}.v26-message{background:#f0edff;border:1px solid #d9d3f8;border-radius:12px;padding:13px 16px;color:#524586;font-size:12px;line-height:1.7}.v26-module-body .inline-check{display:flex;align-items:center;gap:9px;font-size:12px}
.v26-repeat-row{border:1px solid #e5e7ef;background:#fafaff;padding:15px;border-radius:13px;margin-bottom:12px;display:grid;gap:12px;min-width:0}.v26-repeat-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.v26-repeat-title>div{display:flex;gap:6px}.v26-repeat-title button{font-size:12px}.v26-memory-content{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:16px}.v26-memory-content img{width:100%;height:auto;object-fit:contain;border-radius:11px}.v26-memory-content>div{display:grid;gap:10px;min-width:0}.v26-question-actions{display:flex;gap:10px}.v26-bottom-save{background:#fff;border:1px solid #ddd7f2;display:flex;gap:15px;align-items:center;justify-content:space-between;border-radius:17px;padding:24px}.v26-bottom-save strong{font-size:17px}.v26-bottom-save p{font-size:12px;color:#777;margin:6px 0 0}.v26-bottom-save button{white-space:normal}.v26-danger{text-align:right;margin-top:24px}
@media(max-width:1080px){.v26-jump{grid-template-columns:90px 1fr}.v26-quick-links{grid-column:1/-1}.v26-top-tools{top:0}}
@media(max-width:620px){.v26-top-tools{padding:11px 12px;border-radius:12px}.v26-module-head{gap:6px;padding:10px}.v26-grip{padding:7px;font-size:20px}.v26-expand b{font-size:13px}.v26-expand span{display:none}.v26-sort-controls{flex-direction:column}.v26-sort-controls button{padding:5px 8px}.v26-toggle{font-size:10px;padding:6px}.v26-open-icon{padding:5px}.v26-memory-content{grid-template-columns:1fr}.v26-memory-content img{max-width:220px}.v26-modules-head{align-items:flex-start;flex-direction:column}.v26-module-body{padding:14px}.v26-bottom-save{flex-direction:column;align-items:stretch}.v26-bottom-save button{width:100%}}

.v26-save-status{padding:14px 17px;border-radius:12px;background:#edf0ff;color:#3d3691;font-weight:800;border:1px solid #d2d6ff;font-size:13px}.v26-save-status.error{background:#fff0f0;color:#9c2633;border-color:#f3bfc4}.v26-save-status.success{background:#eafaf0;color:#14613d;border-color:#bae6ca}.v26-save-status[hidden]{display:none}

/* V27: touch-friendly microphone recording for admins and customers */
.v27-recorder{border:1px solid #dcd4f8;border-radius:16px;background:linear-gradient(140deg,#faf5ff,#fff8fc);padding:20px;display:grid;gap:12px}
.v27-recorder>strong{font-size:16px;color:#3e2d62}.v27-recorder>p{font-size:13px;line-height:1.6;color:#665b7b;margin:0}
.v27-recorder-actions{display:flex;gap:9px;flex-wrap:wrap}.v27-recorder-actions button{min-height:44px}
.v27-recorder-actions button:disabled{opacity:.45;cursor:not-allowed}
.v27-rec-status{font-weight:700;color:#6153a0!important}.v27-recorder audio{width:100%;min-width:0}
.v27-recorder audio[hidden]{display:none}
@media(max-width:600px){.v27-recorder{padding:14px}.v27-recorder-actions button{flex:1 1 42%;white-space:normal}}

/* V28: clearly distinguish private card-viewing password from portal login. */
.v28-page-password{background:linear-gradient(115deg,#faf6ff,#fff7fb);border:1px solid #eadbfb;border-radius:16px;padding:18px 20px;margin:18px 0}.v28-page-password h4{margin:0 0 8px;font-size:16px}.v28-page-password p{font-size:13px;line-height:1.7;color:#5e6176;margin:0 0 13px}.v28-page-password [data-page-password-fields]{margin-top:13px}.v28-page-password [data-page-password-fields][hidden]{display:none!important}.v28-page-password label{margin:0 0 6px}.v28-page-password small{display:block;font-size:11px;color:#7c8091}.v28-record-meter{display:flex;gap:7px;align-items:center;padding:12px 14px;border-radius:12px;background:#ffedf2;color:#9e2253;font-weight:700;margin:11px 0}.v28-record-meter[hidden]{display:none!important}.v28-record-dot{width:11px;height:11px;border-radius:50%;background:#e51d55;box-shadow:0 0 0 5px #e51d5520;animation:v28-rec 1s infinite alternate}@keyframes v28-rec{to{opacity:.4;box-shadow:0 0 0 10px #e51d550a}}.v28-record-meter strong{font-variant-numeric:tabular-nums;margin-left:auto;font-size:18px}.v28-audio-upload{display:block;margin:15px 0}.v28-audio-upload small{display:block;font-size:11px;color:#737d92;margin-top:6px}.v28-rename-form{border-color:#e9d7ff}.v26-save-status{position:sticky;top:8px;z-index:100}.v26-save-status.error{background:#fff0f0;border:1px solid #f3baba;color:#992529;padding:14px 18px;border-radius:13px;font-weight:700}
