/* CATNARA admin-only: customer accordion, five-row pager and report print preview. */
.customer-expand{display:block;margin-top:12px;}
.customer-expand>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;font-size:15px;min-height:42px;}
.customer-expand>summary::-webkit-details-marker{display:none;}
.customer-expand>summary:after{content:'＋';font-size:18px;line-height:1;color:#75514f;flex:none;}
.customer-expand[open]>summary:after{content:'−';}
.customer-expand>summary:focus-visible,.customer-page-btn:focus-visible{outline:3px solid #3b69a9;outline-offset:3px;border-radius:6px;}
.customer-expand-body{padding-top:14px;}
.customer-cat-editor{border:1px solid #e8dfda;border-radius:10px;padding:12px;background:#fffcfa;}
.customer-cat-editor>.customer-expand-body{padding-top:16px;}
.customer-pages{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;padding:12px 0 4px;}
.customer-page-btn{min-width:34px;min-height:34px;padding:5px 9px;border-radius:8px;border:1px solid #d9ceca;background:#fff;color:#392e2c;font-weight:700;cursor:pointer;}
.customer-page-btn.active{background:#352b29;color:#fff;border-color:#352b29;}
.catnara-admin-report-preview{margin:0;background:#f7f3f0;color:#322a27;font:16px/1.65 system-ui,-apple-system,'Malgun Gothic',sans-serif;}
.catnara-admin-report-preview *{box-sizing:border-box;}
.catnara-admin-report-preview .preview-head{background:#fff;border-bottom:1px solid #e6deda;padding:16px max(18px,calc((100% - 880px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px;}
.catnara-admin-report-preview .preview-head strong{font-size:18px;}
.catnara-admin-report-preview button{border:1px solid #4b3530;background:#4b3530;color:#fff;border-radius:8px;padding:8px 14px;cursor:pointer;}
.catnara-admin-report-preview main{max-width:880px;margin:24px auto;padding:0 18px 40px;}
.catnara-admin-report-preview .report-paper{background:#fff;border:1px solid #e5dcd7;border-radius:15px;padding:28px;box-shadow:0 8px 25px #3b2e2810;}
.catnara-admin-report-preview h1{font-size:27px;line-height:1.3;margin:0 0 6px;}
.catnara-admin-report-preview h2{font-size:18px;margin:0 0 15px;}
.catnara-admin-report-preview .meta{color:#685c58;font-size:13px;}
.catnara-admin-report-preview .preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;}
.catnara-admin-report-preview .preview-card{border:1px solid #eadfda;background:#fffdfb;border-radius:10px;padding:14px;overflow-wrap:anywhere;}
.catnara-admin-report-preview .preview-card h2{margin:0 0 6px;}
.catnara-admin-report-preview .preview-card p{white-space:pre-wrap;margin:6px 0 0;}
.catnara-admin-report-preview .preview-section{margin-top:22px;padding-top:18px;border-top:1px solid #eee5e0;}
.catnara-admin-report-preview .preview-section p{white-space:pre-wrap;overflow-wrap:anywhere;}
.catnara-admin-report-preview .preview-list{margin:8px 0;padding-left:24px;}
.catnara-admin-report-preview .error{color:#a52929;white-space:pre-wrap;}
@media(max-width:620px){.catnara-admin-report-preview .preview-grid{grid-template-columns:1fr}.catnara-admin-report-preview .report-paper{padding:18px}}
@media print{.catnara-admin-report-preview .preview-head{display:none}.catnara-admin-report-preview{background:white}.catnara-admin-report-preview main{margin:0;max-width:none;padding:0}.catnara-admin-report-preview .report-paper{border:0;box-shadow:none;padding:0}}

/* CATNARA administrator-only visit status editor */
.admin-salon-visit-field{border:1px solid #e8dfda;border-radius:12px;padding:13px;min-width:0}
.admin-salon-visit-field select,.admin-salon-visit-field input[type="tel"]{width:100%;max-width:100%;box-sizing:border-box}
.admin-salon-visit-previous{display:grid;gap:8px;margin:10px 0;min-width:0}
.admin-salon-visit-previous[hidden]{display:none!important}
.admin-salon-visit-same{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.admin-salon-visit-same input[type="checkbox"]{flex:none;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}
.admin-salon-visit-field button{white-space:normal;max-width:100%}
