Diff -- /var/www/vhosts/3dshawn.com/ptmatrix.3dshawn.com/assets/css/site.css
Diff
/var/www/vhosts/3dshawn.com/ptmatrix.3dshawn.com/assets/css/site.css
added on local at 2026-07-09 23:25:35
Added
+1717
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to f7f4a12eb468
to f7f4a12eb468
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | /* ===================================================================== | |
| 2 | TaskForge -- site.css | |
| 3 | Dark-first SaaS design system. | |
| 4 | Brand: deep wine #480c0f -> rose #b94854 (gradient, decorative). | |
| 5 | Primary CTA: cool blue #5aa9ff (per UX rule). Accent violet #8b5cf6. | |
| 6 | Success: #22c55e. Warn: #f59e0b. Danger: #ef4444 (warnings only). | |
| 7 | ===================================================================== */ | |
| 8 | ||
| 9 | :root { | |
| 10 | --col-bg-0: #0c1018; | |
| 11 | --col-bg-1: #131825; | |
| 12 | --col-bg-2: #1a2030; | |
| 13 | --col-bg-3: #232a3d; | |
| 14 | --col-bg-4: #2e3650; | |
| 15 | --col-surface: #181e2c; | |
| 16 | --col-surface-2: #1f2638; | |
| 17 | --col-surface-3: #283045; | |
| 18 | ||
| 19 | --col-border: #2a3147; | |
| 20 | --col-border-2: #3a4360; | |
| 21 | ||
| 22 | --col-text: #e7ecf3; | |
| 23 | --col-text-muted: #95a0b3; | |
| 24 | --col-text-dim: #6c768c; | |
| 25 | ||
| 26 | --col-primary: #5aa9ff; | |
| 27 | --col-primary-2: #4393f0; | |
| 28 | --col-primary-soft:#1e3552; | |
| 29 | ||
| 30 | --col-accent: #8b5cf6; | |
| 31 | --col-accent-soft: #2c1e4c; | |
| 32 | ||
| 33 | /* Brand palette — cool decorative gradient (logo, hero highlight, | |
| 34 | sidebar-active, tooltip glow). Never used for CTAs. */ | |
| 35 | --col-brand-1: #480c0f; | |
| 36 | --col-brand-2: #b94854; | |
| 37 | --col-brand-glow: rgba(185,72,84,.45); | |
| 38 | --col-brand-glow-2:rgba(185,72,84,.30); | |
| 39 | --grad-brand: linear-gradient(135deg, #480c0f 0%, #b94854 100%); | |
| 40 | --grad-brand-h: linear-gradient(90deg, #480c0f 0%, #b94854 100%); | |
| 41 | ||
| 42 | --col-success: #22c55e; | |
| 43 | --col-success-soft:#143a26; | |
| 44 | --col-warn: #f59e0b; | |
| 45 | --col-warn-soft: #3f2c0d; | |
| 46 | --col-danger: #ef4444; | |
| 47 | --col-danger-soft: #401717; | |
| 48 | ||
| 49 | --col-pri-low: #94a3b8; | |
| 50 | --col-pri-med: #5aa9ff; | |
| 51 | --col-pri-high: #f59e0b; | |
| 52 | --col-pri-urgent: #f97316; | |
| 53 | --col-pri-crit: #ef4444; | |
| 54 | ||
| 55 | --radius-sm: 6px; | |
| 56 | --radius: 10px; | |
| 57 | --radius-lg: 14px; | |
| 58 | --radius-xl: 20px; | |
| 59 | ||
| 60 | --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.02); | |
| 61 | --shadow: 0 4px 16px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.03); | |
| 62 | --shadow-lg: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04); | |
| 63 | ||
| 64 | --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| 65 | --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| 66 | --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace; | |
| 67 | ||
| 68 | --sidebar-width: 248px; | |
| 69 | --sidebar-collapsed-width: 60px; | |
| 70 | --topbar-height: 56px; | |
| 71 | ||
| 72 | --t-fast: 120ms ease-out; | |
| 73 | --t: 200ms ease-out; | |
| 74 | } | |
| 75 | ||
| 76 | * { box-sizing: border-box; } | |
| 77 | html, body { | |
| 78 | margin: 0; | |
| 79 | padding: 0; | |
| 80 | background: var(--col-bg-0); | |
| 81 | color: var(--col-text); | |
| 82 | font-family: var(--font-body); | |
| 83 | font-size: 14px; | |
| 84 | line-height: 1.5; | |
| 85 | -webkit-font-smoothing: antialiased; | |
| 86 | -moz-osx-font-smoothing: grayscale; | |
| 87 | } | |
| 88 | body { min-height: 100vh; position: relative; } | |
| 89 | ||
| 90 | /* Ambient brand atmosphere — three overlapping radial washes per the | |
| 91 | warmth-recipe pattern, ported to cyan/lavender. Fixed-attachment so | |
| 92 | it stays put while content scrolls; sits behind everything. */ | |
| 93 | body::before { | |
| 94 | content: ''; | |
| 95 | position: fixed; | |
| 96 | inset: 0; | |
| 97 | z-index: -1; | |
| 98 | pointer-events: none; | |
| 99 | background: | |
| 100 | radial-gradient(ellipse 90% 60% at 15% -10%, rgba(185,72,84,.18) 0%, transparent 55%), | |
| 101 | radial-gradient(ellipse 80% 50% at 100% 0%, rgba(230,150,160,.10) 0%, transparent 60%), | |
| 102 | radial-gradient(ellipse 60% 50% at 50% 100%, rgba(185,72,84,.06) 0%, transparent 60%); | |
| 103 | } | |
| 104 | /* Top accent strip — thin brand gradient line that runs across the | |
| 105 | very top of every page like a stage light. */ | |
| 106 | body::after { | |
| 107 | content: ''; | |
| 108 | position: fixed; | |
| 109 | left: 0; right: 0; top: 0; | |
| 110 | height: 2px; | |
| 111 | background: linear-gradient(90deg, | |
| 112 | transparent 0%, | |
| 113 | var(--col-brand-1) 28%, | |
| 114 | var(--col-brand-2) 72%, | |
| 115 | transparent 100%); | |
| 116 | opacity: .55; | |
| 117 | z-index: 100; | |
| 118 | pointer-events: none; | |
| 119 | } | |
| 120 | ||
| 121 | a { color: var(--col-primary); text-decoration: none; transition: color var(--t-fast); } | |
| 122 | a:hover { color: var(--col-primary-2); } | |
| 123 | ||
| 124 | h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .4em; color: var(--col-text); } | |
| 125 | h1 { font-size: 28px; line-height: 1.2; } | |
| 126 | h2 { font-size: 22px; line-height: 1.25; } | |
| 127 | h3 { font-size: 18px; line-height: 1.3; } | |
| 128 | h4 { font-size: 15px; line-height: 1.4; } | |
| 129 | ||
| 130 | p { margin: 0 0 .8em; color: var(--col-text-muted); } | |
| 131 | code, kbd { | |
| 132 | font-family: var(--font-mono); font-size: .92em; | |
| 133 | background: linear-gradient(180deg, rgba(185,72,84,.06) 0%, transparent 100%), var(--col-bg-2); | |
| 134 | padding: 2px 6px; | |
| 135 | border-radius: 4px; | |
| 136 | border: 1px solid rgba(185,72,84,.22); | |
| 137 | color: #c8f4fb; | |
| 138 | } | |
| 139 | ||
| 140 | hr { border: 0; border-top: 1px solid var(--col-border); margin: 24px 0; } | |
| 141 | ||
| 142 | ::-webkit-scrollbar { width: 10px; height: 10px; } | |
| 143 | ::-webkit-scrollbar-track { background: var(--col-bg-1); } | |
| 144 | ::-webkit-scrollbar-thumb { background: var(--col-bg-3); border-radius: 8px; border: 2px solid var(--col-bg-1); } | |
| 145 | ::-webkit-scrollbar-thumb:hover { background: var(--col-bg-4); } | |
| 146 | ||
| 147 | /* ====== buttons ====== */ | |
| 148 | .btn { | |
| 149 | display: inline-flex; align-items: center; gap: 8px; | |
| 150 | padding: 9px 16px; | |
| 151 | font-family: var(--font-display); | |
| 152 | font-size: 13.5px; font-weight: 500; | |
| 153 | border: 1px solid var(--col-border-2); | |
| 154 | background: var(--col-surface-3); | |
| 155 | color: var(--col-text); | |
| 156 | border-radius: var(--radius-sm); | |
| 157 | cursor: pointer; | |
| 158 | transition: all var(--t-fast); | |
| 159 | text-decoration: none; | |
| 160 | user-select: none; | |
| 161 | white-space: nowrap; | |
| 162 | } | |
| 163 | .btn:hover { background: var(--col-bg-4); border-color: var(--col-text-dim); color: var(--col-text); } | |
| 164 | .btn:active { transform: translateY(1px); } | |
| 165 | ||
| 166 | /* PRIMARY = SOLID BRAND (changed 2026-06-08 from blue per | |
| 167 | feedback-brand-warmth-recipe). Workhorse CTA: Save/Submit/Update/Create. */ | |
| 168 | .btn-primary { | |
| 169 | background: var(--col-brand-1); | |
| 170 | border-color: var(--col-brand-2); | |
| 171 | color: #fff; | |
| 172 | font-weight: 700; | |
| 173 | box-shadow: 0 4px 14px var(--col-brand-glow); | |
| 174 | } | |
| 175 | .btn-primary:hover { | |
| 176 | background: var(--col-brand-2); | |
| 177 | border-color: var(--col-brand-2); | |
| 178 | color: #fff; | |
| 179 | box-shadow: 0 6px 18px rgba(185,72,84,.55); | |
| 180 | } | |
| 181 | ||
| 182 | /* BRAND = GRADIENT — hero / brand-marketing moments only (Add, Start free, | |
| 183 | Upgrade). Heavier than .btn-primary; use sparingly (~1-2 per page). */ | |
| 184 | .btn-brand { | |
| 185 | background: var(--grad-brand); | |
| 186 | border-color: var(--col-brand-2); | |
| 187 | color: #fff; | |
| 188 | font-weight: 700; | |
| 189 | box-shadow: 0 4px 14px var(--col-brand-glow); | |
| 190 | } | |
| 191 | .btn-brand:hover { | |
| 192 | filter: brightness(1.10); | |
| 193 | color: #fff; | |
| 194 | } | |
| 195 | ||
| 196 | /* SECONDARY = NEUTRAL DARK — paired with primary (Cancel, Back, Dismiss). */ | |
| 197 | .btn-secondary { | |
| 198 | background: var(--col-bg-3); | |
| 199 | color: var(--col-text); | |
| 200 | border-color: var(--col-border); | |
| 201 | } | |
| 202 | .btn-secondary:hover { background: var(--col-bg-4); } | |
| 203 | ||
| 204 | .btn-ghost { | |
| 205 | background: transparent; | |
| 206 | border-color: var(--col-border); | |
| 207 | } | |
| 208 | .btn-ghost:hover { background: var(--col-surface-3); } | |
| 209 | ||
| 210 | .btn-danger { | |
| 211 | background: var(--col-danger); | |
| 212 | border-color: var(--col-danger); | |
| 213 | color: #fff; | |
| 214 | } | |
| 215 | .btn-danger:hover { background: #dc3030; } | |
| 216 | ||
| 217 | .btn-success { | |
| 218 | background: var(--col-success); | |
| 219 | border-color: var(--col-success); | |
| 220 | color: #fff; | |
| 221 | } | |
| 222 | ||
| 223 | .btn-sm { padding: 6px 12px; font-size: 12.5px; } | |
| 224 | .btn-lg { padding: 12px 20px; font-size: 15px; } | |
| 225 | .btn-xl { padding: 14px 26px; font-size: 16px; font-weight: 600; } | |
| 226 | ||
| 227 | .btn svg { width: 16px; height: 16px; } | |
| 228 | ||
| 229 | /* ====== forms ====== */ | |
| 230 | .field { margin-bottom: 16px; } | |
| 231 | .field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--col-brand-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; } | |
| 232 | .field .help { font-size: 12px; color: var(--col-text-dim); margin-top: 4px; } | |
| 233 | .input, .textarea, .select { | |
| 234 | width: 100%; | |
| 235 | padding: 10px 12px; | |
| 236 | background: var(--col-bg-1); | |
| 237 | color: var(--col-text); | |
| 238 | border: 1px solid var(--col-border); | |
| 239 | border-radius: var(--radius-sm); | |
| 240 | font-family: var(--font-body); | |
| 241 | font-size: 14px; | |
| 242 | transition: border-color var(--t-fast), box-shadow var(--t-fast); | |
| 243 | } | |
| 244 | .input:focus, .textarea:focus, .select:focus { | |
| 245 | outline: none; | |
| 246 | border-color: var(--col-brand-1); | |
| 247 | box-shadow: 0 0 0 3px rgba(185,72,84,.18), 0 0 12px rgba(230,150,160,.18); | |
| 248 | } | |
| 249 | .textarea { min-height: 100px; resize: vertical; } | |
| 250 | .select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2395a0b3' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; } | |
| 251 | ||
| 252 | .checkbox, .radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--col-text); } | |
| 253 | .checkbox input, .radio input { accent-color: var(--col-brand-1); } | |
| 254 | ||
| 255 | .error-msg { background: var(--col-danger-soft); color: var(--col-danger); padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(239,68,68,.3); font-size: 13.5px; margin-bottom: 16px; } | |
| 256 | .flash-msg { background: var(--col-success-soft); color: var(--col-success); padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(34,197,94,.3); font-size: 13.5px; margin-bottom: 16px; } | |
| 257 | .info-msg { background: var(--col-primary-soft); color: var(--col-primary); padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(90,169,255,.3); font-size: 13.5px; margin-bottom: 16px; } | |
| 258 | ||
| 259 | /* ====== cards / panels ====== */ | |
| 260 | .card { | |
| 261 | background: | |
| 262 | linear-gradient(180deg, rgba(185,72,84,.05) 0%, transparent 40%), | |
| 263 | var(--col-surface); | |
| 264 | border: 1px solid rgba(185,72,84,.14); | |
| 265 | border-radius: var(--radius); | |
| 266 | padding: 18px; | |
| 267 | box-shadow: 0 1px 0 rgba(230,150,160,.06) inset, var(--shadow-sm); | |
| 268 | position: relative; | |
| 269 | transition: border-color var(--t-fast); | |
| 270 | } | |
| 271 | .card:hover { border-color: rgba(185,72,84,.28); } | |
| 272 | .card-header { | |
| 273 | display: flex; align-items: center; justify-content: space-between; | |
| 274 | padding-bottom: 14px; | |
| 275 | border-bottom: 1px solid var(--col-border); | |
| 276 | margin-bottom: 14px; | |
| 277 | } | |
| 278 | .card-header h2, .card-header h3 { margin: 0; position: relative; padding-left: 12px; color: #fff; } | |
| 279 | .card-header h2::before, .card-header h3::before { | |
| 280 | content: ''; | |
| 281 | position: absolute; | |
| 282 | left: 0; top: 4px; bottom: 4px; | |
| 283 | width: 3px; | |
| 284 | border-radius: 3px; | |
| 285 | background: linear-gradient(180deg, var(--col-brand-1), var(--col-brand-2)); | |
| 286 | box-shadow: 0 0 8px var(--col-brand-glow); | |
| 287 | } | |
| 288 | .panel { | |
| 289 | background: | |
| 290 | linear-gradient(180deg, rgba(185,72,84,.05) 0%, transparent 40%), | |
| 291 | var(--col-surface); | |
| 292 | border: 1px solid rgba(185,72,84,.14); | |
| 293 | border-radius: var(--radius); | |
| 294 | box-shadow: 0 1px 0 rgba(230,150,160,.06) inset; | |
| 295 | } | |
| 296 | ||
| 297 | /* ====== badges & chips ====== */ | |
| 298 | .badge { | |
| 299 | display: inline-flex; align-items: center; gap: 4px; | |
| 300 | padding: 2px 8px; | |
| 301 | border-radius: 5px; | |
| 302 | font-size: 11.5px; | |
| 303 | font-weight: 500; | |
| 304 | background: var(--col-bg-3); | |
| 305 | color: var(--col-text-muted); | |
| 306 | border: 1px solid var(--col-border-2); | |
| 307 | } | |
| 308 | .badge.primary { background: var(--col-primary-soft); color: var(--col-primary); border-color: rgba(90,169,255,.3); } | |
| 309 | .badge.success { background: var(--col-success-soft); color: var(--col-success); border-color: rgba(34,197,94,.3); } | |
| 310 | .badge.warn { background: var(--col-warn-soft); color: var(--col-warn); border-color: rgba(245,158,11,.3); } | |
| 311 | .badge.danger { background: var(--col-danger-soft); color: var(--col-danger); border-color: rgba(239,68,68,.3); } | |
| 312 | .badge.accent { background: var(--col-accent-soft); color: var(--col-accent); border-color: rgba(139,92,246,.3); } | |
| 313 | .badge.brand { | |
| 314 | background: linear-gradient(135deg, rgba(185,72,84,.18) 0%, rgba(230,150,160,.16) 100%); | |
| 315 | color: #c8f4fb; | |
| 316 | border-color: rgba(185,72,84,.45); | |
| 317 | box-shadow: 0 0 0 1px rgba(230,150,160,.12) inset; | |
| 318 | } | |
| 319 | ||
| 320 | .priority-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; } | |
| 321 | .priority-low { background: rgba(148,163,184,.15); color: var(--col-pri-low); } | |
| 322 | .priority-medium { background: rgba(90,169,255,.15); color: var(--col-pri-med); } | |
| 323 | .priority-high { background: rgba(245,158,11,.15); color: var(--col-pri-high); } | |
| 324 | .priority-urgent { background: rgba(249,115,22,.15); color: var(--col-pri-urgent); } | |
| 325 | .priority-critical { background: rgba(239,68,68,.15); color: var(--col-pri-crit); } | |
| 326 | ||
| 327 | /* ====== sidebar (in-app) ====== */ | |
| 328 | .app-shell { display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 100vh; } | |
| 329 | html.sidebar-collapsed .app-shell { grid-template-columns: var(--sidebar-collapsed-width) 1fr; } | |
| 330 | ||
| 331 | .sidebar { | |
| 332 | background: | |
| 333 | radial-gradient(ellipse 150% 50% at 0% 0%, rgba(185,72,84,.26) 0%, transparent 65%), | |
| 334 | radial-gradient(ellipse 130% 45% at 100% 30%, rgba(230,150,160,.12) 0%, transparent 60%), | |
| 335 | radial-gradient(ellipse 120% 45% at 20% 100%, rgba(185,72,84,.16) 0%, transparent 65%), | |
| 336 | linear-gradient(180deg, #1e0e10 0%, #160a0c 55%, #0e0a0c 100%); | |
| 337 | border-right: 1px solid rgba(185,72,84,.25); | |
| 338 | padding: 12px 12px 24px; | |
| 339 | overflow-y: auto; | |
| 340 | overflow-x: hidden; | |
| 341 | position: sticky; | |
| 342 | top: 0; | |
| 343 | height: 100vh; | |
| 344 | transition: width var(--t); | |
| 345 | box-shadow: 1px 0 26px rgba(185,72,84,.10); | |
| 346 | scrollbar-color: #b94854 transparent; | |
| 347 | scrollbar-width: thin; | |
| 348 | } | |
| 349 | .sidebar::-webkit-scrollbar { width: 10px; } | |
| 350 | .sidebar::-webkit-scrollbar-track { background: rgba(72,12,15,.35); } | |
| 351 | .sidebar::-webkit-scrollbar-thumb { | |
| 352 | background: linear-gradient(180deg, #b94854 0%, #7a2730 100%); | |
| 353 | border-radius: 8px; | |
| 354 | border: 2px solid transparent; | |
| 355 | background-clip: padding-box; | |
| 356 | } | |
| 357 | .sidebar::-webkit-scrollbar-thumb:hover { | |
| 358 | background: linear-gradient(180deg, #d05f6b 0%, #9a3340 100%); | |
| 359 | background-clip: padding-box; | |
| 360 | } | |
| 361 | ||
| 362 | /* Diagonal shimmer (sidebar-glisten) -- ambient brand-tinted band sweeps | |
| 363 | top-left -> bottom-right of the menu BG. Full recipe + bug list: | |
| 364 | [[feedback-sidebar-glisten-recipe]] in user auto-memory. */ | |
| 365 | .sidebar::before { | |
| 366 | content: ''; | |
| 367 | position: absolute; | |
| 368 | inset: 0; | |
| 369 | pointer-events: none; | |
| 370 | background: linear-gradient( | |
| 371 | 135deg, | |
| 372 | transparent 30%, | |
| 373 | rgba(255,170,180,0.07) 48%, | |
| 374 | rgba(255,200,210,0.11) 52%, | |
| 375 | transparent 70% | |
| 376 | ); | |
| 377 | background-size: 250% 250%; | |
| 378 | background-repeat: no-repeat; | |
| 379 | background-position: 150% 150%; | |
| 380 | animation: sidebar-glisten 14s linear infinite; | |
| 381 | z-index: 0; | |
| 382 | } | |
| 383 | .sidebar > * { position: relative; z-index: 1; } | |
| 384 | @keyframes sidebar-glisten { | |
| 385 | 0% { background-position: 150% 150%; } | |
| 386 | 55% { background-position: -150% -150%; } | |
| 387 | 100% { background-position: -150% -150%; } | |
| 388 | } | |
| 389 | @media (prefers-reduced-motion: reduce) { | |
| 390 | .sidebar::before { animation: none; opacity: 0; } | |
| 391 | } | |
| 392 | ||
| 393 | .sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 10px 6px 18px; border-bottom: 1px solid var(--col-border); margin-bottom: 14px; } | |
| 394 | .sidebar-brand .logo { width: 38px; height: 38px; border-radius: 10px; background: #2c0508; border: 1px solid #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; position: relative; box-shadow: 0 6px 20px rgba(220,38,38,0.40); } | |
| 395 | .sidebar-brand .logo::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(135deg, #dc2626 0%, #f87171 100%); filter: blur(12px); opacity: 0.32; z-index: -1; } | |
| 396 | .sidebar-brand .brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; } | |
| 397 | .sidebar-brand .brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 17px; color: var(--col-text); line-height: 1.1; } | |
| 398 | .sidebar-brand .brand-sub { | |
| 399 | font-family: var(--font-display); | |
| 400 | font-size: 9.5px; | |
| 401 | font-weight: 600; | |
| 402 | color: var(--col-text-dim); | |
| 403 | letter-spacing: .18em; | |
| 404 | text-transform: uppercase; | |
| 405 | margin-top: 6px; | |
| 406 | } | |
| 407 | html.sidebar-collapsed .sidebar-brand .brand-text { display: none; } | |
| 408 | ||
| 409 | .sidebar-section-label { font-size: 10.5px; text-transform: uppercase; color: var(--col-brand-2); opacity: .75; padding: 14px 10px 6px; letter-spacing: .12em; font-weight: 700; } | |
| 410 | html.sidebar-collapsed .sidebar-section-label { display: none; } | |
| 411 | ||
| 412 | .sidebar-link { | |
| 413 | display: flex; align-items: center; gap: 12px; | |
| 414 | padding: 8px 10px; | |
| 415 | border-radius: var(--radius-sm); | |
| 416 | color: var(--col-text-muted); | |
| 417 | text-decoration: none; | |
| 418 | font-size: 13.5px; | |
| 419 | margin-bottom: 1px; | |
| 420 | transition: background var(--t-fast), color var(--t-fast); | |
| 421 | white-space: nowrap; | |
| 422 | overflow: hidden; | |
| 423 | } | |
| 424 | .sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; } | |
| 425 | .sidebar-link:hover { background: var(--col-surface-3); color: var(--col-text); } | |
| 426 | .sidebar-link.active { | |
| 427 | background: linear-gradient(90deg, rgba(185,72,84,.28) 0%, rgba(230,150,160,.10) 70%, transparent 100%); | |
| 428 | color: #fff; | |
| 429 | position: relative; | |
| 430 | box-shadow: inset 0 0 0 1px rgba(185,72,84,.25); | |
| 431 | } | |
| 432 | .sidebar-link.active::before { | |
| 433 | content: ''; | |
| 434 | position: absolute; | |
| 435 | left: -12px; | |
| 436 | top: 7px; bottom: 7px; | |
| 437 | width: 3px; | |
| 438 | border-radius: 0 3px 3px 0; | |
| 439 | background: var(--col-brand-1); | |
| 440 | } | |
| 441 | .sidebar-link.active svg { color: currentColor; } | |
| 442 | html.sidebar-collapsed .sidebar-link span { display: none; } | |
| 443 | ||
| 444 | /* When collapsed, tighten left/right padding so 18px icons aren't clipped | |
| 445 | inside the 60px rail. Center the icon and re-anchor the active stripe. */ | |
| 446 | html.sidebar-collapsed .sidebar { padding-left: 6px; padding-right: 6px; } | |
| 447 | html.sidebar-collapsed .sidebar-link { padding-left: 0; padding-right: 0; justify-content: center; gap: 0; } | |
| 448 | html.sidebar-collapsed .sidebar-link.active::before { left: -6px; } | |
| 449 | html.sidebar-collapsed .sidebar-brand { padding-left: 0; padding-right: 0; justify-content: center; } | |
| 450 | ||
| 451 | /* ====== topbar ====== */ | |
| 452 | .topbar { | |
| 453 | background: | |
| 454 | linear-gradient(90deg, rgba(185,72,84,.10) 0%, rgba(230,150,160,.04) 40%, rgba(12,16,24,.72) 100%), | |
| 455 | rgba(12,16,24,.72); | |
| 456 | border-bottom: 1px solid rgba(185,72,84,.22); | |
| 457 | height: var(--topbar-height); | |
| 458 | display: flex; align-items: center; | |
| 459 | padding: 0 20px; | |
| 460 | gap: 14px; | |
| 461 | position: sticky; | |
| 462 | top: 0; | |
| 463 | z-index: 50; | |
| 464 | box-shadow: 0 8px 24px rgba(185,72,84,.04); | |
| 465 | } | |
| 466 | .topbar-search:focus-within { | |
| 467 | border-color: var(--col-brand-1); | |
| 468 | box-shadow: 0 0 0 3px rgba(185,72,84,.16), 0 0 14px rgba(230,150,160,.18); | |
| 469 | } | |
| 470 | /* (topbar-title gradient defined below near .page-header) */ | |
| 471 | .topbar-spacer { flex: 1; } | |
| 472 | .topbar-search { display: flex; align-items: center; gap: 8px; background: var(--col-bg-2); border: 1px solid var(--col-border); padding: 6px 12px; border-radius: var(--radius-sm); width: 320px; max-width: 100%; transition: border-color var(--t-fast), box-shadow var(--t-fast); } | |
| 473 | .topbar-search input { flex: 1; background: transparent; border: 0; outline: none; color: var(--col-text); font-size: 13px; } | |
| 474 | .topbar-search svg { width: 14px; height: 14px; color: var(--col-text-dim); } | |
| 475 | .topbar-actions { display: flex; align-items: center; gap: 8px; } | |
| 476 | .topbar-iconbtn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-sm); color: var(--col-text-muted); background: transparent; border: 1px solid transparent; cursor: pointer; position: relative; transition: border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); } | |
| 477 | .topbar-iconbtn:hover { background: transparent; color: var(--col-text); border-color: var(--col-brand-2); box-shadow: 0 0 8px rgba(185,72,84,.35); } | |
| 478 | .topbar-iconbtn svg { width: 18px; height: 18px; } | |
| 479 | .topbar-iconbtn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--col-danger); border: 2px solid var(--col-bg-1); } | |
| 480 | ||
| 481 | /* ====== topbar pills (Chat / Messages / Help) ====== */ | |
| 482 | .topbar-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; height: 34px; border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(90,169,255,0.10), rgba(90,169,255,0.04)); border: 1px solid rgba(90,169,255,0.25); color: var(--col-text); font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); position: relative; } | |
| 483 | .topbar-pill:hover { color: #fff; border-color: rgba(90,169,255,0.65); background: linear-gradient(180deg, rgba(90,169,255,0.18), rgba(90,169,255,0.08)); box-shadow: 0 0 0 3px rgba(90,169,255,0.10); } | |
| 484 | .topbar-pill svg { width: 14px; height: 14px; color: #5aa9ff; } | |
| 485 | .topbar-pill.tp-active { color: #fff; border-color: rgba(90,169,255,0.6); background: rgba(90,169,255,0.10); } | |
| 486 | .topbar-pill .tp-badge { background: var(--col-danger, #b94854); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; min-width: 16px; text-align: center; line-height: 1.35; } | |
| 487 | .topbar-pill .tp-chev { opacity: 0.7; margin-left: 1px; } | |
| 488 | button.topbar-pill { font-family: inherit; } | |
| 489 | ||
| 490 | /* Attention-grabbing pulse for the admin Support-queue pill when there are | |
| 491 | unread admin threads. Border + glow ripple so the admin sees it the moment | |
| 492 | they hit any page. Stays subtle when nothing's pending (no class applied). */ | |
| 493 | .topbar-pill.tp-attention { | |
| 494 | color: #fff; | |
| 495 | border-color: rgba(255, 110, 130, 0.7); | |
| 496 | background: rgba(185, 72, 84, 0.18); | |
| 497 | animation: tp-attention-pulse 1.6s ease-in-out infinite; | |
| 498 | position: relative; | |
| 499 | } | |
| 500 | .topbar-pill.tp-attention:hover { | |
| 501 | border-color: rgba(255, 110, 130, 0.95); | |
| 502 | background: rgba(185, 72, 84, 0.28); | |
| 503 | } | |
| 504 | .topbar-pill.tp-attention .tp-badge { | |
| 505 | background: #ef4444; | |
| 506 | box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); | |
| 507 | animation: tp-attention-dot 1.6s ease-in-out infinite; | |
| 508 | } | |
| 509 | .topbar-pill .tp-pulse-dot { | |
| 510 | position: absolute; | |
| 511 | top: 6px; right: 6px; | |
| 512 | width: 8px; height: 8px; | |
| 513 | border-radius: 50%; | |
| 514 | background: #ef4444; | |
| 515 | box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75); | |
| 516 | animation: tp-attention-dot 1.6s ease-in-out infinite; | |
| 517 | } | |
| 518 | @keyframes tp-attention-pulse { | |
| 519 | 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.0); } | |
| 520 | 50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18); } | |
| 521 | } | |
| 522 | @keyframes tp-attention-dot { | |
| 523 | 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.60); } | |
| 524 | 50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.00); } | |
| 525 | } | |
| 526 | ||
| 527 | /* Help dropdown */ | |
| 528 | .topbar-help-menu { position: relative; } | |
| 529 | .topbar-help-menu .topbar-help-dropdown { | |
| 530 | display: none; position: absolute; right: 0; top: calc(100% + 6px); | |
| 531 | min-width: 260px; background: var(--col-bg-2, #161b22); | |
| 532 | border: 1px solid var(--col-border); border-radius: var(--radius-md, 8px); | |
| 533 | box-shadow: 0 12px 28px rgba(0,0,0,0.45); padding: 4px 0; z-index: 1000; | |
| 534 | } | |
| 535 | /* Invisible bridge — covers the 6px gap between the trigger button and the | |
| 536 | dropdown so mouse-out doesn't fire before the cursor reaches the menu. | |
| 537 | Hovering the bridge still hovers the dropdown's parent, so the menu | |
| 538 | stays open while the cursor crosses. */ | |
| 539 | .topbar-help-menu .topbar-help-dropdown::before { | |
| 540 | content: ''; position: absolute; | |
| 541 | top: -10px; left: 0; right: 0; height: 10px; | |
| 542 | } | |
| 543 | .topbar-help-menu:hover .topbar-help-dropdown, | |
| 544 | .topbar-help-menu:focus-within .topbar-help-dropdown { display: block; } | |
| 545 | .topbar-help-dropdown .thd-section { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--col-text-dim); padding: 12px 16px 6px; } | |
| 546 | .topbar-help-dropdown a { | |
| 547 | display: flex; align-items: center; gap: 9px; | |
| 548 | padding: 9px 16px; font-size: 13px; font-weight: 500; | |
| 549 | color: var(--col-text); text-decoration: none; | |
| 550 | transition: background var(--t-fast), color var(--t-fast); | |
| 551 | } | |
| 552 | .topbar-help-dropdown a svg { opacity: 0.8; } | |
| 553 | .topbar-help-dropdown a:hover { background: rgba(90,169,255,0.08); color: var(--col-accent, #5aa9ff); } | |
| 554 | .topbar-help-dropdown a.thd-primary { color: var(--col-accent, #5aa9ff); } | |
| 555 | .topbar-help-dropdown a .thd-badge { margin-left: auto; background: var(--col-danger); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; } | |
| 556 | ||
| 557 | /* ====== avatar / profile dropdown ====== */ | |
| 558 | .avatar { | |
| 559 | width: 32px; height: 32px; | |
| 560 | border-radius: 50%; | |
| 561 | background: var(--col-primary); | |
| 562 | display: grid; place-items: center; | |
| 563 | font-size: 12px; font-weight: 600; color: #fff; | |
| 564 | text-transform: uppercase; | |
| 565 | } | |
| 566 | .avatar-sm { width: 24px; height: 24px; font-size: 10px; } | |
| 567 | .avatar-lg { width: 44px; height: 44px; font-size: 16px; } | |
| 568 | .avatar-xl { width: 64px; height: 64px; font-size: 22px; } | |
| 569 | ||
| 570 | .profile-btn { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 4px 6px; border-radius: var(--radius-sm); cursor: pointer; color: var(--col-text); } | |
| 571 | .profile-btn:hover { background: var(--col-surface-3); } | |
| 572 | ||
| 573 | .profile-dropdown { position: relative; } | |
| 574 | .profile-dropdown-menu { | |
| 575 | position: absolute; right: 0; top: calc(100% + 6px); | |
| 576 | background: | |
| 577 | radial-gradient(220px 140px at 100% 0%, rgba(230,150,160,.10) 0%, transparent 70%), | |
| 578 | radial-gradient(220px 160px at 0% 100%, rgba(185,72,84,.08) 0%, transparent 70%), | |
| 579 | var(--col-surface); | |
| 580 | border: 1px solid var(--col-border); | |
| 581 | border-top: 1px solid transparent; | |
| 582 | border-radius: var(--radius); | |
| 583 | min-width: 240px; | |
| 584 | box-shadow: var(--shadow-lg), 0 0 0 1px rgba(185,72,84,.10); | |
| 585 | padding: 6px; | |
| 586 | display: none; | |
| 587 | z-index: 100; | |
| 588 | position: absolute; | |
| 589 | background-clip: padding-box; | |
| 590 | max-height: calc(100vh - 90px); | |
| 591 | overflow-y: auto; | |
| 592 | } | |
| 593 | .profile-dropdown-menu::before { | |
| 594 | content: ''; | |
| 595 | position: absolute; | |
| 596 | left: 10px; right: 10px; top: -1px; | |
| 597 | height: 2px; | |
| 598 | border-radius: 2px; | |
| 599 | background: var(--grad-brand-h); | |
| 600 | opacity: .7; | |
| 601 | } | |
| 602 | .profile-dropdown-menu.open { display: block; } | |
| 603 | .profile-dropdown-menu a { | |
| 604 | display: flex; align-items: center; gap: 10px; | |
| 605 | padding: 8px 10px; | |
| 606 | color: var(--col-text); | |
| 607 | text-decoration: none; | |
| 608 | border-radius: 5px; | |
| 609 | font-size: 13px; | |
| 610 | } | |
| 611 | .profile-dropdown-menu a:hover { background: var(--col-surface-3); } | |
| 612 | .profile-dropdown-menu a.profile-admin { color: #f97316; } | |
| 613 | .profile-dropdown-section { padding: 8px 10px 4px; font-size: 10.5px; text-transform: uppercase; color: var(--col-text-dim); letter-spacing: .08em; font-weight: 600; } | |
| 614 | .profile-dropdown-divider { height: 1px; background: var(--col-border); margin: 4px 0; } | |
| 615 | .profile-dropdown-icon { width: 16px; height: 16px; color: var(--col-text-muted); } | |
| 616 | ||
| 617 | /* ====== main area ====== */ | |
| 618 | .app-main { display: flex; flex-direction: column; min-width: 0; } | |
| 619 | .app-content { padding: 24px; flex: 1; min-width: 0; } | |
| 620 | ||
| 621 | .page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; } | |
| 622 | .page-header h1 { | |
| 623 | margin: 0; | |
| 624 | background: linear-gradient(135deg, #fff 0%, #fff 35%, var(--col-brand-2) 75%, var(--col-brand-1) 100%); | |
| 625 | -webkit-background-clip: text; | |
| 626 | background-clip: text; | |
| 627 | -webkit-text-fill-color: transparent; | |
| 628 | letter-spacing: -.01em; | |
| 629 | } | |
| 630 | .page-header .subtitle { color: var(--col-text-muted); font-size: 13.5px; margin: 4px 0 0; } | |
| 631 | .topbar-title { | |
| 632 | font-family: var(--font-display); font-weight: 700; font-size: 16px; | |
| 633 | background: linear-gradient(135deg, #fff 0%, var(--col-brand-2) 100%); | |
| 634 | -webkit-background-clip: text; | |
| 635 | background-clip: text; | |
| 636 | -webkit-text-fill-color: transparent; | |
| 637 | } | |
| 638 | ||
| 639 | .crumbs { font-size: 12.5px; color: var(--col-text-dim); margin-bottom: 4px; } | |
| 640 | .crumbs a { color: var(--col-text-dim); } | |
| 641 | .crumbs a:hover { color: var(--col-text); } | |
| 642 | .crumbs .sep { margin: 0 6px; } | |
| 643 | ||
| 644 | /* ====== KPI tiles ====== */ | |
| 645 | .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; } | |
| 646 | .kpi { | |
| 647 | background: | |
| 648 | linear-gradient(140deg, rgba(185,72,84,.10) 0%, transparent 55%), | |
| 649 | var(--col-surface); | |
| 650 | border: 1px solid rgba(185,72,84,.22); | |
| 651 | border-radius: var(--radius); | |
| 652 | padding: 16px 18px; | |
| 653 | position: relative; | |
| 654 | overflow: hidden; | |
| 655 | box-shadow: 0 8px 24px rgba(185,72,84,.06); | |
| 656 | transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); | |
| 657 | } | |
| 658 | .kpi:hover { | |
| 659 | border-color: rgba(185,72,84,.45); | |
| 660 | box-shadow: 0 10px 30px rgba(185,72,84,.12); | |
| 661 | transform: translateY(-1px); | |
| 662 | } | |
| 663 | .kpi::before { | |
| 664 | content: ''; | |
| 665 | position: absolute; left: 0; top: 0; bottom: 0; width: 3px; | |
| 666 | background: var(--grad-brand); | |
| 667 | } | |
| 668 | .kpi.success::before { background: var(--col-success); } | |
| 669 | .kpi.warn::before { background: var(--col-warn); } | |
| 670 | .kpi.danger::before { background: var(--col-danger); } | |
| 671 | .kpi.accent::before { background: var(--grad-brand); } | |
| 672 | .kpi.brand::before { background: var(--grad-brand); } | |
| 673 | .kpi-label { font-size: 11.5px; text-transform: uppercase; color: var(--col-text-muted); letter-spacing: .06em; font-weight: 500; } | |
| 674 | .kpi-value { | |
| 675 | font-size: 26px; font-weight: 700; margin: 6px 0 4px; font-family: var(--font-display); | |
| 676 | background: linear-gradient(135deg, #fff 0%, var(--col-brand-2) 130%); | |
| 677 | -webkit-background-clip: text; | |
| 678 | background-clip: text; | |
| 679 | -webkit-text-fill-color: transparent; | |
| 680 | } | |
| 681 | .kpi-delta { font-size: 12px; color: var(--col-text-dim); display: flex; align-items: center; gap: 4px; } | |
| 682 | .kpi-delta.up { color: var(--col-success); } | |
| 683 | .kpi-delta.down { color: var(--col-danger); } | |
| 684 | ||
| 685 | /* ====== tables ====== */ | |
| 686 | .table { width: 100%; border-collapse: collapse; } | |
| 687 | .table th, .table td { | |
| 688 | padding: 10px 14px; | |
| 689 | text-align: left; | |
| 690 | border-bottom: 1px solid var(--col-border); | |
| 691 | font-size: 13.5px; | |
| 692 | } | |
| 693 | .table th { | |
| 694 | color: var(--col-brand-2); | |
| 695 | font-weight: 600; | |
| 696 | font-size: 12px; | |
| 697 | text-transform: uppercase; | |
| 698 | letter-spacing: .06em; | |
| 699 | background: linear-gradient(180deg, rgba(185,72,84,.06) 0%, rgba(230,150,160,.04) 100%), var(--col-bg-1); | |
| 700 | border-bottom-color: rgba(185,72,84,.22); | |
| 701 | } | |
| 702 | .table tbody tr:hover { background: rgba(185,72,84,.05); } | |
| 703 | .table tbody tr.clickable { cursor: pointer; } | |
| 704 | ||
| 705 | /* ====== sectioned layouts (auth + simple panels) ====== */ | |
| 706 | .auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--col-bg-0); } | |
| 707 | .auth-side { | |
| 708 | background: linear-gradient(135deg, var(--col-bg-1) 0%, var(--col-surface) 50%, var(--col-bg-2) 100%); | |
| 709 | padding: 56px 48px; | |
| 710 | display: flex; flex-direction: column; justify-content: flex-start; gap: 32px; | |
| 711 | border-right: 1px solid var(--col-border); | |
| 712 | position: relative; overflow: hidden; | |
| 713 | } | |
| 714 | .auth-side::after { | |
| 715 | content: ''; | |
| 716 | position: absolute; right: -120px; bottom: -120px; | |
| 717 | width: 400px; height: 400px; | |
| 718 | background: | |
| 719 | radial-gradient(circle at 35% 40%, rgba(185,72,84,.22) 0%, transparent 55%), | |
| 720 | radial-gradient(circle at 65% 60%, rgba(230,150,160,.18) 0%, transparent 60%); | |
| 721 | pointer-events: none; | |
| 722 | } | |
| 723 | .auth-side .brand { display: flex; align-items: center; gap: 12px; } | |
| 724 | .auth-side .brand .logo { width: 38px; height: 38px; border-radius: 10px; background: #2c0508; border: 1px solid #fff; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 18px; box-shadow: 0 8px 26px var(--col-brand-glow); } | |
| 725 | .auth-side .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; } | |
| 726 | .auth-headline { max-width: 480px; } | |
| 727 | .auth-headline h1 { font-size: 38px; line-height: 1.15; margin-bottom: 12px; } | |
| 728 | .auth-headline p { font-size: 16px; color: var(--col-text-muted); line-height: 1.55; } | |
| 729 | .auth-quote { font-size: 13.5px; color: var(--col-text-muted); border-left: 2px solid var(--col-brand-1); padding-left: 14px; } | |
| 730 | ||
| 731 | .auth-form-wrap { padding: 56px 48px; display: flex; align-items: center; justify-content: center; } | |
| 732 | .auth-form-inner { width: 100%; max-width: 380px; } | |
| 733 | .auth-form-inner h2 { font-size: 22px; margin-bottom: 6px; } | |
| 734 | .auth-form-inner > p { color: var(--col-text-muted); margin-bottom: 28px; } | |
| 735 | .auth-form-inner .form-footer { margin-top: 18px; text-align: center; font-size: 13px; color: var(--col-text-muted); } | |
| 736 | ||
| 737 | @media (max-width: 880px) { | |
| 738 | .auth-shell { grid-template-columns: 1fr; } | |
| 739 | .auth-side { display: none; } | |
| 740 | } | |
| 741 | ||
| 742 | /* ====== marketing pages ====== */ | |
| 743 | .marketing-nav { display: flex; align-items: center; padding: 18px 32px; gap: 24px; max-width: 1200px; margin: 0; } | |
| 744 | .marketing-nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; } | |
| 745 | .marketing-nav .brand .logo { width: 38px; height: 38px; border-radius: 10px; background: #2c0508; border: 1px solid #fff; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 18px; position: relative; box-shadow: 0 6px 20px rgba(220,38,38,0.40); } | |
| 746 | .marketing-nav .brand .logo::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(135deg, #dc2626 0%, #f87171 100%); filter: blur(12px); opacity: 0.32; z-index: -1; } | |
| 747 | .marketing-nav .brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--col-text); } | |
| 748 | .marketing-nav .nav-links { display: flex; gap: 18px; margin-left: 30px; } | |
| 749 | .marketing-nav .nav-links a { color: var(--col-text-muted); font-size: 14px; } | |
| 750 | .marketing-nav .nav-links a:hover { color: var(--col-text); } | |
| 751 | .marketing-nav .spacer { flex: 1; } | |
| 752 | .marketing-nav .actions { display: flex; gap: 10px; align-items: center; } | |
| 753 | ||
| 754 | .hero { | |
| 755 | position: relative; | |
| 756 | padding: 80px 32px 100px; | |
| 757 | text-align: center; | |
| 758 | overflow: hidden; | |
| 759 | } | |
| 760 | .hero::before { | |
| 761 | content: ''; | |
| 762 | position: absolute; inset: 0; | |
| 763 | background: | |
| 764 | radial-gradient(circle at 22% 18%, rgba(185,72,84,.22) 0%, transparent 42%), | |
| 765 | radial-gradient(circle at 78% 78%, rgba(230,150,160,.20) 0%, transparent 48%), | |
| 766 | radial-gradient(circle at 50% 50%, rgba(90,169,255,.08) 0%, transparent 60%); | |
| 767 | pointer-events: none; | |
| 768 | } | |
| 769 | .hero-inner { max-width: 880px; margin: 0 auto; position: relative; } | |
| 770 | .hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; } | |
| 771 | .hero h1 .grad { background: linear-gradient(90deg, #c95560 0%, #5e1c25 50%, #c95560 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } | |
| 772 | .hero p.lead { font-size: 19px; color: var(--col-text-muted); max-width: 640px; margin: 0 auto 28px; } | |
| 773 | .hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } | |
| 774 | .hero .trust-bar { margin-top: 56px; color: var(--col-text-dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; } | |
| 775 | ||
| 776 | .section { padding: 56px 32px; max-width: 1720px; margin: 0 auto; } | |
| 777 | .section h2 { font-size: 36px; text-align: center; margin-bottom: 12px; } | |
| 778 | .section .section-lead { text-align: center; font-size: 17px; color: var(--col-text-muted); margin-bottom: 36px; max-width: 660px; margin-left: auto; margin-right: auto; } | |
| 779 | ||
| 780 | .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; } | |
| 781 | .feature { | |
| 782 | background: var(--col-surface); | |
| 783 | border: 1px solid var(--col-border); | |
| 784 | border-radius: var(--radius-lg); | |
| 785 | padding: 28px; | |
| 786 | transition: transform var(--t), border-color var(--t); | |
| 787 | } | |
| 788 | .feature:hover { transform: translateY(-2px); border-color: rgba(185,72,84,.45); box-shadow: 0 10px 30px rgba(185,72,84,.12); } | |
| 789 | .feature .icon { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, rgba(230,150,160,.32), rgba(185,72,84,.20)); color: #ffb8c0; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 0 16px rgba(230,150,160,.35); } | |
| 790 | .feature .icon svg { width: 22px; height: 22px; } | |
| 791 | .feature h3 { font-size: 17px; margin-bottom: 8px; } | |
| 792 | .feature p { font-size: 14px; color: var(--col-text-muted); } | |
| 793 | ||
| 794 | /* pricing cards */ | |
| 795 | .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 18px; max-width: 1720px; margin: 0 auto; } | |
| 796 | .pricing-card { | |
| 797 | background: var(--col-surface); | |
| 798 | border: 1px solid var(--col-border); | |
| 799 | border-radius: var(--radius-lg); | |
| 800 | padding: 28px 24px; | |
| 801 | position: relative; | |
| 802 | display: flex; flex-direction: column; | |
| 803 | } | |
| 804 | .pricing-card.featured { border-color: rgba(185,72,84,.55); box-shadow: 0 12px 40px rgba(185,72,84,.20), 0 0 0 1px rgba(230,150,160,.20); transform: translateY(-4px); } | |
| 805 | .pricing-card .featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 4px 14px var(--col-brand-glow); } | |
| 806 | .pricing-card .discount-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 4px 14px rgba(34,197,94,.35); } | |
| 807 | .pricing-card .price-original { text-decoration: line-through; color: var(--col-text-dim); font-size: 18px; font-weight: 600; margin-bottom: 2px; } | |
| 808 | .pricing-card .discount-label { font-size: 12px; color: #22c55e; font-weight: 600; margin-top: 4px; margin-bottom: 6px; } | |
| 809 | .pricing-card .feature-extras { margin-top: -8px; margin-bottom: 12px; } | |
| 810 | .pricing-card .feature-extras > summary { cursor: pointer; list-style: none; color: var(--col-text-muted); font-size: 12.5px; padding: 6px 0; user-select: none; display: inline-flex; align-items: center; gap: 4px; } | |
| 811 | .pricing-card .feature-extras > summary::-webkit-details-marker { display: none; } | |
| 812 | .pricing-card .feature-extras > summary::before { content: '\25B8'; display: inline-block; transition: transform .15s ease; font-size: 10px; } | |
| 813 | .pricing-card .feature-extras[open] > summary::before { transform: rotate(90deg); } | |
| 814 | .pricing-card .feature-extras > summary:hover { color: var(--col-text); } | |
| 815 | .pricing-card .feature-extras > ul { margin-top: 4px; } | |
| 816 | .pricing-card h3 { font-size: 17px; } | |
| 817 | .pricing-card .price { font-size: 38px; font-weight: 700; margin: 14px 0 2px; font-family: var(--font-display); } | |
| 818 | .pricing-card .price small { font-size: 14px; font-weight: 400; color: var(--col-text-muted); } | |
| 819 | .pricing-card .tagline { color: var(--col-text-muted); font-size: 13px; margin-bottom: 18px; min-height: 2.4em; } | |
| 820 | .pricing-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; } | |
| 821 | .pricing-card li { font-size: 13.5px; padding: 6px 0; display: flex; align-items: start; gap: 8px; color: var(--col-text-muted); } | |
| 822 | .pricing-card li.included { color: var(--col-text); } | |
| 823 | .pricing-card li::before { | |
| 824 | content: ''; | |
| 825 | width: 14px; height: 14px; | |
| 826 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>"); | |
| 827 | background-repeat: no-repeat; | |
| 828 | background-position: center; | |
| 829 | background-size: contain; | |
| 830 | flex-shrink: 0; | |
| 831 | margin-top: 3px; | |
| 832 | } | |
| 833 | .pricing-card li:not(.included)::before { | |
| 834 | background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395a0b3' stroke-width='2'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>"); | |
| 835 | opacity: .5; | |
| 836 | } | |
| 837 | ||
| 838 | footer.site-footer { | |
| 839 | padding: 40px 32px; | |
| 840 | border-top: 1px solid var(--col-border); | |
| 841 | color: var(--col-text-dim); | |
| 842 | font-size: 13px; | |
| 843 | text-align: center; | |
| 844 | } | |
| 845 | footer.site-footer a { color: var(--col-text-muted); } | |
| 846 | ||
| 847 | /* ====== impersonation banner ====== */ | |
| 848 | .impersonation-banner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; background: var(--col-warn); color: #1a1303; font-size: 13px; font-weight: 600; } | |
| 849 | .impersonation-banner-msg { display: flex; align-items: center; gap: 8px; } | |
| 850 | .impersonation-banner-stop { background: rgba(0,0,0,.2); color: #1a1303; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; } | |
| 851 | .impersonation-banner-stop:hover { background: rgba(0,0,0,.3); } | |
| 852 | ||
| 853 | /* ====== trial banner ====== */ | |
| 854 | .trial-banner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 13px; } | |
| 855 | .trial-banner a { font-weight: 600; text-decoration: underline; } | |
| 856 | .trial-banner-gentle { background: linear-gradient(135deg, rgba(90,169,255,.14), rgba(90,169,255,.06)); border: 1px solid rgba(90,169,255,.30); color: #c7dbf0; } | |
| 857 | .trial-banner-gentle a { color: #5aa9ff; } | |
| 858 | .trial-banner-amber { background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(245,158,11,.06)); border: 1px solid rgba(245,158,11,.40); color: #fbd38d; } | |
| 859 | .trial-banner-amber a { color: #fbbf24; } | |
| 860 | .trial-banner-red { background: linear-gradient(135deg, rgba(239,68,68,.18), rgba(239,68,68,.07)); border: 1px solid rgba(239,68,68,.45); color: #fca5a5; } | |
| 861 | .trial-banner-red a { color: #f87171; } | |
| 862 | ||
| 863 | /* ====== kanban board ====== */ | |
| 864 | .kanban-board { display: flex; gap: 14px; padding: 8px; overflow-x: auto; min-height: calc(100vh - 200px); } | |
| 865 | .kanban-column { | |
| 866 | flex: 0 0 300px; | |
| 867 | background: var(--col-bg-1); | |
| 868 | border: 1px solid var(--col-border); | |
| 869 | border-radius: var(--radius); | |
| 870 | display: flex; flex-direction: column; | |
| 871 | max-height: calc(100vh - 200px); | |
| 872 | } | |
| 873 | .kanban-column-header { padding: 12px 14px; border-bottom: 1px solid var(--col-border); display: flex; align-items: center; gap: 8px; } | |
| 874 | .kanban-column-header .dot { width: 9px; height: 9px; border-radius: 50%; } | |
| 875 | .kanban-column-header .title { font-weight: 600; font-size: 13.5px; flex: 1; } | |
| 876 | .kanban-column-header .count { font-size: 11.5px; color: var(--col-text-dim); background: var(--col-bg-3); padding: 2px 7px; border-radius: 999px; } | |
| 877 | .kanban-column-body { padding: 10px; overflow-y: auto; flex: 1; min-height: 60px; } | |
| 878 | .kanban-column.drag-over { background: var(--col-surface-3); border-color: var(--col-brand-1); box-shadow: 0 0 0 3px rgba(185,72,84,.18); } | |
| 879 | ||
| 880 | .kanban-card { | |
| 881 | background: var(--col-surface); | |
| 882 | border: 1px solid var(--col-border); | |
| 883 | border-left: 3px solid var(--col-primary); | |
| 884 | border-radius: 8px; | |
| 885 | padding: 10px 12px; | |
| 886 | margin-bottom: 8px; | |
| 887 | cursor: grab; | |
| 888 | transition: transform var(--t-fast), box-shadow var(--t-fast); | |
| 889 | user-select: none; | |
| 890 | -webkit-user-select: none; | |
| 891 | /* Kill the iOS long-press callout (Copy / Share / Save) AND the Android | |
| 892 | text-selection menu. Without this, a long-press on a kanban card pops | |
| 893 | the native context menu instead of arming our drag. */ | |
| 894 | -webkit-touch-callout: none; | |
| 895 | /* Prevent iOS Safari from activating its system drag-and-drop on | |
| 896 | long-press (which shows its own Download/Share/Print context menu). | |
| 897 | Belt-and-suspenders: also remove `draggable` from the template HTML. */ | |
| 898 | -webkit-user-drag: none; | |
| 899 | } | |
| 900 | .kanban-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); } | |
| 901 | .kanban-card.dragging { opacity: .5; cursor: grabbing; } | |
| 902 | /* Long-press pickup cue on touch -- card lifts slightly + glows before the | |
| 903 | user starts moving, so they know the drag is "armed". */ | |
| 904 | .kanban-card.kanban-card-armed { | |
| 905 | transform: scale(1.04); | |
| 906 | box-shadow: 0 8px 24px rgba(185,72,84,.45), 0 0 0 1px rgba(185,72,84,.55); | |
| 907 | } | |
| 908 | .kanban-card .ticket { font-size: 10.5px; color: var(--col-text-dim); font-family: var(--font-mono); font-weight: 600; letter-spacing: .03em; } | |
| 909 | .kanban-card .title { font-size: 13.5px; margin: 4px 0 8px; line-height: 1.35; color: var(--col-text); } | |
| 910 | .kanban-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--col-text-dim); } | |
| 911 | .kanban-card .labels { display: flex; gap: 4px; } | |
| 912 | .kanban-card .label-pill { font-size: 10px; padding: 1px 6px; border-radius: 4px; } | |
| 913 | .kanban-add-task { display: flex; align-items: center; gap: 6px; padding: 8px 10px; color: var(--col-text-dim); cursor: pointer; border-radius: 6px; font-size: 13px; } | |
| 914 | .kanban-add-task:hover { background: var(--col-surface-3); color: var(--col-text); } | |
| 915 | ||
| 916 | /* ====== gantt chart ====== */ | |
| 917 | .gantt-wrap { background: var(--col-surface); border: 1px solid var(--col-border); border-radius: var(--radius); overflow: hidden; } | |
| 918 | .gantt-toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--col-border); background: var(--col-bg-1); } | |
| 919 | .gantt-scroll { overflow: auto; max-height: calc(100vh - 240px); } | |
| 920 | .gantt-table { display: grid; min-width: 100%; } | |
| 921 | .gantt-row { display: contents; } | |
| 922 | .gantt-cell { border-bottom: 1px solid var(--col-border); padding: 6px 10px; font-size: 13px; min-height: 32px; box-sizing: border-box; } | |
| 923 | .gantt-cell.head { background: var(--col-bg-1); position: sticky; top: 0; z-index: 2; font-size: 11px; text-transform: uppercase; color: var(--col-text-muted); } | |
| 924 | .gantt-task-label { font-weight: 500; } | |
| 925 | .gantt-bar-area { position: relative; overflow: hidden; padding: 0 !important; min-height: 32px; } | |
| 926 | .gantt-bar { | |
| 927 | position: absolute; top: 6px; height: 20px; | |
| 928 | background: linear-gradient(90deg, var(--col-primary) 0%, var(--col-primary-2) 100%); | |
| 929 | border-radius: 5px; | |
| 930 | color: #fff; | |
| 931 | font-size: 11px; | |
| 932 | padding: 2px 7px; | |
| 933 | cursor: pointer; | |
| 934 | box-shadow: 0 1px 3px rgba(0,0,0,.3); | |
| 935 | white-space: nowrap; | |
| 936 | overflow: hidden; | |
| 937 | text-overflow: ellipsis; | |
| 938 | } | |
| 939 | .gantt-bar:hover { transform: translateY(-1px); } | |
| 940 | .gantt-bar-overdue { | |
| 941 | position: absolute; top: 6px; height: 20px; | |
| 942 | border-radius: 5px; | |
| 943 | pointer-events: none; | |
| 944 | background: repeating-linear-gradient(45deg, | |
| 945 | rgba(220, 38, 38, 0.28) 0, | |
| 946 | rgba(220, 38, 38, 0.28) 6px, | |
| 947 | rgba(239, 68, 68, 0.45) 6px, | |
| 948 | rgba(239, 68, 68, 0.45) 12px); | |
| 949 | border: 1px solid rgba(239, 68, 68, 0.55); | |
| 950 | box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset; | |
| 951 | } | |
| 952 | .gantt-bar-overdue::after { | |
| 953 | content: ''; | |
| 954 | position: absolute; | |
| 955 | top: 50%; left: 6px; transform: translateY(-50%); | |
| 956 | width: 6px; height: 6px; | |
| 957 | border-radius: 50%; | |
| 958 | background: var(--col-danger); | |
| 959 | box-shadow: 0 0 6px rgba(239,68,68,.7); | |
| 960 | animation: tf-overdue-pulse 1.8s ease-in-out infinite; | |
| 961 | } | |
| 962 | @keyframes tf-overdue-pulse { | |
| 963 | 0%, 100% { opacity: .55; transform: translateY(-50%) scale(.85); } | |
| 964 | 50% { opacity: 1; transform: translateY(-50%) scale(1.15); } | |
| 965 | } | |
| 966 | ||
| 967 | /* Same style for the company-level Gantt overview project bars */ | |
| 968 | .gantt-ov-overdue { | |
| 969 | position: absolute; top: 9px; height: 26px; | |
| 970 | border-radius: 6px; | |
| 971 | pointer-events: none; | |
| 972 | background: repeating-linear-gradient(45deg, | |
| 973 | rgba(220, 38, 38, 0.28) 0, | |
| 974 | rgba(220, 38, 38, 0.28) 6px, | |
| 975 | rgba(239, 68, 68, 0.45) 6px, | |
| 976 | rgba(239, 68, 68, 0.45) 12px); | |
| 977 | border: 1px solid rgba(239, 68, 68, 0.55); | |
| 978 | } | |
| 979 | .gantt-ov-overdue::after { | |
| 980 | content: ''; | |
| 981 | position: absolute; | |
| 982 | top: 50%; left: 7px; transform: translateY(-50%); | |
| 983 | width: 7px; height: 7px; | |
| 984 | border-radius: 50%; | |
| 985 | background: var(--col-danger); | |
| 986 | box-shadow: 0 0 7px rgba(239,68,68,.7); | |
| 987 | animation: tf-overdue-pulse 1.8s ease-in-out infinite; | |
| 988 | } | |
| 989 | .gantt-grid-vline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--col-border); } | |
| 990 | .gantt-today-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--col-warn); z-index: 1; } | |
| 991 | .gantt-dep-line { position: absolute; pointer-events: none; } | |
| 992 | ||
| 993 | /* ====== modal ====== */ | |
| 994 | .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; } | |
| 995 | .modal-backdrop.open { display: flex; } | |
| 996 | .modal { | |
| 997 | background: | |
| 998 | radial-gradient(420px 280px at 100% 0%, rgba(230,150,160,.10) 0%, transparent 60%), | |
| 999 | radial-gradient(420px 280px at 0% 100%, rgba(185,72,84,.08) 0%, transparent 60%), | |
| 1000 | var(--col-surface); | |
| 1001 | border: 1px solid var(--col-border); | |
| 1002 | border-radius: var(--radius-lg); | |
| 1003 | width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; | |
| 1004 | box-shadow: var(--shadow-lg), 0 0 0 1px rgba(185,72,84,.10), 0 0 40px rgba(230,150,160,.10); | |
| 1005 | position: relative; | |
| 1006 | background-clip: padding-box; | |
| 1007 | } | |
| 1008 | .modal::before { | |
| 1009 | content: ''; | |
| 1010 | position: absolute; | |
| 1011 | left: 0; right: 0; top: 0; | |
| 1012 | height: 2px; | |
| 1013 | border-radius: var(--radius-lg) var(--radius-lg) 0 0; | |
| 1014 | background: var(--grad-brand-h); | |
| 1015 | opacity: .75; | |
| 1016 | pointer-events: none; | |
| 1017 | } | |
| 1018 | .modal.modal-lg { max-width: 880px; } | |
| 1019 | .modal-header { padding: 18px 22px; border-bottom: 1px solid var(--col-border); display: flex; align-items: center; justify-content: space-between; } | |
| 1020 | .modal-header h2 { margin: 0; font-size: 18px; } | |
| 1021 | .modal-close { background: transparent; border: 0; color: var(--col-text-muted); cursor: pointer; padding: 4px; } | |
| 1022 | .modal-body { padding: 22px; } | |
| 1023 | .modal-footer { padding: 16px 22px; border-top: 1px solid var(--col-border); display: flex; justify-content: flex-end; gap: 10px; } | |
| 1024 | ||
| 1025 | /* ====== task detail ====== */ | |
| 1026 | .task-detail-grid { display: grid; grid-template-columns: 1fr 280px; gap: 24px; } | |
| 1027 | @media (max-width: 920px) { .task-detail-grid { grid-template-columns: 1fr; } } | |
| 1028 | .task-meta-table { width: 100%; font-size: 13px; } | |
| 1029 | .task-meta-table td { padding: 6px 8px; vertical-align: top; } | |
| 1030 | .task-meta-table td.lbl { color: var(--col-text-muted); width: 40%; } | |
| 1031 | .comment { background: var(--col-bg-1); border: 1px solid var(--col-border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; } | |
| 1032 | .comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--col-text-muted); } | |
| 1033 | .comment-body { font-size: 13.5px; white-space: pre-wrap; } | |
| 1034 | ||
| 1035 | /* ====== custom color picker ====== */ | |
| 1036 | .tf-picker-swatch { | |
| 1037 | display: inline-flex; align-items: center; gap: 8px; | |
| 1038 | height: 38px; padding: 0 12px; | |
| 1039 | border-radius: var(--radius-sm); | |
| 1040 | border: 1px solid var(--col-border-2); | |
| 1041 | background: var(--col-primary); | |
| 1042 | color: #fff; | |
| 1043 | font-family: var(--font-mono); | |
| 1044 | font-size: 12px; | |
| 1045 | cursor: pointer; | |
| 1046 | box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); | |
| 1047 | transition: transform var(--t-fast); | |
| 1048 | } | |
| 1049 | .tf-picker-swatch:hover { transform: translateY(-1px); } | |
| 1050 | .tf-picker-swatch .tf-picker-hex-label { | |
| 1051 | padding: 2px 6px; | |
| 1052 | background: rgba(0,0,0,.45); | |
| 1053 | border-radius: 4px; | |
| 1054 | text-shadow: 0 1px 1px rgba(0,0,0,.4); | |
| 1055 | } | |
| 1056 | .tf-picker-panel { | |
| 1057 | position: absolute; z-index: 10000; | |
| 1058 | min-width: 280px; max-width: 320px; | |
| 1059 | padding: 12px; | |
| 1060 | background: linear-gradient(135deg, rgba(20,27,45,.98) 0%, rgba(28,22,52,.98) 100%); | |
| 1061 | border: 1px solid var(--col-border-2); | |
| 1062 | border-radius: var(--radius); | |
| 1063 | box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(90,169,255,.25), 0 0 28px rgba(139,92,246,.2); | |
| 1064 | backdrop-filter: blur(10px); | |
| 1065 | opacity: 0; | |
| 1066 | transform: translateY(6px) scale(.98); | |
| 1067 | pointer-events: none; | |
| 1068 | transition: opacity 150ms ease-out, transform 150ms ease-out; | |
| 1069 | } | |
| 1070 | .tf-picker-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; } | |
| 1071 | .tf-picker-sv { | |
| 1072 | position: relative; | |
| 1073 | width: 200px; height: 140px; | |
| 1074 | border-radius: 6px; | |
| 1075 | cursor: crosshair; | |
| 1076 | background: | |
| 1077 | linear-gradient(to top, #000, transparent), | |
| 1078 | linear-gradient(to right, #fff, hsl(210,100%,50%)); | |
| 1079 | overflow: hidden; | |
| 1080 | } | |
| 1081 | .tf-picker-sv-handle { | |
| 1082 | position: absolute; | |
| 1083 | width: 14px; height: 14px; | |
| 1084 | border: 2px solid #fff; | |
| 1085 | border-radius: 50%; | |
| 1086 | margin: -7px 0 0 -7px; | |
| 1087 | box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.5); | |
| 1088 | pointer-events: none; | |
| 1089 | } | |
| 1090 | .tf-picker-hue-wrap { display: flex; align-items: stretch; } | |
| 1091 | .tf-picker-hue { | |
| 1092 | position: relative; | |
| 1093 | width: 18px; height: 140px; | |
| 1094 | border-radius: 4px; | |
| 1095 | cursor: ns-resize; | |
| 1096 | background: linear-gradient(to bottom, | |
| 1097 | #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, | |
| 1098 | #0000ff 67%, #ff00ff 83%, #ff0000 100%); | |
| 1099 | } | |
| 1100 | .tf-picker-hue-handle { | |
| 1101 | position: absolute; left: -3px; width: 24px; height: 6px; | |
| 1102 | border-radius: 3px; background: #fff; border: 1px solid rgba(0,0,0,.4); | |
| 1103 | margin-top: -3px; | |
| 1104 | box-shadow: 0 1px 3px rgba(0,0,0,.5); | |
| 1105 | pointer-events: none; | |
| 1106 | } | |
| 1107 | .tf-picker-out { | |
| 1108 | display: flex; align-items: center; gap: 8px; margin-top: 10px; | |
| 1109 | } | |
| 1110 | .tf-picker-preview { | |
| 1111 | width: 36px; height: 28px; | |
| 1112 | border-radius: 5px; | |
| 1113 | border: 1px solid rgba(255,255,255,.1); | |
| 1114 | box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); | |
| 1115 | background: var(--col-primary); | |
| 1116 | } | |
| 1117 | .tf-picker-hex { | |
| 1118 | flex: 1; | |
| 1119 | height: 28px; | |
| 1120 | background: var(--col-bg-1); | |
| 1121 | border: 1px solid var(--col-border); | |
| 1122 | color: var(--col-text); | |
| 1123 | padding: 0 8px; | |
| 1124 | font-family: var(--font-mono); | |
| 1125 | font-size: 12px; | |
| 1126 | border-radius: 5px; | |
| 1127 | text-transform: lowercase; | |
| 1128 | } | |
| 1129 | .tf-picker-hex:focus { outline: none; border-color: var(--col-brand-1); box-shadow: 0 0 0 2px rgba(185,72,84,.22); } | |
| 1130 | .tf-picker-label { | |
| 1131 | font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; | |
| 1132 | color: var(--col-text-dim); margin: 12px 0 6px; font-weight: 600; | |
| 1133 | } | |
| 1134 | .tf-picker-grid { | |
| 1135 | display: grid; | |
| 1136 | grid-template-columns: repeat(12, 1fr); | |
| 1137 | gap: 4px; | |
| 1138 | } | |
| 1139 | .tf-picker-cell { | |
| 1140 | width: 100%; aspect-ratio: 1/1; min-height: 18px; | |
| 1141 | border-radius: 4px; | |
| 1142 | border: 1px solid rgba(255,255,255,.06); | |
| 1143 | cursor: pointer; | |
| 1144 | box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); | |
| 1145 | transition: transform 80ms ease-out; | |
| 1146 | padding: 0; | |
| 1147 | } | |
| 1148 | .tf-picker-cell:hover { transform: scale(1.15); border-color: rgba(255,255,255,.4); z-index: 1; } | |
| 1149 | ||
| 1150 | /* Compact swatch variant for inline use in forms */ | |
| 1151 | .tf-picker-compact .tf-picker-swatch { height: 32px; padding: 0 8px; font-size: 11px; } | |
| 1152 | .tf-picker-compact .tf-picker-swatch .tf-picker-hex-label { font-size: 10.5px; } | |
| 1153 | ||
| 1154 | /* ====== kanban quick-edit drawer ====== */ | |
| 1155 | .tf-drawer-backdrop { | |
| 1156 | position: fixed; inset: 0; | |
| 1157 | background: rgba(0,0,0,.45); | |
| 1158 | backdrop-filter: blur(3px); | |
| 1159 | z-index: 950; | |
| 1160 | opacity: 0; | |
| 1161 | transition: opacity 200ms ease-out; | |
| 1162 | pointer-events: none; | |
| 1163 | } | |
| 1164 | .tf-drawer-backdrop.open { opacity: 1; pointer-events: auto; } | |
| 1165 | ||
| 1166 | .tf-drawer { | |
| 1167 | position: fixed; top: 0; right: 0; bottom: 0; | |
| 1168 | width: 560px; max-width: 92vw; | |
| 1169 | background: var(--col-surface); | |
| 1170 | border-left: 1px solid var(--col-border-2); | |
| 1171 | box-shadow: -24px 0 60px rgba(0,0,0,.5); | |
| 1172 | transform: translateX(100%); | |
| 1173 | transition: transform 240ms cubic-bezier(.4,0,.2,1); | |
| 1174 | z-index: 960; | |
| 1175 | display: flex; flex-direction: column; | |
| 1176 | overflow: hidden; | |
| 1177 | } | |
| 1178 | .tf-drawer.open { transform: translateX(0); } | |
| 1179 | .tf-drawer-header { | |
| 1180 | display: flex; align-items: center; gap: 12px; | |
| 1181 | padding: 14px 18px; | |
| 1182 | border-bottom: 1px solid var(--col-border); | |
| 1183 | background: var(--col-bg-1); | |
| 1184 | flex-shrink: 0; | |
| 1185 | } | |
| 1186 | .tf-drawer-header .ticket { | |
| 1187 | font-family: var(--font-mono); | |
| 1188 | font-size: 11.5px; | |
| 1189 | color: var(--col-text-dim); | |
| 1190 | padding: 2px 6px; | |
| 1191 | background: var(--col-bg-3); | |
| 1192 | border-radius: 4px; | |
| 1193 | } | |
| 1194 | .tf-drawer-header h2 { margin: 0; font-size: 16px; flex: 1; min-width: 0; } | |
| 1195 | .tf-drawer-close { | |
| 1196 | width: 32px; height: 32px; | |
| 1197 | background: transparent; | |
| 1198 | border: 1px solid transparent; | |
| 1199 | color: var(--col-text-muted); | |
| 1200 | border-radius: 6px; | |
| 1201 | cursor: pointer; | |
| 1202 | } | |
| 1203 | .tf-drawer-close:hover { background: var(--col-surface-3); color: var(--col-text); } | |
| 1204 | .tf-drawer-body { flex: 1; overflow-y: auto; padding: 18px; } | |
| 1205 | .tf-drawer-footer { | |
| 1206 | padding: 12px 18px; | |
| 1207 | border-top: 1px solid var(--col-border); | |
| 1208 | display: flex; justify-content: space-between; align-items: center; gap: 10px; | |
| 1209 | background: var(--col-bg-1); | |
| 1210 | flex-shrink: 0; | |
| 1211 | } | |
| 1212 | .tf-drawer.loading .tf-drawer-body { opacity: .5; pointer-events: none; } | |
| 1213 | ||
| 1214 | /* ====== kanban card visual rules ====== */ | |
| 1215 | .kanban-card { position: relative; transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); } | |
| 1216 | .kanban-card[data-bg-tint] { | |
| 1217 | background: linear-gradient(to right, var(--card-tint-color, var(--col-surface)) 0%, var(--col-surface) 100%); | |
| 1218 | } | |
| 1219 | ||
| 1220 | /* ====== tooltips (the POP ones) ====== */ | |
| 1221 | @keyframes tf-tip-in { | |
| 1222 | 0% { opacity: 0; transform: translateY(6px) scale(.92); filter: blur(2px); } | |
| 1223 | 60% { opacity: 1; transform: translateY(-1px) scale(1.02); filter: blur(0); } | |
| 1224 | 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } | |
| 1225 | } | |
| 1226 | @keyframes tf-tip-glow { | |
| 1227 | 0%, 100% { box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(90,169,255,.4), 0 0 24px rgba(90,169,255,.25), 0 0 60px rgba(139,92,246,.18); } | |
| 1228 | 50% { box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.55), 0 0 28px rgba(139,92,246,.32), 0 0 70px rgba(90,169,255,.22); } | |
| 1229 | } | |
| 1230 | ||
| 1231 | .tf-tip { | |
| 1232 | position: absolute; | |
| 1233 | z-index: 9999; | |
| 1234 | pointer-events: none; | |
| 1235 | max-width: 320px; | |
| 1236 | padding: 11px 14px 11px 18px; | |
| 1237 | background: linear-gradient(135deg, rgba(20,27,45,.96) 0%, rgba(28,22,52,.96) 50%, rgba(18,25,42,.96) 100%); | |
| 1238 | backdrop-filter: blur(10px) saturate(140%); | |
| 1239 | -webkit-backdrop-filter: blur(10px) saturate(140%); | |
| 1240 | color: #f1f6ff; | |
| 1241 | font-family: var(--font-display); | |
| 1242 | font-size: 12.5px; | |
| 1243 | font-weight: 500; | |
| 1244 | line-height: 1.5; | |
| 1245 | letter-spacing: .005em; | |
| 1246 | border-radius: 10px; | |
| 1247 | border: 1px solid transparent; | |
| 1248 | background-clip: padding-box; | |
| 1249 | opacity: 0; | |
| 1250 | transform: translateY(6px) scale(.92); | |
| 1251 | transition: opacity 80ms ease-out; | |
| 1252 | text-shadow: 0 1px 2px rgba(0,0,0,.5); | |
| 1253 | } | |
| 1254 | .tf-tip.open { | |
| 1255 | opacity: 1; | |
| 1256 | animation: tf-tip-in 240ms cubic-bezier(.22,.61,.36,1) both, | |
| 1257 | tf-tip-glow 3.6s ease-in-out 240ms infinite; | |
| 1258 | } | |
| 1259 | .tf-tip strong { color: #fff; font-weight: 600; } | |
| 1260 | .tf-tip code { | |
| 1261 | font-family: var(--font-mono); | |
| 1262 | background: rgba(90,169,255,.18); | |
| 1263 | color: #cee3ff; | |
| 1264 | padding: 1px 5px; | |
| 1265 | border-radius: 4px; | |
| 1266 | font-size: 11.5px; | |
| 1267 | border: 1px solid rgba(90,169,255,.3); | |
| 1268 | } | |
| 1269 | ||
| 1270 | /* Animated gradient left bar */ | |
| 1271 | .tf-tip::before { | |
| 1272 | content: ''; | |
| 1273 | position: absolute; | |
| 1274 | left: 0; top: 0; bottom: 0; | |
| 1275 | width: 3px; | |
| 1276 | border-radius: 10px 0 0 10px; | |
| 1277 | background: linear-gradient(180deg, var(--col-brand-1) 0%, var(--col-brand-2) 50%, var(--col-brand-1) 100%); | |
| 1278 | background-size: 100% 200%; | |
| 1279 | animation: tf-bar-flow 2.4s linear infinite; | |
| 1280 | } | |
| 1281 | @keyframes tf-bar-flow { | |
| 1282 | 0% { background-position: 0 0; } | |
| 1283 | 100% { background-position: 0 -200%; } | |
| 1284 | } | |
| 1285 | ||
| 1286 | /* Pointing arrow — anchored at --tf-tip-arrow (set by JS to the trigger's horiz center) */ | |
| 1287 | .tf-tip::after { | |
| 1288 | content: ''; | |
| 1289 | position: absolute; | |
| 1290 | left: var(--tf-tip-arrow, 50%); | |
| 1291 | transform: translateX(-50%) rotate(45deg); | |
| 1292 | width: 10px; | |
| 1293 | height: 10px; | |
| 1294 | background: linear-gradient(135deg, rgba(20,27,45,.96), rgba(28,22,52,.96)); | |
| 1295 | border-left: 1px solid rgba(90,169,255,.35); | |
| 1296 | border-top: 1px solid rgba(90,169,255,.35); | |
| 1297 | backdrop-filter: blur(10px); | |
| 1298 | } | |
| 1299 | .tf-tip[data-placement="below"]::after { | |
| 1300 | top: -6px; | |
| 1301 | } | |
| 1302 | .tf-tip[data-placement="above"]::after { | |
| 1303 | bottom: -6px; | |
| 1304 | border-left: none; border-top: none; | |
| 1305 | border-right: 1px solid rgba(139,92,246,.35); | |
| 1306 | border-bottom: 1px solid rgba(139,92,246,.35); | |
| 1307 | } | |
| 1308 | ||
| 1309 | /* The 'i' icon prefix — auto-prepended via a span when content has no <strong> already */ | |
| 1310 | .tf-tip-icon { | |
| 1311 | display: inline-block; | |
| 1312 | width: 14px; height: 14px; | |
| 1313 | border-radius: 50%; | |
| 1314 | background: var(--grad-brand); | |
| 1315 | color: #fff; | |
| 1316 | text-align: center; | |
| 1317 | line-height: 14px; | |
| 1318 | font-size: 10px; | |
| 1319 | font-weight: 700; | |
| 1320 | font-style: normal; | |
| 1321 | margin-right: 6px; | |
| 1322 | vertical-align: -1px; | |
| 1323 | box-shadow: 0 0 10px var(--col-brand-glow); | |
| 1324 | } | |
| 1325 | ||
| 1326 | /* Subtle "has helper" indicator on focusable form fields */ | |
| 1327 | .field [data-tip]:not(input):not(textarea):not(select), | |
| 1328 | label[data-tip] { | |
| 1329 | cursor: help; | |
| 1330 | } | |
| 1331 | label[data-tip]::after { | |
| 1332 | content: '?'; | |
| 1333 | display: inline-block; | |
| 1334 | width: 13px; height: 13px; | |
| 1335 | border-radius: 50%; | |
| 1336 | background: var(--col-bg-3); | |
| 1337 | color: var(--col-text-muted); | |
| 1338 | font-size: 9.5px; | |
| 1339 | font-weight: 700; | |
| 1340 | line-height: 13px; | |
| 1341 | text-align: center; | |
| 1342 | margin-left: 5px; | |
| 1343 | vertical-align: 1px; | |
| 1344 | transition: background var(--t-fast), color var(--t-fast); | |
| 1345 | } | |
| 1346 | label[data-tip]:hover::after { | |
| 1347 | background: var(--col-primary); | |
| 1348 | color: #fff; | |
| 1349 | } | |
| 1350 | html.tips-off label[data-tip]::after { display: none; } | |
| 1351 | ||
| 1352 | /* When tips are off, suppress entirely */ | |
| 1353 | html.tips-off .tf-tip { display: none !important; } | |
| 1354 | ||
| 1355 | /* ====== misc utility ====== */ | |
| 1356 | .row { display: flex; gap: 16px; } | |
| 1357 | .col { flex: 1; min-width: 0; } | |
| 1358 | .mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } | |
| 1359 | .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } | |
| 1360 | .text-muted { color: var(--col-text-muted); } | |
| 1361 | .text-dim { color: var(--col-text-dim); } | |
| 1362 | .flex { display: flex; gap: 10px; align-items: center; } | |
| 1363 | .flex-between { display: flex; justify-content: space-between; align-items: center; } | |
| 1364 | .flex-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; } | |
| 1365 | .hidden { display: none !important; } | |
| 1366 | .muted-empty { text-align: center; padding: 60px 24px; color: var(--col-text-dim); } | |
| 1367 | .muted-empty h3 { | |
| 1368 | margin-bottom: 6px; | |
| 1369 | background: var(--grad-brand-h); | |
| 1370 | -webkit-background-clip: text; | |
| 1371 | background-clip: text; | |
| 1372 | color: transparent; | |
| 1373 | display: inline-block; | |
| 1374 | } | |
| 1375 | ||
| 1376 | /* ====== Round 4 — board toolbar + filter chips + per-card gradient ====== */ | |
| 1377 | ||
| 1378 | .board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 8px 12px; flex-wrap: wrap; } | |
| 1379 | .filter-chips { display: flex; gap: 6px; flex-wrap: wrap; } | |
| 1380 | .chip { | |
| 1381 | display: inline-flex; align-items: center; gap: 6px; | |
| 1382 | padding: 5px 11px; | |
| 1383 | background: var(--col-surface-2); | |
| 1384 | border: 1px solid var(--col-border); | |
| 1385 | color: var(--col-text-muted); | |
| 1386 | font-size: 12.5px; | |
| 1387 | border-radius: 999px; | |
| 1388 | text-decoration: none; | |
| 1389 | transition: background .15s, border-color .15s, color .15s, transform .15s; | |
| 1390 | cursor: pointer; | |
| 1391 | line-height: 1.4; | |
| 1392 | } | |
| 1393 | .chip:hover { background: var(--col-surface-3); color: var(--col-text); border-color: var(--col-border-2); transform: translateY(-1px); } | |
| 1394 | .chip.chip-on { | |
| 1395 | background: linear-gradient(135deg, rgba(185,72,84,.24), rgba(230,150,160,.10)); | |
| 1396 | color: var(--col-text); | |
| 1397 | border-color: rgba(185,72,84,.55); | |
| 1398 | box-shadow: 0 0 0 1px rgba(185,72,84,.18) inset; | |
| 1399 | } | |
| 1400 | .chip.chip-warn { color: var(--col-warn); border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.07); } | |
| 1401 | .chip.chip-warn.chip-on { background: linear-gradient(135deg, rgba(245,158,11,.25), rgba(245,158,11,.08)); } | |
| 1402 | ||
| 1403 | /* Top "+" on each kanban column header */ | |
| 1404 | .kanban-column-header { position: relative; } | |
| 1405 | .col-add-top { | |
| 1406 | width: 24px; height: 24px; | |
| 1407 | display: inline-grid; place-items: center; | |
| 1408 | background: var(--col-surface-3); | |
| 1409 | border: 1px solid var(--col-border-2); | |
| 1410 | color: var(--col-text-muted); | |
| 1411 | border-radius: 6px; | |
| 1412 | cursor: pointer; | |
| 1413 | font-size: 18px; | |
| 1414 | line-height: 1; | |
| 1415 | padding: 0 0 2px; | |
| 1416 | transition: background .15s, color .15s, transform .15s; | |
| 1417 | } | |
| 1418 | .col-add-top:hover { | |
| 1419 | background: linear-gradient(135deg, rgba(185,72,84,.35), rgba(230,150,160,.14)); | |
| 1420 | border-color: rgba(185,72,84,.6); | |
| 1421 | color: #fff; | |
| 1422 | transform: scale(1.08); | |
| 1423 | } | |
| 1424 | ||
| 1425 | /* Card background gradient modes — picked by user prefs. | |
| 1426 | --card-edge = resolved priority/custom edge color | |
| 1427 | --card-accent = assignee color (or edge if unassigned) | |
| 1428 | --grad-from / --grad-to = board-wide custom palette */ | |
| 1429 | .kanban-board.board-grad-off .kanban-card { background: var(--col-surface); } | |
| 1430 | .kanban-board.board-grad-priority .kanban-card { | |
| 1431 | background: | |
| 1432 | linear-gradient(135deg, | |
| 1433 | color-mix(in srgb, var(--card-edge) 18%, transparent) 0%, | |
| 1434 | var(--col-surface) 72%); | |
| 1435 | } | |
| 1436 | .kanban-board.board-grad-assignee .kanban-card { | |
| 1437 | background: | |
| 1438 | linear-gradient(135deg, | |
| 1439 | color-mix(in srgb, var(--card-accent) 22%, transparent) 0%, | |
| 1440 | var(--col-surface) 75%); | |
| 1441 | } | |
| 1442 | .kanban-board.board-grad-custom .kanban-card { | |
| 1443 | background: linear-gradient(135deg, var(--grad-from) 0%, var(--grad-to) 90%); | |
| 1444 | color: var(--col-text); | |
| 1445 | } | |
| 1446 | @supports not (background: color-mix(in srgb, red 50%, blue)) { | |
| 1447 | .kanban-board.board-grad-priority .kanban-card, | |
| 1448 | .kanban-board.board-grad-assignee .kanban-card { | |
| 1449 | background: linear-gradient(135deg, var(--col-surface-3) 0%, var(--col-surface) 75%); | |
| 1450 | } | |
| 1451 | } | |
| 1452 | ||
| 1453 | .kanban-board.density-compact .kanban-card { padding: 8px 10px; } | |
| 1454 | .kanban-board.density-comfortable .kanban-card { padding: 11px 12px; } | |
| 1455 | .kanban-board.density-spacious .kanban-card { padding: 16px 14px 14px; } | |
| 1456 | ||
| 1457 | /* Card meta pills */ | |
| 1458 | .kanban-card .meta-left { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } | |
| 1459 | .kanban-card .meta-due { color: var(--col-text-dim); } | |
| 1460 | .kanban-card .meta-due.is-overdue { color: var(--col-danger); font-weight: 600; } | |
| 1461 | .meta-pill { | |
| 1462 | display: inline-flex; align-items: center; gap: 3px; | |
| 1463 | font-size: 10.5px; padding: 1px 6px; | |
| 1464 | border-radius: 4px; | |
| 1465 | background: rgba(255,255,255,.04); | |
| 1466 | color: var(--col-text-dim); | |
| 1467 | border: 1px solid var(--col-border); | |
| 1468 | } | |
| 1469 | .meta-pill.pill-warn { color: var(--col-warn); background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.3); } | |
| 1470 | .meta-pill.pill-muted { color: var(--col-text-dim); } | |
| 1471 | ||
| 1472 | .kanban-card.card-pending-arch { | |
| 1473 | background-image: repeating-linear-gradient(135deg, | |
| 1474 | rgba(245,158,11,.10) 0 6px, | |
| 1475 | transparent 6px 14px); | |
| 1476 | border-color: rgba(245,158,11,.35); | |
| 1477 | } | |
| 1478 | .kanban-card.card-archived { | |
| 1479 | opacity: .55; | |
| 1480 | filter: grayscale(.4); | |
| 1481 | } | |
| 1482 | ||
| 1483 | /* ====== Round 4 — attachments drop zone ====== */ | |
| 1484 | .attach-zone { | |
| 1485 | position: relative; | |
| 1486 | border: 2px dashed var(--col-border-2); | |
| 1487 | border-radius: var(--radius); | |
| 1488 | background: var(--col-surface-2); | |
| 1489 | padding: 22px 18px; | |
| 1490 | text-align: center; | |
| 1491 | color: var(--col-text-muted); | |
| 1492 | transition: border-color .15s, background .15s, transform .15s; | |
| 1493 | cursor: pointer; | |
| 1494 | } | |
| 1495 | .attach-zone:hover { border-color: var(--col-text-dim); background: var(--col-surface-3); } | |
| 1496 | .attach-zone.dragover { | |
| 1497 | border-color: var(--col-brand-1); | |
| 1498 | background: linear-gradient(135deg, rgba(185,72,84,.20), rgba(230,150,160,.08)); | |
| 1499 | color: #fff; | |
| 1500 | transform: scale(1.01); | |
| 1501 | box-shadow: 0 0 0 3px rgba(185,72,84,.16); | |
| 1502 | } | |
| 1503 | .attach-zone .attach-icon { font-size: 28px; display: block; margin-bottom: 6px; opacity: .8; } | |
| 1504 | .attach-zone strong { color: var(--col-text); display: block; margin-top: 2px; } | |
| 1505 | .attach-list { display: grid; gap: 6px; margin-top: 10px; } | |
| 1506 | .attach-row { | |
| 1507 | display: flex; align-items: center; gap: 10px; | |
| 1508 | padding: 8px 10px; | |
| 1509 | background: var(--col-surface-2); | |
| 1510 | border: 1px solid var(--col-border); | |
| 1511 | border-radius: var(--radius-sm); | |
| 1512 | } | |
| 1513 | .attach-row .att-thumb { width: 36px; height: 36px; background: var(--col-surface-3); border-radius: 6px; display: grid; place-items: center; color: var(--col-text-dim); font-size: 14px; flex-shrink: 0; overflow: hidden; } | |
| 1514 | .attach-row .att-thumb img { width: 100%; height: 100%; object-fit: cover; } | |
| 1515 | .attach-row .att-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--col-text); } | |
| 1516 | .attach-row .att-meta { font-size: 11px; color: var(--col-text-dim); } | |
| 1517 | .attach-row .btn { padding: 4px 8px; font-size: 11.5px; } | |
| 1518 | .attach-progress { height: 4px; background: var(--col-border); border-radius: 99px; overflow: hidden; margin-top: 6px; } | |
| 1519 | .attach-progress span { display: block; height: 100%; background: var(--grad-brand-h); transition: width .2s; } | |
| 1520 | ||
| 1521 | /* ====== Round 4 — onboarding wizard ====== */ | |
| 1522 | .onb-shell { max-width: 760px; margin: 30px auto; padding: 28px; background: var(--col-surface); border: 1px solid var(--col-border); border-radius: var(--radius); box-shadow: var(--shadow); } | |
| 1523 | .onb-step-dots { display: flex; gap: 6px; margin-bottom: 18px; } | |
| 1524 | .onb-step-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--col-border-2); } | |
| 1525 | .onb-step-dots span.on { background: var(--grad-brand); box-shadow: 0 0 0 2px rgba(185,72,84,.30); } | |
| 1526 | .preset-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; } | |
| 1527 | .preset-card { | |
| 1528 | border: 1px solid var(--col-border); | |
| 1529 | border-radius: var(--radius); | |
| 1530 | background: var(--col-surface-2); | |
| 1531 | padding: 14px; | |
| 1532 | cursor: pointer; | |
| 1533 | transition: border-color .15s, transform .15s, background .15s; | |
| 1534 | } | |
| 1535 | .preset-card:hover { border-color: var(--col-border-2); background: var(--col-surface-3); transform: translateY(-2px); } | |
| 1536 | .preset-card.selected { | |
| 1537 | border-color: var(--col-brand-1); | |
| 1538 | background: linear-gradient(135deg, rgba(185,72,84,.18), rgba(230,150,160,.06)); | |
| 1539 | box-shadow: 0 0 0 2px rgba(185,72,84,.18); | |
| 1540 | } | |
| 1541 | .preset-card h4 { font-size: 14px; margin: 0 0 4px; } | |
| 1542 | .preset-card p { font-size: 12px; margin: 0; color: var(--col-text-dim); } | |
| 1543 | .preset-card .preset-terms { font-size: 11.5px; color: var(--col-text-muted); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--col-border); } | |
| 1544 | ||
| 1545 | .watchers-list { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } | |
| 1546 | .watcher-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; background: var(--col-surface-2); border: 1px solid var(--col-border); border-radius: 999px; font-size: 12px; } | |
| 1547 | .watcher-chip .avatar { width: 18px; height: 18px; font-size: 10px; } | |
| 1548 | .watcher-chip button { background: transparent; border: 0; color: var(--col-text-dim); cursor: pointer; padding: 0 4px; font-size: 14px; } | |
| 1549 | .watcher-chip button:hover { color: var(--col-danger); } | |
| 1550 | .watcher-add { display: inline-flex; gap: 4px; align-items: center; } | |
| 1551 | .watcher-add .select { padding: 4px 8px; font-size: 12px; } | |
| 1552 | ||
| 1553 | /* QR area for 2FA */ | |
| 1554 | .qr-card { display: grid; place-items: center; padding: 16px; background: #fff; border-radius: var(--radius-sm); width: 220px; margin: 0 auto; } | |
| 1555 | .qr-card img { width: 188px; height: 188px; image-rendering: pixelated; } | |
| 1556 | .recovery-codes { font-family: var(--font-mono); background: var(--col-bg-2); padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--col-border); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } | |
| 1557 | .recovery-codes code { background: transparent; border: 0; padding: 0; font-size: 13px; color: var(--col-text); } | |
| 1558 | ||
| 1559 | /* Stripe card */ | |
| 1560 | .stripe-card { background: var(--col-surface-2); border: 1px solid var(--col-border); border-radius: var(--radius); padding: 16px; } | |
| 1561 | .stripe-card .price { font-size: 28px; font-weight: 700; color: var(--col-text); } | |
| 1562 | .stripe-card .price small { font-size: 12px; color: var(--col-text-dim); font-weight: 400; } | |
| 1563 | ||
| 1564 | /* Gradient swatch preview for preferences page */ | |
| 1565 | .grad-preview { width: 100%; height: 64px; border-radius: var(--radius-sm); border: 1px solid var(--col-border); margin-top: 8px; } | |
| 1566 | ||
| 1567 | /* User preferences mode picker */ | |
| 1568 | .mode-radios { display: flex; gap: 8px; flex-wrap: wrap; } | |
| 1569 | .mode-radios label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; background: var(--col-surface-2); border: 1px solid var(--col-border); border-radius: var(--radius-sm); cursor: pointer; min-width: 84px; font-size: 12px; } | |
| 1570 | .mode-radios label:hover { background: var(--col-surface-3); border-color: var(--col-border-2); } | |
| 1571 | .mode-radios input { display: none; } | |
| 1572 | .mode-radios input:checked + .mode-swatch + span { color: var(--col-text); font-weight: 600; } | |
| 1573 | .mode-radios input:checked ~ * { color: var(--col-text); } | |
| 1574 | .mode-radios label:has(input:checked) { | |
| 1575 | background: linear-gradient(135deg, rgba(185,72,84,.22), rgba(230,150,160,.06)); | |
| 1576 | border-color: var(--col-brand-1); | |
| 1577 | box-shadow: 0 0 0 1px rgba(185,72,84,.22) inset; | |
| 1578 | } | |
| 1579 | .mode-swatch { width: 56px; height: 26px; border-radius: 5px; border: 1px solid var(--col-border); } | |
| 1580 | ||
| 1581 | /* ====================================================================== | |
| 1582 | MOBILE / TABLET (<= 760px) | |
| 1583 | Off-canvas sidebar, single-column page header, scrollable kanban, | |
| 1584 | touch-tuned drag affordances. | |
| 1585 | ====================================================================== */ | |
| 1586 | ||
| 1587 | /* Kanban: never let the browser steal touchstart for scroll/zoom on cards. | |
| 1588 | Without touch-action:none, pointer drag aborts the instant the card moves. */ | |
| 1589 | .kanban-card { touch-action: none; } | |
| 1590 | .gantt-bar { | |
| 1591 | touch-action: none; | |
| 1592 | user-select: none; | |
| 1593 | -webkit-user-select: none; | |
| 1594 | -webkit-touch-callout: none; | |
| 1595 | -webkit-user-drag: none; | |
| 1596 | } | |
| 1597 | ||
| 1598 | /* Mobile backdrop for the off-canvas sidebar. */ | |
| 1599 | .sidebar-backdrop { | |
| 1600 | position: fixed; | |
| 1601 | inset: 0; | |
| 1602 | background: rgba(0,0,0,.55); | |
| 1603 | backdrop-filter: blur(2px); | |
| 1604 | z-index: 90; | |
| 1605 | opacity: 0; | |
| 1606 | pointer-events: none; | |
| 1607 | transition: opacity var(--t); | |
| 1608 | } | |
| 1609 | html.sidebar-open .sidebar-backdrop { | |
| 1610 | opacity: 1; | |
| 1611 | pointer-events: auto; | |
| 1612 | } | |
| 1613 | @media (min-width: 761px) { .sidebar-backdrop { display: none; } } | |
| 1614 | ||
| 1615 | @media (max-width: 760px) { | |
| 1616 | /* App shell becomes single-column; sidebar is overlaid, not gridded. */ | |
| 1617 | .app-shell { grid-template-columns: 1fr; } | |
| 1618 | html.sidebar-collapsed .app-shell { grid-template-columns: 1fr; } | |
| 1619 | ||
| 1620 | .sidebar { | |
| 1621 | position: fixed; | |
| 1622 | top: 0; | |
| 1623 | left: 0; | |
| 1624 | width: 260px; | |
| 1625 | height: 100vh; | |
| 1626 | z-index: 100; | |
| 1627 | transform: translateX(-100%); | |
| 1628 | transition: transform .26s ease; | |
| 1629 | /* keep its full styling; just slide it in */ | |
| 1630 | } | |
| 1631 | html.sidebar-open .sidebar { transform: translateX(0); } | |
| 1632 | /* While the drawer is open, force its expanded form even if global | |
| 1633 | sidebar-collapsed is set from desktop preferences. */ | |
| 1634 | html.sidebar-collapsed.sidebar-open .sidebar-brand .brand-text, | |
| 1635 | html.sidebar-collapsed.sidebar-open .sidebar-link span, | |
| 1636 | html.sidebar-collapsed.sidebar-open .sidebar-section-label { | |
| 1637 | display: revert; | |
| 1638 | } | |
| 1639 | html.sidebar-collapsed.sidebar-open .sidebar-link { | |
| 1640 | padding-left: 10px; padding-right: 10px; justify-content: flex-start; gap: 12px; | |
| 1641 | } | |
| 1642 | ||
| 1643 | /* Topbar tightens. */ | |
| 1644 | .topbar { padding: 0 12px; gap: 8px; } | |
| 1645 | .topbar-title { font-size: 14px; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| 1646 | .topbar-search { display: none; } /* hidden on phones; tap search icon instead if you add one */ | |
| 1647 | .profile-btn > div:not(.avatar) { display: none; } /* hide name/email next to avatar */ | |
| 1648 | .profile-btn svg { display: none; } /* hide chevron */ | |
| 1649 | ||
| 1650 | .app-content { padding: 20px 32px; } | |
| 1651 | ||
| 1652 | /* Page header stacks. */ | |
| 1653 | .page-header { flex-direction: column; align-items: stretch; gap: 12px; } | |
| 1654 | .page-header h1 { font-size: 22px; } | |
| 1655 | .page-header .flex-end { flex-wrap: wrap; gap: 8px; } | |
| 1656 | .page-header .flex-end .btn { flex: 1 1 auto; min-width: 0; } | |
| 1657 | ||
| 1658 | /* Board toolbar wraps + scrolls horizontally for filter chips. */ | |
| 1659 | .board-toolbar { flex-direction: column; align-items: stretch; gap: 8px; } | |
| 1660 | .filter-chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; } | |
| 1661 | .filter-chips .chip { white-space: nowrap; flex: 0 0 auto; } | |
| 1662 | ||
| 1663 | /* Kanban: slightly narrower columns, full-height scroll. */ | |
| 1664 | .kanban-board { gap: 10px; padding: 4px; min-height: calc(100vh - 240px); } | |
| 1665 | .kanban-column { flex: 0 0 84vw; max-width: 320px; max-height: calc(100vh - 240px); } | |
| 1666 | .kanban-column-body { padding: 8px; } | |
| 1667 | ||
| 1668 | /* Marketing/auth pages already had an 880px breakpoint -- this one | |
| 1669 | further compresses headings on small phones. */ | |
| 1670 | .hero { padding: 56px 18px 64px; } | |
| 1671 | .hero h1 { font-size: 36px; } | |
| 1672 | .hero p.lead { font-size: 16px; } | |
| 1673 | .section { padding: 56px 18px; } | |
| 1674 | .section h2 { font-size: 26px; } | |
| 1675 | ||
| 1676 | /* Tables get horizontal scroll instead of being squashed. */ | |
| 1677 | .table { font-size: 12.5px; } | |
| 1678 | .table-wrap, .table-scroll { overflow-x: auto; } | |
| 1679 | ||
| 1680 | /* Forms: full-width buttons. */ | |
| 1681 | .modal { max-width: 100%; border-radius: 0; max-height: 100vh; } | |
| 1682 | .modal-footer .btn { flex: 1 1 auto; } | |
| 1683 | } | |
| 1684 | ||
| 1685 | /* Phones in portrait (very narrow). */ | |
| 1686 | @media (max-width: 380px) { | |
| 1687 | .topbar-title { display: none; } | |
| 1688 | .kpi-grid { grid-template-columns: 1fr; } | |
| 1689 | .kanban-column { flex: 0 0 88vw; } | |
| 1690 | } | |
| 1691 | ||
| 1692 | ||
| 1693 | ||
| 1694 | /* Chip range picker: Custom datetime-local inputs -- brand-themed to | |
| 1695 | match the site (2026-07-09). Scoped to #customWrap so it only styles | |
| 1696 | the chip-picker's Custom inputs, never other forms on the page. */ | |
| 1697 | #customWrap input[type="datetime-local"] { | |
| 1698 | background: var(--col-surface, #0f1a26); | |
| 1699 | color: var(--col-text, #e5e7eb); | |
| 1700 | border: 1px solid var(--col-border, rgba(255,255,255,.12)); | |
| 1701 | border-radius: 8px; | |
| 1702 | padding: 5px 10px; | |
| 1703 | font-size: 12px; | |
| 1704 | font-family: inherit; | |
| 1705 | color-scheme: dark; | |
| 1706 | outline: none; | |
| 1707 | transition: border-color .15s ease; | |
| 1708 | } | |
| 1709 | #customWrap input[type="datetime-local"]:hover, | |
| 1710 | #customWrap input[type="datetime-local"]:focus { | |
| 1711 | border-color: var(--col-brand, var(--col-primary, var(--col-accent, #5aa9ff))); | |
| 1712 | } | |
| 1713 | #customWrap input[type="datetime-local"]::-webkit-calendar-picker-indicator { | |
| 1714 | filter: invert(1) brightness(1.4); | |
| 1715 | cursor: pointer; | |
| 1716 | opacity: 0.75; | |
| 1717 | } |