/* Dashy — design tokens & global */ @import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap'); :root { /* warm-neutral, light by default */ --bg: oklch(98.5% 0.005 80); --bg-elev: oklch(100% 0 0); --bg-sunken: oklch(96.5% 0.006 80); --bg-hover: oklch(96% 0.008 80); --line: oklch(91% 0.006 80); --line-strong: oklch(84% 0.008 80); --fg: oklch(22% 0.01 80); --fg-muted: oklch(48% 0.01 80); --fg-soft: oklch(62% 0.01 80); --fg-faint: oklch(78% 0.008 80); --accent: #2A6FDB; --accent-fg: #ffffff; --accent-soft: color-mix(in oklch, var(--accent) 12%, var(--bg)); --accent-line: color-mix(in oklch, var(--accent) 35%, var(--line)); --prio-high: oklch(63% 0.18 28); --prio-med: oklch(74% 0.13 78); --prio-low: oklch(72% 0.07 230); --warn-bg: oklch(96% 0.04 60); --warn-fg: oklch(38% 0.13 50); --warn-line: oklch(82% 0.10 60); --info-bg: oklch(96% 0.03 240); --info-fg: oklch(38% 0.10 240); --info-line: oklch(82% 0.07 240); --radius-sm: 6px; --radius: 10px; --radius-lg: 14px; --radius-xl: 20px; --shadow-card: 0 1px 0 oklch(0% 0 0 / 0.03), 0 1px 2px oklch(0% 0 0 / 0.04); --shadow-pop: 0 1px 0 oklch(0% 0 0 / 0.04), 0 8px 24px -8px oklch(0% 0 0 / 0.10), 0 24px 64px -20px oklch(0% 0 0 / 0.18); --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif; --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; color-scheme: light; } [data-theme="dark"] { --bg: oklch(17% 0.008 80); --bg-elev: oklch(20% 0.008 80); --bg-sunken: oklch(14% 0.008 80); --bg-hover: oklch(23% 0.01 80); --line: oklch(28% 0.008 80); --line-strong: oklch(36% 0.01 80); --fg: oklch(95% 0.005 80); --fg-muted: oklch(70% 0.008 80); --fg-soft: oklch(58% 0.008 80); --fg-faint: oklch(42% 0.008 80); --accent-soft: color-mix(in oklch, var(--accent) 22%, var(--bg)); --accent-line: color-mix(in oklch, var(--accent) 50%, var(--line)); --warn-bg: oklch(28% 0.07 60); --warn-fg: oklch(86% 0.10 70); --warn-line: oklch(40% 0.10 60); --info-bg: oklch(26% 0.05 240); --info-fg: oklch(86% 0.07 240); --info-line: oklch(40% 0.08 240); --shadow-card: 0 1px 0 oklch(100% 0 0 / 0.04), 0 1px 2px oklch(0% 0 0 / 0.4); --shadow-pop: 0 8px 24px -8px oklch(0% 0 0 / 0.5), 0 24px 64px -20px oklch(0% 0 0 / 0.6); color-scheme: dark; } * { box-sizing: border-box; } html, body, #root { height: 100%; margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; } button { font: inherit; color: inherit; cursor: pointer; } input, textarea { font: inherit; color: inherit; } .mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0; } /* === BUTTONS === */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-elev); font-weight: 500; font-size: 13px; transition: all 80ms ease; } .btn:hover { background: var(--bg-hover); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn--primary { background: var(--accent); color: var(--accent-fg); border-color: color-mix(in oklch, var(--accent) 70%, black); box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.15), 0 1px 2px oklch(0% 0 0 / 0.1); } .btn--primary:hover { background: color-mix(in oklch, var(--accent) 92%, black); } .btn--soft { background: var(--accent-soft); border-color: var(--accent-line); color: color-mix(in oklch, var(--accent) 80%, var(--fg)); } .btn--soft:hover { background: color-mix(in oklch, var(--accent) 18%, var(--bg)); } .btn--ghost { background: transparent; border-color: transparent; } .btn--ghost:hover { background: var(--bg-hover); } .btn--full { width: 100%; justify-content: center; padding: 11px 14px; } .btn--sm { padding: 5px 9px; font-size: 12px; } .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--fg-muted); } .icon-btn:hover { background: var(--bg-hover); color: var(--fg); } .icon-btn--solid { background: var(--bg-elev); border-color: var(--line); } .kbd { display: inline-block; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg-elev); font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); } /* === FIELDS === */ .field { display: flex; flex-direction: column; gap: 6px; } .field__label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-soft); } .field__input, .field__textarea { border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); padding: 9px 11px; outline: none; transition: border-color 80ms ease, box-shadow 80ms ease; width: 100%; resize: vertical; } .field__input:focus, .field__textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent); } .field__input--big { font-size: 17px; font-weight: 500; padding: 12px 13px; letter-spacing: -0.01em; } .picker { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; background: var(--bg-sunken); border-radius: var(--radius); border: 1px solid var(--line); } .picker__item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; background: transparent; border: 1px solid transparent; font-size: 12.5px; color: var(--fg-muted); } .picker__item:hover { color: var(--fg); } .picker__item.is-on { background: var(--bg-elev); color: var(--fg); box-shadow: var(--shadow-card); border-color: var(--line); } /* === AVATAR === */ .avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; font-size: 11px; letter-spacing: 0.02em; flex-shrink: 0; } /* === PRIORITY === */ .prio { display: inline-flex; align-items: center; gap: 5px; } .prio__dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; box-shadow: inset 0 0 0 1.5px oklch(100% 0 0 / 0.4); } .prio__label { font-size: 11px; color: var(--fg-muted); font-weight: 500; } /* === TOPBAR === */ .app { display: flex; flex-direction: column; height: 100vh; min-height: 0; } .topbar { display: flex; align-items: center; gap: 16px; padding: 10px 18px; background: var(--bg); border-bottom: 1px solid var(--line); flex-shrink: 0; } .topbar__left { display: flex; align-items: center; gap: 12px; min-width: 220px; } .topbar__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; font-size: 15px; color: var(--fg); } .topbar__divider { width: 1px; height: 18px; background: var(--line); } .topbar__workspace { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); padding: 3px 8px; border-radius: 5px; background: var(--bg-sunken); } .tabs { display: flex; gap: 2px; flex: 1; } .tab { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; background: transparent; border: 1px solid transparent; color: var(--fg-muted); font-size: 13px; font-weight: 500; } .tab:hover { color: var(--fg); background: var(--bg-hover); } .tab.is-active { color: var(--fg); background: var(--bg-elev); border-color: var(--line); box-shadow: var(--shadow-card); } .tab__dot { width: 7px; height: 7px; border-radius: 999px; } .topbar__right { display: flex; align-items: center; gap: 6px; } .topbar__me { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: 1px solid transparent; padding: 4px 10px 4px 4px; border-radius: 999px; margin-left: 6px; } .topbar__me:hover { background: var(--bg-hover); } .topbar__me-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; } .topbar__me-name { font-size: 12.5px; font-weight: 600; } .topbar__me-role { font-size: 10.5px; color: var(--fg-soft); } /* === SEARCH === */ .topbar__search { display: flex; align-items: center; gap: 8px; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 4px 0 10px; height: 32px; flex: 1; max-width: 400px; animation: search-slide 180ms ease; } .topbar__search-input { border: none; background: transparent; flex: 1; font-size: 13px; outline: none; color: var(--fg); padding: 0; } .topbar__search-input::placeholder { color: var(--fg-faint); } @keyframes search-slide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } } /* === MAIN === */ .main { flex: 1; overflow: auto; padding: 20px; min-height: 0; } /* === BOARD (overview) === */ .board { display: grid; grid-template-columns: repeat(4, minmax(280px, 1fr)); gap: 16px; max-width: 1600px; margin: 0 auto; } .column { display: flex; flex-direction: column; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; gap: 10px; min-height: 200px; } .column__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px; border-bottom: 1px dashed var(--line); } .column__head-l { display: flex; align-items: center; gap: 10px; } .column__head-meta { display: flex; flex-direction: column; line-height: 1.15; } .column__name { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; } .column__role { font-size: 11px; color: var(--fg-soft); } .column__head-r { display: flex; align-items: center; gap: 6px; } .column__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); font-size: 11px; color: var(--fg-muted); } .add-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; border: 1px dashed var(--line-strong); background: var(--bg-elev); color: var(--fg-muted); transition: all 100ms ease; } .add-btn:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); border-style: solid; } .column__list { display: flex; flex-direction: column; gap: 8px; } .column__empty { text-align: center; color: var(--fg-faint); padding: 18px 0; } .drop-placeholder { height: 52px; background: color-mix(in oklch, var(--accent) 6%, var(--bg-sunken)); border: 1.5px dashed var(--accent-line); border-radius: var(--radius); margin: 4px 0; pointer-events: none; animation: placeholder-pulse 1.5s ease-in-out infinite; } @keyframes placeholder-pulse { 0%, 100% { opacity: 0.5; border-color: var(--accent-line); } 50% { opacity: 1; border-color: var(--accent); } } /* === CARD === */ .card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; box-shadow: var(--shadow-card); transition: transform 80ms ease, border-color 80ms ease, box-shadow 120ms ease, opacity 120ms ease; position: relative; } .card__grip { position: absolute; top: 50%; left: 4px; transform: translateY(-50%); display: grid; grid-template-columns: repeat(2, 2px); grid-template-rows: repeat(3, 2px); gap: 2px; opacity: 0; transition: opacity 100ms ease; pointer-events: none; } .card__grip span { width: 2px; height: 2px; border-radius: 999px; background: var(--fg-faint); } .card:hover .card__grip { opacity: 1; } .card--drag { opacity: 0.35; transform: scale(0.98); } .column--over { background: color-mix(in oklch, var(--accent) 10%, var(--bg-sunken)); border-color: var(--accent); outline: 2px dashed color-mix(in oklch, var(--accent) 60%, transparent); outline-offset: -4px; } .card:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: 0 1px 0 oklch(0% 0 0 / 0.04), 0 6px 16px -8px oklch(0% 0 0 / 0.12); } .card[data-density="compact"] { padding: 9px 11px; gap: 5px; } .card[data-priority="high"] { border-color: color-mix(in oklch, var(--prio-high) 35%, var(--line)); } .card--flagged { background: var(--warn-bg); border-color: var(--warn-line); } .card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .card__title { margin: 0; font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--fg); line-height: 1.35; text-wrap: pretty; } .card__desc { margin: 0; font-size: 12.5px; color: var(--fg-muted); line-height: 1.45; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .card[data-density="compact"] .card__desc { display: none; } .card__tags { display: flex; flex-wrap: wrap; gap: 4px; } [data-show-tags="off"] .card__tags { display: none; } .chip { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: var(--bg-sunken); color: var(--fg-muted); border: 1px solid var(--line); } .source-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: color-mix(in oklch, var(--accent) 10%, var(--bg)); color: color-mix(in oklch, var(--accent) 60%, var(--fg)); border: 1px solid var(--accent-line); font-weight: 500; } .source-tag[data-source="automation"] { background: color-mix(in oklch, var(--prio-med) 18%, var(--bg)); color: color-mix(in oklch, var(--prio-med) 50%, var(--fg)); border-color: color-mix(in oklch, var(--prio-med) 35%, var(--line)); } .source-tag__glyph { font-size: 11px; } .card__alert { font-size: 11.5px; color: var(--warn-fg); padding: 5px 8px; background: oklch(98% 0.03 60 / 0.6); border: 1px dashed var(--warn-line); border-radius: 6px; } [data-theme="dark"] .card__alert { background: oklch(20% 0.04 60); } .card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--fg-soft); padding-top: 4px; } .card__author { display: inline-flex; align-items: center; gap: 6px; } .card__time { font-family: var(--font-mono); font-size: 11px; } /* === HEADS-UP === */ .heads-up { display: flex; flex-direction: column; gap: 6px; padding: 8px 18px 0; flex-shrink: 0; } .heads-up__item { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 12px; padding: 9px 10px 9px 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); color: var(--warn-fg); animation: hu-slide 280ms ease; } .heads-up__item--billing { background: var(--info-bg); border-color: var(--info-line); color: var(--info-fg); } .heads-up__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: oklch(100% 0 0 / 0.5); font-weight: 700; font-size: 12px; } [data-theme="dark"] .heads-up__icon { background: oklch(0% 0 0 / 0.3); } .heads-up__title { font-weight: 600; font-size: 13px; } .heads-up__sub { font-size: 11.5px; opacity: 0.85; } .heads-up__open { display: inline-flex; align-items: center; gap: 5px; background: oklch(100% 0 0 / 0.6); border: 1px solid currentColor; color: inherit; padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 500; } [data-theme="dark"] .heads-up__open { background: oklch(0% 0 0 / 0.3); } .heads-up__close { background: transparent; border: none; color: inherit; opacity: 0.6; width: 24px; height: 24px; border-radius: 6px; } .heads-up__close:hover { opacity: 1; background: oklch(0% 0 0 / 0.06); } @keyframes hu-slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } } /* === USER VIEW === */ .user-view { max-width: 1200px; margin: 0 auto; } .user-view__hero { display: flex; align-items: center; gap: 18px; padding: 14px 6px 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; } .user-view__hero-meta { flex: 1; } .user-view__name { margin: 0; font-size: 28px; letter-spacing: -0.02em; font-weight: 600; } .user-view__role { margin: 2px 0 0; font-size: 13px; color: var(--fg-muted); } .section { margin-bottom: 28px; } .section__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; } .section__title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; } .section__sub { color: var(--fg-soft); font-size: 12px; } .user-view__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; } /* === MODAL === */ .modal-scrim { position: fixed; inset: 0; background: oklch(0% 0 0 / 0.32); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 50; animation: scrim-in 180ms ease; padding: 20px; } [data-theme="dark"] .modal-scrim { background: oklch(0% 0 0 / 0.55); } @keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } } .modal { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-xl); width: min(100%, 540px); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-pop); animation: modal-in 240ms cubic-bezier(.2,.8,.2,1); } .modal--wide { width: min(100%, 980px); } @keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg-elev); z-index: 1; } .modal__eyebrow { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.08em; color: var(--fg-soft); display: block; margin-bottom: 2px; } .modal__title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; } .modal__form { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; } .modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 14px; flex-wrap: wrap; } .modal__hint { color: var(--fg-soft); font-size: 11.5px; } .modal__actions { display: flex; gap: 8px; margin-left: auto; } /* === DETAIL === */ .detail { display: grid; grid-template-columns: 1fr 280px; min-height: 400px; } .detail__main { padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; } .detail__side { padding: 18px 20px; border-left: 1px solid var(--line); background: var(--bg-sunken); display: flex; flex-direction: column; gap: 18px; } .detail__alert { padding: 10px 12px; border-radius: var(--radius); font-size: 12.5px; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-line); } .detail__alert--info { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-line); } .detail__alert-actions { display: flex; gap: 8px; margin-top: 8px; } .detail__desc { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.55; text-wrap: pretty; } .detail__h { margin: 0 0 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-soft); font-weight: 500; } .notes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .notes__item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: var(--radius); background: var(--bg-sunken); border: 1px solid var(--line); } .notes__bullet { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--fg-muted); } .notes__meta { color: var(--fg-soft); font-size: 11px; margin-top: 2px; } .notes__add { display: flex; gap: 8px; margin-top: 4px; } .notes__add .field__input { flex: 1; } .timeline { list-style: none; padding: 0; margin: 0; } .timeline__row { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 0; } .timeline__rail { position: relative; } .timeline__rail::before { content: ''; position: absolute; left: 11px; top: 0; bottom: -8px; width: 1px; background: var(--line); } .timeline__row:last-child .timeline__rail::before { display: none; } .timeline__dot { display: block; width: 10px; height: 10px; margin: 5px 0 0 7px; border-radius: 999px; background: var(--fg-faint); border: 2px solid var(--bg-elev); box-shadow: 0 0 0 1px var(--line); position: relative; } .timeline__dot[data-actor="system"] { background: var(--prio-med); } .timeline__dot[data-actor="rod"] { background: oklch(70% 0.10 280); } .timeline__dot[data-actor="lani"] { background: oklch(70% 0.10 28); } .timeline__dot[data-actor="kirra"] { background: oklch(70% 0.10 145); } .timeline__dot[data-actor="ayron"] { background: oklch(70% 0.10 215); } .timeline__line { font-size: 13px; } .timeline__detail { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; font-style: italic; } .timeline__time { font-size: 11px; color: var(--fg-soft); margin-top: 3px; } .side-field { display: flex; flex-direction: column; gap: 7px; } .side-field__label { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.07em; color: var(--fg-soft); } .meta-row { font-size: 13px; color: var(--fg); display: inline-flex; align-items: center; gap: 6px; } /* === AUDIT === */ .audit { padding: 18px 22px; } .audit__head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; } .audit__title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; } .audit__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--fg-muted); } .audit__filter { display: flex; flex-wrap: wrap; gap: 4px; } .filter-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 12px; color: var(--fg-muted); } .filter-chip:hover { color: var(--fg); } .filter-chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); } .audit__group { margin-bottom: 18px; } .audit__day { text-transform: uppercase; font-size: 11px; letter-spacing: 0.07em; color: var(--fg-soft); padding-bottom: 6px; border-bottom: 1px dashed var(--line); margin-bottom: 4px; } .audit__rows { list-style: none; margin: 0; padding: 0; } .audit__row { display: grid; grid-template-columns: 64px 110px 130px 1fr auto; gap: 12px; align-items: center; padding: 9px 6px; border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent); font-size: 13px; } .audit__time { color: var(--fg-soft); } .audit__actor { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; } .audit__sys { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--bg-sunken); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; color: var(--fg-soft); } .audit__action { font-size: 11px; color: var(--fg-muted); background: var(--bg-sunken); padding: 2px 7px; border-radius: 5px; border: 1px solid var(--line); width: max-content; } .audit__summary { color: var(--fg); } .audit__link { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--accent); padding: 4px 7px; border-radius: 6px; border: 1px solid transparent; font-size: 12px; } .audit__link:hover { background: var(--accent-soft); border-color: var(--accent-line); } /* === LOGIN === */ .login { display: grid; grid-template-columns: minmax(360px, 460px) 1fr; height: 100vh; } @media (max-width: 880px) { .login { grid-template-columns: 1fr; } .login__side { display: none; } } .login__card { padding: 56px 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; background: var(--bg); } .login__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 4px; } .login__wordmark { font-size: 18px; } .login__title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; } .login__sub { margin: 0; color: var(--fg-muted); font-size: 13px; } .login__users { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; } .login__user { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-elev); text-align: left; } .login__user:hover { border-color: var(--line-strong); background: var(--bg-hover); } .login__user.is-picked { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 14%, transparent); } .login__user-meta { flex: 1; display: flex; flex-direction: column; } .login__user-name { font-weight: 600; font-size: 13.5px; } .login__user-role { font-size: 11.5px; color: var(--fg-soft); } .login__user-tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); } .login__foot { margin: 0; font-size: 12px; color: var(--fg-soft); text-align: center; } .login__foot a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--fg-faint); } .login__side { background: var(--bg-sunken); border-left: 1px solid var(--line); padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; } .login__side::before { content: ''; position: absolute; inset: -200px -200px auto auto; width: 600px; height: 600px; background: radial-gradient(circle, color-mix(in oklch, var(--accent) 20%, transparent), transparent 60%); pointer-events: none; } .login__side-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-soft); font-size: 11px; position: relative; } .login__side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; } .stat .stat__n { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; } .stat .stat__label { font-size: 12.5px; color: var(--fg-muted); margin-top: 4px; max-width: 160px; line-height: 1.35; } .login__side-foot { color: var(--fg-faint); font-size: 11px; position: relative; } .avatar--photo { background-size: cover; background-position: center; background-repeat: no-repeat; } /* === SETTINGS === */ .settings { display: grid; grid-template-columns: 200px 1fr; min-height: 540px; } .settings__nav { border-right: 1px solid var(--line); background: var(--bg-sunken); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; } .settings__nav-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; background: transparent; text-align: left; font-size: 13px; color: var(--fg-muted); } .settings__nav-item:hover { color: var(--fg); background: var(--bg-hover); } .settings__nav-item.is-on { background: var(--bg-elev); color: var(--fg); border-color: var(--line); box-shadow: var(--shadow-card); } .settings__nav-icon { font-size: 14px; color: var(--fg-soft); } .settings__nav-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); } .settings__logout { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 8px; background: transparent; border: 1px solid transparent; color: var(--prio-high); font-size: 13px; font-weight: 500; } .settings__logout:hover { background: color-mix(in oklch, var(--prio-high) 10%, var(--bg)); border-color: color-mix(in oklch, var(--prio-high) 35%, var(--line)); } .settings__logout svg { transform: rotate(180deg); } .settings__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; } .settings__h { margin: 4px 0 -2px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-soft); font-weight: 500; } .settings__sub { margin: 0; color: var(--fg-muted); font-size: 13px; } .settings__hint { color: var(--fg-soft); font-size: 11.5px; margin: 0; } .settings__divider { height: 1px; background: var(--line); margin: 8px 0; } .settings__photo { display: flex; align-items: center; gap: 18px; } .settings__photo-preview { width: 88px; height: 88px; border-radius: 999px; background: var(--bg-sunken); background-size: cover; background-position: center; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; } .settings__photo-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } .settings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .settings__col { display: flex; flex-direction: column; gap: 12px; max-width: 420px; } .settings__save-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 6px; } .settings__saved { display: inline-flex; align-items: center; gap: 5px; color: oklch(50% 0.12 145); margin-right: auto; } .settings__pw-strength { display: flex; align-items: center; gap: 10px; } .settings__pw-bar { flex: 1; height: 4px; border-radius: 999px; background: var(--bg-sunken); position: relative; overflow: hidden; } .settings__pw-bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; transition: width 200ms ease, background 200ms ease; } .settings__pw-bar[data-strength="none"]::after { width: 0; } .settings__pw-bar[data-strength="weak"]::after { width: 30%; background: var(--prio-high); } .settings__pw-bar[data-strength="med"]::after { width: 65%; background: var(--prio-med); } .settings__pw-bar[data-strength="strong"]::after { width: 100%; background: oklch(64% 0.14 145); } .settings__pw-label { color: var(--fg-soft); } .settings__sessions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .settings__session { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-sunken); } .settings__session-where { font-size: 13px; font-weight: 500; } .settings__session-when { font-size: 11.5px; color: var(--fg-soft); margin-top: 2px; } .settings__toggles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px; font-size: 13px; border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent); } .toggle-row:last-child { border-bottom: 0; } .switch { width: 36px; height: 20px; border-radius: 999px; background: var(--line-strong); border: none; position: relative; transition: background 120ms ease; } .switch.is-on { background: var(--accent); } .switch__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: white; box-shadow: 0 1px 2px oklch(0% 0 0 / 0.2); transition: transform 140ms cubic-bezier(.3,1.4,.4,1); } .switch.is-on .switch__thumb { transform: translateX(16px); } .settings__users { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .settings__h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .lock { color: var(--fg-soft); text-transform: none; letter-spacing: 0; font-weight: 400; } .admin-badge { color: var(--accent); font-size: 9px; margin-left: 6px; vertical-align: middle; } .member-form { padding: 12px 14px; background: var(--bg-sunken); border: 1px dashed var(--accent-line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; } .member-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; } .member-row { display: grid; grid-template-columns: 32px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); } .member-row__meta { min-width: 0; } .member-row__name { font-weight: 500; font-size: 13px; } .member-row__role { color: var(--fg-soft); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .member-row__type .picker__item { font-size: 11.5px; padding: 3px 8px; } .member-row__del { width: 26px; height: 26px; border-radius: 6px; background: transparent; border: 1px solid transparent; color: var(--fg-soft); font-size: 16px; line-height: 1; } .member-row__del:hover { background: color-mix(in oklch, var(--prio-high) 10%, var(--bg)); border-color: color-mix(in oklch, var(--prio-high) 30%, var(--line)); color: var(--prio-high); } /* === BOOT === */ .boot { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; gap: 14px; background: var(--bg); } .boot__pulse { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); animation: boot-pulse 1.2s ease-in-out infinite; } @keyframes boot-pulse { 0%, 100% { opacity: 0.3; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1); } } .boot__label { color: var(--fg-soft); font-size: 12px; letter-spacing: 0.04em; } /* === DB INSPECTOR === */ .dbins { display: grid; grid-template-columns: 200px 1fr; min-height: 560px; } .dbins__nav { border-right: 1px solid var(--line); background: var(--bg-sunken); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; } .dbins__nav-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-soft); padding: 4px 8px 6px; } .dbins__tab { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-radius: 7px; border: 1px solid transparent; background: transparent; font-size: 12.5px; color: var(--fg-muted); text-align: left; } .dbins__tab:hover { background: var(--bg-hover); color: var(--fg); } .dbins__tab.is-on { background: var(--bg-elev); color: var(--fg); border-color: var(--line); box-shadow: var(--shadow-card); } .dbins__tab-name { font-family: var(--font-mono); font-size: 12px; } .dbins__tab-count { font-size: 10.5px; color: var(--fg-soft); background: var(--bg); border: 1px solid var(--line); padding: 0 6px; border-radius: 999px; } .dbins__nav-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 4px; } .dbins__body { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; } .dbins__schema { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-sunken); } .dbins__schema-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-soft); margin-bottom: 6px; } .dbins__cols { display: flex; flex-wrap: wrap; gap: 6px; } .dbins__col { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 8px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; } .dbins__col strong { font-weight: 600; } .dbins__col .mono { color: var(--fg-soft); font-size: 10.5px; } .dbins__tablewrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); max-height: 380px; } .dbins__table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 11.5px; } .dbins__table th, .dbins__table td { padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } .dbins__table th { background: var(--bg-sunken); position: sticky; top: 0; color: var(--fg-soft); font-weight: 500; text-transform: uppercase; font-size: 10px; letter-spacing: 0.05em; } .dbins__table td.is-num { text-align: right; color: var(--accent); } .dbins__table tr:hover td { background: var(--bg-hover); } .dbins__null { color: var(--fg-faint); font-style: italic; } .dbins__empty { padding: 24px; text-align: center; color: var(--fg-faint); } .dbins__sql { display: flex; flex-direction: column; gap: 10px; } .dbins__sql-bar { display: flex; align-items: center; justify-content: space-between; } .dbins__sql-eyebrow { color: var(--fg-soft); } .dbins__sql-input { width: 100%; min-height: 120px; padding: 10px 12px; font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); outline: none; resize: vertical; } .dbins__sql-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent); } .dbins__err { padding: 8px 12px; border-radius: var(--radius); background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-line); font-family: var(--font-mono); font-size: 12px; } .dbins__ok { color: var(--fg-soft); padding: 8px 0; } /* === SCROLLBAR === */ .main::-webkit-scrollbar, .modal::-webkit-scrollbar { width: 10px; height: 10px; } .main::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 2px solid var(--bg); background-clip: padding-box; } .main::-webkit-scrollbar-track, .modal::-webkit-scrollbar-track { background: transparent; }