/* Interface renderings. Every system has its own visual language on purpose:
   real business software does not all look alike. Drawn at 800x500. */

.screen { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #fff; contain: paint; }
.stage { position: absolute; left: 0; top: 0; width: 800px; height: 500px; transform-origin: 0 0; overflow: hidden; line-height: 1.25; text-align: left; letter-spacing: 0; }
.stage * { box-sizing: border-box; }
.stage h4, .stage h5, .stage p, .stage dl, .stage dd, .stage ul { margin: 0; padding: 0; }
.stage table { border-collapse: collapse; width: 100%; }
.stage button { font: inherit; color: inherit; border: 0; background: none; padding: 0; pointer-events: none; }
.stage .n { text-align: right; font-variant-numeric: tabular-nums; }
.stage { pointer-events: none; user-select: none; }

/* ---------- Payroll: dense Windows desktop application ---------- */
.sys-payroll { background: #ececec; color: #1a1a1a; font: 11.5px/1.25 "Segoe UI", Tahoma, "IBM Plex Sans", sans-serif; }
.pr-title { height: 28px; background: #24415f; color: #fff; display: flex; align-items: center; justify-content: space-between; padding-left: 10px; font-size: 12px; }
.pr-win { display: flex; height: 100%; }
.pr-win b { width: 38px; display: grid; place-items: center; font-weight: 400; font-size: 13px; }
.pr-menu { height: 23px; background: #f7f7f7; border-bottom: 1px solid #cfcfcf; display: flex; align-items: center; gap: 15px; padding: 0 10px; }
.pr-tools { height: 36px; background: linear-gradient(#fafafa, #e7e7e7); border-bottom: 1px solid #bdbdbd; display: flex; align-items: center; gap: 5px; padding: 0 7px; }
.pr-tools button { border: 1px solid #adadad; background: #f4f4f4; height: 24px; padding: 0 12px; border-radius: 2px; }
.pr-tools button.on { background: #24415f; color: #fff; border-color: #16304a; font-weight: 600; }
.pr-period { margin-left: auto; color: #555; padding-right: 6px; }
.pr-tabs { display: flex; padding: 7px 7px 0; gap: 2px; border-bottom: 1px solid #a9a9a9; }
.pr-tabs span { padding: 4px 12px; background: #d9d9d9; border: 1px solid #b4b4b4; border-bottom: 0; }
.pr-tabs span.on { background: #fff; font-weight: 600; margin-bottom: -1px; padding-bottom: 5px; }
.pr-grid { background: #fff; }
.pr-grid th { background: #e4e8ec; border: 1px solid #bcc4cc; font-weight: 600; text-align: left; padding: 4px 6px; height: 25px; }
.pr-grid th.n { text-align: right; }
.pr-grid td { border: 1px solid #e0e0e0; padding: 0 6px; height: 27px; white-space: nowrap; }
.pr-grid tr:nth-child(even) td { background: #f7f9fa; }
.pr-grid tr.done td.nt { font-weight: 600; }
.pr-grid tr.cur td { background: #0a64c8 !important; color: #fff; }
.pr-grid .cells { padding: 0 5px; font-size: 0; }
.pr-grid .cells i { display: inline-block; width: 7px; height: 13px; margin-right: 1px; background: #5fa66f; }
.pr-grid .cells i.o { background: #1c7cd6; }
.pr-grid .cells i.a { background: #d8dcdf; }
.pr-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 49px; display: grid; grid-template-columns: 110px 130px 1fr 170px; background: #dfe3e7; border-top: 1px solid #a9b0b6; }
.pr-foot div { padding: 7px 10px; border-right: 1px solid #c2c8cd; }
.pr-foot label { display: block; color: #55606a; font-size: 10.5px; margin-bottom: 2px; }
.pr-foot b { font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 600; }
.pr-foot .grand { background: #24415f; color: #fff; border: 0; text-align: right; }
.pr-foot .grand label { color: #bdcbd9; }

/* ---------- Fuel Desk: forecourt console, in the Fuel Desk navy and orange ---------- */
.sys-fuel { background: #eef1f6; color: #12264d; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.fu-top { height: 54px; background: #fff; display: flex; align-items: center; gap: 16px; padding: 0 14px 0 10px; border-bottom: 3px solid #f47a1f; }
.fu-top img { height: 44px; width: auto; }
.fu-shift { padding-left: 14px; border-left: 1px solid #d5dbe6; }
.fu-shift b { display: block; font: 700 15px/1.1 Archivo, sans-serif; }
.fu-shift small { color: #5a6b88; font-size: 10.5px; }
.fu-sales { margin-left: auto; text-align: right; }
.fu-sales small { color: #5a6b88; font-size: 10.5px; }
.fu-sales b { display: block; font: 500 19px/1.1 "IBM Plex Mono", monospace; }
.fu-wrap { display: flex; height: 446px; }
.fu-side { width: 112px; background: #102a5e; color: #bcc9e2; padding: 8px 0; flex: none; }
.fu-side span { display: block; padding: 8px 12px; font-size: 12px; }
.fu-side span.on { background: #f47a1f; color: #fff; font-weight: 600; }
.fu-main { flex: 1; padding: 9px 11px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fu-pumps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.fu-pump { background: #fff; border: 1px solid #d5dbe6; border-top: 4px solid #d5dbe6; padding: 6px 9px; }
.fu-pump.on { border-top-color: #f47a1f; }
.fu-ptop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.fu-ptop b { font-size: 12.5px; font-weight: 600; }
.fu-ptop em { font: 600 10px/1 "IBM Plex Sans", sans-serif; padding: 3px 5px; color: #fff; }
.g92 { background: #d9650b; } .g95 { background: #b4232c; } .gad { background: #33404a; } .gsd { background: #1f5fae; }
.fu-digits { background: #0c1730; color: #ffb35c; padding: 4px 8px; display: flex; align-items: baseline; justify-content: space-between; }
.fu-digits .l { font: 500 25px/1.15 "IBM Plex Mono", monospace; }
.fu-digits small { color: #7f8fb0; font-size: 8.5px; letter-spacing: .08em; }
.fu-pump:not(.on) .fu-digits { color: #5f6f92; }
.fu-amt { display: flex; align-items: center; gap: 4px; margin-top: 5px; color: #5a6b88; font-size: 11px; }
.fu-amt .a { color: #12264d; font: 500 13px/1 "IBM Plex Mono", monospace; }
.fu-amt .st { margin-left: auto; font-style: normal; font-size: 10.5px; }
.fu-pump.on .st { color: #c9580a; font-weight: 600; }
.fu-low { display: grid; grid-template-columns: 1fr 222px; gap: 7px; flex: 1; min-height: 0; }
.fu-tanks { background: #fff; border: 1px solid #d5dbe6; display: grid; grid-template-columns: repeat(4, 1fr); padding: 9px 8px; gap: 8px; min-height: 0; }
.fu-tank { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 10.5px; min-height: 0; }
.fu-gauge { flex: 1; width: 44px; border: 2px solid #102a5e; border-radius: 4px 4px 2px 2px; position: relative; overflow: hidden; margin-bottom: 5px; background: repeating-linear-gradient(to top, transparent 0 13px, #e4e8f0 13px 14px); }
.fu-gauge i { position: absolute; left: 0; right: 0; bottom: 0; background: #1f4fa8; transition: height .3s linear; }
.fu-tank.low .fu-gauge i { background: #f47a1f; }
.fu-tank b { font-weight: 600; }
.fu-tank .lv { font-family: "IBM Plex Mono", monospace; color: #5a6b88; }
.fu-rec { background: #102a5e; color: #dbe4f5; padding: 10px 12px; display: flex; flex-direction: column; }
.fu-rec h5 { font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.fu-rec dl { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; font-size: 11.5px; }
.fu-rec dd { font-family: "IBM Plex Mono", monospace; color: #fff; }
.fu-flag { margin-top: auto; background: #f47a1f; color: #fff; font-weight: 600; font-size: 11px; padding: 4px 7px; align-self: flex-start; }

/* ---------- Aura: whole-suite booking board, in Aura's own neon brand ---------- */
.sys-aura { background: #02050f; color: #e2f5ff; font: 12px/1.3 Archivo, sans-serif; }
.au-head { height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 16px; border-bottom: 1px solid #12284a; }
.au-head img { height: 32px; width: auto; }
.au-head strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: .13em; color: #35d6ff; line-height: 1; }
.au-head small { font-size: 7.5px; font-weight: 600; letter-spacing: .3em; color: #e2f5ff; }
.au-head nav { margin-left: auto; display: flex; gap: 18px; color: #a9bfdc; font-weight: 500; }
.au-head nav .on { color: #35d6ff; }
.au-body { display: grid; grid-template-columns: 1fr 252px; height: 448px; }
.au-board { padding: 10px 14px 0 16px; }
.au-days { display: flex; gap: 5px; margin-bottom: 10px; }
.au-days span { flex: 1; text-align: center; padding: 5px 0; color: #8aa3c7; border: 1px solid #12284a; border-radius: 20px; font-weight: 500; }
.au-days .on { background: #35d6ff; border-color: #35d6ff; color: #02050f; font-weight: 700; box-shadow: 0 0 12px rgba(53, 214, 255, .45); }
.au-day { position: relative; display: grid; grid-template-columns: 44px 1fr; height: 366px; }
.au-hours { position: relative; }
.au-hours span { position: absolute; left: 0; font-size: 10.5px; color: #8aa3c7; margin-top: -6px; font-variant-numeric: tabular-nums; }
.au-track { position: relative; background: repeating-linear-gradient(to bottom, #12284a 0 1px, transparent 1px 14px, rgba(18, 40, 74, .45) 14px 15px, transparent 15px 28px); }
.au-block { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: #07213f; border-left: 3px solid #35d6ff; font-size: 11.5px; overflow: hidden; transition: background-color .35s, box-shadow .35s; animation: sa-in .4s ease-out; }
.au-block b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.au-block span { color: #a9bfdc; white-space: nowrap; overflow: hidden; }
.au-block em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #4ee6a4; white-space: nowrap; }
.au-block.ps4 { border-left-color: #8c7bff; background: #141447; }
.au-block.cel { border-left-color: #ff7ac6; background: #33123f; }
.au-block.int { border-left-color: #8aa3c7; background: #12203a; }
.au-block.int em { color: #a9bfdc; }
.au-block.hold { background: #02050f; outline: 1px dashed #35d6ff; outline-offset: -1px; }
.au-block.hold em { color: #ffcf56; }
.au-side { background: #050c1e; border-left: 1px solid #12284a; padding: 13px 14px; display: flex; flex-direction: column; }
.au-reqhead { display: flex; justify-content: space-between; align-items: baseline; }
.au-reqhead small { color: #8aa3c7; font-size: 11px; }
.au-reqhead b { font: 500 12px "IBM Plex Mono", monospace; color: #35d6ff; }
.au-side .a-who { font-size: 15.5px; font-weight: 700; margin-top: 7px; }
.au-side .a-when { color: #a9bfdc; }
.au-steps { list-style: none; margin: 11px 0 !important; }
.au-steps li { display: flex; align-items: center; gap: 8px; height: 29px; color: #8aa3c7; border-top: 1px solid #12284a; font-size: 12px; }
.au-steps li::before { content: ""; width: 13px; height: 13px; border: 1.5px solid #3a5784; border-radius: 50%; flex: none; }
.au-steps li.ok { color: #e2f5ff; }
.au-steps li.ok::before { background: #4ee6a4; border-color: #4ee6a4; box-shadow: inset 0 0 0 2.5px #050c1e; }
.au-lines div { display: flex; justify-content: space-between; padding: 4px 0; color: #a9bfdc; }
.au-lines b { color: #e2f5ff; font-weight: 500; font-variant-numeric: tabular-nums; }
.au-lines .tot { border-top: 1px solid #12284a; margin-top: 2px; padding-top: 7px; color: #e2f5ff; font-weight: 700; font-size: 14px; }
.au-lines .tot b { font-weight: 800; color: #35d6ff; }
.au-today { margin-top: auto; border: 1px solid #35d6ff; border-radius: 6px; padding: 8px 11px; box-shadow: 0 0 14px rgba(53, 214, 255, .25); }
.au-today small { display: block; color: #a9bfdc; font-size: 10.5px; }
.au-today b { font-size: 20px; font-weight: 800; color: #35d6ff; }

/* ---------- Retail POS: touch till ---------- */
.sys-pos { background: #dfe4ea; color: #111; font: 13px/1.2 Archivo, sans-serif; }
.po-bar { height: 40px; background: #0b3c91; color: #fff; display: flex; align-items: center; gap: 22px; padding: 0 14px; font-size: 13px; }
.po-bar strong { font-size: 17px; font-weight: 800; }
.po-bill { margin-left: auto; font-family: "IBM Plex Mono", monospace; }
.po-net { background: #1fa35c; padding: 4px 9px; font-weight: 600; font-size: 12px; }
.po-net.off { background: #ffb300; color: #1f1400; }
.po-body { display: grid; grid-template-columns: 1fr 318px; height: 460px; }
.po-list { background: #fff; display: flex; flex-direction: column; }
.po-th, .po-row { display: grid; grid-template-columns: 1fr 36px 72px 80px; padding: 0 12px; align-items: center; }
.po-th { height: 28px; background: #eef1f4; color: #55606c; font-size: 11.5px; font-weight: 600; }
.po-th span:nth-child(n+2), .po-row span:nth-child(n+2) { text-align: right; font-family: "IBM Plex Mono", monospace; font-weight: 500; }
.po-rows { flex: 1; overflow: hidden; }
.po-row { height: 40px; border-bottom: 1px solid #e6e9ec; font-size: 13.5px; font-weight: 500; }
.po-row span:nth-child(n+2) { font-size: 12.5px; font-weight: 400; }
.po-row.last { background: #fff6cf; }
.po-total { display: flex; background: #101820; color: #fff; height: 92px; }
.po-count { width: 84px; padding: 13px 14px; border-right: 1px solid #333c45; }
.po-count small, .po-sum small { display: block; font-size: 11.5px; color: #9eb0c0; font-weight: 500; }
.po-count b { font-size: 30px; font-weight: 700; }
.po-sum { flex: 1; padding: 12px 14px; text-align: right; }
.po-sum b { font: 500 39px/1.1 "IBM Plex Mono", monospace; color: #7dffb0; }
.po-total.paid { background: #0e6b3a; }
.po-total.paid b { color: #fff; }
.po-total.paid small { color: #c9eed9; }
.po-right { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.po-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.po-keys button { height: 46px; color: #fff; font-weight: 600; font-size: 12.5px; }
.k0 { background: #0b3c91 !important; } .k1 { background: #b4501b !important; } .k2 { background: #0d7f7a !important; } .k3 { background: #6a3b9b !important; }
.po-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; }
.po-pad button { background: #fff !important; border-bottom: 2px solid #b7c0c8 !important; font-size: 19px; font-weight: 600; }
.po-act { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 5px; }
.po-act button { height: 50px; background: #5a6773 !important; color: #fff; font-weight: 700; }
.po-act .pay { background: #149a50 !important; font-size: 19px; }

/* ---------- Salon: calm appointment book ---------- */
.sys-salon { background: #fbf8f6; color: #3d2c32; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.sa-head { height: 50px; display: flex; align-items: center; gap: 24px; padding: 0 18px; background: #fff; border-bottom: 1px solid #ecdfe0; }
.sa-brand { font: italic 400 23px/1 Georgia, serif; color: #8a3e5a; }
.sa-branch { display: flex; gap: 4px; }
.sa-branch span { padding: 5px 11px; border-radius: 20px; color: #806a71; }
.sa-branch span.on { background: #8a3e5a; color: #fff; }
.sa-date { margin-left: auto; color: #806a71; }
.sa-body { display: grid; grid-template-columns: 1fr 188px; height: 450px; }
.sa-staff { display: grid; grid-template-columns: 30px repeat(4, 1fr); height: 32px; align-items: center; border-bottom: 1px solid #ecdfe0; background: #fff; }
.sa-staff b { padding-left: 8px; font-weight: 600; }
.sa-grid { display: grid; grid-template-columns: 30px 1fr; height: 392px; }
.sa-hours span { display: block; height: 49px; font-size: 10.5px; color: #a89499; text-align: right; padding: 2px 6px 0 0; }
.sa-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: repeating-linear-gradient(to bottom, #fff 0 48px, #f0e7e7 48px 49px); }
.sa-cols > div:not(.sa-now) { position: relative; border-left: 1px solid #f0e7e7; }
.sa-now { position: absolute; left: 0; right: 0; height: 2px; background: #c62f4a; z-index: 3; transition: top .6s; }
.sa-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #c62f4a; }
.sa-appt { position: absolute; left: 3px; right: 3px; padding: 4px 6px; border-left: 3px solid; border-radius: 3px; overflow: hidden; font-size: 11px; animation: sa-in .45s ease-out; }
.sa-appt b { display: block; font-weight: 600; }
.sa-appt span { color: inherit; opacity: .78; font-size: 10.5px; }
@keyframes sa-in { from { opacity: 0; transform: translateY(8px); } }
.cut { background: #f4e2e7; border-color: #b24c70; color: #6d2a43; }
.col { background: #efe5f5; border-color: #8253a9; color: #4a2a68; }
.gro { background: #e4eef0; border-color: #3f8491; color: #1f515b; }
.spa { background: #e6f0e4; border-color: #5e9553; color: #30592a; }
.bri { background: #fbf0d4; border-color: #c29620; color: #6d5208; }
.sa-side { background: #fff; border-left: 1px solid #ecdfe0; padding: 12px 13px; }
.sa-side h5 { font: italic 400 15px/1.2 Georgia, serif; color: #8a3e5a; margin: 12px 0 6px; }
.sa-side h5:first-child { margin-top: 0; }
.sa-comm div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted #dfcfd1; }
.sa-comm b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sys-salon .sa-alert { background: #fbf0d4; padding: 5px 7px; margin-bottom: 4px; font-size: 11px; color: #6d5208; }
.sa-loy b { font: 600 24px/1 Archivo, sans-serif; display: block; }
.sa-loy small { color: #806a71; font-size: 10.5px; }

/* ---------- Service station: workshop board ---------- */
.sys-service { background: #2a2c2f; color: #eee; font: 12px/1.25 Archivo, sans-serif; }
.sv-head { height: 38px; background: #e8590c; color: #fff; display: flex; align-items: center; gap: 18px; padding: 0 14px; font-weight: 500; }
.sv-head strong { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.sv-head em { margin-left: auto; font-style: normal; }
.sv-bays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px; }
.sv-bay { background: #3a3d41; padding: 7px 9px; border-top: 3px solid transparent; }
.sv-bay.on { background: #f7f4ee; color: #1d1d1d; border-top-color: #e8590c; }
.sv-bay small { display: block; font-size: 10px; opacity: .7; font-weight: 600; }
.sv-bay b { display: block; font: 500 13.5px/1.3 "IBM Plex Mono", monospace; }
.sv-bay span { font-size: 11px; opacity: .78; }
.sv-bay u { display: block; height: 4px; background: rgba(128,128,128,.3); margin-top: 6px; }
.sv-bay u i { display: block; height: 100%; background: #e8590c; transition: width .4s; }
.sv-bay.free { background: none; border: 1px dashed #5c6065; }
.sv-main { display: grid; grid-template-columns: 1fr 268px; gap: 8px; padding: 0 8px; }
.sv-card { background: #f7f4ee; color: #1d1d1d; padding: 13px 15px; height: 368px; display: flex; flex-direction: column; background-image: linear-gradient(#e8590c 0 3px, transparent 3px); }
.sv-cardhead { display: flex; justify-content: space-between; align-items: center; }
.sv-cardhead small { font-weight: 600; color: #7b7468; font-size: 10.5px; }
.sv-cardhead h4 { font: 500 23px/1.1 "IBM Plex Mono", monospace; }
.sv-plate { background: #ffd92f; border: 2px solid #111; padding: 4px 9px; font: 800 16px/1 Archivo, sans-serif; }
.sv-meta { display: flex; gap: 16px; padding: 9px 0; margin: 9px 0 7px; border-block: 1px solid #d9d3c6; font-size: 12.5px; font-weight: 500; }
.sv-tasks { list-style: none; }
.sv-tasks li { display: flex; align-items: center; gap: 10px; height: 35px; font-size: 13.5px; border-bottom: 1px dashed #d9d3c6; color: #5f5a50; }
.sv-tasks li::before { content: ""; width: 18px; height: 18px; border: 2px solid #8f897d; flex: none; }
.sv-tasks li.ok { color: #1d1d1d; font-weight: 500; }
.sv-tasks li.ok::before { background: #e8590c; border-color: #e8590c; box-shadow: inset 0 0 0 3px #f7f4ee; }
.sv-bot { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 8px; border-top: 2px solid #1d1d1d; }
.sv-bot small { display: block; font-size: 10.5px; color: #7b7468; font-weight: 600; }
.sv-bot b { font: 500 14px/1.3 "IBM Plex Mono", monospace; }
.sv-q div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #47494d; font-size: 11.5px; }
.sv-q b { font: 500 11.5px "IBM Plex Mono", monospace; }
.sv-side h5 { font-size: 12px; font-weight: 600; color: #ffb48a; margin: 6px 0 4px; }
.sv-parts div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #47494d; }
.sv-parts b { font: 500 12px/1.3 "IBM Plex Mono", monospace; }
.sv-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.sv-tot b { font: 700 19px/1 Archivo, sans-serif; }
.sv-sms { background: #1c7f4f; padding: 9px 11px; border-radius: 9px 9px 9px 2px; font-size: 12px; line-height: 1.35; }
.sv-sms b { font-weight: 600; }
.sv-sent { font-size: 10.5px; opacity: 0; margin-top: 4px; transition: opacity .3s; color: #a8d9bd; }
.sv-sent.show { opacity: 1; }

/* ---------- Inventory: IMS, dark navy and indigo with a light data table ---------- */
.sys-inventory { display: grid; grid-template-columns: 136px 1fr 186px; background: #0b1120; color: #e8ecf4; font: 12px/1.25 Archivo, sans-serif; }
.in-tree { background: #141b2d; padding: 12px 0; height: 500px; border-right: 1px solid #232c3d; color: #9aa6bd; }
.in-brand { display: flex; align-items: center; gap: 8px; padding: 0 12px 12px; }
.in-brand i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #7c6cf5; }
.in-brand strong { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.in-tree h5 { font-size: 10.5px; color: #6f7c96; font-weight: 600; padding: 0 12px; margin: 12px 0 5px; }
.in-tree span { display: flex; justify-content: space-between; padding: 6px 12px; }
.in-tree span.on { background: #4f46e5; color: #fff; }
.in-tree b { font-weight: 600; }
.in-main { padding: 12px 14px; }
.in-main header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.in-main h4 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.in-search { border: 1px solid #232c3d; background: #141b2d; border-radius: 5px; padding: 5px 9px; color: #6f7c96; font-size: 11px; width: 150px; }
.in-table th { text-align: left; font-size: 10.5px; color: #9aa6bd; font-weight: 600; padding: 6px 4px; border-bottom: 1px solid #39435a; }
.in-table th.n { text-align: right; }
.in-table td { padding: 0 4px; height: 49px; border-bottom: 1px solid #1c2433; }
.in-table td:first-child { font-weight: 600; }
.in-table td:nth-child(2) { font: 400 10.5px "IBM Plex Mono", monospace; color: #9aa6bd; }
.in-table .q { font-weight: 600; white-space: nowrap; }
.in-table .lv { width: 74px; padding-left: 10px; }
.in-table u { display: block; height: 6px; background: #232c3d; border-radius: 3px; overflow: hidden; }
.in-table i { display: block; height: 100%; background: #6d62f0; transition: width .6s; }
.in-table tr.low { background: rgba(220, 38, 38, .13); }
.in-table tr.low i { background: #f87171; }
.in-table tr.low .q { color: #fca5a5; }
.in-feed { background: #141b2d; color: #9aa6bd; padding: 12px; height: 500px; display: flex; flex-direction: column; border-left: 1px solid #232c3d; }
.in-feed h5 { font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.in-log { flex: 1; overflow: hidden; }
.in-log p { padding: 7px 0; border-bottom: 1px solid #232c3d; font-size: 11.5px; animation: sa-in .4s; }
.in-log b { color: #e8ecf4; font-weight: 600; }
.in-log p.po, .in-log p.po b { color: #fca5a5; }
.in-log p.in, .in-log p.in b { color: #4ade80; }
.in-po { background: #4f46e5; border-radius: 5px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; color: #dfe0ff; }
.in-po b { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }

/* ---------- Travel: itinerary and invoice ---------- */
.sys-travel { background: #f6f7f4; color: #17303f; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.tr-head { height: 44px; background: #fff; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid #dfe3dc; }
.tr-head strong { font: 700 17px/1 Archivo, sans-serif; color: #0b5563; }
.tr-ref { font-family: "IBM Plex Mono", monospace; background: #e3eef0; padding: 3px 7px; font-size: 11px; }
.tr-head em { margin-left: auto; font-style: normal; font-weight: 600; background: #ffe8b3; color: #6b4b00; padding: 4px 10px; }
.tr-head em.yes { background: #0b7a5a; color: #fff; }
.tr-route { position: relative; background: #0b5563; color: #e4f1f3; padding: 6px 20px 12px; }
.tr-route svg { width: 100%; height: 66px; display: block; }
.tr-base, .tr-prog { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.tr-base { stroke: #2f7a88; stroke-dasharray: 2 7; }
.tr-prog { stroke: #ffcf56; transition: stroke-dashoffset .9s ease-out; }
.tr-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.tr-days div { padding: 6px 7px; background: rgba(255,255,255,.07); border-top: 3px solid rgba(255,255,255,.2); min-height: 92px; transition: background-color .4s; }
.tr-days div.on { background: #fff; color: #17303f; border-top-color: #ffcf56; }
.tr-days small { display: block; font-size: 9.5px; font-weight: 600; opacity: .72; }
.tr-days b { display: block; font-size: 12px; font-weight: 600; }
.tr-days span { display: block; font-size: 10.5px; opacity: .85; min-height: 27px; }
.tr-days em { font-style: normal; font-size: 10px; color: #ffcf56; }
.tr-days .on em { color: #0b7a5a; font-weight: 600; }
.tr-low { display: grid; grid-template-columns: 1fr 268px; gap: 12px; padding: 12px 16px; }
.tr-low h5 { font: 700 14px/1 Archivo, sans-serif; margin-bottom: 8px; color: #0b5563; }
.tr-man th { text-align: left; font-size: 10.5px; font-weight: 600; color: #6a7c84; padding: 4px 4px; border-bottom: 1px solid #c8d1cd; }
.tr-man td { padding: 0 4px; height: 30px; border-bottom: 1px solid #e4e8e2; }
.tr-man td:nth-child(3) { font: 400 11px "IBM Plex Mono", monospace; }
.tr-man .ok { color: #8d7a3f; font-weight: 500; }
.tr-man .ok.yes { color: #0b7a5a; }
.tr-inv { background: #fff; border: 1px solid #dfe3dc; padding: 11px 12px; display: flex; flex-direction: column; min-height: 196px; }
.tr-invh { display: flex; justify-content: space-between; }
.tr-cur { display: flex; gap: 2px; }
.tr-cur span { padding: 2px 6px; font-size: 10.5px; color: #6a7c84; border: 1px solid #dfe3dc; }
.tr-cur span.on { background: #0b5563; color: #fff; border-color: #0b5563; }
.tr-lines div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #edefeb; font-size: 11.5px; }
.tr-lines b { font: 500 11.5px "IBM Plex Mono", monospace; }
.tr-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; font-weight: 600; }
.tr-tot b { font: 700 23px/1 Archivo, sans-serif; color: #0b5563; }

/* ---------- Accounting: ledger book restraint ---------- */
.sys-accounting { background: #f5f3ea; color: #1e2c26; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.ac-head { height: 54px; display: flex; align-items: center; gap: 22px; padding: 0 16px; background: #173f30; color: #dfe9e2; }
.ac-head h4 { font: 400 22px/1 Georgia, "Times New Roman", serif; color: #fff; }
.ac-head nav { display: flex; gap: 14px; }
.ac-head nav .on { color: #fff; border-bottom: 2px solid #d9b65c; padding-bottom: 2px; }
.ac-due { margin-left: auto; }
.ac-due b { font-weight: 600; color: #f2d680; }
.ac-body { display: grid; grid-template-columns: 1fr 180px; height: 446px; }
.ac-table { align-self: start; }
.ac-table th { text-align: left; font: 400 13px/1 Georgia, serif; padding: 11px 5px 7px; border-bottom: 2px solid #173f30; }
.ac-table th:first-child { padding-left: 16px; }
.ac-table td { height: 47px; border-bottom: 1px solid #dcd8c6; padding: 0 3px; }
.ac-table td:first-child { padding-left: 16px; font-weight: 500; font-size: 11.5px; width: 158px; }
.ac-pill { display: block; font-size: 9.5px; line-height: 1.15; padding: 4px; text-align: center; border: 1px solid; transition: background-color .35s, color .35s; }
.s0 { border-color: #c4bea7; color: #7c745a; background: transparent; }
.s1 { border-color: #d9b65c; background: #f6e8b9; color: #5f4b0c; }
.s2 { border-color: #5f9a80; background: #cfe5d8; color: #1d4a36; }
.s3 { border-color: #173f30; background: #173f30; color: #fff; }
.ac-side { background: #ece9db; padding: 12px; border-left: 1px solid #dcd8c6; }
.ac-side h5 { font: 400 14px/1 Georgia, serif; margin: 0 0 7px; }
.ac-docs { min-height: 170px; margin-bottom: 12px; }
.ac-docs p { background: #fff; padding: 6px 8px; margin-bottom: 5px; border-left: 3px solid #173f30; animation: sa-in .4s; }
.ac-docs b { display: block; font-weight: 500; font-size: 11.5px; }
.ac-docs span { font-size: 10px; color: #6b6a5b; }
.ac-side dl { display: grid; row-gap: 3px; }
.ac-side dt { font-size: 10.5px; color: #6b6a5b; }
.ac-side dd { font: 400 16px/1.2 Georgia, serif; margin-bottom: 5px; }

/* ---------- Integration bridge: utility tool ---------- */
.sys-bridge { background: #f2f4f5; color: #1e2730; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.br-head { height: 40px; background: #fff; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid #d5dade; }
.br-head strong { font: 700 15px/1 Archivo, sans-serif; }
.br-head span { color: #5f6c78; }
.br-head em { margin-left: auto; font-style: normal; color: #1c7a3e; font-weight: 600; }
.br-main { display: grid; grid-template-columns: 1fr 56px 1.18fr; padding: 12px 14px; height: 340px; }
.br-main h5 { font-size: 12.5px; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; }
.br-main h5 i { font-style: normal; font-weight: 400; color: #5f6c78; font-size: 11px; }
.br-queue div { background: #fff; border: 1px solid #d5dade; padding: 8px 10px; margin-bottom: 6px; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
.br-queue div.next { border-color: #1b6fd1; box-shadow: inset 3px 0 #1b6fd1; }
.br-queue b { font: 500 12.5px "IBM Plex Mono", monospace; }
.br-queue span { grid-row: 2; font-size: 11px; color: #5f6c78; }
.br-queue em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 12px "IBM Plex Mono", monospace; }
.br-link { display: flex; align-items: center; }
.br-link svg { width: 100%; height: 200px; overflow: visible; }
.br-link path { fill: none; stroke: #aab4bd; stroke-width: 2; stroke-dasharray: 4 4; }
.br-dot { fill: #1b6fd1; }
.br-dot.run { animation: br-run .7s ease-in-out; }
@keyframes br-run { to { transform: translateX(60px); } }
.br-led { background: #fff; border: 1px solid #d5dade; }
.br-led th { font-size: 11px; font-weight: 600; background: #e7ebee; padding: 6px 8px; text-align: left; }
.br-led th.n { text-align: right; }
.br-led td { padding: 0 8px; height: 27px; border-top: 1px solid #eceff1; font-size: 11.5px; }
.br-led td.n { font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.br-led .cr { padding-left: 24px; color: #4a5763; }
.br-led tr.new { animation: sa-in .4s; }
.br-led tfoot td { background: #1e2730; color: #fff; font-weight: 600; height: 30px; }
.br-led tfoot td.n { font-weight: 500; }
.br-log { position: absolute; left: 0; right: 0; bottom: 0; height: 118px; margin: 0; padding: 11px 14px; background: #161c22; color: #9cdcb0; font: 400 12px/1.65 "IBM Plex Mono", monospace; white-space: pre; overflow: hidden; }

/* ---------- Hosting: server panel ---------- */
.sys-hosting { background: #101419; color: #c9d3dc; font: 12px/1.25 "IBM Plex Sans", sans-serif; }
.ho-head { height: 42px; display: flex; align-items: center; gap: 16px; padding: 0 16px; border-bottom: 1px solid #262e36; }
.ho-head strong { font: 500 14px "IBM Plex Mono", monospace; color: #fff; }
.ho-head .on { color: #fff; }
.ho-head em { margin-left: auto; font-style: normal; color: #6fe3a1; display: flex; align-items: center; gap: 6px; }
.ho-head em i { width: 8px; height: 8px; border-radius: 50%; background: #2fce78; }
.ho-srv { display: grid; grid-template-columns: 232px 1fr 58px 58px 96px; gap: 12px; align-items: center; height: 62px; padding: 0 16px; border-bottom: 1px solid #1f262d; }
.ho-name b { display: block; font: 500 14px "IBM Plex Mono", monospace; color: #fff; }
.ho-name small { font-size: 11px; color: #7f8d9a; }
.ho-srv svg { width: 100%; height: 40px; color: #49a8ff; }
.ho-m small { display: block; font-size: 10px; color: #7f8d9a; }
.ho-m b { font: 500 16px "IBM Plex Mono", monospace; color: #fff; }
.ho-up { font: 500 14px "IBM Plex Mono", monospace; color: #6fe3a1; text-align: right; }
.ho-up small { display: block; font: 400 9.5px "IBM Plex Sans", sans-serif; color: #7f8d9a; }
.ho-low { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto 1fr; gap: 0 12px; padding: 12px 16px; }
.ho-low h5 { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.ho-bks p { padding: 4px 0; font-size: 11.5px; border-bottom: 1px solid #1f262d; }
.ho-bks b { font: 500 11.5px "IBM Plex Mono", monospace; color: #fff; }
.ho-bks span { color: #6fe3a1; float: right; font-size: 10.5px; }
.ho-count b { display: block; font: 700 28px/1.1 Archivo, sans-serif; color: #fff; }
.ho-count small { color: #7f8d9a; font-size: 11px; }
.ho-log { grid-column: 1 / -1; margin: 8px 0 0; height: 70px; font: 400 11.5px/1.5 "IBM Plex Mono", monospace; color: #7f8d9a; white-space: pre; overflow: hidden; }
