body{background:#e9eee4;color:#173b2b}
[hidden]{display:none!important}
.management-page{max-width:1000px;min-height:100vh;margin:auto;background:#f6f4eb}
.mg-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 32px;background:#073d2c;color:#edcc95}
.management-brand{display:block;width:170px;max-width:48%}
.management-brand img{width:100%;height:auto}
.mg-header>a:last-child{font-size:12px;text-decoration:none;line-height:1.5;min-height:44px;display:flex;align-items:center;gap:7px}
main{padding:34px 32px 42px}
.mg-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:600;color:#985125;margin-bottom:12px}
h1,h2{font-family:'Lora',Georgia,serif;line-height:1.2;letter-spacing:-.6px;font-weight:500}
h1{font-size:35px}h2{font-size:24px}
.mg-intro,.mg-section-copy{color:#66735f;line-height:1.65;font-size:13px;margin-top:12px}
.mg-demo{padding:13px 15px;margin-top:22px;border-radius:10px;background:#eee3cb;color:#735b31;font-size:12px;line-height:1.65}
.mg-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.mg-stats>div{display:flex;flex-direction:column;gap:8px;padding:19px 15px;background:#fffdf8;border:1px solid #dde3d3;border-radius:12px}
.mg-stats strong{font-size:28px;font-family:'Lora',Georgia,serif;color:#0a4c37;font-weight:500}
.mg-stats span{font-size:11px;line-height:1.5;color:#6a785f}
.mg-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;border-radius:12px;background:#e0e8d9;margin-bottom:20px}
.mg-tabs button{min-height:44px;padding:9px 6px;border:0;border-radius:8px;background:transparent;color:#44623c;font-size:12px}
.mg-tabs button[aria-pressed=true]{background:#0a4c37;color:white;font-weight:600}
.mg-panel{background:#fffdf8;border:1px solid #d9dfd0;border-radius:14px;padding:24px}
.mg-panel-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.mg-panel-heading p{margin-top:10px;color:#687763;font-size:12px;line-height:1.6}
.mg-filter-label{font-size:11px;color:#66735f;min-width:150px}
.mg-form{max-width:560px;margin-top:22px}
.mg-form label{display:block;margin-bottom:18px;font-size:13px;font-weight:600;line-height:1.5}
.mg-form input,.mg-form select,.mg-filter-label select{display:block;width:100%;min-width:0;min-height:48px;margin:8px 0 0;padding:11px;border:1px solid #cbd8c6;border-radius:8px;background:white;color:#214a36;font-size:16px;line-height:1.4}
.mg-filter-label select{font-size:12px}
.mg-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mg-primary{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:12px 21px;border:0;border-radius:9px;background:#0a4c37;color:white;font-size:13px;font-weight:600}
.mg-primary:hover{background:#146347}
.mg-form>.mg-primary{margin-top:5px}
.mg-status{padding:11px 13px;background:#e3efdd;color:#31582f;margin-top:14px;border-radius:8px;line-height:1.6;font-size:12px}
.mg-status[data-error=true]{background:#fae4dc;color:#963d2f}
.mg-empty{padding:34px 15px;text-align:center;color:#6c7964;font-size:13px;line-height:1.7}
.mg-reservation{margin-top:18px;padding:18px;border:1px solid #dce3d3;border-radius:11px;background:#fafbf5}
.mg-reservation-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.mg-reservation h3{font-size:16px;line-height:1.5}
.mg-code{display:block;margin-top:4px;font-size:10px;letter-spacing:.7px;color:#72836a}
.mg-badge{display:inline-block;padding:6px 9px;border-radius:20px;background:#f2e6cc;color:#7a5b25;font-size:10px;line-height:1.5;text-align:center}
.mg-badge[data-status=confirmed]{background:#d6e9d6;color:#215c32}
.mg-badge[data-status=cancelled]{background:#f8dfda;color:#9a362a}
.mg-reservation p{margin-top:10px;color:#63745c;font-size:12px;line-height:1.7}
.mg-reservation .mg-price{font-size:20px;font-weight:600;color:#174f35}
.mg-reservation details{margin-top:12px;font-size:12px;line-height:1.65}
.mg-reservation summary{cursor:pointer;min-height:40px;padding:10px 0;color:#355e3c}
.mg-reservation dl{margin:5px 0 12px}
.mg-reservation dl>div{display:grid;grid-template-columns:1fr 1.5fr;gap:14px;padding:6px 0}
.mg-reservation dt{color:#77826c}.mg-reservation dd{margin:0;overflow-wrap:anywhere}
.mg-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.mg-actions button{min-height:44px;padding:10px 14px;border:1px solid #afc2a3;border-radius:8px;background:#e7eddf;color:#31542f;font-size:12px}
.mg-actions button[data-action=cancelled]{background:transparent;border-color:#ddb3a7;color:#a14534}
.mg-calendar{max-width:560px;border-top:1px solid #dce3d4;margin-top:27px;padding-top:20px}
.mg-month-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.mg-month-nav h3{font-size:15px;font-weight:600;text-transform:capitalize}
.mg-month-nav button{width:44px;height:44px;border:0;border-radius:50%;background:#eaf0e3;color:#305636;font-size:25px}
.mg-month-nav button:disabled{opacity:.4;cursor:default}
.mg-calendar-days,.mg-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.mg-weekdays{font-size:11px;color:#7b896f;margin-bottom:8px}
.mg-day{display:flex;align-items:center;justify-content:center;gap:3px;min-height:38px;border-radius:6px;background:#dfeedd;color:#285b33;font-size:12px}
.mg-day[data-busy=true]{background:#f8dfd8;color:#aa3b2d}.mg-day.is-past{background:#f0f0e9;color:#9ba391}
.mg-day small{font-size:9px}
.mg-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:13px;font-size:10px;color:#3c693d}
.mg-legend span:last-child{color:#a74437}
.mg-dialog{width:min(430px,calc(100vw - 30px));max-height:85vh;padding:24px;border:1px solid #cad7c3;border-radius:14px;background:#fffdf8;color:#173b2b}
.mg-dialog::backdrop{background:#06271dc7}
.mg-dialog p{margin-top:15px;font-size:13px;line-height:1.7}
.mg-check{display:flex;align-items:flex-start;gap:11px;margin-top:18px;font-size:12px;line-height:1.7}
.mg-check input{width:20px;height:20px;flex:0 0 20px;margin-top:2px;accent-color:#0a4c37}
.mg-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}
.mg-dialog-actions>button:first-child{border:1px solid #cbd8c6;border-radius:8px;background:transparent;color:#31542f;padding:10px 15px;min-height:48px}
.mg-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:25px 32px;border-top:1px solid #dde2d4;font-size:11px;line-height:1.7;color:#6c7964}
.mg-footer a{color:#24563a}
@media(max-width:600px){.mg-header{padding:15px 20px}main{padding:28px 20px}.mg-panel{padding:20px 15px}.mg-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-stats{gap:8px}.mg-stats>div{padding:14px 10px}.mg-stats strong{font-size:24px}.mg-panel-heading{flex-direction:column;gap:15px}.mg-filter-label{width:100%}.mg-date-pair{grid-template-columns:1fr;gap:0}.mg-reservation{padding:14px}.mg-reservation-top{flex-wrap:wrap;gap:9px}.mg-footer{padding:22px 20px}}
