/* Dairy Care One. A colour scheme is only a set of tokens; every rule below reads the tokens. */
:root, :root[data-theme='daylight'] {
	color-scheme: light;
	--bg: #f2f5f9; --panel: #fff; --panel2: #f7f9fc; --inset: #eef2f7; --line: #dce4ed; --line2: #c5d0dd;
	--text: #14202e; --text2: #40536a; --muted: #6a7d93; --acc: #00467f; --acc-ink: #fff; --acc-soft: #e5eff8; --acc-text: #00467f;
	--rail: #00365f; --rail2: #002a4b; --rail-ink: #cfe0ef; --rail-on: #fff; --flash: #ef3e23;
	--ok: #13703f; --ok-bg: #e3f4ea; --warn: #8a5300; --warn-bg: #fdf0d8; --bad: #b3261e; --bad-bg: #fce8e6; --info: #0b5cab; --info-bg: #e5f0fb;
	--s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --mark-soft: #bcd3ec; --grid: #e8edf3; --axis: #c5d0dd;
	--l-quote: #6250d6; --l-order: #2a78d6; --l-processing: #b7791f; --l-sign: #d9530f; --l-invoice: #0f8a78; --l-done: #64748b;
	--shadow: 0 1px 2px rgba(16, 40, 70, .05), 0 4px 16px rgba(16, 40, 70, .05); --shadow2: 0 12px 48px rgba(10, 30, 60, .22); --scrim: rgba(12, 26, 44, .46);
}
:root[data-theme='command'] {
	color-scheme: dark;
	--bg: #020a17; --panel: #061a38; --panel2: #082248; --inset: #04122a; --line: rgba(74, 168, 255, .17); --line2: rgba(74, 200, 255, .36);
	--text: #e4f1ff; --text2: #a9c1dd; --muted: #7f9aba; --acc: #38d6ff; --acc-ink: #03182b; --acc-soft: rgba(56, 214, 255, .12); --acc-text: #6be1ff;
	--rail: #04122a; --rail2: #020a17; --rail-ink: #8fb1d4; --rail-on: #fff; --flash: #ff6a2b;
	--ok: #52e0a4; --ok-bg: rgba(61, 220, 151, .13); --warn: #f7c662; --warn-bg: rgba(245, 185, 58, .13); --bad: #ff8f78; --bad-bg: rgba(255, 95, 74, .15); --info: #7fd0ff; --info-bg: rgba(56, 160, 255, .14);
	--s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --mark-soft: #1d4676; --grid: rgba(74, 168, 255, .1); --axis: rgba(74, 168, 255, .3);
	--l-quote: #a99cff; --l-order: #57a6ff; --l-processing: #f0b849; --l-sign: #ff8a4c; --l-invoice: #35d0b4; --l-done: #8ba0b8;
	--shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 34px rgba(0, 0, 0, .3); --shadow2: 0 20px 70px rgba(0, 0, 0, .6); --scrim: rgba(1, 6, 14, .72);
}
:root[data-theme='night'] {
	color-scheme: dark;
	--bg: #12151a; --panel: #1b2027; --panel2: #222832; --inset: #161a20; --line: #2c343f; --line2: #414c5b;
	--text: #e8ecf2; --text2: #b6c0cd; --muted: #8894a5; --acc: #6ea8ff; --acc-ink: #07162c; --acc-soft: rgba(110, 168, 255, .13); --acc-text: #8dbaff;
	--rail: #0e1116; --rail2: #0a0c10; --rail-ink: #98a5b6; --rail-on: #fff; --flash: #ff6b4a;
	--ok: #5fd699; --ok-bg: rgba(61, 200, 130, .13); --warn: #f0bd5c; --warn-bg: rgba(240, 180, 60, .13); --bad: #ff8c7e; --bad-bg: rgba(255, 95, 80, .14); --info: #86c5ff; --info-bg: rgba(80, 160, 255, .14);
	--s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --mark-soft: #31496a; --grid: #272e38; --axis: #414c5b;
	--l-quote: #a99cff; --l-order: #6aaeff; --l-processing: #e5b04b; --l-sign: #ff8d55; --l-invoice: #45cbb2; --l-done: #8f9bab;
	--shadow: 0 8px 28px rgba(0, 0, 0, .26); --shadow2: 0 20px 60px rgba(0, 0, 0, .55); --scrim: rgba(0, 0, 0, .62);
}
:root[data-theme='pasture'] {
	color-scheme: light;
	--bg: #f4f2e8; --panel: #fffef9; --panel2: #faf8ee; --inset: #efecdd; --line: #e0dac6; --line2: #cbc3a8;
	--text: #20281c; --text2: #4c563f; --muted: #757c63; --acc: #2f6b3a; --acc-ink: #fff; --acc-soft: #e4efdf; --acc-text: #2a6134;
	--rail: #234a2b; --rail2: #1a3820; --rail-ink: #cfe3d0; --rail-on: #fff; --flash: #d9530f;
	--ok: #256b35; --ok-bg: #e2f0de; --warn: #85560a; --warn-bg: #f9edcf; --bad: #a8321f; --bad-bg: #f8e4dc; --info: #1f5f8a; --info-bg: #e1edf4;
	--s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --mark-soft: #cfd9bf; --grid: #ebe6d5; --axis: #cbc3a8;
	--l-quote: #6250d6; --l-order: #2f6fb5; --l-processing: #a86e13; --l-sign: #c94f12; --l-invoice: #18806f; --l-done: #757c63;
	--shadow: 0 1px 2px rgba(60, 50, 20, .06), 0 4px 16px rgba(60, 50, 20, .05); --shadow2: 0 14px 48px rgba(50, 40, 10, .24); --scrim: rgba(40, 34, 14, .46);
}
:root[data-theme='contrast'] {
	color-scheme: light;
	--bg: #fff; --panel: #fff; --panel2: #f4f6f8; --inset: #eceff3; --line: #8a97a6; --line2: #4d5a69;
	--text: #000; --text2: #16222f; --muted: #3a4755; --acc: #003b75; --acc-ink: #fff; --acc-soft: #dbe9f7; --acc-text: #003b75;
	--rail: #001f3f; --rail2: #00152b; --rail-ink: #fff; --rail-on: #fff; --flash: #ff3b1d;
	--ok: #05562a; --ok-bg: #d8f0e1; --warn: #6b3d00; --warn-bg: #ffe9c2; --bad: #96100a; --bad-bg: #ffe0dd; --info: #00407d; --info-bg: #dbe9f7;
	--s1: #1c5cab; --s2: #c24a14; --s3: #0b7a51; --s4: #9a6700; --mark-soft: #9fb9d6; --grid: #d5dbe2; --axis: #4d5a69;
	--l-quote: #4636b5; --l-order: #0b4f9e; --l-processing: #7a4a00; --l-sign: #b23c00; --l-invoice: #00604f; --l-done: #3a4755;
	--shadow: none; --shadow2: 0 10px 40px rgba(0, 0, 0, .4); --scrim: rgba(0, 0, 0, .55);
}
:root { --r: 12px; --head: 'Montserrat', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --pad: 20px; --row: 10px; }
:root[data-density='compact'] { --pad: 14px; --row: 6px; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font: 14px/1.45 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.has-ov { overflow: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--head); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.625rem; font-weight: 800; } h2 { font-size: 1.25rem; font-weight: 700; } h3 { font-size: 1rem; font-weight: 700; } h4 { font-size: .8125rem; font-weight: 700; }
p { margin: 0; } a { color: var(--acc-text); text-decoration: none; } a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button[disabled] { cursor: default; opacity: .5; }
small { font-size: .8125rem; color: var(--muted); } ol, ul { margin: 0; padding: 0; list-style: none; } dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; flex: none; } .grow { flex: 1 1 0; min-width: 0; } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.c { justify-content: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .dim { color: var(--muted); font-size: .8125rem; } .bad { color: var(--bad); } .none { color: var(--muted); padding: 14px 2px; font-size: .875rem; }
.sku { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8125rem; } .lnk { color: var(--acc-text); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; } .lnk:hover { text-decoration: underline; }
.mk-a { fill: currentColor; } .mk-b { fill: var(--flash); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line2); background: var(--panel); font-weight: 600; font-size: .875rem; white-space: nowrap; transition: background .12s, border-color .12s, transform .06s; text-decoration: none !important; color: var(--text); }
.btn:hover:not([disabled]) { background: var(--panel2); border-color: var(--acc); } .btn:active:not([disabled]) { transform: translateY(1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); } .btn.primary:hover:not([disabled]) { filter: brightness(1.1); background: var(--acc); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; } :root[data-theme='command'] .btn.danger, :root[data-theme='night'] .btn.danger { color: #2a0803; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text2); } .btn.ghost:hover:not([disabled]) { background: var(--inset); border-color: transparent; color: var(--text); }
.btn.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); } .btn.sm { min-height: 32px; padding: 0 10px; font-size: .8125rem; border-radius: 8px; gap: 6px; } .btn.sm .ic { width: 16px; height: 16px; }
.btn.big { min-height: 46px; padding: 0 20px; font-size: 1rem; } .btn.icon { width: 38px; padding: 0; } .btn.icon.sm { width: 32px; } .btn.on { color: var(--acc-text); background: var(--acc-soft); }
/* inputs */
.inp { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line2); border-radius: 9px; background: var(--panel); color: var(--text); font: inherit; font-size: .9375rem; } textarea.inp { resize: vertical; line-height: 1.45; }
.inp:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); } .inp.sm { min-height: 32px; padding: 3px 8px; font-size: .875rem; width: auto; border-radius: 7px; } .inp.big { min-height: 48px; font-size: 1.0625rem; } .inp::placeholder { color: var(--muted); opacity: .85; } .inp.late { color: var(--bad); border-color: var(--bad); font-weight: 600; } select.inp { padding-right: 28px; } .inp[disabled] { opacity: .6; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--acc); margin: 0; flex: none; }
.field { display: block; } .field > span { display: block; font-size: .8125rem; font-weight: 600; color: var(--text2); margin-bottom: 5px; } .field > small { display: block; margin-top: 5px; }
.chk { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; cursor: pointer; } .chk b { font-weight: 600; display: block; } .chk small { display: block; } .tick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.fg { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } .fg.f2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .fg .wide { grid-column: 1 / -1; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 220px; min-width: 0; } .search > .ic { position: absolute; left: 11px; color: var(--muted); pointer-events: none; } .search > .inp { padding-left: 37px; } .search > .btn { position: absolute; right: 4px; }
.seg { display: inline-flex; background: var(--inset); border-radius: 10px; padding: 3px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; } .seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; min-height: 34px; border-radius: 8px; font-weight: 600; font-size: .875rem; color: var(--text2); white-space: nowrap; } .seg button.on { background: var(--panel); color: var(--acc-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); } .seg.big { display: flex; } .seg.big button { flex: 1 1 0; min-height: 44px; font-size: .9375rem; } .seg.icons button span { display: none; } .seg.icons button { padding: 0 10px; } :root[data-theme='command'] .seg button.on, :root[data-theme='night'] .seg button.on { background: var(--acc-soft); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; } .chip { display: inline-flex; gap: 6px; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 99px; font-size: .8125rem; font-weight: 600; color: var(--text2); background: var(--panel); } .chip.on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); } .chip .ic { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; background: var(--inset); color: var(--text2); font-size: .75rem; font-weight: 600; white-space: nowrap; line-height: 1.6; } .tag .ic { width: 12px; height: 12px; } .tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.warn, .tag.next { background: var(--warn-bg); color: var(--warn); } .tag.bad, .tag.over { background: var(--bad-bg); color: var(--bad); } .tag.month { background: var(--bad-bg); color: var(--bad); } .tag.info, .tag.s-poultry, .tag.s-dairy, .tag.s-fnb { background: var(--info-bg); color: var(--info); } .tag.demo { border: 1px dashed var(--line2); background: none; color: var(--muted); } .pill { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: .8125rem; font-weight: 600; background: var(--inset); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.lane { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--text2); white-space: nowrap; } .lane::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--l-done); } .lane.quote::before { background: var(--l-quote); } .lane.order::before { background: var(--l-order); } .lane.processing::before { background: var(--l-processing); } .lane.sign::before { background: var(--l-sign); } .lane.invoice::before { background: var(--l-invoice); } .lane.bin::before, .lane.lost::before { background: var(--bad); }
.av { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: .6875rem; font-weight: 700; flex: none; letter-spacing: .02em; } .av.xs { width: 24px; height: 24px; font-size: .5625rem; } .av.lg { width: 44px; height: 44px; font-size: 1rem; } .cnt { font-style: normal; font-size: .75rem; font-weight: 700; background: var(--acc-soft); color: var(--acc-text); border-radius: 99px; padding: 2px 9px; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 30px 18px; color: var(--muted); text-align: center; } .empty > .ic { width: 30px; height: 30px; opacity: .55; } .empty b { color: var(--text2); } .err { color: var(--bad); font-weight: 600; font-size: .875rem; margin-top: 8px; } .errs { display: flex; gap: 10px; background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: .875rem; margin-bottom: 14px; } .errs li + li { margin-top: 3px; } .band { display: flex; gap: 9px; align-items: flex-start; padding: 10px 13px; border-radius: 9px; background: var(--inset); font-size: .875rem; } .band.bad { background: var(--bad-bg); color: var(--bad); } .band.warn { background: var(--warn-bg); color: var(--warn); } .band.info { background: var(--info-bg); color: var(--info); } .band.ok { background: var(--ok-bg); color: var(--ok); } .band.note { background: var(--info-bg); color: var(--text); } .band.note .ic { color: var(--info); }
/* cards, tables */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; } .card-h { display: flex; gap: 10px; align-items: center; padding: 15px var(--pad) 0; } .card-h > .ic { color: var(--acc-text); } .card-h p { color: var(--muted); font-size: .8125rem; } .card-b { padding: 12px var(--pad) var(--pad); } .card.accent { border-color: var(--acc); }
.tblwrap { overflow-x: auto; } .tbl { width: 100%; border-collapse: collapse; font-size: .875rem; } .tbl th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl td { padding: var(--row) 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl tbody tr:last-child td { border-bottom: 0; } .tbl th.num, .tbl td.num { text-align: right; } .tbl td small { display: block; } .tbl tbody tr:hover { background: var(--panel2); } .tbl .w1 { width: 34px; padding-right: 0; } .tbl .acts { text-align: right; white-space: nowrap; } .tbl .acts .btn + .btn { margin-left: 4px; } .tbl tfoot td { padding: 4px 10px; border: 0; color: var(--text2); } .tbl tfoot tr:first-child td { padding-top: 10px; } .tbl tfoot .grand td { font-weight: 700; color: var(--text); font-size: 1rem; } .tbl tr.st td:first-child { box-shadow: inset 3px 0 var(--bad); } .tbl details summary { cursor: pointer; color: var(--acc-text); font-weight: 600; } .tbl.items th:first-child, .tbl.items td:first-child { width: 56px; }
/* frame */
.frame { display: grid; grid-template-columns: 206px minmax(0, 1fr); grid-template-rows: 60px auto; min-height: 100vh; } .rail { grid-row: 1 / 3; position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg, var(--rail), var(--rail2)); color: var(--rail-ink); display: flex; flex-direction: column; z-index: 30; } .brand { display: flex; gap: 11px; align-items: center; padding: 14px 18px; height: 60px; color: var(--rail-on) !important; font: 800 1rem/1.1 var(--head); text-decoration: none !important; } .brand .mark { color: #fff; } .rail-i { flex: 1; overflow-y: auto; padding: 8px 10px; } .rail-i a { display: flex; align-items: center; gap: 12px; padding: 0 12px; min-height: 42px; border-radius: 9px; color: inherit; font-weight: 600; margin-bottom: 2px; position: relative; text-decoration: none; } .rail-i a:hover { background: rgba(255, 255, 255, .08); color: var(--rail-on); } .rail-i a.on { background: rgba(255, 255, 255, .14); color: var(--rail-on); } .rail-i a.on::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--flash); } .rail-i a span { flex: 1; } .rail-f { padding: 12px 20px 16px; } .rail-f small { color: inherit; opacity: .75; } .nb { font-style: normal; font-size: .6875rem; font-weight: 700; background: var(--flash); color: #fff; border-radius: 99px; padding: 1px 7px; line-height: 1.5; }
.top { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); } .burger { display: none; } .find { display: flex; align-items: center; gap: 10px; flex: 0 1 520px; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); color: var(--muted); } .find:hover { border-color: var(--acc); } .find span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } kbd { font: 600 .6875rem var(--body); border: 1px solid var(--line2); border-radius: 5px; padding: 2px 6px; color: var(--muted); } .bell { position: relative; } .bell .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--flash); border: 2px solid var(--bg); } .who { display: flex; align-items: center; gap: 9px; font-weight: 600; padding: 4px 6px; border-radius: 10px; } .who:hover { background: var(--inset); } .who > .ic { width: 15px; color: var(--muted); }
.menuwrap { position: relative; } .pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 220px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow2); padding: 6px; max-height: min(78vh, 680px); overflow-y: auto; } .pop.wide { width: 350px; } .pop > button, .pop .swap button { display: flex; width: 100%; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 8px; font-weight: 600; min-height: 40px; } .pop > button:hover, .pop .swap button:hover { background: var(--acc-soft); } .pop > button > .ic { color: var(--muted); } .pop > button.bad, .pop > button.bad .ic { color: var(--bad); } .pop h4 { padding: 12px 10px 5px; color: var(--muted); font-size: .75rem; } .pop .me { display: flex; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 2px; } .pop .me b { display: block; } .pop .none { padding: 14px 10px; } .pop small { display: block; font-weight: 500; } .themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 2px 6px 6px; } .themes button { display: grid; justify-items: center; gap: 4px; padding: 6px 2px; border-radius: 8px; font-size: .6875rem; text-align: center; } .themes i { width: 34px; height: 24px; border-radius: 6px; border: 1px solid var(--line2); } .themes button.on { background: var(--acc-soft); font-weight: 700; } .att em { font-style: normal; font-weight: 700; min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; } .att.bad > .ic, .att.bad em { color: var(--bad) !important; } .att.warn > .ic, .att.warn em { color: var(--warn) !important; } .att.info > .ic { color: var(--info) !important; }
.view { min-width: 0; } .pg { padding: 20px 22px 40px; max-width: 1720px; margin: 0 auto; } .pg-h { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; } .pg-h p { color: var(--muted); } .tabs, .scrim { display: none; } .filters, .bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; } .filters .inp, .bar > .inp, .bar select.inp { width: auto; min-height: 38px; font-size: .875rem; } .bar .search { flex: 1 1 200px; max-width: 360px; } .bar .search .inp { min-height: 38px; width: 100%; }
/* home */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; margin-bottom: 14px; } .tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; min-width: 0; position: relative; } button.tile:hover { border-color: var(--acc); } .t-l { display: flex; gap: 7px; align-items: center; font-size: .8125rem; font-weight: 600; color: var(--text2); } .t-l .ic { width: 16px; height: 16px; color: var(--muted); } .t-v { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; } .t-s { font-size: .8125rem; color: var(--muted); } .tile.bad .t-v { color: var(--bad); } .tile.hero { grid-column: span 2; background: linear-gradient(120deg, var(--rail), color-mix(in srgb, var(--rail) 70%, var(--acc))); color: #fff; border-color: transparent; justify-content: center; } .tile.hero .t-l, .tile.hero .t-s { color: rgba(255, 255, 255, .82); } .tile.hero .t-v { font-size: 2.375rem; } .tile.hero .t-k { position: absolute; right: 18px; bottom: 14px; display: grid; justify-items: end; } .tile.hero .t-k small { color: rgba(255, 255, 255, .7); font-size: .6875rem; } .tile.hero .spark rect { fill: rgba(255, 255, 255, .34); } .tile.hero .spark rect:last-child { fill: #fff; } .tile.plain { border: 0; box-shadow: none; padding: 0 0 12px; background: none; } .delta { display: inline-flex; gap: 3px; align-items: center; font-size: .8125rem; font-weight: 700; } .delta .ic { width: 14px; height: 14px; } .delta small { font-weight: 500; margin-left: 3px; } .delta.d-up { color: var(--ok); } .delta.d-dn { color: var(--bad); } .hero .delta { color: #fff; } .hero .delta small { color: rgba(255, 255, 255, .75); }
.grid { display: grid; gap: 14px; margin-bottom: 14px; align-items: start; } .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .grid > .card { height: 100%; } .flowcard { margin-bottom: 14px; } .flowcard .flow { padding: 14px var(--pad) var(--pad); }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .step { position: relative; display: grid; gap: 1px; padding: 11px 14px 11px 16px; background: var(--panel2); border-radius: 10px; border: 1px solid var(--line); text-align: left; min-width: 0; } .step::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--l-done); } .step.quote::before { background: var(--l-quote); } .step.order::before { background: var(--l-order); } .step.processing::before { background: var(--l-processing); } .step.sign::before { background: var(--l-sign); } .step.invoice::before { background: var(--l-invoice); } .step:hover { border-color: var(--acc); } .step.on { background: var(--acc-soft); border-color: var(--acc); } .step .s-n { font-size: .8125rem; font-weight: 600; color: var(--text2); } .step b { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; } .step .s-v { font-size: .8125rem; color: var(--muted); min-height: 1.2em; } .step em { position: absolute; top: 10px; right: 10px; display: inline-flex; gap: 3px; align-items: center; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--bad); background: var(--bad-bg); border-radius: 99px; padding: 1px 7px; } .step em .ic { width: 12px; height: 12px; } .flow.sticky { margin-bottom: 12px; } .flow.sticky .step { background: var(--panel); padding: 8px 12px 8px 15px; } .flow.sticky .step.on { background: var(--acc-soft); } .flow.sticky .step b { font-size: 1.1875rem; }
.attlist .att, .card .att { display: flex; gap: 12px; align-items: center; width: 100%; padding: 9px 8px; border-radius: 9px; text-align: left; } .attlist .att + .att { border-top: 1px solid var(--line); border-radius: 0; } .attlist .att:hover { background: var(--panel2); } .attlist .att b { display: block; font-weight: 600; } .attlist .att small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attlist .att > .ic:last-child { width: 14px; color: var(--muted) !important; } .quick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; } .qk { display: flex; align-items: center; gap: 10px; flex: 1 1 150px; padding: 0 18px; min-height: 58px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 1rem; } .qk .ic { width: 22px; height: 22px; color: var(--acc-text); } .qk:hover { border-color: var(--acc); background: var(--acc-soft); } .qk.big { flex: 2 1 240px; background: var(--acc); color: var(--acc-ink); border-color: var(--acc); } .qk.big .ic { color: inherit; } .lead { font-size: 1.0625rem; color: var(--text2); margin-bottom: 14px; }
.mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; } .mini + .mini, .lateband + .mini, .lateband + .lateband, .trk + .trk { border-top: 1px solid var(--line); } .mini-m { flex: 1; min-width: 0; text-align: left; display: block; } button.mini-m:hover b { color: var(--acc-text); } .mini-m b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mini-m small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lateband { box-shadow: inset 3px 0 var(--bad); padding-left: 11px; } .feed li + li { border-top: 1px solid var(--line); } .feed button { display: flex; gap: 11px; align-items: center; width: 100%; padding: 8px 0; text-align: left; } .feed b { display: block; font-weight: 600; font-size: .875rem; } .feed small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .feed time { font-size: .75rem; color: var(--muted); white-space: nowrap; } .trk { padding: 10px 0; } .track { display: flex; gap: 4px; margin-top: 8px; } .track li { flex: 1; font-size: .75rem; color: var(--muted); padding-top: 7px; border-top: 4px solid var(--inset); } .track li.on { border-color: var(--acc); color: var(--text); font-weight: 600; } .again { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; } .again button { position: relative; display: block; text-align: left; padding: 11px 36px 11px 13px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); } .again button:hover { border-color: var(--acc); background: var(--acc-soft); } .again b { display: block; font-weight: 600; } .again .ic { position: absolute; right: 11px; top: 13px; color: var(--acc-text); }
/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; } .chart .ax { font: 12px var(--body); fill: var(--muted); font-variant-numeric: tabular-nums; } .chart .lbl { font: 600 12px var(--body); fill: var(--text2); } .chart .col { outline: none; cursor: default; } .chart .col[data-do] { cursor: pointer; } .chart .col:hover > rect, .chart .col:focus-visible > rect { fill: var(--acc-soft); } .legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--text2); margin-bottom: 10px; } .legend li { display: flex; align-items: center; gap: 7px; } .legend i { width: 11px; height: 11px; border-radius: 3px; flex: none; } .legend.rows { display: grid; gap: 8px; margin: 14px 0 0; } .legend.rows span { flex: 1; } .legend.rows b { font-variant-numeric: tabular-nums; } .legend.rows em { font-style: normal; color: var(--muted); width: 40px; text-align: right; font-variant-numeric: tabular-nums; } .splitbar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; } .splitbar i { min-width: 3px; } .splitbar i:hover { filter: brightness(1.12); } .hbars { display: grid; gap: 9px; } .hbar { border-radius: 6px; } .hbar.go { cursor: pointer; } .hbar.go:hover .hb-t span { color: var(--acc-text); } .hb-t { display: flex; gap: 10px; font-size: .875rem; } .hb-t span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hb-t b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .hb-r { height: 8px; margin-top: 4px; background: var(--inset); border-radius: 4px; } .hb-r i { display: block; height: 100%; border-radius: 4px; } #tip { position: fixed; z-index: 200; display: none; pointer-events: none; background: var(--text); color: var(--bg); padding: 8px 11px; border-radius: 8px; font-size: .8125rem; max-width: 300px; box-shadow: var(--shadow2); font-variant-numeric: tabular-nums; } #tip .h { font-weight: 700; margin-bottom: 2px; } #tip i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 7px; }
/* desk */
.split { display: grid; grid-template-columns: minmax(310px, 400px) minmax(0, 1fr); gap: 14px; align-items: start; } .lst { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); max-height: calc(100vh - 196px); overflow-y: auto; position: sticky; top: 74px; } .li { display: block; width: 100%; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); position: relative; } .li:hover { background: var(--panel2); } .li.on { background: var(--acc-soft); box-shadow: inset 4px 0 var(--acc); } .li.st:not(.on) { box-shadow: inset 3px 0 var(--bad); } .li-a, .li-b, .li-c { display: flex; gap: 8px; align-items: center; } .li-a b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; } .li-a em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; } .li-b { font-size: .8125rem; color: var(--muted); } .li-b .no { font-weight: 600; color: var(--text2); font-variant-numeric: tabular-nums; } .li-b .it { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .li-c { margin-top: 4px; font-size: .75rem; color: var(--muted); min-height: 20px; flex-wrap: wrap; } .li-c > .ic { width: 14px; height: 14px; } .due { display: inline-flex; gap: 4px; align-items: center; font-size: .75rem; font-weight: 600; color: var(--text2); } .due .ic { width: 13px; height: 13px; } .due.bad { color: var(--bad); } .due.warn { color: var(--warn); } .focus { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; min-height: 300px; } .pager { display: flex; gap: 6px; align-items: center; padding: 9px 12px; font-size: .8125rem; color: var(--muted); position: sticky; bottom: 0; background: var(--panel); border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); } .pager .inp { min-height: 32px; width: auto; padding: 2px 26px 2px 8px; font-size: .8125rem; } .bulk { display: inline-flex; gap: 6px; align-items: center; padding: 3px 4px 3px 12px; background: var(--acc-soft); border-radius: 10px; }
.opane { padding: 18px 20px 24px; } .o-h { display: flex; gap: 14px; align-items: flex-start; } .o-no { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; } .o-no h2 { font-size: 1.5rem; } .o-c { font-size: 1.0625rem; font-weight: 600; margin-top: 2px; } .o-c small { margin-left: 8px; font-weight: 500; } .o-t { text-align: right; } .o-t b { display: block; font-size: 1.375rem; letter-spacing: -.02em; white-space: nowrap; } .o-a { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0; } .opane > .band { margin-bottom: 10px; } .o-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px 18px; padding: 12px 14px; background: var(--panel2); border-radius: 10px; margin-bottom: 14px; } .o-f dt { font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 3px; } .o-f dd { font-weight: 600; min-height: 24px; } .o-f .inp { width: 100%; min-height: 32px; padding: 3px 8px; font-size: .875rem; font-weight: 600; border-radius: 7px; } .o-s { margin-top: 20px; } .o-s h4 { display: flex; gap: 8px; align-items: center; color: var(--text2); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 10px; } .o-s h4 .ic { width: 16px; height: 16px; color: var(--muted); } .o-cust b, .o-cust small { display: block; } .o-cust .row { margin-top: 8px; gap: 4px; margin-left: -10px; } .sigrow { display: flex; gap: 16px; align-items: center; } .sigrow small { display: block; } .sigbox { background: #fff; color: #0f172a; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; line-height: 0; } .chg { margin-top: 10px; font-size: .875rem; color: var(--text2); } .chg li::before { content: '• '; color: var(--muted); } .signed .band { margin-top: 10px; } .log li { display: flex; gap: 11px; padding: 7px 0; } .log b { font-weight: 600; font-size: .875rem; } .log small { display: block; } .log ul { font-size: .8125rem; color: var(--text2); }
.board { display: grid; grid-template-columns: repeat(5, minmax(216px, 1fr)); gap: 12px; overflow-x: auto; align-items: start; } .bcol { background: var(--inset); border-radius: var(--r); min-width: 0; border-top: 4px solid var(--l-done); } .bcol.quote { border-color: var(--l-quote); } .bcol.order { border-color: var(--l-order); } .bcol.processing { border-color: var(--l-processing); } .bcol.sign { border-color: var(--l-sign); } .bcol.invoice { border-color: var(--l-invoice); } .bcol > header { display: flex; gap: 8px; align-items: baseline; padding: 11px 13px 8px; } .bcol > header b { font-family: var(--head); } .bcol > header em { font-style: normal; color: var(--muted); font-weight: 600; } .bcol > header small { margin-left: auto; } .bl { padding: 0 8px 8px; display: grid; gap: 8px; max-height: calc(100vh - 280px); overflow-y: auto; } .bc { background: var(--panel); border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); } .bc.st { box-shadow: inset 3px 0 var(--bad); } .bc > button { display: block; width: 100%; text-align: left; padding: 10px 12px 6px; } .bc > button:hover b { color: var(--acc-text); } .bc b { display: block; } .bc span { font-size: .8125rem; color: var(--muted); } .bc .no { font-weight: 600; color: var(--text2); margin-right: 6px; } .bc .due { margin-top: 4px; } .bc footer { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 8px 12px; gap: 8px; min-height: 40px; }
/* overlays */
.ov { position: fixed; inset: 0; z-index: 80; display: grid; } .ov-back { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .16s; } .ov.in .ov-back { opacity: 1; } .ov-box { position: relative; background: var(--panel); box-shadow: var(--shadow2); display: flex; flex-direction: column; min-height: 0; outline: none; transition: transform .18s cubic-bezier(.2, .8, .2, 1), opacity .16s; opacity: 0; } .ov.in .ov-box { opacity: 1; transform: none !important; } .ov.bye .ov-box { opacity: 0; } .ov.bye .ov-back { opacity: 0; } .ov.modal { place-items: center; padding: 16px; } .ov.modal > .ov-box { border-radius: 16px; width: min(640px, 100%); max-height: calc(100vh - 32px); transform: translateY(10px) scale(.985); } .ov.modal.sm > .ov-box { width: min(430px, 100%); } .ov.modal.md > .ov-box { width: min(560px, 100%); } .ov.modal.lg > .ov-box { width: min(1040px, 100%); } .ov.modal.doc > .ov-box { width: min(860px, 100%); height: calc(100vh - 32px); } .ov.sheet { justify-items: end; } .ov.sheet > .ov-box { height: 100vh; height: 100dvh; width: min(760px, 100vw); transform: translateX(30px); } .ov.sheet.wide > .ov-box { width: min(1240px, 100vw); } .ov.fullscreen > .ov-box { width: 100vw; height: 100vh; height: 100dvh; } .ov-head { display: flex; gap: 12px; align-items: center; padding: 15px 12px 13px 20px; border-bottom: 1px solid var(--line); flex: none; } .ov-head p { color: var(--muted); font-size: .875rem; } .ov-body { padding: 18px 20px; overflow-y: auto; flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; } .ov-body.nopad { padding: 0; } .ov-foot { display: flex; gap: 10px; align-items: center; padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; flex-wrap: wrap; } form.dlg, div.dlg { display: flex; flex-direction: column; min-height: 0; } .dlg .ov-foot { justify-content: flex-end; } .dlg .field + .field, .dlg .field + .chips, .dlg-text + .field { margin-top: 13px; } .dlg-text { line-height: 1.55; } .dlg .ov-body > * + .band { margin-top: 12px; } .bigsum { font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; margin: 8px 0; } .pin-in { text-align: center; font-size: 1.75rem; letter-spacing: .4em; min-height: 62px; margin-top: 14px; } .picks { display: grid; gap: 8px; } .pick { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 12px; } .pick:hover { border-color: var(--acc); background: var(--acc-soft); } .pick .ic { width: 24px; height: 24px; color: var(--acc-text); } .pick b, .pick small { display: block; } .docview { background: var(--inset); padding: 18px; } .sheets { display: grid; gap: 16px; justify-items: center; } .a4 { width: 100%; max-width: 794px; height: auto; box-shadow: 0 2px 14px rgba(0, 0, 0, .16); display: block; background: #fff; }
.ov.palette { place-items: start center; padding-top: 9vh; } .ov.modal.palette > .ov-box { width: min(680px, 100%); max-height: 76vh; } .pal { display: flex; flex-direction: column; min-height: 0; } .pal-q { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--line); } .pal-q input { flex: 1; min-width: 0; border: 0; background: none; color: inherit; font: 500 1.125rem var(--body); min-height: 46px; outline: none; } .pal-l { overflow-y: auto; padding: 4px 8px 10px; } .pal-l h5 { padding: 12px 10px 4px; font-size: .75rem; color: var(--muted); font-family: var(--body); } .pal-l button { display: flex; width: 100%; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 9px; } .pal-l button.on, .pal-l button:hover { background: var(--acc-soft); } .pal-l .ic { color: var(--muted); } .pal-l b { display: block; font-weight: 600; } .pal-l small { display: block; } .pal-l em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
#ac { position: fixed; z-index: 120; display: none; overflow-y: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 11px; box-shadow: var(--shadow2); padding: 5px; } .ac-row { display: flex; gap: 11px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; min-height: 40px; } .ac-row.on, .ac-row:hover { background: var(--acc-soft); } .ac-row .sku { min-width: 92px; } .ac-row b, .ac-row small { display: block; } .ac-row b { font-weight: 600; } .ac-none { padding: 12px; color: var(--muted); } #toasts { position: fixed; z-index: 150; right: 18px; bottom: 18px; display: grid; gap: 8px; justify-items: end; max-width: calc(100vw - 36px); } .toast { display: flex; gap: 11px; align-items: center; background: var(--text); color: var(--bg); border-radius: 11px; padding: 11px 10px 11px 15px; box-shadow: var(--shadow2); font-weight: 500; animation: up .18s; max-width: 520px; } .toast.bad { background: var(--bad); color: #fff; } :root[data-theme='command'] .toast.bad, :root[data-theme='night'] .toast.bad { color: #2a0803; } .toast .btn { color: inherit; text-decoration: underline !important; font-weight: 700; } .toast .btn:hover:not([disabled]) { background: rgba(127, 127, 127, .25); color: inherit; } .toast .x { opacity: .7; display: grid; } .toast .x .ic { width: 16px; } .toast.bye { opacity: 0; transition: opacity .2s; } @keyframes up { from { transform: translateY(8px); opacity: 0; } }
/* composer */
.cmp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 24px; align-items: start; } .ov-body.cmp { padding-bottom: 8px; } .cs { margin-top: 20px; } .cs h3 { display: flex; gap: 9px; align-items: center; margin-bottom: 9px; } .cs h3 .ic { color: var(--muted); } .cs > .seg + * { margin-top: 11px; } .pickd { display: flex; gap: 8px; align-items: center; padding: 11px 8px 11px 14px; border: 1px solid var(--acc); background: var(--acc-soft); border-radius: 11px; } .pickd b { margin-right: 8px; font-size: 1.0625rem; } .pickd small { display: block; } .custf { margin-top: 12px; } .cs.duebox .inp { width: 170px; } .lines { margin-top: 10px; border: 1px solid var(--line); border-radius: 11px; } .ln { display: flex; gap: 12px; align-items: center; padding: 9px 8px 9px 12px; } .ln + .ln { border-top: 1px solid var(--line); } .ln.over { background: var(--panel2); } .qt { display: flex; align-items: center; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; flex: none; background: var(--panel); } .qt button { width: 34px; height: 38px; display: grid; place-items: center; font-size: 1.125rem; color: var(--text2); } .qt button:hover { background: var(--inset); } .qt .inp { width: 54px; border: 0; border-radius: 0; text-align: center; padding: 0; min-height: 38px; box-shadow: none; font-weight: 600; background: none; -moz-appearance: textfield; } .qt .inp::-webkit-inner-spin-button { display: none; } .nmw { flex: 1; min-width: 0; } .nmw b { font-weight: 600; display: block; } .nmw small { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; } .prw { width: 112px; text-align: right; font-variant-numeric: tabular-nums; color: var(--text2); } .prw .inp { text-align: right; } .ttw { width: 112px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; } .zr { display: grid; justify-items: center; gap: 1px; } .cmp-s { position: sticky; top: 0; max-height: calc(100vh - 170px); overflow-y: auto; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .cmp-s h4 { margin: 2px 4px 8px; color: var(--text2); } .cmp-s.empty-s p { color: var(--muted); padding: 10px; } .tabs-s { display: flex; gap: 2px; margin-bottom: 8px; border-bottom: 1px solid var(--line); } .tabs-s button { padding: 7px 9px 9px; font-weight: 600; font-size: .8125rem; color: var(--text2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; } .tabs-s button.on { color: var(--acc-text); border-color: var(--acc); } .tabs-s em { font-style: normal; color: var(--muted); margin-left: 5px; } .sug { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; padding: 8px 9px; border-radius: 9px; } .sug:hover:not([disabled]) { background: var(--acc-soft); } .sug b { font-weight: 600; } .sug small { display: block; } .sug > .ic { color: var(--acc-text); } .sug > em { font-style: normal; font-weight: 700; color: var(--acc-text); font-variant-numeric: tabular-nums; } .sug.on { background: var(--acc-soft); } .sug.past { border-bottom: 1px solid var(--line); border-radius: 0; align-items: flex-start; } .sug.past:hover { background: none; } .cmp-s > .btn { width: 100%; margin-top: 8px; } .sum { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; } .sum > div { display: grid; } .sum small { font-size: .75rem; } .sum b { font-size: 1rem; font-variant-numeric: tabular-nums; } .sum .big b { font-size: 1.375rem; letter-spacing: -.02em; } .cmp-done { text-align: center; padding: 34px 20px; } .okmark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin: 0 auto 14px; } .okmark .ic { width: 34px; height: 34px; } .cmp-done h2 { font-size: 1.75rem; } .cmp-done > p { color: var(--text2); font-size: 1.0625rem; margin: 4px 0 16px; } .cmp-done > .band { max-width: 520px; margin: 0 auto 18px; text-align: left; } .oklist { display: inline-grid; gap: 6px; text-align: left; margin-bottom: 20px; } .oklist li { display: flex; gap: 9px; align-items: center; } .oklist .ic { color: var(--ok); width: 16px; } .cmp-prev { max-width: 720px; margin: 28px auto 0; } .pg.counter { padding-bottom: 110px; } .cmp.inline { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px 20px; box-shadow: var(--shadow); } .cmp.inline .cmp-s { margin-top: 20px; top: 78px; } .cmp-f { position: fixed; left: 206px; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; align-items: center; padding: 11px 24px; background: var(--panel); border-top: 1px solid var(--line2); box-shadow: 0 -6px 24px rgba(0, 0, 0, .07); } .cmp.inline .seg.big:first-child { display: none; } .cmp-done.inline { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
/* amend + deliver */
.edl { display: grid; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 11px; } .ed { display: flex; gap: 12px; align-items: center; padding: 9px 12px; } .ed + .ed { border-top: 1px solid var(--line); } .ed > .inp:first-child { width: 78px; flex: none; text-align: center; font-weight: 600; } .ed b { font-weight: 600; display: block; } .ed small { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; } .ed .inp.pr { width: 116px; text-align: right; flex: none; } .ed.off { opacity: .55; } .ed.off b { text-decoration: line-through; } .ed.chg { background: var(--warn-bg); } .ed.new { background: var(--ok-bg); } .wt { display: inline-flex; gap: 6px; align-items: center; font-size: .8125rem; font-weight: 600; color: var(--text2); width: 92px; flex: none; } .wt.na { justify-content: center; color: var(--muted); } .amend .ov-body > .dim { margin-top: 14px; } .dn { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 1fr); gap: 24px; align-items: start; } .dn-doc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .dn-h { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; background: var(--panel2); border-bottom: 1px solid var(--line); } .dn-h b { font-size: 1.0625rem; } .dn-h small { display: block; } .dn-h .r { text-align: right; } .dn-doc .band { margin: 0 12px 12px; } .fold { margin-top: 10px; border: 1px solid var(--line); border-radius: 11px; } .fold > summary { display: flex; gap: 10px; align-items: center; padding: 11px 14px; cursor: pointer; list-style: none; min-height: 46px; } .fold > summary::-webkit-details-marker { display: none; } .fold > summary b { flex: 1; font-weight: 600; } .fold > summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -4px; } .fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; } .fold > summary .ic { color: var(--muted); } .fold-b { padding: 4px 14px 14px; } .dn-r { display: grid; gap: 14px; position: sticky; top: 0; } .sigf .lbl { display: block; font-size: .8125rem; font-weight: 600; color: var(--text2); margin-bottom: 5px; } .pad { position: relative; height: 210px; border: 2px dashed var(--line2); border-radius: 12px; background: #fff; overflow: hidden; } .pad.ink { border-style: solid; border-color: var(--ok); } .pad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; } .pad-h { position: absolute; inset: auto 0 12px; text-align: center; color: #8a99ab; font-size: .8125rem; pointer-events: none; } .pad.ink .pad-h { display: none; } .sigf .row { margin-top: 6px; } .terms { font-size: .8125rem; color: var(--muted); line-height: 1.45; } .full { display: flex; flex-direction: column; height: 100%; } .full header { display: flex; gap: 12px; align-items: center; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); } .full-pad { flex: 1 1 0; min-height: 0; position: relative; background: #fff; } .full-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; } .full-pad .rot { display: none; position: absolute; inset: auto 0 22px; justify-content: center; gap: 8px; color: #8a99ab; pointer-events: none; } @media (orientation: portrait) and (max-width: 767px) { .full-pad .rot { display: flex; } }
/* login */
.login { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; } .login-art { background: radial-gradient(900px 600px at 20% 0, color-mix(in srgb, var(--rail) 60%, #2a78d6), transparent 70%), linear-gradient(160deg, var(--rail), var(--rail2)); color: #fff; display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; } .login-art::after { content: ''; position: absolute; right: -12%; bottom: -22%; width: 62%; aspect-ratio: 1; background: linear-gradient(120deg, var(--flash), transparent 62%); opacity: .34; clip-path: polygon(34% 0, 100% 0, 62% 100%, 0 62%); } .la-in { position: relative; z-index: 1; max-width: 460px; } .la-in h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 22px 0 10px; } .la-in p { font-size: 1.125rem; color: rgba(255, 255, 255, .82); } .la-in ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 30px; } .la-in li { display: flex; gap: 11px; align-items: center; font-weight: 600; } .la-in li .ic { color: #ffb4a3; } .login-box { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 6vw, 90px); gap: 22px; overflow-y: auto; background: var(--panel); } .login-logo { width: 190px; height: auto; } :root[data-theme='command'] .login-logo, :root[data-theme='night'] .login-logo { background: #fff; border-radius: 12px; padding: 10px 14px; width: 214px; } .login form { display: grid; gap: 14px; max-width: 420px; } .login .btn.big { width: 100%; } .demo-in { max-width: 520px; border-top: 1px solid var(--line); padding-top: 18px; } .demo-in h4 { color: var(--muted); margin-bottom: 10px; } .demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .demo-grid button { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line2); border-radius: 11px; } .demo-grid button:hover { border-color: var(--acc); background: var(--acc-soft); } .demo-grid b { display: block; font-weight: 600; line-height: 1.2; } .demo-grid small { display: block; font-size: .75rem; line-height: 1.25; } .setup p { color: var(--text2); margin: 8px 0 16px; } .setup .bar { height: 6px; border-radius: 3px; background: var(--inset); overflow: hidden; max-width: 420px; margin: 0; } .setup .bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--acc); animation: slide 1.2s infinite ease-in-out; } @keyframes slide { from { margin-left: -40%; } to { margin-left: 100%; } } .fatal { padding: 60px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
/* wording mode */
.wording .view *:not(svg):not(path):hover { outline: 1px dashed var(--flash); outline-offset: 1px; cursor: text; } .wording .frame::after { content: 'Editing the wording: click any label'; position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--flash); color: #fff; font-weight: 700; padding: 9px 18px; border-radius: 99px; z-index: 40; box-shadow: var(--shadow2); pointer-events: none; }
/* wall */
.wall .rail, .wall .top, .wall .pg-h, .wall .filters, .wall .tabs { display: none; } .wall .frame { display: block; } .wall .pg { padding: 18px 22px; max-width: none; } .wall { font-size: 15px; }
:root[data-theme='command'] body { background: radial-gradient(1100px 620px at 80% -10%, rgba(56, 214, 255, .12), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(10, 120, 192, .25), transparent 60%), var(--bg); background-attachment: fixed; } :root[data-theme='command'] .card, :root[data-theme='command'] .tile:not(.hero):not(.plain), :root[data-theme='command'] .lst, :root[data-theme='command'] .focus { background: rgba(6, 26, 56, .74); } :root[data-theme='command'] .card { position: relative; } :root[data-theme='command'] .card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border: solid var(--line2); border-width: 2px 0 0 2px; border-top-left-radius: var(--r); pointer-events: none; } :root[data-theme='command'] .card::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border: solid var(--line2); border-width: 0 2px 2px 0; border-bottom-right-radius: var(--r); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* planner */
.tray { background: var(--bad-bg); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; } .tray header { display: flex; gap: 9px; align-items: center; margin-bottom: 9px; } .tray header .ic { color: var(--bad); } .tray-l { display: flex; gap: 8px; flex-wrap: wrap; } .tray .pc { width: 210px; } .plan { display: grid; grid-template-columns: 136px repeat(var(--n), minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; } .plan > div { background: var(--panel); min-width: 0; } .ph { padding: 10px 12px; } .ph small { display: block; min-height: 1.2em; } .ph.now, .pd.now { background: var(--acc-soft) !important; } .ph.past b { color: var(--muted); } .pr { display: flex; gap: 9px; align-items: center; padding: 12px; } .pd { padding: 6px; display: grid; gap: 6px; align-content: start; min-height: 84px; } .pd.past { background: var(--panel2) !important; } .pd.over { box-shadow: inset 0 0 0 2px var(--acc); } .pc { display: flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line2); border-left: 4px solid var(--l-order); border-radius: 8px; min-width: 0; } .pc.processing { border-left-color: var(--l-processing); } .pc.sign { border-left-color: var(--l-sign); } .pc.invoice, .pc.done { border-left-color: var(--l-invoice); opacity: .72; } .pc.late { background: var(--bad-bg); } .pc > button:first-child { flex: 1; min-width: 0; padding: 6px 4px 6px 9px; text-align: left; } .pc b { display: block; font-size: .8125rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pc small { display: block; font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pc > .ic { color: var(--ok); margin-right: 7px; width: 15px; } .pc .btn { padding: 0 8px; margin-right: 4px; } .pc[draggable] { cursor: grab; } .pc.drag { opacity: .4; }
/* customers */
.c-h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; } .c-h p { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 4px; } .c-g { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 14px; align-items: start; } .c-l, .c-m { display: grid; gap: 14px; min-width: 0; } .c-l { position: sticky; top: 74px; } .cinfo > b { font-size: 1.0625rem; } .cinfo .row { gap: 4px; } .cinfo > .row:first-of-type { margin-left: -10px; } .cinfo dl { display: grid; gap: 9px; margin: 8px 0 12px; } .cinfo dt { font-size: .75rem; color: var(--muted); font-weight: 600; } .cinfo dd { overflow-wrap: anywhere; } .cinfo .band { margin-top: 12px; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; } .two small { display: block; } .row.end { justify-content: flex-end; } .btn.bad { color: var(--bad); } .tbl.hov tbody tr[data-do] { cursor: pointer; }
/* service */
.due4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; } .d4 { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border: 1px solid var(--line); background: var(--panel); border-radius: 11px; box-shadow: var(--shadow); } .d4 b { font-size: 1.5rem; letter-spacing: -.02em; } .d4 span { font-weight: 600; color: var(--text2); } .d4.over b, .d4.month b { color: var(--bad); } .d4.next b { color: var(--warn); } .d4:hover { border-color: var(--acc); } .d4.on { background: var(--acc-soft); border-color: var(--acc); } .actbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 9px 12px; background: var(--acc-soft); border: 1px solid var(--acc); border-radius: 11px; margin-bottom: 12px; position: sticky; top: 68px; z-index: 5; } .sortb { font: inherit; font-weight: 600; color: inherit; display: inline-flex; gap: 4px; align-items: center; } .sortb .ic { width: 13px; height: 13px; } .sortb.on { color: var(--acc-text); } .pop.mon { width: 290px; padding: 12px 14px; left: 0; right: auto; } .mg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px 4px; } .pop.mon h4 { padding: 10px 0 6px; } .duec { display: inline-flex; gap: 8px; align-items: center; } .dd { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); flex: none; } .dd.over, .dd.month { background: var(--bad); } .dd.next { background: #d99a13; } .dd.later { background: var(--ok); } .dd.over { box-shadow: 0 0 0 3px var(--bad-bg); } .board.six { grid-template-columns: repeat(7, minmax(190px, 1fr)); } .svced td { vertical-align: middle; } .svced .inp.sm { min-height: 36px; }
/* catalogue */
.cats { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; } .chip small { color: inherit; opacity: .7; font-size: .75rem; } .pe { width: 104px !important; text-align: right; } .pe.mod { border-color: var(--acc); background: var(--acc-soft); font-weight: 700; } .good { color: var(--ok); } .drop { display: grid; justify-items: center; gap: 4px; padding: 26px; border: 2px dashed var(--line2); border-radius: 14px; text-align: center; cursor: pointer; position: relative; margin: 14px 0; } .drop.big { padding: 46px 26px; } .drop:hover { border-color: var(--acc); background: var(--acc-soft); } .drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; } .drop .ic { width: 30px; height: 30px; color: var(--acc-text); } .steps { display: flex; border-bottom: 1px solid var(--line); padding: 0 20px; gap: 20px; overflow-x: auto; flex: none; } .steps li { padding: 10px 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; } .steps .on { color: var(--acc-text); border-color: var(--acc); } .steps .ok { color: var(--text2); } .wizard .ov-box { height: calc(100vh - 32px); } .wiz { height: 100%; } .kpis.sm { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; } .kpis.sm .tile { padding: 10px 13px; box-shadow: none; } .kpis.sm .t-v { font-size: 1.25rem; } .upd { flex-wrap: wrap; } .docn { display: inline-flex; gap: 9px; align-items: center; } .docn .ic { color: var(--muted); }
.mailmeta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 10px 20px; color: var(--muted); font-size: .875rem; border-bottom: 1px solid var(--line); } .mailview { width: 100%; height: 100%; min-height: 60vh; border: 0; background: #f1f5f9; display: block; } .ov-body.nopad { display: flex; flex-direction: column; } .ov-body.nopad .mailview { flex: 1; }
/* settings */
.setgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; } .setcard { display: grid; gap: 3px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: inherit; text-decoration: none !important; align-content: start; } .setcard:hover { border-color: var(--acc); } .setcard .ic { width: 24px; height: 24px; color: var(--acc-text); margin-bottom: 6px; } .setcard b { font-family: var(--head); font-size: 1rem; } .setl { display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 24px; align-items: start; } .setnav { position: sticky; top: 74px; display: grid; gap: 1px; } .setnav a { display: flex; gap: 11px; align-items: center; min-height: 38px; padding: 0 11px; border-radius: 9px; color: var(--text2); font-weight: 600; text-decoration: none; } .setnav a:hover { background: var(--inset); } .setnav a.on { background: var(--acc-soft); color: var(--acc-text); } .setnav .back { color: var(--muted); font-weight: 500; } .setb { max-width: 920px; min-width: 0; padding-bottom: 60px; } .setb.wide { max-width: none; } .setc { margin-bottom: 14px; } .setc .card-b > .field + .field, .setc .card-b > .chk + .field, .setc .card-b > .field + .chk { margin-top: 11px; } .setc .fg > .chk { align-self: end; } .setc .fg { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } h4.sub { margin: 16px 0 8px; color: var(--text2); } .savebar { position: sticky; bottom: 14px; z-index: 6; display: flex; gap: 10px; align-items: center; padding: 10px 12px 10px 18px; background: var(--panel); border: 1px solid var(--acc); border-radius: 12px; box-shadow: var(--shadow2); } .twoc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; } .prev { position: sticky; top: 74px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--inset); max-height: calc(100vh - 92px); overflow-y: auto; } .prev .sheets { padding: 14px; } .prev .mailview { height: calc(100vh - 170px); min-height: 420px; } .prevh { padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); } .prevh small { display: block; } code { font: .75rem ui-monospace, Menlo, monospace; background: var(--inset); border-radius: 4px; padding: 1px 5px; } .wrapb { overflow-wrap: anywhere; } .switch { position: relative; display: inline-block; width: 40px; height: 24px; flex: none; cursor: pointer; } .switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; } .switch i { position: absolute; inset: 0; border-radius: 12px; background: var(--line2); transition: background .15s; pointer-events: none; } .switch i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); } .switch input:checked + i { background: var(--acc); } .switch input:checked + i::after { transform: translateX(16px); } .switch input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; } .rule { padding: 12px 0; } .rule + .rule { border-top: 1px solid var(--line); } .rule .chips { margin-top: 10px; } .pair { flex-wrap: nowrap; margin-bottom: 6px; } .imgp { height: 44px; max-width: 150px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; } .colr { width: 52px; height: 40px; padding: 2px; border: 1px solid var(--line2); border-radius: 9px; background: none; cursor: pointer; } .thpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .thpick button { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line2); border-radius: 11px; text-align: left; align-content: start; } .thpick button.on { border-color: var(--acc); background: var(--acc-soft); } .thpick i { height: 44px; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 5px; } .thpick small { font-size: .75rem; line-height: 1.3; } .word { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 14px; align-items: center; padding: 8px 0; } .word + .word { border-top: 1px solid var(--line); } .word b { font-weight: 500; overflow-wrap: anywhere; } .word small { display: block; font-size: .75rem; } .word.mod b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; } .matrix th { text-align: center; white-space: normal; min-width: 84px; vertical-align: bottom; } .matrix th small { display: block; font-weight: 500; } .matrix .mc { text-align: center; } .matrix .gh td { background: var(--panel2); font-weight: 700; color: var(--text2); } .cap { display: flex; padding: 5px 0; } .kv { display: grid; gap: 6px; } .kv div { display: flex; gap: 12px; } .kv dt { color: var(--muted); width: 60px; flex: none; } .kv dd { overflow-wrap: anywhere; font-size: .875rem; } .seg.wrap { flex-wrap: wrap; margin-bottom: 14px; overflow: visible; } .band b, .band div { min-width: 0; }
/* tablet */
@media (max-width: 1240px) { .frame { grid-template-columns: 72px minmax(0, 1fr); } .brand span, .rail-i a span, .rail-f { display: none; } .brand { padding: 13px 19px; } .rail-i a { justify-content: center; padding: 0; min-height: 48px; } .rail-i a .ic { width: 22px; height: 22px; } .nb { position: absolute; top: 4px; right: 4px; } .cmp-f { left: 72px; } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); } .cmp { grid-template-columns: minmax(0, 1fr) 300px; } .c-g { grid-template-columns: 270px minmax(0, 1fr); } .twoc { grid-template-columns: 1fr; } .prev { position: static; max-height: none; } }
@media (max-width: 999px) { .split { grid-template-columns: 1fr; } .split > .focus { display: none; } .lst { position: static; max-height: none; } .g-2-1, .g-2, .g-3 { grid-template-columns: 1fr; } .cmp { grid-template-columns: 1fr; } .cmp-s { position: static; max-height: none; margin-top: 20px; order: 5; } .cmp-s.empty-s { display: none; } .dn { grid-template-columns: 1fr; } .dn-r { position: static; } .c-g { grid-template-columns: 1fr; } .c-l { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .setl { grid-template-columns: 1fr; } .setnav { display: none; } .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .login { grid-template-columns: 1fr; } .login-art { display: none; } .find kbd { display: none; } }
/* phone */
@media (max-width: 767px) { :root { --pad: 15px; } .frame { display: block; padding-bottom: 72px; } .rail { display: none; } .menu .rail { display: flex; position: fixed; left: 0; top: 0; width: 250px; z-index: 70; box-shadow: var(--shadow2); } .menu .brand span, .menu .rail-i a span, .menu .rail-f { display: block; } .menu .rail-i a { justify-content: flex-start; padding: 0 14px; } .menu .scrim { display: block; position: fixed; inset: 0; background: var(--scrim); z-index: 65; } .burger { display: inline-flex; } .top { height: 56px; padding: 0 10px; gap: 4px; } .find { min-height: 38px; padding: 0 10px; } .find span { font-size: .875rem; } .newbtn, .who > span:not(.av), .who > .ic { display: none; } .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0; z-index: 28; background: var(--panel); border-top: 1px solid var(--line2); padding-bottom: env(safe-area-inset-bottom); } .tabs a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 58px; font-size: .6875rem; font-weight: 600; color: var(--muted); position: relative; text-decoration: none; } .tabs a.on { color: var(--acc-text); } .tabs .ic { width: 22px; height: 22px; } .tabs .nb { position: absolute; top: 5px; right: 18%; } .fab { display: grid; place-items: center; align-self: center; justify-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); } .pg { padding: 14px 12px 28px; } h1 { font-size: 1.375rem; } .pg-h { margin-bottom: 12px; } .pop, .pop.wide { position: fixed; top: 58px; left: 10px; right: 10px; width: auto; } .kpis { grid-template-columns: 1fr 1fr; gap: 8px; } .tile { padding: 12px; } .t-v { font-size: 1.25rem; } .tile.hero .t-v { font-size: 1.875rem; } .tile.hero .t-k { display: none; } .flow { gap: 5px; } .step { padding: 8px 8px 8px 12px; } .step b, .flow.sticky .step b { font-size: 1.125rem; } .step em { top: 6px; right: 5px; padding: 0 5px; } .flow.sticky { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 10px; padding: 0 12px; } .flow.sticky .step { min-width: 104px; } .bar .search { flex-basis: 100%; max-width: none; } .bar .seg.icons { display: none; } .bar > select.inp { flex: 1 1 40%; min-width: 0; } .quick .qk { flex: 1 1 44%; min-height: 54px; padding: 0 14px; } .ov.modal { padding: 0; place-items: end stretch; } .ov.modal > .ov-box, .ov.modal.sm > .ov-box, .ov.modal.md > .ov-box, .ov.modal.lg > .ov-box { width: 100%; border-radius: 18px 18px 0 0; max-height: 94vh; max-height: 94dvh; } .ov.modal.doc > .ov-box, .wizard .ov-box { height: 94vh; height: 94dvh; } .ov.modal.palette > .ov-box { height: 100dvh; max-height: none; border-radius: 0; } .ov.palette { padding: 0; } .ov-head { padding: 12px 8px 11px 15px; } .ov-head h2 { font-size: 1.125rem; } .ov-head .btn.sm span { display: none; } .ov-body { padding: 14px 15px; } .docview { padding: 10px; } .ov-foot { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); gap: 8px; } .composer .ov-foot .btn.ghost { display: none; } .composer .ov-foot .btn.primary { flex: 1 1 100%; } .composer .ov-foot .grow { display: none; } .deliver .ov-foot .btn.primary { flex: 1; } .deliver .ov-foot .grow { display: none; } .opane { padding: 14px 15px 24px; } .o-a .btn.primary { flex: 1 1 100%; min-height: 46px; } .ln { flex-wrap: wrap; gap: 6px 10px; padding: 10px; } .ln .nmw { order: -1; flex: 1 1 calc(100% - 46px); } .ln > .btn.icon { order: -1; } .prw, .ttw { width: auto; } .prw { flex: 1; } .prw .inp { width: 110px; } .ed { flex-wrap: wrap; } .ed > .grow { order: -1; flex: 1 1 100%; } .ed .inp.grow { order: -1; flex: 1 1 100%; } .cmp-f { left: 0; bottom: calc(59px + env(safe-area-inset-bottom)); padding: 8px 12px; } .cmp-f .btn.ghost, .cmp-f .grow { display: none; } .cmp-f .btn.primary { flex: 1; } .cmp.inline { padding: 0 14px 16px; } .sum { gap: 14px; } .due4 { grid-template-columns: 1fr 1fr; } .d4 { padding: 9px 12px; } .seg.big button { padding: 0 8px; font-size: .875rem; } .seg.big button .ic { display: none; } #toasts { left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); justify-items: stretch; } .pad { height: 180px; } .plan { grid-template-columns: 92px repeat(var(--n), 150px); } .pr { flex-direction: column; align-items: flex-start; padding: 10px 8px; gap: 5px; font-size: .8125rem; } .c0 { position: sticky; left: 0; z-index: 2; } .setc .fg { grid-template-columns: 1fr; } .word { grid-template-columns: 1fr 32px; } .word > div { grid-column: 1 / -1; } .login-box { justify-content: flex-start; padding-top: 48px; }
	.tbl.cards-sm thead { display: none; } .tbl.cards-sm, .tbl.cards-sm tbody { display: block; } .tbl.cards-sm tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); } .tbl.cards-sm td { display: block; border: 0; padding: 3px 0; text-align: left; } .tbl.cards-sm td:empty { display: none; } .tbl.cards-sm td[data-l]::before { content: attr(data-l); display: block; font-size: .6875rem; color: var(--muted); font-weight: 600; } .tbl.cards-sm td[data-l='Description'], .tbl.cards-sm td[data-l='Customer'], .tbl.cards-sm td[data-l='Items'], .tbl.cards-sm td[data-l='Dairy'] { grid-column: 1 / -1; } .tbl.cards-sm td.acts { grid-column: 1 / -1; text-align: left; } .tbl.cards-sm td.w1 { position: absolute; right: 12px; } .tbl.cards-sm tr { position: relative; } .svced .inp.sm { width: 100% !important; min-width: 0 !important; } }
@media print { body { display: none; } }
.bar .search { flex: 1 1 250px; max-width: 420px; }
.tile.hero .t-k { top: 13px; bottom: auto; opacity: .9; } .tile.hero .t-k .spark { width: 112px; height: 30px; }

.fltb { display: none; }
@media (max-width: 767px) { .pg-h > .grow { flex: 1 1 100%; } .pg-h .seg { max-width: 100%; } .step em { top: auto; bottom: 7px; } .fltb { display: inline-flex; } .desk .bar > select.inp { display: none; } .desk .bar > select.inp:nth-of-type(-n+1) { display: block; flex: 1 1 50%; } .desk.flt .bar > select.inp { display: block; } .desk .bar > .btn[data-do=csv] { display: none; } .opane .tbl.items th:nth-last-child(2):nth-child(3), .opane .tbl.items tbody td:nth-last-child(2):nth-child(3) { display: none; } .opane .tbl.items tfoot td[colspan] { white-space: nowrap; } .opane .tbl.items td:first-child, .opane .tbl.items th:first-child { width: 44px; padding-left: 4px; } }
@media (max-width: 999px) { .c-g { display: flex; flex-direction: column; align-items: stretch; } .c-l { display: contents; } .c-l > .card:first-child { order: 1; } .c-m { order: 2; } .c-l > .card { order: 3; } }
@media (max-width: 767px) { .cmp .fg.f4, .cmp .fg.f3 { grid-template-columns: 1fr 1fr; gap: 10px; } .cmp .field > span { font-size: .75rem; } }

.nw { white-space: nowrap; } .bc > button .due { display: flex; } .bc .no { white-space: nowrap; }

@media (pointer: coarse) { .inp, .pal-q input { font-size: 16px; } .inp.sm, .o-f .inp { font-size: 16px; min-height: 36px; } .btn.sm { min-height: 36px; } }

/* Four across on a tablet, so the last figure never sits alone on a row of its own. */
@media (min-width: 768px) and (max-width: 1340px) { .kpis:has(> .hero) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.nothing { padding: 14px 2px; }
.startg { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; } .startc { margin-bottom: 14px; } .sstep { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); } .sstep:hover { border-color: var(--acc); } .sstep small { display: block; color: var(--muted); } .sstep .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); } .sstep.ok .ic { color: var(--ok); }
.ov-body > h4 { margin: 16px 0 8px; } .ov-body > .band + .row, .ov-body > .row + h4 { margin-top: 10px; } .ov-body > .drop + .field { margin-top: 14px; } .ov-body > .row > select.inp { width: auto; min-width: 170px; }
.login form, .demo-in { max-width: 520px; }
/* The wall screen fits the screen it is on: nobody scrolls a television. */
@media (min-width: 1000px) {
	.wall .home.h-command { height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 16px 20px 4px; }
	.wall .h-command > * { flex: none; margin-bottom: 12px; } .wall .h-command > .grid { min-height: 0; align-items: stretch; } .wall .h-command > .g-2-1 { flex: 1.3 1 0; } .wall .h-command > .g-3 { flex: 1 1 0; } .wall .h-command > .g-3:last-child, .wall .h-command > .startc { display: none; }
	.wall .h-command .grid > .card { min-height: 0; overflow: hidden; display: flex; flex-direction: column; } .wall .h-command .grid > .card > .card-b { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; } .wall .h-command .chartcard .chart { flex: 1; min-height: 0; height: 100%; }
	.wall .h-command .hbars { gap: 5px; } .wall .h-command .card-h { padding-top: 10px; padding-bottom: 4px; }
}

/* Safari draws its own small dropdown and date box unless told not to. */
select.inp { -webkit-appearance: none; appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; } select.inp.sm { padding-right: 27px; background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; }
input.inp[type="date"] { -webkit-appearance: none; appearance: none; } input.inp[type="date"]::-webkit-date-and-time-value { text-align: left; } input.inp[type="search"] { -webkit-appearance: none; appearance: none; }

/* A message never covers the buttons of the panel under it, or of the sale bar. */
body:has(.ov) #toasts { bottom: 92px; }
.tabs-s button { padding: 7px 7px 9px; } .tabs-s em { margin-left: 4px; }
.wiz .tbl td > div { line-height: 20px; } .wiz .tbl td > div > small { line-height: 20px; }

/* sign-in: the Dairy Care One logo, the white-lettered one wherever the ground is dark */
.la-in picture img { width: min(460px, 100%); height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 10, 30, .35)); } .la-in picture + p { margin-top: 30px; }
.login-logo.one { width: auto; height: auto; max-width: none; } .login-logo.one img { width: min(330px, 86%); height: auto; display: block; } .login-logo.one .dark { display: none; } :root[data-theme='command'] .login-logo.one .lite, :root[data-theme='night'] .login-logo.one .lite { display: none; } :root[data-theme='command'] .login-logo.one .dark, :root[data-theme='night'] .login-logo.one .dark { display: block; }
@media (min-width: 1000px) { .login-logo.one { display: none; } }
/* below the width with the picture on the left there is one column, and everything in it stands in the middle */
@media (max-width: 999px) { .login-box > * { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; } .login-logo.one img { margin-left: auto; margin-right: auto; } .login-box > img.login-logo { width: 190px; } .login form { max-width: 520px; } }
.la-in p { text-wrap: balance; }

/* the link with the old sites */
.pill.lk { display: inline-flex; gap: 7px; align-items: center; padding: 6px 11px; border-radius: 99px; font-size: .8125rem; font-weight: 600; background: var(--inset); color: var(--text2); white-space: nowrap; } .pill.lk .ic { width: 15px; height: 15px; } .pill.lk.ok { color: var(--ok); } .pill.lk.warn { background: var(--warn-bg); color: var(--warn); } .pill.lk.info { color: var(--acc-text); }
.lkhead.ok { border-left: 4px solid var(--ok); } .lkhead.warn { border-left: 4px solid var(--warn); } .lkhead h3 { margin-bottom: 4px; } .band.clash { align-items: flex-start; } .band.clash b { font-weight: 700; } .mini-m small.bad { color: var(--bad); }
@media (max-width: 767px) { .pill.lk span { display: none; } .pill.lk { padding: 8px; } }

.lkchk{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:7px;overflow-wrap:anywhere;font-size:13.5px;line-height:1.4}.lkchk li{display:flex;gap:8px;align-items:flex-start}.lkchk .ic{flex:none;width:16px;height:16px;margin-top:1px;color:var(--ok)}.lkchk .warn .ic{color:var(--warn)}.lkchk .bad .ic{color:var(--bad)}.lkchk .bad span{font-weight:600}

.frame{grid-template-rows:60px auto}.brand{height:auto!important;justify-content:center;padding:14px 16px 8px!important}.brand img{width:148px;height:auto;display:block}.brand.own img{max-width:160px;max-height:70px;width:auto;background:#fff;border-radius:8px;padding:5px}.pkbtn{margin-top:10px;width:100%}
@media(max-width:1240px) and (min-width:768px){.brand{padding:12px 8px!important}.brand img{width:54px}}

/* 1.1.0: whose work is shown, 0% on every form */
.emptyb{display:flex;justify-content:center;padding:0 18px 26px}.asband{margin-top:14px}.fltb.has{position:relative;color:var(--acc-text)}.fltb.has::after{content:'';position:absolute;right:6px;top:6px;width:7px;height:7px;border-radius:50%;background:var(--flash)}
.ed .zr,.ln .zr{flex:none;min-width:30px;cursor:pointer}.zr input{width:18px;height:18px}.zr small{font-size:.6875rem;color:var(--muted);font-weight:600}
.ln .each{display:none}
@media(max-width:767px){.ln .prw.fix{display:none}.ln .each{display:block;font-size:.75rem;font-weight:500;color:var(--muted)}.ln .ttw{flex:1;min-width:104px;text-align:right}}
