/* A shared hierarchy for service entries: no hidden or lower-priority artist item. */
.service-dialog{width:650px}
.service-menu-section{margin:0 0 22px}
.service-section-title{font-size:13px!important;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:#60765f;margin:0 0 10px}
.service-entry-heading{font-size:17px;margin:0 0 12px;font-weight:700}
.service-menu-section .attendance-editor{margin:12px 0 0}
.service-dialog .service-menu-entry{border-top:1px solid #dce5d6}
.service-dialog .service-menu-entry>summary{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 4px;font-size:16px;line-height:1.4;list-style:none}
.service-dialog .service-menu-entry>summary::-webkit-details-marker{display:none}
.service-dialog .service-menu-entry>summary::after{content:'›';margin-left:auto;font-size:24px;line-height:1;transform:rotate(90deg)}
.service-dialog .service-menu-entry[open]>summary::after{transform:rotate(-90deg)}
.service-entry-icon{width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;color:#55775c}
.service-entry-icon svg{width:24px;height:24px}
.service-entry-meta{font-size:12px;margin-left:auto;max-width:150px;color:#547050;text-align:right}
.service-entry-body{padding:2px 4px 18px}
.service-operation-status{padding:12px 14px;border:1px solid #cad8c1;background:#edf3e6;border-radius:10px;font-size:14px;line-height:1.5;margin:0 0 18px;overflow-wrap:anywhere}
.service-entry-body>p{font-size:14px;color:#607361;line-height:1.6;margin:0 0 16px}
.service-dialog .service-closing-section{padding-top:16px;border-top:2px solid #dce5d6;margin-bottom:0}
.service-closing-section .service-menu-entry{border-top:0}
.artist-hat-summary{border:1px solid #dbe4d5;background:#f6f8f1;border-radius:12px;padding:16px;margin-bottom:16px}
.artist-hat-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;overflow-wrap:anywhere}
.artist-hat-heading>strong{font-size:18px}
.artist-hat-state{font-size:12px;color:#60765f;text-align:right}
.artist-hat-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.artist-hat-totals dt{font-size:12px;line-height:1.5;color:#60765f}
.artist-hat-totals dd{margin:5px 0 0;font-size:19px;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.artist-hat-totals>div:last-child dd{color:#18513b}
.artist-hat-actions,.artist-hat-cart-actions{display:flex;gap:8px;flex-wrap:wrap}
.artist-hat-actions:empty{display:none}
.artist-hat-actions button,.artist-hat-cart-actions button,.artist-hat-dialog button,.artist-hat-service form button{min-height:48px;touch-action:manipulation}
.artist-hat-service .artist-hat-note{margin-top:16px;font-size:13px}
.artist-hat-confirmation{display:flex;gap:12px;align-items:center;min-height:48px;margin:18px 0;line-height:1.5}
.artist-hat-confirmation input{width:24px;height:24px;flex-shrink:0}
.artist-hat-dialog p{font-size:15px;line-height:1.6}
.artist-hat-dialog .actions{margin-top:18px}
.artist-hat-form-error,.artist-hat-warning{color:#994925!important}
.artist-hat-closing-note{background:#faf0dd;border:1px solid #e7d3ac;border-radius:10px;padding:14px;color:#705b30!important;line-height:1.6}
.artist-hat-closing-note strong{display:block;margin-bottom:4px}
#cloud-pos .cloud-shortcuts.has-artist-hat{grid-template-columns:repeat(3,minmax(0,1fr))}
#cloud-pos .artist-hat-shortcut{background:#ece8f1;color:#5e4b78}
#cloud-pos .cloud-shortcuts.has-artist-hat button{min-width:0}
.artist-hat-cart{padding:12px 0;border-bottom:1px solid #dfe5d7}
.artist-hat-cart .line-title{gap:12px}
.artist-hat-cart .line-title>strong{overflow-wrap:anywhere}
.artist-hat-cart p{font-size:13px;color:#607361;margin:6px 0 10px}
.payment-hat-note{padding:12px;background:#f0edf5;border-radius:10px;color:#5a4b6c;font-size:14px;line-height:1.5;margin:12px 0}
html[data-theme=dark] .service-section-title,html[data-theme=dark] .service-entry-icon,html[data-theme=dark] .service-entry-meta{color:#bfd0bf}
html[data-theme=dark] .service-dialog .service-menu-entry,html[data-theme=dark] .service-closing-section{border-color:#4a6254}
html[data-theme=dark] .service-operation-status{background:#30493b;border-color:#57735c;color:#e1ecd8}
html[data-theme=dark] .artist-hat-summary{background:#263d34;border-color:#4a6254}
html[data-theme=dark] .artist-hat-totals>div:last-child dd{color:#d7ecb8}
html[data-theme=dark] .artist-hat-state,html[data-theme=dark] .artist-hat-totals dt,html[data-theme=dark] .artist-hat-cart p{color:#bfd0bf}
html[data-theme=dark] #cloud-pos .artist-hat-shortcut{background:#3c3449;color:#eee4f7;border-color:#685a76}
html[data-theme=dark] .artist-hat-cart{border-color:#4a6254}
html[data-theme=dark] .artist-hat-closing-note{background:#473e2a;color:#f1ddb4!important;border-color:#776649}
html[data-theme=dark] .artist-hat-form-error,html[data-theme=dark] .artist-hat-warning{color:#ffb69b!important}
html[data-theme=dark] .payment-hat-note{background:#3c3449;color:#eee4f7}
@media(max-width:1150px){#cloud-pos .cloud-shortcuts.has-artist-hat button{padding:6px 8px;gap:6px}#cloud-pos .cloud-shortcuts.has-artist-hat strong{font-size:12px}#cloud-pos .cloud-shortcuts.has-artist-hat button>svg:last-child{display:none}#cloud-pos .cloud-shortcuts.has-artist-hat button>b{font-size:12px}}
@media(max-width:550px){.artist-hat-heading{flex-direction:column}.artist-hat-state{text-align:left}.artist-hat-totals{grid-template-columns:1fr}.artist-hat-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.artist-hat-totals dd{margin:0}.service-entry-meta{max-width:110px}.artist-hat-actions{flex-direction:column}}
