/* HubSpot NEW look (2025-26 redesign, "trellis") — deals board. Study copy for internal education. Not for shipping.
   Colours: HubSpot's own theme file (inspiration/hubspot/cdn/trellis-themes.json): trellis-light (text #333, page #F0F0F0, links #006162,
   lines #CCC, primary #141414) and trellis-dark (page #141414, surface #1F1F1F, raised #292929, text #E6E6E6). The user's beta screenshot
   (image-20.png, 12 Oct 2026) matches trellis-light exactly. Sizes MEASURED on that screenshot at 100%. Corners: panels 16, small parts 6,
   buttons fully round (trellis tokens). Font: Lexend Deca (HubSpot's free font; the new look's own font file is not public, est.). */
.hn {
  --n-shell: #333333; --n-page: #f0f0f0; --n-panel: #ffffff; --n-col: #f0f0f0; --n-card: #ffffff; --n-raised: #ffffff;
  --n-text: #333333; --n-sub: #666666; --n-link: #006162; --n-line: #cccccc; --n-line-strong: #333333; --n-soft: #e6e6e6; --n-softer: #ebebeb;
  --n-scroll: #8b8b8b; --n-pill-old: #f8f6f1; --n-pill-old-line: #c5b284; --n-pill-warn: #fff6e0; --n-pill-warn-line: #f2c94c; --n-tip: #141414; --n-on-tip: #ffffff;
  --n-shadow: 0 2px 12px rgba(0, 0, 0, .12); --n-teal: #00707a;
  position: relative; overflow: hidden; background: var(--n-page); color: var(--n-text); font: 300 13px/18px "Lexend Deca", system-ui, sans-serif; font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased;
}
.hs-dark .hn {
  --n-shell: #1f1f1f; --n-page: #141414; --n-panel: #1f1f1f; --n-col: #171717; --n-card: #292929; --n-raised: #292929;
  --n-text: #e6e6e6; --n-sub: #b3b3b3; --n-link: #e6e6e6; --n-line: #4d4d4d; --n-line-strong: #b3b3b3; --n-soft: #333333; --n-softer: #333333;
  --n-scroll: #666666; --n-pill-old: #2e2a20; --n-pill-old-line: #7d6d42; --n-pill-warn: #3a3020; --n-pill-warn-line: #a88a2c; --n-tip: #e6e6e6; --n-on-tip: #141414;
  --n-shadow: 0 0 0 1px #333, 0 6px 18px rgba(0, 0, 0, .5); --n-teal: #4fb3b9;
}
.hn * { box-sizing: border-box; }
:where(.hn) button { font: inherit; color: inherit; }
.hn [hidden] { display: none !important; }
.hn .a { position: absolute; }
.hn .private-icon { font-family: spacesword; font-weight: 400; font-style: normal; line-height: 1; }
.hn svg { display: block; }
.hn-ic { display: inline-grid; place-items: center; color: inherit; }

/* shell */
.hn-top { position: absolute; left: 0; right: 0; top: 0; height: 34px; background: var(--n-shell); color: #fff; }
.hn-find { position: absolute; left: 58px; top: 0; width: 415px; height: 27px; border: 1px solid #8a8a8a; border-radius: 14px; display: flex; align-items: center; padding: 0 12px 0 16px; font-size: 14px; color: #fff; }
.hn-find .hn-ic { margin-left: auto; }
.hn-tr { position: absolute; top: 0; height: 27px; display: flex; align-items: center; gap: 18px; color: #fff; font-size: 14px; font-weight: 600; }
.hn-rail { position: absolute; left: 0; top: 34px; bottom: 0; width: 57px; background: var(--n-shell); }
.hn-ri { position: absolute; left: 9px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.hn-ri.on { background: #555; }
.hn-rdiv { position: absolute; left: 12px; width: 25px; height: 1px; background: #888; }
.hn-panel { position: absolute; left: 73px; top: 50px; width: 1812px; height: 953px; background: var(--n-panel); border-radius: 16px; }
.hn-back { position: absolute; left: 57px; top: 34px; right: 0; bottom: 0; background: var(--n-page); border-radius: 16px 0 0 0; }

/* head */
.hn-h1 { position: absolute; left: 97px; top: 70px; margin: 0; font-size: 24px; line-height: 32px; font-weight: 300; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.hn-circle { position: absolute; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--n-line-strong); background: var(--n-panel); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .15s; }
.hn-circle:hover { background: var(--n-soft); }
.hn-pillbtn { position: absolute; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--n-line-strong); background: var(--n-panel); cursor: pointer; font-size: 13px; white-space: nowrap; transition: background-color .15s; }
.hn-pillbtn:hover { background: var(--n-soft); }
.hn-pillbtn.grey { background: var(--n-soft); }
.hn-pillbtn.off { border-color: transparent; background: #f5f5f5; color: #999; }
.hs-dark .hn-pillbtn.off { background: #292929; color: #808080; }
.hn-tabs { position: absolute; left: 97px; right: 25px; top: 114px; height: 41px; border-bottom: 1px solid var(--n-line); display: flex; gap: 12px; }
.hn-tab { height: 32px; display: inline-flex; align-items: center; gap: 9px; padding: 0 12px 0 14px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; font-size: 14px; position: relative; }
.hn-tab:hover { background: var(--n-softer); }
.hn-tab.on { background: var(--n-soft); }
.hn-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--n-text); }
.hn-search { position: absolute; left: 97px; top: 167px; width: 231px; height: 32px; border: 1px solid var(--n-line-strong); border-radius: 16px; display: flex; align-items: center; padding: 0 12px 0 16px; background: var(--n-panel); }
.hn-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--n-text); }
.hn-search input::placeholder { color: var(--n-sub); }
.hn-search:focus-within { box-shadow: 0 0 0 2px var(--n-teal); }
.hn-quick { position: absolute; left: 97px; top: 207px; height: 31px; display: flex; align-items: center; gap: 0; }
.hn-q { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; height: 31px; border: 0; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 6px; }
.hn-q:hover { background: var(--n-softer); }
.hn-caret { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; }
.hn-vdiv { width: 1px; height: 31px; background: var(--n-line); margin: 0 12px; }
.hn-mini { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--n-line-strong); display: grid; place-items: center; margin-right: 11px; cursor: pointer; background: transparent; padding: 0; }
.hn-toggle { position: absolute; display: flex; height: 32px; border: 1px solid var(--n-line); border-radius: 16px; }
.hn-toggle button { width: 32px; height: 30px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hn-toggle button[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--n-line-strong); background: var(--n-panel); }

/* board */
.hn-cols { position: absolute; left: 97px; right: 25px; top: 252px; height: 682px; display: flex; align-items: flex-start; gap: 9px; overflow-x: auto; overflow-y: hidden; scrollbar-width: auto; scrollbar-color: var(--n-scroll) transparent; }
.hn-col { width: 279px; height: 663px; flex: none; display: flex; flex-direction: column; background: var(--n-col); border-radius: 16px; transition: background-color .15s; }
.hn-col.drop { background: color-mix(in srgb, var(--n-teal) 12%, var(--n-col)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--n-teal) 45%, transparent); }
.hn-ch { flex: none; height: 36px; display: flex; align-items: center; padding: 0 9px; font-size: 13px; font-weight: 600; }
.hn-ch small { font-size: 13px; font-weight: 300; color: var(--n-sub); margin-left: 4px; }
.hn-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 8px 9px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: auto; scrollbar-color: var(--n-scroll) transparent; }
.hn-foot { flex: none; height: 46px; padding: 6px 9px 0; border-top: 1px solid var(--n-line); font-size: 13px; line-height: 18px; }
.hn-foot b { font-weight: 600; }
.hn-card { position: relative; flex: none; padding: 8px 12px 9px; border: 1px solid var(--n-line); border-radius: 12px; background: var(--n-card); cursor: grab; transition: box-shadow .15s ease-out, transform .15s ease-out; }
.hn-card:hover { box-shadow: var(--n-shadow); }
.hn-card:focus-visible { outline: 2px solid var(--n-teal); outline-offset: 1px; }
.hn-card.dragging { opacity: .45; transform: rotate(1.5deg); }
.hn-card.sel { box-shadow: 0 0 0 2px var(--n-teal); }
.hn-nm { display: flex; align-items: flex-start; gap: 6px; color: var(--n-link); font-size: 14px; line-height: 18px; font-weight: 600; }
.hn-nm a { color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-nm a:hover { text-decoration: underline; }
.hn-nm .hn-ic { margin-top: 1px; color: var(--n-text); flex: none; }
.hn-pr { margin-top: 0; color: var(--n-text); font-size: 12.5px; line-height: 18px; }
.hn-pr:first-of-type { margin-top: 10px; }
.hn-rule { height: 1px; background: var(--n-line); margin: 9px 0 8px; }
.hn-assoc { display: flex; gap: 2px; align-items: center; height: 24px; }
.hn-assoc span { width: 22px; height: 22px; border-radius: 50%; background: var(--n-softer); display: grid; place-items: center; font-size: 9px; font-weight: 600; color: var(--n-sub); }
.hn-assoc a { color: var(--n-link); font-weight: 600; font-size: 12.5px; text-decoration: none; }
.hn-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--n-pill-old-line); border-radius: 6px; background: var(--n-pill-old); font-size: 12.5px; cursor: pointer; }
.hn-pill.warn { border-color: var(--n-pill-warn-line); background: var(--n-pill-warn); }
.hn-pill i { width: 1px; height: 13px; background: var(--n-text); }
.hn-pill .w { color: #d6b45c; }
.hn-acts { display: flex; justify-content: flex-end; gap: 4px; margin-top: 8px; }
.hn-acts button { position: relative; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; display: grid; place-items: center; padding: 0; cursor: pointer; color: var(--n-text); }
.hn-acts button:hover { background: var(--n-soft); }
.hn-acts button.dim { color: #9a9a9a; }
.hn-hscroll { position: absolute; left: 97px; right: 25px; top: 920px; height: 12px; }
.hn-bottom { position: absolute; left: 73px; width: 1812px; top: 952px; height: 51px; border-top: 1px solid var(--n-line); }
.hn-count { position: absolute; left: 56px; top: 9px; height: 32px; padding: 0 17px; border-radius: 16px; background: var(--n-softer); display: grid; place-items: center; font-weight: 600; }
.hn-fab { position: absolute; left: 6px; top: 966px; width: 40px; height: 40px; border-radius: 50%; background: #00707a; color: #fff; display: grid; place-items: center; }
.hn-side { position: absolute; right: 0; top: 482px; width: 51px; height: 52px; border-radius: 10px 0 0 10px; background: #7b61ff; display: grid; place-items: center; color: #fff; }

/* hints, pop-ups, panel */
.hn-tip { position: absolute; z-index: 60; padding: 7px 12px; border-radius: 6px; background: var(--n-tip); color: var(--n-on-tip); font-size: 13px; line-height: 17px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -100%); }
.hn-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--n-tip); }
.hn-pop { position: absolute; z-index: 50; background: var(--n-raised); border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, .18); }
.hs-dark .hn-pop { box-shadow: 0 0 0 1px #4d4d4d, 0 8px 28px rgba(0, 0, 0, .6); }
.hn-actpop { width: 720px; display: grid; grid-template-columns: 272px 1fr; min-height: 270px; }
.hn-actpop .pa { padding: 24px 24px 20px; border-right: 1px solid var(--n-line); display: flex; flex-direction: column; gap: 10px; }
.hn-actpop .pb { padding: 24px; }
.hn-actpop h3 { margin: 0; font-size: 14px; font-weight: 600; } .hn-actpop .pb h3 { font-size: 20px; font-weight: 600; line-height: 28px; }
.hn-actpop .ln { border-left: 1px solid var(--n-line); margin-left: 6px; padding-left: 12px; display: grid; gap: 6px; }
.hn-actpop .nt { color: var(--n-link); font-weight: 600; display: flex; gap: 5px; align-items: center; }
.hn-actpop .bx { border: 1px solid var(--n-line); border-radius: 6px; padding: 10px 12px; } .hn-actpop .bx b { display: block; font-weight: 600; }
.hn-actpop .qc { display: flex; gap: 12px; margin-top: 18px; }
.hn-actpop .qc button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--n-line); background: var(--n-softer); display: grid; place-items: center; cursor: pointer; padding: 0; position: relative; }
.hn-actpop .qc button:first-child { background: var(--n-panel); border-color: var(--n-line-strong); }
.hn-menu { min-width: 200px; padding: 8px; }
.hn-menu button { display: flex; width: 100%; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; font-size: 14px; }
.hn-menu button:hover, .hn-menu button:focus-visible { background: var(--n-soft); outline: 0; }
.hn-menu button[aria-checked="true"]::after { content: "✓"; margin-left: auto; font-weight: 600; }
.hn-panelx { position: absolute; z-index: 70; top: 50px; right: 18px; bottom: 9px; width: 480px; background: var(--n-raised); border-radius: 16px; box-shadow: -2px 0 24px rgba(0, 0, 0, .2); display: flex; flex-direction: column;
  transform: translateX(110%); transition: transform .3s ease-in; }
.hn-panelx.is-open { transform: none; transition: transform .3s ease-out; }
.hn-panelx .ph { flex: none; display: flex; align-items: center; height: 64px; padding: 0 24px; border-bottom: 1px solid var(--n-line); font-size: 18px; font-weight: 600; }
.hn-panelx .ph button { margin-left: auto; }
.hn-panelx .pb { flex: 1; overflow: auto; padding: 20px 24px; display: grid; gap: 16px; align-content: start; }
.hn-panelx label { display: grid; gap: 6px; font-size: 12.5px; color: var(--n-sub); }
.hn-panelx .v { color: var(--n-text); font-size: 14px; }
.hn-panelx select, .hn-panelx input, .hn-panelx textarea { height: 36px; padding: 0 12px; border: 1px solid var(--n-line); border-radius: 6px; background: var(--n-panel); color: var(--n-text); font: inherit; font-size: 14px; }
.hn-panelx textarea { height: 120px; padding: 10px 12px; resize: none; }
.hn-panelx .pf { flex: none; display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--n-line); }
.hn-primary { height: 36px; padding: 0 20px; border: 0; border-radius: 18px; background: #141414; color: #fff; cursor: pointer; font-weight: 600; }
.hs-dark .hn-primary { background: #ffffff; color: #141414; }
.hn-secondary { height: 36px; padding: 0 20px; border: 1px solid var(--n-line-strong); border-radius: 18px; background: transparent; cursor: pointer; }
.hn-ai { padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 92, 53, .08), rgba(123, 97, 255, .1)); line-height: 1.6; }
.hn-toast { position: absolute; z-index: 80; left: 50%; top: 60px; transform: translate(-50%, -8px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--n-tip); color: var(--n-on-tip); font-size: 14px; transition: opacity .2s, transform .2s; pointer-events: none; }
.hn-toast.on { opacity: 1; transform: translate(-50%, 0); }
.hn.no-head .hn-tabs, .hn.no-head .hn-h1, .hn.no-head .hn-headright { display: none; }
.hn-table { position: absolute; left: 97px; right: 25px; top: 252px; height: 680px; overflow: auto; border: 1px solid var(--n-line); border-radius: 16px; display: none; }
.hn.list .hn-table { display: block; } .hn.list .hn-cols, .hn.list .hn-hscroll { display: none; }
.hn-table table { width: 100%; border-collapse: collapse; } .hn-table th { position: sticky; top: 0; text-align: left; padding: 10px 14px; background: var(--n-col); font-weight: 600; font-size: 12.5px; }
.hn-table td { padding: 10px 14px; border-top: 1px solid var(--n-line); } .hn-table a { color: var(--n-link); font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .hn *, .hn-panelx, .hn-toast { transition: none !important; } }
.hn-tip.right::after, .hn-tip.left::after, .hn-tip.below::after { display: none; }
.hn-pillbtn.tight { padding: 0 13px; gap: 4px; }
.hn.no-head .hn-col { height: 759px; }
