*{box-sizing:border-box}body{margin:0;font-family:Montserrat,Segoe UI,Helvetica,Arial,sans-serif;background:#f9f9f7;color:#0b0b0b}a{color:#0ca678}.page{max-width:900px;margin:0 auto;padding:32px 24px}.muted{color:#767671}.btn{display:inline-block;padding:8px 16px;border-radius:8px;border:none;background:#0ca678;color:#fff;font-weight:600;text-decoration:none;cursor:pointer}.btn.secondary{background:#fff;border:1px solid #e1e0d9;color:#0b0b0b}.btn.danger{background:#d03b3b}table.data-table{width:100%;border-collapse:collapse;margin:12px 0 24px}table.data-table th,table.data-table td{border:1px solid #e1e0d9;padding:8px 10px;text-align:left;font-size:.9rem}table.data-table th{background:#f0f0ec}.card{background:#fff;border:1px solid #e1e0d9;border-radius:10px;padding:16px 20px;margin-bottom:16px}label{display:flex;flex-direction:column;gap:4px;font-size:.9rem;font-weight:600}input,select,textarea{font-family:inherit;font-size:.95rem;padding:8px 10px;border-radius:6px;border:1px solid #e1e0d9;background:#fff;color:#0b0b0b}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;margin-bottom:16px}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:600}.badge.pending{background:#fff3cd;color:#7a5b00}.badge.approved{background:#d4f4e2;color:#0ca678}.badge.rejected{background:#fbdada;color:#d03b3b}.error{color:#d03b3b;margin:8px 0}.section-title{font-weight:700;margin:24px 0 8px}.filter-input{display:block;width:100%;max-width:320px;margin:8px 0 16px}.icon-btn{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:8px;border:1px solid #e1e0d9;background:#fff;color:#52514e;cursor:pointer}.icon-btn:hover{background:#f0f0ec}.icon-btn.danger{color:#d03b3b}.icon-btn.danger:hover{background:#fbdada}.totals-stats{display:flex;flex-wrap:wrap;gap:20px 28px}.stat{display:flex;flex-direction:column;gap:2px}.stat-value{font-size:1.35rem;font-weight:700}.stat-label{font-size:.75rem;color:#767671}.stat-primary .stat-value,.stat-protein .stat-value{color:#0ca678}.stat-carbs .stat-value{color:#3b82d0}.stat-fat .stat-value{color:#d0973b}.stat-fiber .stat-value{color:#8a5ed0}.meal-items{display:flex;flex-direction:column;gap:10px}.meal-item-row{margin-bottom:0}.meal-item-main{display:flex;flex-wrap:nowrap;gap:8px;align-items:flex-end}.item-field{flex:1 1 auto;min-width:0}.qty-field{flex:0 1 72px;min-width:0}.meal-item-macros{margin-top:8px;font-size:.82rem}.day-status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:#cfcec7;vertical-align:middle}.day-status-dot.day-good{background:#0ca678}.day-status-dot.day-under{background:#f0c33c}.day-status-dot.day-over{background:#d03b3b}.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.short-label{display:none}@media(prefers-color-scheme:dark){body{background:#0a100d;color:#fff}.muted{color:#7c8a83}.btn.secondary{background:#131f1a;border-color:#ffffff14;color:#fff}table.data-table th,table.data-table td{border-color:#223129}table.data-table th{background:#131f1a}.card{background:#10231b;border-color:#223129}input,select,textarea{background:#10231b;border-color:#223129;color:#fff}.badge.pending{background:#3a3212;color:#f0c33c}.badge.approved{background:#12301f;color:#3ddc97}.badge.rejected{background:#3a1414;color:#ff8080}.icon-btn{background:#10231b;border-color:#223129;color:#b9c4bd}.icon-btn:hover{background:#131f1a}.icon-btn.danger{color:#ff8080}.icon-btn.danger:hover{background:#3a1414}.stat-label{color:#7c8a83}.day-status-dot{background:#4a4a45}.day-status-dot.day-good{background:#3ddc97}.day-status-dot.day-under{background:#f0c33c}.day-status-dot.day-over{background:#ff8080}}@media(max-width:720px){.page{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}}@media(max-width:640px){.page{padding:16px;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.form-grid{grid-template-columns:1fr}table.data-table{display:block;overflow-x:auto;white-space:nowrap}.btn{min-height:44px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center}input,select,textarea{font-size:16px;min-height:44px}.actions-row .btn{flex:1 1 auto}.card{padding:14px 16px}.full-label{display:none}.short-label{display:inline}.qty-field{flex-basis:60px}.meal-item-main .icon-btn{width:36px;height:36px}}
