/* EventHouse /site/menu compact sidebar - PHP 7.1 compatible */
.ehsm{width:100%;max-width:200px;box-sizing:border-box;font:12px 'Malgun Gothic','Apple SD Gothic Neo',Arial,sans-serif;color:#333}
.ehsm *{box-sizing:border-box}
/* Panels form one continuous stack; top/bottom corners only. */
.ehsm-panel{margin:0;border:1px solid #CCD8F0;border-bottom:0;border-radius:0;overflow:hidden;background:#fff}
.ehsm-panel:first-child{border-radius:9px 9px 0 0}
.ehsm-panel:last-child{border-bottom:1px solid #CCD8F0;border-radius:0 0 9px 9px}
.ehsm-panel:only-child{border-radius:9px}
.ehsm-header{appearance:none;-webkit-appearance:none;display:flex;align-items:center;gap:6px;width:100%;height:30px;min-height:30px;padding:0 9px;border:0;background:#fff;color:#344660;cursor:pointer;text-align:left;font:inherit}
.ehsm-header:hover{background:#F1F5FF}
.ehsm-header[aria-expanded=true]{background:linear-gradient(115deg,#1c4cbb 0%,#255ccf 55%,#477de3 100%);color:#fff}
.ehsm-header-label{display:block;flex:1;min-width:0}
.ehsm-header-label strong{display:block;font-size:12px;line-height:30px;color:inherit;font-weight:700}
.ehsm-chevron{flex:none;font-size:14px;line-height:1;color:#888;transition:transform .15s ease}
.ehsm-header[aria-expanded=true] .ehsm-chevron{color:#fff;transform:rotate(180deg)}
.ehsm-header:focus-visible,.ehsm-item:focus-visible,.ehsm-submit:focus-visible{outline:2px solid #255ccf;outline-offset:-2px}
.ehsm-body{padding:3px 7px;background:#fff}.ehsm-body[hidden]{display:none!important}
.ehsm-item{display:flex;align-items:center;gap:5px;min-height:26px;padding:5px 2px;border-bottom:1px solid #E3EAF5;text-decoration:none!important;color:#444!important;line-height:1.3;overflow-wrap:anywhere}
.ehsm-item:last-child{border-bottom:0}.ehsm-item:hover{color:#255ccf!important;background:#f1f5ff}
.ehsm-item-dot{flex:none;color:#999;font-size:14px}.ehsm-item-arrow{margin-left:auto;color:#aaa}
.ehsm-group-title{background:#F1F5FF;color:#355B9E;font-weight:bold;padding:5px;margin-top:6px;font-size:11px}
/* Keep the original multi-search two-column compact rows and order */
.ehsm-search-legacy{margin:0;padding:0}
.ehsm-search-row{display:flex;align-items:center;min-height:29px;border-bottom:1px solid #E3EAF5;font:normal 11px '돋움',Dotum,Arial,sans-serif;color:#555}
.ehsm-search-row>label:first-child,.ehsm-row-label{flex:0 0 67px;width:67px;padding:5px 2px 5px 1px;font-weight:normal}
.ehsm-search-row>div{flex:1;min-width:0;padding:3px 0}
.ehsm-search-row input[type=text],.ehsm-search-row select{display:block;width:100%;height:23px;min-width:0;margin:0;padding:1px 3px;border:1px solid #dedede;border-radius:2px;background:#fff;color:#555;font:normal 11px '돋움',Dotum,Arial,sans-serif}
.ehsm-search-row input:focus,.ehsm-search-row select:focus{outline:1px solid #8ab0ed;border-color:#255ccf}
.ehsm-search-row #ehsm-keyword{color:#dd0000}
.ehsm-radio-count{display:flex;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap}
.ehsm-radio-count label{display:inline-flex;align-items:center;gap:2px;cursor:pointer}
.ehsm-radio-count input{margin:0;accent-color:#255ccf}
.ehsm-submit{display:block;width:100%;height:30px;margin:7px 0 0;background:#F1F5FF;color:#255CCF;border:1px solid #CCD8F0;border-radius:2px;font:700 12px '돋움',Dotum,Arial,sans-serif;cursor:pointer}
.ehsm-submit:hover{background:#e7efff;border-color:#aac4f0;color:#255ccf}
.ehsm-help{font:normal 11px/1.5 '돋움',Dotum,Arial,sans-serif;color:#666;margin:6px 0 3px;letter-spacing:-.4px}

/* The open panel gets a delicate blue border; the closed panels are white. */
.ehsm-panel:has(> .ehsm-header[aria-expanded="true"]){border-color:#B7CBEF}
.ehsm-panel:has(> .ehsm-header[aria-expanded="true"]) + .ehsm-panel{border-top-color:#B7CBEF}
.ehsm-panel:not(:first-child){border-top-color:#E3EAF5}
.ehsm-heading-dot{font-size:17px;line-height:1;vertical-align:-1px;margin-right:2px;font-weight:900}

/* v8: calendar directly above the sidebar, no gap or rounded upper edge */
.ehsm{margin-top:0!important;margin-bottom:10px;}
.ehsm-panel:first-child{border-radius:0!important;}
.ehsm-panel:only-child{border-radius:0 0 9px 9px!important;}
.ehsm-panel:not(:last-child){border-bottom:0;}
.ehsm-panel:last-child{border-bottom:1px solid #CCD8F0;border-radius:0 0 9px 9px;}
