*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:#f7f7f7;color:#171717}.page{min-height:100vh;display:flex;justify-content:center;padding:20px}.app-card{width:100%;max-width:1050px;background:#fff;border:1px solid #eee;border-radius:18px;overflow:hidden;box-shadow:0 10px 35px rgba(0,0,0,.06)}.header{padding:26px 34px 8px;text-align:center;position:relative}.logo{color:#ffad00;font-size:25px;font-weight:900;letter-spacing:1px}.user-role{margin-top:5px;color:#999;font-size:11px}.intro{padding:42px 35px 24px}.intro h1{margin:0;font-size:29px;line-height:1.2;font-weight:800}.intro p{margin:10px 0 0;color:#8a8a8a;font-size:14px;line-height:1.5}.section-label{margin-bottom:9px;color:#8a8a8a;font-size:12px;font-weight:600}.date-section,.restaurant-filter-section{padding:0 35px 22px}.dates{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.dates::-webkit-scrollbar{display:none}.date-button{flex-shrink:0;min-width:68px;padding:9px 14px;border:1px solid #e1e1e1;border-radius:8px;background:#fff;color:#555;font-size:13px;font-weight:600;cursor:pointer}.date-button.active{background:#fffaf0;border-color:#ffb000;color:#f0a000}.restaurant-list{display:flex;flex-direction:column;gap:7px}.restaurant-button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#fff;border:1px solid #e5e5e5;border-radius:9px;color:#444;font-size:13px;font-weight:600;cursor:pointer;text-align:left}.restaurant-button.active{border-color:#ffb000;background:#fff8e8;color:#e99d00}.restaurant-button-count{min-width:27px;padding:4px 8px;background:#f4f4f4;border-radius:20px;color:#888;font-size:10px;text-align:center}.restaurant-button.active .restaurant-button-count{background:#fff;color:#e99d00}.assigned-restaurant{display:none;padding:13px 15px;background:#fffaf0;border:1px solid #ffcf69;border-radius:9px}.assigned-restaurant span{display:block;margin-bottom:3px;color:#999;font-size:10px}.assigned-restaurant strong{font-size:14px}.search-section{padding:0 35px 25px}.search-box{height:50px;display:flex;align-items:center;padding:0 15px;background:#fff;border:1px solid #ddd;border-radius:8px}.search-box:focus-within{border-color:#ffb000;box-shadow:0 0 0 3px rgba(255,176,0,.08)}.search-icon{margin-right:10px;color:#999;font-size:20px}.search-box input{width:100%;border:0;outline:0;background:transparent;color:#222;font-size:14px}.table-info{padding:0 35px 14px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px}.selected-date-label{color:#888}.records-count{padding:6px 10px;background:#f6f6f6;border-radius:20px;color:#777;font-size:11px;font-weight:600}.table-container{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse;min-width:720px;table-layout:fixed}thead{background:#fafafa}th{padding:14px 14px;border-top:1px solid #eee;border-bottom:1px solid #eee;color:#555;font-size:10px;font-weight:800;text-align:left;text-transform:uppercase;letter-spacing:.25px}td{padding:17px 14px;border-bottom:1px solid #eee;font-size:12px;vertical-align:middle;overflow-wrap:anywhere}tbody tr:hover{background:#fffdf8}.restaurant-name,.guest-name,.child-name{font-weight:700}.phone{color:#222;text-decoration:none;font-weight:600;white-space:nowrap}.phone:hover{color:#eea000}.children-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;background:#f4f4f4;border-radius:7px;font-weight:700}.status-select{min-width:96px;padding:7px 9px;border:0;outline:0;border-radius:20px;font-size:11px;font-weight:700;cursor:pointer}.status-yes{background:#e8f8ee;color:#37985d}.status-no{background:#ffeaea;color:#db4e4e}.empty-message,.error-message{display:none;padding:45px 20px;text-align:center;color:#999;font-size:14px}.error-message{color:#c33}.footer{display:flex;justify-content:center;gap:6px;padding:24px 20px 28px;color:#aaa;font-size:11px}.footer strong{color:#777}
@media(max-width:700px){body{background:#fff}.page{padding:0}.app-card{min-height:100vh;border:0;border-radius:0;box-shadow:none}.header{padding:18px 14px 6px}.logo{font-size:20px}.intro{padding:28px 14px 18px}.intro h1{font-size:21px}.intro p{font-size:12px}.date-section,.restaurant-filter-section{padding:0 14px 16px}.date-button{min-width:60px;padding:8px 10px;font-size:12px}.restaurant-button{padding:10px 12px;font-size:12px}.search-section{padding:0 14px 16px}.search-box{height:44px}.search-box input{font-size:13px}.table-info{padding:0 14px 10px;font-size:11px}.table-container{overflow-x:auto}table{min-width:640px}th{padding:10px 8px;font-size:9px;white-space:nowrap}td{padding:12px 8px;font-size:11px;line-height:1.25}th:nth-child(1),td:nth-child(1){width:110px}th:nth-child(2),td:nth-child(2){width:115px}th:nth-child(3),td:nth-child(3){width:95px}th:nth-child(4),td:nth-child(4){width:55px;text-align:center}th:nth-child(5),td:nth-child(5){width:145px}th:nth-child(6),td:nth-child(6){width:110px}.phone{font-size:11px}.status-select{min-width:88px;padding:6px 8px;font-size:10px}.footer{padding:20px 14px 24px;font-size:10px}}


.phone-button{
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  font:inherit;
  font-weight:600;
  color:#222;
  cursor:pointer;
  white-space:nowrap;
  text-align:left;
  -webkit-tap-highlight-color:transparent
}
.phone-button:active{color:#eea000}
.phone-button:disabled{cursor:default;color:#999}


.phone-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px
}
.phone-modal.open{display:flex}
.phone-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(2px)
}
.phone-modal-card{
  position:relative;
  z-index:1;
  width:min(92vw,380px);
  background:#fff;
  border-radius:18px;
  padding:24px 20px 20px;
  box-shadow:0 18px 55px rgba(0,0,0,.22);
  text-align:center
}
.phone-modal-close{
  position:absolute;
  top:10px;
  right:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f5f5f5;
  color:#777;
  font-size:22px;
  line-height:1;
  cursor:pointer
}
.phone-modal-label{
  color:#999;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  margin-bottom:7px
}
.phone-modal-number{
  font-size:22px;
  font-weight:800;
  color:#171717;
  margin-bottom:18px;
  word-break:break-word
}
.phone-modal-actions{
  display:grid;
  gap:10px
}
.phone-modal-btn{
  width:100%;
  min-height:46px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer
}
.phone-modal-copy{
  border:1px solid #e3e3e3;
  background:#fff;
  color:#222
}
.phone-modal-call{
  border:1px solid #ffb000;
  background:#fff8e8;
  color:#e89d00
}
.phone-modal-hint{
  margin-top:12px;
  color:#999;
  font-size:11px;
  line-height:1.4
}
