@font-face { font-family: "InterLocal"; src: url("../fonts/Inter_24pt-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; } @font-face { font-family: "InterLocal"; src: url("../fonts/Inter_24pt-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; } @font-face { font-family: "InterLocal"; src: url("../fonts/Inter_24pt-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; } @font-face { font-family: "InterLocal"; src: url("../fonts/Inter_24pt-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; } @font-face { font-family: "SpaceGroteskLocal"; src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; } @font-face { font-family: "SpaceGroteskLocal"; src: url("../fonts/SpaceGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; } @font-face { font-family: "SpaceGroteskLocal"; src: url("../fonts/SpaceGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; } :root { --bg: #eef3ff; --bg-accent: #d8e6ff; --surface: rgba(255, 255, 255, 0.85); --surface-strong: #ffffff; --surface-soft: rgba(244, 248, 255, 0.95); --text: #223049; --muted: #64748b; --border: rgba(132, 152, 190, 0.24); --primary: #2563eb; --primary-strong: #1745c1; --secondary: #edf4ff; --success: #059669; --warning: #f59e0b; --danger: #e11d48; --shadow: 0 24px 60px rgba(52, 79, 131, 0.16); --radius-lg: 28px; --radius-md: 22px; --radius-sm: 16px; --font-body: "InterLocal", system-ui, sans-serif; --font-heading: "SpaceGroteskLocal", "InterLocal", sans-serif; --safe-bottom: max(24px, env(safe-area-inset-bottom)); } * { box-sizing: border-box; } html { min-height: 100%; } body { margin: 0; min-height: 100vh; font-family: var(--font-body); color: var(--text); background: radial-gradient(circle at top left, rgba(181, 210, 255, 0.85), transparent 32%), radial-gradient(circle at top right, rgba(255, 221, 196, 0.48), transparent 32%), linear-gradient(180deg, #f8fbff 0%, #eef3ff 42%, #edf2ff 100%); } a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; } button, input, select, textarea { font: inherit; } h1, h2, h3 { margin: 0; font-family: var(--font-heading); line-height: 1.05; } p { margin: 0; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .app-shell { display: block; } .page-shell { min-height: 100vh; padding: 24px 18px calc(100px + var(--safe-bottom)); } .topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; } .topbar h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); } .topbar-user { display: none; } .eyebrow { margin-bottom: 8px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); } .content { display: grid; gap: 24px; } .panel, .hero-card, .task-card, .score-row, .sidebar-card, .calendar-day, .archive-row, .badge-setting-card, .list-row { border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(18px); box-shadow: var(--shadow); border-radius: var(--radius-lg); } .panel, .hero-card, .score-row, .list-row { padding: 22px; } .hero-grid, .two-column { display: grid; gap: 18px; } .hero-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.86)), linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(5, 150, 105, 0.03)); } .hero-card h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.7rem); } .hero-card p { color: var(--muted); line-height: 1.55; } .hero-card--brand { padding: 28px; } .hero-stats { margin-top: 22px; display: grid; gap: 14px; } .hero-stats div { padding: 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(150, 173, 214, 0.18); } .hero-stats strong { display: block; margin-bottom: 4px; } .brand { display: inline-flex; align-items: center; gap: 14px; } .brand strong { display: block; font-size: 1.1rem; } .brand span { color: var(--muted); font-size: 0.95rem; } .brand__logo { width: 48px; height: 48px; } .flash-stack { display: grid; gap: 10px; } .flash { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.94); } .flash--success { border-color: rgba(5, 150, 105, 0.2); color: #065f46; } .flash--error { border-color: rgba(225, 29, 72, 0.2); color: #9f1239; } .flash--info { color: var(--primary-strong); } .progress-card { margin-top: 22px; padding: 18px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(132, 152, 190, 0.2); } .progress-card__top, .section-heading, .task-card__top, .score-row__head, .score-row__meta, .task-card__footer, .sidebar-card__row, .toolbar-actions, .archive-row, .list-row, .push-box__state, .form-actions, .field-inline { display: flex; justify-content: space-between; align-items: center; gap: 14px; } .progress { margin-top: 12px; height: 14px; border-radius: 999px; background: rgba(162, 182, 218, 0.24); overflow: hidden; } .progress span, .score-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2563eb, #34d399); } .stack, .task-grid, .scoreboard, .archive-list, .badge-settings, .earned-badges-grid { display: grid; gap: 16px; } .section-heading h2, .panel h2 { font-size: 1.5rem; } .section-heading__count, .point-pill, .reward-chip, .rank-badge { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; } .section-heading__count, .point-pill { background: var(--secondary); color: var(--primary-strong); } .empty-state { padding: 28px; border: 1px dashed rgba(132, 152, 190, 0.44); border-radius: var(--radius-md); color: var(--muted); text-align: center; background: rgba(255, 255, 255, 0.58); } .task-card { display: grid; gap: 16px; padding: 20px; } .task-card h3 { font-size: 1.35rem; } .task-card--compact { opacity: 0.94; } .chip-row, .badge-cloud { display: flex; flex-wrap: wrap; gap: 8px; } .earned-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(37, 99, 235, 0.08); color: var(--primary-strong); font-weight: 700; } .earned-badge__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); } .status-badge { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 0.83rem; } .status-badge--open { background: #e8f0ff; color: #1d4ed8; } .status-badge--soon { background: #fff3d6; color: #b45309; } .status-badge--overdue { background: #ffe3ea; color: #be123c; } .status-badge--completed { background: #ddfbf1; color: #047857; } .task-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .task-meta dt { margin-bottom: 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .task-meta dd { margin: 0; font-weight: 600; } .task-assignee { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); } .avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.8); box-shadow: 0 10px 24px rgba(78, 100, 141, 0.14); } .avatar--lg { width: 52px; height: 52px; } .done-hint, .muted, .inline-note, .sidebar-card p, .score-row__meta, .archive-row__right small, .calendar-task small { color: var(--muted); } .button, .button--ghost, .button--secondary, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 16px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; } .button { color: #fff; background: linear-gradient(135deg, var(--primary), #4f8cff); box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24); } .button:hover, .button--secondary:hover, .button--ghost:hover, .icon-button:hover { transform: translateY(-1px); } .button--secondary { background: var(--secondary); color: var(--primary-strong); } .button--ghost { background: transparent; border: 1px solid rgba(132, 152, 190, 0.3); color: var(--text); } .button--wide { width: 100%; } .icon-button { width: 48px; padding: 0; background: rgba(255, 255, 255, 0.74); border: 1px solid rgba(132, 152, 190, 0.24); } .form-grid { display: grid; gap: 16px; } .form-grid--two { grid-template-columns: 1fr; } .field { display: grid; gap: 8px; } .field--full { grid-column: 1 / -1; } .field label, .checkbox span { font-weight: 600; } .field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(132, 152, 190, 0.3); border-radius: 16px; background: rgba(255, 255, 255, 0.86); color: var(--text); } .field--compact input, .field--compact select { min-width: 120px; } .checkbox { display: inline-flex; align-items: center; gap: 10px; } .checkbox input { width: 18px; height: 18px; } .checkbox--compact { min-height: 48px; } .error { color: var(--danger); } .filter-bar, .inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; } .panel--toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; } .segmented { display: inline-flex; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, 0.74); } .segmented a { padding: 10px 16px; border-radius: 14px; color: var(--muted); } .segmented .is-active { background: #fff; color: var(--text); } .calendar-grid { display: grid; gap: 12px; } .calendar-grid__weekdays { display: none; } .calendar-day { min-height: 132px; padding: 14px; } .calendar-day strong { display: inline-flex; margin-bottom: 10px; } .calendar-day--empty { display: none; } .calendar-day__tasks { display: grid; gap: 8px; } .calendar-task { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); } .calendar-task--open { border-left: 4px solid #2563eb; } .calendar-task--soon { border-left: 4px solid #f59e0b; } .calendar-task--overdue { border-left: 4px solid #e11d48; } .calendar-task--completed { border-left: 4px solid #059669; } .score-row { display: grid; gap: 16px; } .score-row--leader { background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 255, 249, 0.92)), linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(37, 99, 235, 0.08)); } .score-row__person, .archive-row__left { display: inline-flex; align-items: center; gap: 12px; } .score-row__points strong { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: right; } .score-bar { height: 14px; border-radius: 999px; background: rgba(162, 182, 218, 0.22); overflow: hidden; } .reward-chip, .rank-badge { background: rgba(37, 99, 235, 0.1); color: var(--primary-strong); } .badge-setting-card { display: grid; gap: 12px; padding: 18px; } .badge-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; } .badge-card--earned { background: rgba(37, 99, 235, 0.03); } .badge-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(52, 211, 153, 0.12)); color: var(--primary-strong); } .badge-card__icon .nav-icon, .badge-card__icon .nav-icon svg { width: 26px; height: 26px; } .badge-card__body { display: grid; gap: 8px; } .settings-tabs { display: inline-flex; flex-wrap: wrap; gap: 10px; padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(132, 152, 190, 0.18); box-shadow: 0 12px 30px rgba(58, 82, 128, 0.1); } .settings-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; color: var(--muted); font-weight: 700; } .settings-tab.is-active { background: #fff; color: var(--primary-strong); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08); } .push-box { display: grid; gap: 18px; } .admin-user-list { display: grid; gap: 14px; margin-top: 22px; } .admin-user-card { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.76); border: 1px solid rgba(132, 152, 190, 0.22); } .admin-user-card__identity, .admin-user-card__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .admin-user-card__actions form { margin: 0; } .push-box__state { align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.66); } .push-box__state.is-disabled { border: 1px dashed rgba(225, 29, 72, 0.26); } .push-box__state.is-ready { border: 1px solid rgba(5, 150, 105, 0.18); } .auth-layout { display: grid; gap: 18px; } .auth-panel { max-width: 520px; } .sidebar { display: none; } .bottom-nav { position: fixed; left: 50%; transform: translateX(-50%); width: min(calc(100vw - 52px), 560px); bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px); box-shadow: 0 24px 44px rgba(58, 82, 128, 0.2); border: 1px solid rgba(132, 152, 190, 0.22); z-index: 40; } .bottom-nav__item, .nav-link { display: grid; justify-items: center; gap: 5px; padding: 10px 4px; color: var(--muted); border-radius: 16px; text-align: center; font-size: 0.69rem; font-weight: 700; line-height: 1.1; } .bottom-nav__item.is-active, .nav-link.is-active { color: var(--primary-strong); background: rgba(37, 99, 235, 0.1); } .nav-icon, .nav-icon svg { width: 20px; height: 20px; display: inline-block; } .complete-dialog { border: 0; padding: 0; background: transparent; } .complete-dialog::backdrop { background: rgba(18, 31, 56, 0.36); backdrop-filter: blur(6px); } .complete-dialog__surface { width: min(460px, calc(100vw - 24px)); padding: 24px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 18px; } .complete-dialog__surface--task { width: min(520px, calc(100vw - 24px)); } .choice-grid { display: grid; gap: 12px; } .dialog-actions { display: flex; gap: 12px; flex-wrap: wrap; } .text-link { color: var(--primary-strong); font-weight: 700; } .fab-quick-task { position: fixed; right: 18px; bottom: calc(96px + env(safe-area-inset-bottom)); width: 62px; height: 62px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #34d399); color: #fff; box-shadow: 0 24px 40px rgba(37, 99, 235, 0.28); display: inline-flex; align-items: center; justify-content: center; z-index: 45; cursor: pointer; } .fab-quick-task .nav-icon, .fab-quick-task .nav-icon svg { width: 24px; height: 24px; } @media (min-width: 760px) { .page-shell { padding: 28px 28px 32px; } .hero-grid, .two-column, .auth-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr); } .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid--two, .badge-settings, .earned-badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } .calendar-grid__weekdays { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; color: var(--muted); font-weight: 700; padding: 0 4px; } .calendar-day--empty { display: block; opacity: 0; box-shadow: none; background: transparent; border: 0; } } @media (min-width: 1100px) { .app-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); } .sidebar { position: sticky; top: 0; display: flex; flex-direction: column; gap: 24px; height: 100vh; padding: 28px 20px; border-right: 1px solid rgba(132, 152, 190, 0.2); background: rgba(248, 251, 255, 0.72); backdrop-filter: blur(12px); } .sidebar-nav { display: grid; gap: 8px; } .nav-link { grid-template-columns: auto 1fr; justify-items: start; text-align: left; font-size: 0.94rem; padding: 12px 14px; } .page-shell { padding: 36px 40px 48px; } .topbar-user { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(132, 152, 190, 0.2); } .bottom-nav { display: none; } .fab-quick-task { right: 28px; bottom: 28px; } .task-grid, .scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }