:root {
    --gold: #b8860b;
    --gold-dark: #7a5c00;
    --bg: #f5f6f8;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --text: #2b2b2b;
}
* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}
.topbar {
    background: #1f2430;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    flex-wrap: wrap;
}
.topbar .brand { font-weight: bold; font-size: 18px; }
.topbar nav a {
    color: #cfd3dc;
    text-decoration: none;
    margin-left: 18px;
    font-size: 14px;
}
.topbar nav a.active, .topbar nav a:hover { color: #fff; border-bottom: 2px solid var(--gold); }

.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px 60px; }

h1 { font-size: 24px; margin-bottom: 20px; }
h2 { font-size: 17px; margin: 0 0 14px; color: var(--gold-dark); }
h3 { font-size: 15px; margin: 0 0 10px; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 10px;
}

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #444; }
input[type=text], input[type=number], input[type=date], input[type=password], select, textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
}
textarea { font-family: inherit; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; margin-right: 14px; font-size: 14px; }

.btn-primary {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background: var(--gold-dark); }

table { width: 100%; border-collapse: collapse; }
.table-breakdown th, .table-breakdown td,
.table-summary td {
    border-bottom: 1px solid var(--border);
    padding: 8px 10px;
    text-align: left;
    font-size: 13.5px;
}
.table-breakdown th { background: #fafafa; }
.subtotal-row td { font-weight: bold; background: #fbf7ea; }
.table-summary { max-width: 480px; }
.table-summary td:last-child { text-align: right; }
.highlight-row td { background: #fdf6e3; font-size: 15px; }

.result-card h3 { margin-top: 18px; }

.day-block { border-left: 4px solid var(--gold); }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}
.menu-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}
.menu-card:hover { border-color: var(--gold); }

.notice { background: #fdf6e3; border: 1px solid #e8d9a6; padding: 10px 14px; border-radius: 6px; }
.error { color: #c0392b; }

.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-box {
    background: var(--card-bg);
    padding: 34px 36px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 320px;
}
.login-box h1 { font-size: 18px; text-align: center; margin-bottom: 20px; }
.login-box button { width: 100%; margin-top: 12px; }
