.rest-summary{border:1px solid #c7d2fe;border-radius:12px;background:#fff;color:#1e293b;font-size:14px;margin:12px 0;overflow:hidden}
.rest-summary>summary{cursor:pointer;padding:14px 16px;background:#eef2ff;line-height:1.6}
.rest-summary-heading{font-weight:650}.rest-summary-status{display:inline-block;margin-left:10px;font-size:12px;color:#475569}
.rest-summary-more{display:inline-block;margin-left:10px;color:#4338ca;font-size:12px}.rest-summary[open] .rest-summary-more{display:none}
.rest-summary-body{padding:16px}.rest-summary-body p{margin:10px 0}.rest-explanation{font-size:12px;color:#475569;line-height:1.6}
.rest-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rest-paths>div{background:#f8fafc;border:1px solid #e2e8f0;padding:12px;border-radius:8px}
.rest-paths strong,.rest-paths small,.rest-summary td small{display:block}.rest-paths strong{font-size:20px}.rest-paths small{font-size:12px;color:#64748b}
.rest-summary .rest-danger{color:#b91c1c;font-weight:600}.rest-caution{color:#92400e;background:#fffbeb;padding:10px;border-radius:6px}
.rest-table-wrap{max-width:100%;overflow-x:auto}.rest-summary table{border-collapse:collapse;width:100%;font-size:12px}.rest-summary caption{text-align:left;font-weight:600;padding:12px 0}
.rest-summary th,.rest-summary td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0}.rest-summary th{background:#f8fafc;font-weight:600}
.rest-summary td small{color:#64748b;margin-top:3px}.rest-summary [data-rest-day]{text-align:left;color:#4338ca;text-decoration:underline;min-width:90px}
.rest-controls{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.rest-controls label{display:flex;flex:1;min-width:170px;flex-direction:column;gap:5px;font-size:12px}
.rest-controls select,.rest-controls input{width:100%;height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:6px 10px;background:#fff;font-size:14px;color:#1e293b}
.rest-alarm{border:1px solid #fecaca;border-left:4px solid #dc2626;border-radius:8px;padding:12px;margin:12px 0;font-size:13px;overflow-wrap:anywhere}
.rest-alarm>span{display:block;color:#64748b;font-size:12px}.rest-alarm ul{list-style:disc;padding-left:20px;line-height:1.65}.rest-alarm li+li{margin-top:6px}
.rest-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:12px}.rest-pagination>span{margin-right:auto}
.rest-pagination button{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.rest-pagination button:disabled{opacity:.45}
@media(max-width:600px){.rest-summary-body{padding:12px}.rest-summary-status{display:block;margin-left:0}.rest-summary th,.rest-summary td{min-width:105px}.rest-controls label{min-width:100%}}
