/* Approved baked-milk palette. Visual layer only; business status colors retained. */
:root { color-scheme:light; --milk-bg:#f5efe5; --milk-panel:#fffcf6; --milk-ink:#3e342b; --milk-muted:#7c6d5d; --milk-line:#e5dacb; --milk-accent:#866343; }
body { background:var(--milk-bg)!important; color:var(--milk-ink)!important; -webkit-font-smoothing:antialiased; }
#root .bg-gray-50,#root .bg-gray-100 { background-color:var(--milk-bg)!important; }
#root .bg-white { background-color:var(--milk-panel)!important; }
#root .text-gray-900,#root .text-gray-800,#root .text-gray-700 { color:var(--milk-ink)!important; }
#root .text-gray-600,#root .text-gray-500,#root .text-gray-400 { color:var(--milk-muted)!important; }
#root .border-gray-100,#root .border-gray-200,#root .border-gray-300,#root .divide-gray-200 > :not([hidden]) ~ :not([hidden]) { border-color:var(--milk-line)!important; }
#root aside { background:#ece0cf!important; color:var(--milk-ink)!important; border-right:1px solid var(--milk-line); }
#root aside .text-white,#root aside .text-gray-200 { color:var(--milk-ink)!important; }
#root aside > div:first-child { padding:23px 16px; font-size:20px; letter-spacing:-.6px; border-color:var(--milk-line); }
#root aside nav { padding:12px 8px; }
#root aside nav a,#root aside nav button { border-radius:10px; margin-bottom:3px; }
#root aside nav .bg-gray-800,#root aside nav a[aria-current=page] { background:var(--milk-panel)!important; color:var(--milk-accent)!important; box-shadow:0 3px 12px #59422c08; }
#root aside nav a:hover,#root aside nav button:hover { background:#e3d5c2!important; color:var(--milk-ink)!important; }
#root header[style] { background:var(--milk-panel)!important; color:var(--milk-ink)!important; border-bottom:1px solid var(--milk-line); }
#root header .text-white,#root header .text-gray-200 { color:var(--milk-ink)!important; }
#root header input { background:var(--milk-bg)!important; color:var(--milk-ink)!important; border:1px solid var(--milk-line); border-radius:12px; }
#root header input::placeholder { color:var(--milk-muted)!important; }
#root :is(button,a).bg-blue-600,#root :is(button,a).bg-blue-500 { background:var(--milk-accent)!important; color:#fffaf2!important; }
#root :is(button,a).bg-blue-600:hover,#root :is(button,a).bg-blue-500:hover { background:#705136!important; }
#root .text-blue-600,#root .text-blue-700 { color:#795735!important; }
#root button.bg-blue-50,#root button.bg-blue-100 { background:#efe3d2!important; }
#root .border-blue-200,#root .border-blue-300 { border-color:#d7bea0!important; }
#root input:not([type=checkbox]):not([type=radio]),#root select,#root textarea { border-color:var(--milk-line); border-radius:9px; }
#root input:focus,#root select:focus,#root textarea:focus { --tw-ring-color:#b99a73; border-color:#a58460; }
#root .bg-white.rounded-lg,#root .bg-white.rounded-xl { border-radius:16px; box-shadow:0 4px 16px #59422c06; }
#root h1 { letter-spacing:-.6px; }
#root .hover\:bg-gray-50:hover,#root .hover\:bg-gray-100:hover { background:#efe5d7!important; }
@media(prefers-reduced-motion:no-preference) { #root button,#root aside a { transition:background-color .15s,color .15s; } }

#root button.bg-green-600,#root button.bg-indigo-600,#root button.bg-purple-600 { background:var(--milk-accent)!important; color:#fffaf2!important; }
#root button.bg-green-600:hover,#root button.bg-indigo-600:hover,#root button.bg-purple-600:hover { background:#705136!important; }
#root button.border-blue-500,#root button.border-blue-600 { border-color:var(--milk-accent)!important; }
/* Clearer contrast; warm surfaces retained. */
:root { --milk-bg:#f3f0eb; --milk-panel:#fffefa; --milk-ink:#28231e; --milk-muted:#62584e; --milk-line:#d8d0c6; --milk-accent:#725235; }
#root .work-schedule { background:var(--milk-panel); border:1px solid var(--milk-line); border-radius:18px; padding:20px; }
#root .work-schedule h1 { font-size:22px; }
#root .work-schedule select,#root .work-schedule input:not([type=checkbox]) { font-size:13px; min-height:38px; background:#fffefa; color:#28231e; }
#root .work-schedule .schedule-legend { margin:0 0 14px; color:#62584e; font-size:12px; }
#root .work-schedule .schedule-legend summary { cursor:pointer; margin-bottom:8px; }
#root .work-schedule .schedule-legend span { background:#f3f0eb!important; color:#40372f!important; font-weight:400; }
#root .work-schedule table { font-size:12px; }
#root .work-schedule th { background:#f3f0eb!important; color:#4f453b!important; font-weight:500; }
#root .work-schedule td:first-child { min-width:180px; font-size:13px; }
#root .work-schedule td:first-child div:last-child { font-size:11px; }
#root .work-schedule td { border-bottom-color:#e9e3da!important; }
#root .work-schedule [data-schedule-value] { background:transparent!important; color:#40372f!important; height:38px; font-size:12px; font-weight:500; border-radius:6px; }
#root .work-schedule [data-schedule-value="В"] { background:#e9efea!important; color:#31533b!important; }
#root .work-schedule [data-schedule-value="С"],#root .work-schedule [data-schedule-value="К"] { background:#eaf0f4!important; color:#385168!important; }
#root .work-schedule [data-schedule-value="Б"] { background:#f9ece4!important; color:#864b29!important; }
#root .work-schedule [data-schedule-value="А"],#root .work-schedule [data-schedule-value="ОТ"],#root .work-schedule [data-schedule-value="ОП"] { background:#f8e7e4!important; color:#8f332a!important; }
#root .work-schedule [data-schedule-value]:hover { box-shadow:inset 0 0 0 1px #ad957b; }
#root .daily-cash { background:var(--milk-panel);border:1px solid var(--milk-line);border-radius:18px;padding:24px; }
#root .daily-cash-heading { display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px; }
#root .daily-cash h2 { font-size:22px;font-weight:650;letter-spacing:-.4px; }
#root .daily-cash-heading p { margin-top:5px; }
#root .daily-cash select,#root .cash-refresh { border:1px solid var(--milk-line);background:var(--milk-panel);padding:9px 12px;border-radius:9px;color:var(--milk-ink);font-size:14px; }
#root .daily-cash-grid { display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px; }
#root .cash-label { color:#62584e;font-size:14px;margin-bottom:9px; }
#root .cash-number { font-size:36px;line-height:1.25;font-weight:650;letter-spacing:-1px;color:#49351f;overflow-wrap:anywhere; }
#root .cash-secondary-number { font-size:25px;line-height:1.4;font-weight:550;color:#28231e;overflow-wrap:anywhere; }
#root .cash-detail { border-left:1px solid var(--milk-line);padding-left:24px; }
@media(max-width:700px){#root .daily-cash-grid{grid-template-columns:1fr}#root .cash-detail{border-left:0;border-top:1px solid var(--milk-line);padding:16px 0 0}#root .cash-number{font-size:30px}}

/* Readable schedule grid and a continuous current-day marker. */
#root .work-schedule table { border-collapse:separate; border-spacing:0; }
#root .work-schedule th { background:#e8e0d5!important; color:#352c25!important; font-size:12px; font-weight:600; border-bottom:2px solid #b9aa96!important; }
#root .work-schedule td { background:#fffefa!important; border-bottom:1px solid #d9cfc1!important; border-right:1px solid #e4dcd0; }
#root .work-schedule tbody tr:nth-child(even) td { background:#f5efe6!important; }
#root .work-schedule td:first-child { min-width:220px; color:#282019!important; border-right:2px solid #c5b6a2; }
#root .work-schedule td:first-child div:last-child { color:#655849!important; }
#root .work-schedule td[data-schedule-day] { padding:3px!important; min-width:38px; }
#root .work-schedule [data-schedule-value] { height:34px; font-size:13px; font-weight:700; border-radius:5px; color:#352b21!important; }
#root .work-schedule [data-schedule-value="Р"] { background:#fff!important; box-shadow:inset 0 0 0 1px #c8bcae; color:#33291f!important; }
#root .work-schedule [data-schedule-value="В"] { background:#c8dfca!important; color:#204a2c!important; }
#root .work-schedule [data-schedule-value="С"] { background:#c9e0ee!important; color:#244f69!important; }
#root .work-schedule [data-schedule-value="К"] { background:#d7d4ec!important; color:#4c3d70!important; }
#root .work-schedule [data-schedule-value="Б"] { background:#f5d6b4!important; color:#783d16!important; }
#root .work-schedule [data-schedule-value="А"],#root .work-schedule [data-schedule-value="ОТ"],#root .work-schedule [data-schedule-value="ОП"] { background:#f0c5c0!important; color:#7e2823!important; }
#root .work-schedule tbody tr:hover td { background:#eee3d2!important; }
#root .work-schedule td[data-schedule-today="true"] { background:#f8e7cf!important; }
#root .work-schedule th[data-schedule-today="true"] { background:#9a592f!important; color:#fff!important; }
#root .work-schedule [data-schedule-today="true"]::before { content:""; position:absolute; left:0; top:0; bottom:-1px; width:3px; background:#a55e30; z-index:3; pointer-events:none; }
#root .work-schedule th[data-schedule-today="true"]::before { background:#633b24; }
#root .work-schedule [data-schedule-value]:focus-visible { outline:2px solid #725235; outline-offset:1px; }

#root .nav-misc summary { list-style:none; color:#554734; border-radius:10px; margin:0 8px; }
#root .nav-misc summary::-webkit-details-marker { display:none; }
#root .nav-misc summary:hover { background:#f6efe3; }
#root .nav-misc .misc-chevron { transform:rotate(-90deg); transition:transform .15s; }
#root .nav-misc[open] .misc-chevron { transform:rotate(0deg); }

#root .pipeline-entry { max-width:1000px; margin:0 auto; padding:12px 0; }
#root .pipeline-entry h1 { font-size:28px; font-weight:700; color:#30271f; margin-bottom:8px; }
#root .pipeline-intro { color:#6a5d4f; font-size:15px; margin-bottom:26px; }
#root .pipeline-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
#root .pipeline-choice { display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:28px; text-align:left; padding:26px; min-height:150px; border:1px solid #cfbeaa; border-radius:18px; background:#fffdf8!important; color:#34291f!important; cursor:pointer; transition:background .15s,border-color .15s,transform .15s; }
#root .pipeline-choice:hover { background:#f4e8d6!important; border-color:#8e6842; transform:translateY(-2px); }
#root .pipeline-choice:focus-visible { outline:3px solid #94683f; outline-offset:3px; }
#root .pipeline-choice-title { font-size:20px; font-weight:650; }
#root .pipeline-choice-note { color:#795735; font-size:13px; }
#root .pipeline-change { border:1px solid #beaa91; background:#fffdf8!important; color:#5d4128!important; border-radius:10px; padding:9px 14px; font-size:13px; cursor:pointer; }

#root .deal-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:#766957; font-size:13px; margin-bottom:18px; }
#root .deal-breadcrumb button { color:#715133; cursor:pointer; }
#root .deal-breadcrumb button:hover { text-decoration:underline; }

#root .deal-office-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:12px 16px; margin-bottom:22px; border:1px solid #d2c2ad; border-radius:12px; background:#efe3d1; color:#513c29; }

#root .callback-phone { display:flex; flex-wrap:wrap; gap:10px; align-items:center; grid-column:1/-1; }
#root .callback-phone a { font-size:22px; font-weight:650; color:var(--milk-ink); letter-spacing:.3px; }
#root .callback-metadata { display:grid; gap:14px; font-size:13px; }
#root .callback-metadata select { min-width:0; max-width:100%; }

#root .schedule-view-controls{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}#root .schedule-view-controls button{border:1px solid #d8cbbb;background:#fffdf9;color:#705338;border-radius:10px;padding:9px 14px;font-size:13px;cursor:pointer}

/* Continuous weekend columns, including alternating employee rows. */
#root .work-schedule thead th[data-schedule-weekend="true"]{background:#d4dfd6!important;color:#304d3a!important;border-left:1px solid #b7c9bb;border-right:1px solid #b7c9bb}
#root .work-schedule tbody tr td[data-schedule-weekend="true"],#root .work-schedule tbody tr:nth-child(even) td[data-schedule-weekend="true"]{background:#e0e9e1!important;border-left:1px solid #c5d5c8;border-right:1px solid #c5d5c8}
#root .work-schedule tbody tr:hover td[data-schedule-weekend="true"]{background:#d2e0d4!important}
#root .work-schedule thead th[data-schedule-today="true"]{background:#9a592f!important;color:#fff!important}
