:root { --ink: #1d1e1a; --paper: #f6f1e8; --sand: #d8c6a5; --amber: #e0a33b; --amber-deep: #b86915; --teal: #0f6c78; --teal-soft: #8fd4d2; --alert: #b3362d; --ok: #2f7d4d; --panel: rgba(255, 248, 237, 0.84); --line: rgba(29, 30, 26, 0.12); --shadow: 0 24px 60px rgba(60, 42, 12, 0.18); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; color: var(--ink); font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif; background: radial-gradient(circle at top left, rgba(224, 163, 59, 0.32), transparent 28%), radial-gradient(circle at right 20%, rgba(15, 108, 120, 0.18), transparent 24%), linear-gradient(180deg, #efe4cf 0%, #f7f2ea 38%, #f3ebdf 100%); } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(29, 30, 26, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 30, 26, 0.03) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at center, black 45%, transparent 100%); } a { color: inherit; } .page-shell { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3rem; } .hero, .panel, .machine-panel, .auth-card, .admin-shell { position: relative; overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(16px); } .hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 1.5rem; padding: 2rem; margin-bottom: 1.5rem; } .hero__actions { grid-column: 1 / -1; display: flex; gap: 0.75rem; flex-wrap: wrap; } .hero__lede, .panel p, .slot-card__metrics p, .admin-shell p, .field-help, .auth-card p { color: rgba(29, 30, 26, 0.72); line-height: 1.55; } .eyebrow { margin: 0 0 0.35rem; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: rgba(29, 30, 26, 0.52); } h1, h2, h3 { margin: 0; font-family: "Gill Sans", "Trebuchet MS", sans-serif; font-weight: 700; } h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 0.95; max-width: 11ch; } h2 { font-size: 1.45rem; } .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; align-content: start; } .stat-card { padding: 1rem; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.35)); border: 1px solid rgba(29, 30, 26, 0.08); } .stat-card strong { display: block; margin-top: 0.35rem; font-size: 2rem; } .stat-card--alert strong { color: var(--alert); } .button, button { appearance: none; border: 0; cursor: pointer; text-decoration: none; font: inherit; } .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.8rem 1.15rem; border-radius: 999px; transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease; } .button:hover, button:hover { transform: translateY(-1px); } .button--primary { color: white; background: linear-gradient(135deg, var(--amber-deep), var(--amber)); box-shadow: 0 12px 22px rgba(184, 105, 21, 0.28); } .button--ghost { background: rgba(255, 255, 255, 0.52); border: 1px solid rgba(29, 30, 26, 0.08); } .dashboard { display: grid; gap: 1.5rem; } .panel { padding: 1.5rem; } .panel__header, .machine-panel__head, .admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .panel--controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .chip-row { display: flex; gap: 0.6rem; flex-wrap: wrap; } .chip { min-height: 40px; padding: 0.65rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.68); color: rgba(29, 30, 26, 0.72); border: 1px solid rgba(29, 30, 26, 0.08); } .chip--active { background: linear-gradient(135deg, var(--teal), #124f58); color: white; } .machine-grid, .slot-grid { display: grid; gap: 1rem; } .machine-grid { grid-template-columns: 1fr; } .machine-panel { padding: 1.4rem; background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(239, 228, 207, 0.55)); } .slot-grid { margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .slot-card { display: grid; gap: 1rem; padding: 1rem; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); } .slot-card--critical { background: linear-gradient(180deg, rgba(255, 234, 233, 0.96), rgba(255, 246, 238, 0.9)); border-color: rgba(179, 54, 45, 0.18); } .slot-card--ok { background: linear-gradient(180deg, rgba(237, 252, 245, 0.92), rgba(255, 255, 255, 0.78)); border-color: rgba(47, 125, 77, 0.14); } .slot-card__head, .slot-card__body { display: flex; gap: 1rem; justify-content: space-between; } .slot-card__label { margin: 0 0 0.25rem; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(29, 30, 26, 0.5); } .status-pill { display: inline-flex; align-items: center; height: fit-content; padding: 0.4rem 0.7rem; border-radius: 999px; font-size: 0.85rem; } .status-pill--critical { background: rgba(179, 54, 45, 0.14); color: var(--alert); } .status-pill--ok { background: rgba(47, 125, 77, 0.14); color: var(--ok); } .status-pill--unknown { background: rgba(29, 30, 26, 0.08); color: rgba(29, 30, 26, 0.62); } .fill-tube { position: relative; width: 82px; min-width: 82px; height: 190px; border-radius: 32px; padding: 8px; background: linear-gradient(180deg, rgba(29, 30, 26, 0.08), rgba(255, 255, 255, 0.72)); border: 1px solid rgba(29, 30, 26, 0.08); overflow: hidden; } .fill-tube__liquid { position: absolute; inset: auto 8px 8px; border-radius: 24px; background: linear-gradient(180deg, var(--amber), #f2d785 60%, #fee6b7); box-shadow: inset 0 12px 24px rgba(255, 255, 255, 0.34); } .slot-card--critical .fill-tube__liquid { background: linear-gradient(180deg, #d55b51, #f4a38e 62%, #ffd8d1); } .slot-card--ok .fill-tube__liquid { background: linear-gradient(180deg, var(--teal), var(--teal-soft) 62%, #e2f7f5); } .fill-tube__gloss { position: absolute; top: 14px; left: 16px; width: 18px; height: 120px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent); } .slot-card__metrics { display: grid; gap: 0.25rem; align-content: start; } .slot-card__metrics strong, .timestamp { color: var(--ink); } .alert-list { display: grid; gap: 0.8rem; } .alert-entry { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border-radius: 20px; background: rgba(255, 255, 255, 0.64); border: 1px solid var(--line); } .alert-entry--critical { border-color: rgba(179, 54, 45, 0.2); } .alert-entry--ok { border-color: rgba(47, 125, 77, 0.18); } .alert-entry__title { margin: 0 0 0.2rem; font-weight: 700; } .empty-state { margin: 0; padding: 1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.55); } .auth-page, .admin-page { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3rem; } .auth-card { width: min(520px, 100%); margin: 8vh auto 0; padding: 2rem; } .auth-card form, .admin-form { display: grid; gap: 1rem; } .admin-shell { padding: 1.5rem; display: grid; gap: 1.5rem; } .admin-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .form-section { padding: 1.2rem; border-radius: 22px; background: rgba(255, 255, 255, 0.64); border: 1px solid var(--line); } .field-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; } input, textarea, select { width: 100%; min-height: 44px; padding: 0.7rem 0.85rem; border-radius: 14px; border: 1px solid rgba(29, 30, 26, 0.14); background: rgba(255, 255, 255, 0.85); color: var(--ink); font: inherit; } textarea { min-height: 90px; resize: vertical; } .config-textarea { min-height: 420px; font-family: "Courier New", "SFMono-Regular", Consolas, monospace; line-height: 1.45; white-space: pre; } .inline-actions, .section-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; } .button--secondary { background: rgba(15, 108, 120, 0.14); color: var(--teal); } .button--danger { background: rgba(179, 54, 45, 0.12); color: var(--alert); } .message { padding: 0.9rem 1rem; border-radius: 18px; font-weight: 600; } .message--success { background: rgba(47, 125, 77, 0.12); color: var(--ok); } .message--error { background: rgba(179, 54, 45, 0.12); color: var(--alert); } .repeat-stack { display: grid; gap: 1rem; } .repeat-card, .slot-editor { padding: 1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.76); border: 1px solid var(--line); } .repeat-card h4, .slot-editor h5 { margin: 0 0 0.85rem; font-family: "Gill Sans", "Trebuchet MS", sans-serif; } .slot-editor h5 { font-size: 1rem; } .field-help code { font-family: "Courier New", monospace; } @media (max-width: 820px) { .hero, .panel__header, .machine-panel__head, .admin-header, .alert-entry, .slot-card__body { grid-template-columns: 1fr; flex-direction: column; } .hero__stats { grid-template-columns: 1fr; } .fill-tube { width: 100%; height: 42px; min-width: 0; } .fill-tube__liquid { inset: 8px auto 8px 8px; height: auto !important; width: max(0px, calc(var(--fill, 0%) - 16px)); } .fill-tube__gloss { display: none; } }