/* Dealpipeline: a99 theme layered over the base app. Unlayered rules win over the app's @layer theme. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
html.light, html.dark {
  --dp-blue: #1b8bd3; --dp-blue-deep: #1270b0; --dp-orange: #f79a2e; --dp-orange-soft: #fde7cc;
  --t-font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  --t-color-blue: var(--dp-blue); --t-color-blue9: var(--dp-blue); --t-color-blue10: var(--dp-blue-deep); --t-color-blue11: var(--dp-blue-deep);
  --t-color-orange: var(--dp-orange);
}
html.light {
  --t-accent-primary: #cfe6f8; --t-accent-secondary: #cfe6f8; --t-accent-tertiary: #e6f2fc; --t-accent-quaternary: #f4f9fe;
  --t-background-tertiary: #f3f6fa; --t-font-color-primary: #1f2a37;
}
body { font-feature-settings: 'ss01', 'cv11'; }
/* signature: a slow a99 blue-to-orange shimmer along the top edge */
body::before { content: ''; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2147483000; pointer-events: none;
  background: linear-gradient(90deg, var(--dp-blue), #5bb6f0 35%, var(--dp-orange) 65%, var(--dp-blue)); background-size: 200% 100%;
  animation: dp-shimmer 9s linear infinite; }
@keyframes dp-shimmer { to { background-position: 200% 0; } }
/* sidebar: calm, fluid motion - no jumps */
#scroll-wrapper-scroll-wrapper-navigation-drawer { scroll-behavior: smooth; }
.section-title-container { text-transform: uppercase; letter-spacing: .07em; font-size: 11px !important; }
.navigation-drawer-item { position: relative; border-radius: 10px !important;
  transition: background-color .28s cubic-bezier(.22,.8,.24,1), color .28s cubic-bezier(.22,.8,.24,1), transform .32s cubic-bezier(.22,.8,.24,1);
  animation: dp-rise .32s cubic-bezier(.22,.8,.24,1) both; }
.navigation-drawer-item:hover { transform: translateX(2px); background-color: rgba(27,139,211,.07) !important; }
.navigation-drawer-item svg, .navigation-drawer-item img { transition: transform .32s cubic-bezier(.22,.8,.24,1); }
.navigation-drawer-item:hover svg, .navigation-drawer-item:hover img { transform: scale(1.08); }
.navigation-drawer-item[aria-current="page"] { background-color: rgba(27,139,211,.12) !important; box-shadow: none; }
.navigation-drawer-item[aria-current="page"]::before { content: ''; position: absolute; left: 2px; top: 25%; bottom: 25%; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--dp-orange), #fbbf6b); transform-origin: center; animation: dp-grow .34s cubic-bezier(.22,.8,.24,1) both; }
.navigation-drawer-item[aria-current="page"] .navigation-drawer-item-label { color: var(--dp-blue-deep) !important; font-weight: 600; }
@keyframes dp-grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes dp-rise { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
aside img:first-of-type:hover { animation: dp-wiggle .6s ease; }
@keyframes dp-wiggle { 20% { transform: rotate(-8deg) } 40% { transform: rotate(6deg) } 60% { transform: rotate(-4deg) } 80% { transform: rotate(2deg) } }
/* tables: crisp headers, soft blue row hover */
.header-cell { font-weight: 600 !important; }
[id^="record-table-"] tr:hover > td { background-color: #f4f9fe !important; transition: background-color .12s ease; }
/* primary buttons: a99 blue with a satisfying press */
button[data-variant="primary"] { background-image: linear-gradient(135deg, var(--dp-blue), var(--dp-blue-deep)); transition: transform .12s ease, box-shadow .12s ease; }
button[data-variant="primary"]:hover { box-shadow: 0 4px 14px rgba(27,139,211,.35); }
button[data-variant="primary"]:active { transform: scale(.96); }
/* board cards lift slightly, like picking up an index card */
[data-selectable-id] { transition: transform .16s ease, box-shadow .16s ease; }
[data-selectable-id]:hover { transform: translateY(-2px) rotate(-.25deg); box-shadow: 0 8px 20px rgba(31,42,55,.10); }
::selection { background: rgba(247,154,46,.28); }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: rgba(27,139,211,.28); border-radius: 9px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: rgba(27,139,211,.5); }
@media (prefers-reduced-motion: reduce) { body::before, aside img:first-of-type:hover { animation: none; } .navigation-drawer-item, [data-selectable-id] { transition: none; transform: none !important; animation: none !important; } .navigation-drawer-item::before { animation: none !important; } }

/* --- Taghash-style pass: white sidebar, blue record links, airy tables --- */
aside[class] { background: #ffffff !important; border-right: 1px solid #edf0f4; }
html.light { --t-background-secondary: #ffffff; --t-background-tertiary: #f6f8fb; }
.navigation-drawer-item-label { font-size: 13px; }
/* record identifiers read as links, like Taghash deal names */
[id^="record-table-"] .record-table-cell-content a[href*="/object/"],
[id^="record-table-"] .record-table-column-field-0 a { color: var(--dp-blue) !important; font-weight: 500; }
[id^="record-table-"] .record-table-column-field-0 a:hover { text-decoration: underline; }
.header-cell { color: #6b7280 !important; font-size: 12.5px !important; }
[id^="record-table-"] td { border-color: #f1f3f7 !important; }
/* top bar breadcrumb area stays clean white */
div[class*="PageHeader"] { background: #ffffff; }
/* kanban columns like Taghash: soft tinted wells */
[data-rbd-droppable-id], [class*="RecordBoardColumn"] { border-radius: 12px; }
