/* Sign in and loading screens in the Homestone Clear look (124): cool white and pale blue, like Ops and the website.
   Its own file, so a stylesheet a browser saved earlier can't keep the old cream look. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .login-wrap, :root:not([data-theme="dark"]) .hs-boot {
    background: radial-gradient(55% 45% at 88% 0%, #dbeafe, rgba(219, 234, 254, 0) 70%), radial-gradient(45% 40% at 0% 100%, #eaf5fd, rgba(234, 245, 253, 0) 70%), linear-gradient(180deg, #f6f9fc, #ffffff);
  }
  :root:not([data-theme="dark"]) .login { border-color: #dcebf8; box-shadow: 0 1px 2px rgba(11, 27, 46, .05), 0 30px 70px -30px rgba(11, 27, 46, .28); }
}
:root[data-theme="light"] .login-wrap, :root[data-theme="light"] .hs-boot {
  background: radial-gradient(55% 45% at 88% 0%, #dbeafe, rgba(219, 234, 254, 0) 70%), radial-gradient(45% 40% at 0% 100%, #eaf5fd, rgba(234, 245, 253, 0) 70%), linear-gradient(180deg, #f6f9fc, #ffffff);
}
:root[data-theme="light"] .login { border-color: #dcebf8; }
.login h1 { font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.03em; }

/* Loading: the Homestone mark, its blue stone breathing. */
.hs-boot { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 18px; background: #f6f9fc; }
.hs-boot-mark { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; }
.hs-boot-mark i { width: 14px; height: 14px; border-radius: 4px; background: #0b1b2e; }
.hs-boot-mark i.e { visibility: hidden; }
.hs-boot-mark i.b { background: #2563eb; animation: hsBootStone 1.3s ease-in-out infinite; }
.hs-boot p { margin: 0; font: 600 14px/1.3 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; color: #566276; letter-spacing: -0.005em; }
@keyframes hsBootStone { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hs-boot-mark i.b { animation: none; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hs-boot { background: #0b1220; }
  :root:not([data-theme="light"]) .hs-boot-mark i:not(.b) { background: #e2e8f0; }
  :root:not([data-theme="light"]) .hs-boot p { color: #94a3b8; }
}
:root[data-theme="dark"] .hs-boot { background: #0b1220; }
:root[data-theme="dark"] .hs-boot-mark i:not(.b) { background: #e2e8f0; }

/* Winter style swatches in the style picker (141) */
.st-card-winter .pm-sw i:nth-child(1) { background: #0b2545; }
.st-card-winter .pm-sw i:nth-child(2) { background: #1f7ae0; }
.st-card-winter .pm-sw i:nth-child(3) { background: #e6f2ff; }

/* Billing rules (142) */
.hs-hol { display: grid; gap: 8px; }
.hs-hol-r { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 76px; gap: 8px; }
@media (max-width: 640px) { .hs-hol-r { grid-template-columns: 1fr 1fr; } .hs-hol-r input:first-child { grid-column: 1 / -1; } }
.hs-billr .hs-cmin { max-width: 240px; }
.sv-form .hs-billf { margin-top: 4px; }

/* Quotes and deposits (144) */
.pp-dep { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; background: #fff3d6; color: #8a5a00; }
.hs-qexp { display: flex; align-items: center; gap: 6px; margin-top: 4px; white-space: nowrap; }
.hs-qexp input, .hs-bal input { width: auto; padding: 3px 6px; font-size: 13px; min-height: 0; }
.hs-bal { display: flex; align-items: center; gap: 6px; }

/* Move or add a person (147) */
.hs-mvwho { display: grid; gap: 6px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line, #e3e8ef); border-radius: 12px; }

/* Page background swatches (149) */
.hs-bgs { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-bgsw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line, #e3e8ef); border-radius: 999px; background: var(--surface, #fff); font: inherit; font-size: 14px; cursor: pointer; }
.hs-bgsw i { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); overflow: hidden; }
.hs-bgsw i b { position: absolute; right: 3px; bottom: 3px; width: 11px; height: 11px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hs-bgsw[aria-pressed="true"] { border-color: var(--accent, #1b5bd0); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #1b5bd0) 18%, transparent); font-weight: 600; }

/* Spring, Summer, Quote swatches (150) */
.st-card-spring .pm-sw i:nth-child(1) { background: #fbd3e2; } .st-card-spring .pm-sw i:nth-child(2) { background: #3e8e41; } .st-card-spring .pm-sw i:nth-child(3) { background: #f5b700; }
.st-card-summer .pm-sw i:nth-child(1) { background: #0b4f7a; } .st-card-summer .pm-sw i:nth-child(2) { background: #0e8fb8; } .st-card-summer .pm-sw i:nth-child(3) { background: #ffc94d; }
.st-card-quote .pm-sw i:nth-child(1) { background: #2f6b33; } .st-card-quote .pm-sw i:nth-child(2) { background: #ffffff; } .st-card-quote .pm-sw i:nth-child(3) { background: #f3f4f6; }

/* Pipeline drag (151) */
.board .dcard-main { touch-action: pan-y; }
.dc-lift { opacity: .35; }
.dc-ghost { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; box-shadow: 0 18px 40px rgba(11,21,36,.25); border-radius: 14px; background: var(--surface, #fff); }
.board-col.dc-over { outline: 2px dashed var(--accent, #1b5bd0); outline-offset: -4px; background: color-mix(in srgb, var(--accent, #1b5bd0) 6%, transparent); }
body.dc-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }

/* Hopkins swatch (164) */
.st-card-hopkins .pm-sw i:nth-child(1) { background: #0c2340; } .st-card-hopkins .pm-sw i:nth-child(2) { background: #3b8eea; } .st-card-hopkins .pm-sw i:nth-child(3) { background: #e3eefb; }

/* Brand Mark swatch (167) */
.st-card-brand .pm-sw i:nth-child(1) { background: #1f2a44; } .st-card-brand .pm-sw i:nth-child(2) { background: #2f6be0; } .st-card-brand .pm-sw i:nth-child(3) { background: #e6eefc; }

/* Funnel swatch (181) */
.st-card-funnel .pm-sw i:nth-child(1) { background: #1c1209; } .st-card-funnel .pm-sw i:nth-child(2) { background: #e8692a; } .st-card-funnel .pm-sw i:nth-child(3) { background: #fff3e8; }

/* Varsity swatch (271) */
.st-card-varsity .pm-sw i:nth-child(1) { background: #1f4e3d; } .st-card-varsity .pm-sw i:nth-child(2) { background: #f2c14e; } .st-card-varsity .pm-sw i:nth-child(3) { background: #f4ede0; }
