/* LinxCAD "Try it". Three skins inside the site's light page: the web portal, the Windows dispatch desk, and the Android phone. */
.try { --stage-h: clamp(600px, calc(100vh - 196px), 880px); padding: 10px 24px 22px; max-width: 1560px; margin: 0 auto; }
.try-block { display: none; }
.try button { font-family: inherit; cursor: pointer; }
.try [hidden] { display: none !important; }

/* ---------- progress bar ---------- */
#try-bar { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px; margin-bottom: 12px; }
#try-bar .bar-left { display: flex; align-items: center; gap: 14px; flex: none; } #try-bar .bar-left b { font-size: 15px; }
#try-bar .pick { display: flex; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; }
#try-bar .pick button { border: 0; background: #fff; color: var(--muted); font: 700 13px/1 Manrope, sans-serif; padding: 8px 12px; }
#try-bar .pick button.on { background: var(--ink); color: #fff; }
#try-bar .stages { flex: 1; min-width: 0; display: flex; align-items: center; list-style: none; margin: 0; padding: 0 6px; }
#try-bar .tstep { display: flex; align-items: center; gap: 9px; min-width: 0; flex: none; }
#try-bar .tstep:not(:last-child)::after { content: ""; flex: 1 1 24px; min-width: 18px; width: 100%; height: 3px; border-radius: 2px; background: var(--line); margin: 0 12px; }
#try-bar .tstep:not(:last-child) { flex: 1 1 auto; }
#try-bar .tstep.done:not(:last-child)::after { background: #22a559; }
#try-bar .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px Manrope, sans-serif; border: 2px solid var(--line2); color: var(--muted); background: #fff; transition: background .25s, border-color .25s, box-shadow .25s; }
#try-bar .dot .ico { width: 16px; height: 16px; stroke-width: 3; }
#try-bar .tstep.done .dot { background: #22a559; border-color: #22a559; color: #fff; }
#try-bar .tstep.now .dot { border-color: var(--accent); color: var(--accent-d); box-shadow: 0 0 0 4px rgba(21, 115, 201, .18); }
#try-bar .txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
#try-bar .name { font: 700 13px Manrope, sans-serif; color: #44596c; white-space: nowrap; } #try-bar .sub { font: 600 11px Manrope, sans-serif; color: #44596c; white-space: nowrap; }
#try-bar .tstep.now .name { color: var(--ink); } #try-bar .tstep.now .sub { color: var(--accent-d); } #try-bar .tstep.done .name { color: #14532d; } #try-bar .tstep.done .sub { color: #3d8a5b; }
#try-bar .bar-right { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 13px; flex: none; }
#try-bar .count { color: var(--muted); font-weight: 600; }
#try-bar .link { background: none; border: 0; color: var(--accent); font: 700 13px Manrope, sans-serif; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the stage ---------- */
.try-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; height: var(--stage-h); }
.try-desk, .try-phone { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.try-cap { font: 600 11px/30px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); height: 30px; display: flex; justify-content: space-between; }
.try-desk .window { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #0a1118; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(8, 20, 34, .55), 0 0 0 1px #223548; overflow: hidden; }
.try-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #131f2b; align-items: flex-end; }
.try-tabs .dt { background: transparent; border: 0; color: #b4c3d2; font: 700 13px/1 Manrope, sans-serif; padding: 11px 18px; border-radius: 9px 9px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.try-tabs .dt small { font: 500 10px var(--mono); letter-spacing: .06em; }
.try-tabs .dt.on { background: #0a1118; color: #fff; }
.try-tabs .dt:hover:not(.on) { color: #fff; }
.try-tabs .dt:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.try-addr { flex: 1; text-align: right; font: 500 11px var(--mono); color: #b4c3d2; padding: 0 6px 10px; }
#try-deskpane { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #060b10; }
.holder { position: relative; flex: none; }
.canvas-set { position: absolute; left: 0; top: 0; transform-origin: top left; }
.canvas { position: absolute; left: 0; top: 0; overflow: hidden; }
#try-deskset { width: 1120px; height: 720px; } #try-portal, #try-cad { width: 1120px; height: 720px; }
#try-phoneset, #try-phone { width: 360px; height: 780px; }

.try-bezel { flex: none; background: #05090e; border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .6), 0 0 0 2px #2a3d50, inset 0 0 0 2px #0f1a25; position: relative; }
.try-bezel::before { content: ""; position: absolute; top: 20px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #1a2733; transform: translateX(-50%); z-index: 3; box-shadow: inset 0 0 0 2px #0a1219; }
#try-phonepane { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #0B1620; display: flex; align-items: center; justify-content: center; }
.try-bezel.buzz { animation: buzz .5s 2; }
@keyframes buzz { 0%, 100% { transform: none; } 20% { transform: translateX(-3px) rotate(-.5deg); } 40% { transform: translateX(3px) rotate(.5deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

/* ---------- overlay card (welcome / done) ---------- */
#try-overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(8, 18, 28, .62); border-radius: 14px; z-index: 20; padding: 24px; }
#try-overlay.show { display: flex; }
#try-overlay .card { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px 34px; max-width: 560px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); }
#try-overlay h2 { font-size: 26px; margin-bottom: 10px; } #try-overlay p { margin: 0 0 12px; color: #34495b; } #try-overlay .small { font-size: 13px; color: var(--muted); }
#try-overlay .pickrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 20px; font-weight: 700; font-size: 14px; }
#try-overlay .choice { background: #fff; border: 1.5px solid var(--line2); border-radius: 10px; padding: 10px 14px; font: 700 14px Manrope, sans-serif; color: var(--ink); } #try-overlay .choice.on { border-color: var(--accent); background: #eaf4fd; color: var(--accent-d); }
#try-overlay .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
#try-overlay .go { background: var(--accent); color: #fff; border: 0; border-radius: 11px; padding: 14px 22px; font: 800 15px Manrope, sans-serif; text-decoration: none; } #try-overlay .go:hover { background: var(--accent-d); color: #fff; }
#try-overlay .ghost { background: #fff; border: 1.5px solid var(--line2); border-radius: 11px; padding: 13px 20px; font: 700 15px Manrope, sans-serif; color: var(--ink); }

/* ---------- coach marks ---------- */
#try-ring { position: fixed; z-index: 60; pointer-events: none; border: 3px solid #ffd54a; border-radius: 14px; box-shadow: 0 0 0 4px rgba(255, 213, 74, .28), 0 0 24px 6px rgba(255, 213, 74, .35); transition: left .25s, top .25s, width .25s, height .25s, opacity .2s; animation: ring 1.4s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 213, 74, .28), 0 0 24px 6px rgba(255, 213, 74, .35); } 50% { box-shadow: 0 0 0 10px rgba(255, 213, 74, .12), 0 0 30px 10px rgba(255, 213, 74, .25); } }
#try-tip { position: fixed; z-index: 61; width: 300px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px 16px; box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .5), 0 0 0 2px #ffd54a; transition: left .25s, top .25s; }
#try-tip.floating { transform: translateX(-50%); }
#try-tip .kick { display: block; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
#try-tip b { display: block; font-size: 16px; margin-bottom: 4px; } #try-tip p { margin: 0; font-size: 14px; line-height: 1.45; color: #2c4152; }
#try-tip .help { margin-top: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 9px; padding: 8px 12px; font: 700 13px Manrope, sans-serif; }
#try-tip::after { content: ""; position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 2px -2px 0 0 #ffd54a; display: none; }
#try-tip[data-side="right"]::after { display: block; left: -7px; top: calc(var(--ay) - 7px); box-shadow: -2px 2px 0 0 #ffd54a; }
#try-tip[data-side="left"]::after { display: block; right: -7px; top: calc(var(--ay) - 7px); box-shadow: 2px -2px 0 0 #ffd54a; }
#try-tip[data-side="bottom"]::after { display: block; top: -7px; left: calc(var(--ax) - 7px); box-shadow: -2px -2px 0 0 #ffd54a; }
#try-tip[data-side="top"]::after { display: block; bottom: -7px; left: calc(var(--ax) - 7px); box-shadow: 2px 2px 0 0 #ffd54a; }

#try-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: #0e1c28; color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: 90vw; }
#try-toast.show { opacity: 1; transform: translate(-50%, 0); }
.try-note { max-width: 900px; margin: 14px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ======================================================= WEB PORTAL ======================================================= */
.portal { --bg: #0b1014; --card: #0e1519; --line: #2a343e; --fg: #e8eef5; --mut: #98a6b3; --pri: #1d4d6e; width: 1120px; height: 720px; display: grid; grid-template-columns: 210px 1fr; background: var(--bg); color: var(--fg); font: 400 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.portal button { font-family: inherit; }
.p-side { background: #090e12; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.p-brand { display: flex; align-items: baseline; gap: 6px; padding: 0 8px; } .p-brand b { font-size: 21px; letter-spacing: .05em; font-weight: 900; } .p-brand small { color: #4cb4ff; letter-spacing: .25em; font-weight: 700; font-size: 10px; }
.p-co { color: var(--mut); font-size: 12px; padding: 2px 8px 12px; }
.p-side nav { display: flex; flex-direction: column; gap: 2px; }
.p-nav { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #c8d3de; padding: 8px 10px; border-radius: 5px; font-size: 13px; text-align: left; position: relative; }
.p-nav i { display: inline-flex; width: 16px; justify-content: center; color: var(--mut); } .ico { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .f-icon .ico { width: 26px; height: 26px; } .f-fab .ico { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; } .p-nav:hover { background: #121b22; } .p-nav.on { background: var(--pri); color: #fff; } .p-nav.on i { color: #fff; } .p-nav.dim { opacity: .55; }
.p-nav em { margin-left: auto; font-style: normal; background: #d97706; color: #1c1100; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 0 7px; line-height: 17px; }
.p-main { padding: 18px 22px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; } .p-top h2 { margin: 0; font-size: 21px; font-weight: 700; } .p-top p { margin: 2px 0 0; color: var(--mut); font-size: 12.5px; }
.p-user { text-align: right; } .p-user b { display: block; font-size: 13px; } .p-user small { color: var(--mut); font-size: 11px; font-family: var(--mono); }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .p-stat { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.p-stat small { display: block; color: var(--mut); font: 600 10.5px var(--mono); letter-spacing: .06em; } .p-stat b { font-size: 26px; display: block; line-height: 1.2; } .p-stat span { color: var(--mut); font-size: 11.5px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; } .p-card.flush { padding: 0; overflow: hidden; } .p-card h3 { margin: 0 0 8px; font-size: 14px; }
.p-list { list-style: none; margin: 0; padding: 0; } .p-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); } .p-list li:first-child { border-top: 0; }
.p-note { color: var(--mut); margin: 0 0 8px; font-size: 12.5px; } .p-note.wide { max-width: 760px; margin: 0; } .p-empty { color: var(--mut); margin: 6px 0; } .p-meta { color: var(--mut); font: 500 11px var(--mono); margin: 0 0 8px; }
.p-btn { background: var(--pri); color: #fff; border: 1px solid #2a6a96; border-radius: 4px; padding: 7px 13px; font-size: 13px; font-weight: 600; } .p-btn:hover { background: #24608a; } .p-btn.ghost { background: transparent; color: #d4dee8; border-color: #3a4753; } .p-btn.ghost:hover { background: #151e26; } .p-btn:disabled { opacity: .4; cursor: not-allowed; }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.p-chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; margin-left: 6px; color: #c8d3de; } .p-chip:first-child { margin-left: 0; }
.p-chip.good { color: #4ade80; border-color: #1f5a37; background: #0e2418; } .p-chip.warn { color: #fbbf24; border-color: #6b4e0f; background: #251b07; } .p-chip.bad { color: #f87171; border-color: #6b2323; background: #2a0f0f; } .p-chip.info { color: #7cc4ff; border-color: #1f4a6b; background: #0b1c2b; }
.p-table { width: 100%; border-collapse: collapse; font-size: 12.5px; } .p-table th { text-align: left; color: var(--mut); font: 600 10.5px var(--mono); letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.p-table td { padding: 10px 14px; border-bottom: 1px solid #18212a; vertical-align: middle; } .p-table tr:last-child td { border-bottom: 0; } .p-table td small { display: block; color: var(--mut); font-family: var(--mono); font-size: 11px; }
.p-table td b + small + .p-chip, .p-table td b + .p-chip { margin-left: 0; }
.p-table tr.fresh td { background: #0c1d2a; } .p-table.tight td, .p-table.tight th { padding: 8px 10px; } .p-table tr.sel td { background: #142636; } .p-table tbody tr { cursor: default; } .p-table.tight tbody tr { cursor: pointer; }
.mono { font-family: var(--mono); }
.p-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: end; } .p-form label small, .portal label small { display: block; color: var(--mut); font-size: 11px; margin-bottom: 3px; }
.portal input, .portal select, .portal textarea { width: 100%; background: #0a1015; color: var(--fg); border: 1px solid #34414d; border-radius: 4px; padding: 7px 9px; font: inherit; } .portal input:focus, .portal select:focus, .portal textarea:focus { outline: 2px solid #2f7fb8; outline-offset: 0; }
.p-err { grid-column: 1 / -1; margin: 0; color: #f87171; min-height: 0; font-size: 12px; } .p-err:empty { display: none; }
.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } .p-card.detail { display: flex; flex-direction: column; gap: 8px; } .p-card.detail h3 { margin: 0; }
.p-doc { background: #0a1015; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin: 0; white-space: pre-wrap; font: 500 12px/1.5 var(--mono); max-height: 190px; overflow: auto; color: #dbe6f1; }

/* ======================================================= DISPATCH DESK ======================================================= */
.cad { --bg: #080d13; --panel: #0c141c; --line: #22364b; --fg: #e7eef6; --lab: #8aa0b5; --btn: #12263a; --btnline: #2f5a85; width: 1120px; height: 720px; background: var(--bg); color: var(--fg); font: 500 12px/1.4 var(--mono); display: flex; flex-direction: column; padding: 8px; gap: 8px; position: relative; }
.c-top { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); padding: 8px 14px; background: var(--panel); }
.c-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; } .c-logo b { font: 900 22px Manrope, sans-serif; letter-spacing: .08em; } .c-logo small { font: 700 8px Manrope, sans-serif; letter-spacing: .45em; color: #4cb4ff; margin-top: 2px; }
.c-grow { flex: 1; } .c-meta { text-align: left; } .c-meta small { display: block; color: var(--lab); font-size: 9.5px; letter-spacing: .08em; } .c-meta b { font-size: 14px; } .c-time { font-size: 15px !important; }
.c-btn { background: var(--btn); color: #e9f1f8; border: 1px solid var(--btnline); padding: 8px 14px; font: 700 11px var(--mono); letter-spacing: .03em; text-transform: uppercase; border-radius: 2px; } .c-btn:hover { background: #193553; } .c-btn.primary { background: #1e5a96; border-color: #5aa6e6; } .c-btn.wide { width: 100%; } .c-btn:disabled { opacity: .4; cursor: not-allowed; }
.c-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.c-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px 1fr 290px; gap: 8px; }
.c-panel { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; min-height: 0; display: flex; flex-direction: column; gap: 8px; } .c-panel h3 { margin: 0; font: 800 14px Manrope, sans-serif; letter-spacing: .04em; }
.c-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.c-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .c-stats > div { border: 1px solid var(--line); background: #0a1118; padding: 6px 8px; } .c-stats small { display: block; color: var(--lab); font-size: 9.5px; } .c-stats b { font-size: 17px; }
.c-tabs { display: flex; gap: 4px; } .c-tabs span { border: 1px solid var(--line); padding: 5px 10px; font: 700 11px var(--mono); color: var(--lab); cursor: default; } .c-tabs span.on { background: #12263a; color: #fff; border-color: var(--btnline); } .c-tabs.big span { font-size: 12px; padding: 8px 16px; cursor: pointer; }
.c-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; min-height: 0; }
.c-sep { text-align: center; color: var(--lab); font-size: 11px; border: 1px solid var(--line); padding: 3px; background: #0a1118; }
.c-call { text-align: left; background: #0a1118; border: 1px solid var(--line); border-left: 5px solid #3a4f64; color: var(--fg); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; font: 500 11px/1.35 var(--mono); } .c-call.on { border-color: #2f7fd0; box-shadow: inset 0 0 0 1px #2f7fd0; } .c-call.mine { border-left-color: #4ade80; }
.c-call-top { display: flex; align-items: center; gap: 8px; } .c-call-top b { font-size: 13px; } .c-call-top small { margin-left: auto; color: var(--lab); } .c-tag { background: #35495c; color: #e8f0f8; font-size: 9.5px; padding: 1px 6px; font-weight: 700; margin-left: auto; } .c-call-top .c-tag + small { margin-left: 8px; }
.c-call-title { font: 800 14px Manrope, sans-serif; } .c-call small { color: var(--lab); } .c-call-units { color: #7fb8ec !important; font-weight: 700; }
.c-view { color: var(--lab); margin-top: -6px; } .c-btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.c-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .c-cell { border: 1px solid var(--line); background: #0a1118; padding: 6px 9px; min-width: 0; } .c-cell small { display: block; color: var(--lab); font-size: 9.5px; } .c-cell b { font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-narr { flex: 1; min-height: 70px; border: 1px solid var(--line); background: #0a1118; padding: 8px 10px; overflow: auto; } .c-narr small { color: var(--lab); font-size: 9.5px; } .c-narr p { margin: 4px 0 0; white-space: pre-wrap; } .c-veh { color: #7fb8ec; font-weight: 700; }
.c-rep small { color: #7fb8ec; font-size: 10px; } .c-rep-row { border: 1px solid var(--line); background: #0a1118; padding: 5px 8px; margin-top: 4px; font-size: 11px; cursor: default; } .c-rep-row.dim { color: var(--lab); }
.c-notes { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; min-height: 0; } .c-note { border: 1px solid var(--line); background: #0a1118; padding: 6px 8px; } .c-note p { margin: 3px 0; } .c-note small { color: var(--lab); }
.c-note-top { display: flex; justify-content: space-between; } .c-note-top small { color: #7fb8ec; font-size: 9.5px; }
.c-addnote { display: grid; grid-template-columns: 1fr 96px; gap: 6px; } .cad textarea, .cad input, .cad select { width: 100%; background: #0a1118; color: var(--fg); border: 1px solid #2a4560; font: 500 12px var(--mono); padding: 6px 8px; border-radius: 2px; } .cad textarea:focus, .cad input:focus, .cad select:focus { outline: 2px solid #2f7fd0; }
.c-bottom { display: grid; grid-template-columns: 1fr 290px; gap: 8px; height: 168px; } .c-users small, .c-console small { color: var(--lab); }
.c-userlist { display: flex; flex-direction: column; gap: 5px; overflow-y: auto; } .c-user { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; border: 1px solid var(--line); background: #0a1118; padding: 6px 10px; } .c-user em { font-style: normal; color: #4ade80; font-weight: 700; font-size: 10.5px; }
.c-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .c-console { gap: 6px; }
.c-empty { color: var(--lab); margin: 4px 0; }
.c-ops { flex: 1; padding: 6px 8px; display: flex; flex-direction: column; gap: 8px; min-height: 0; } .c-ops h2 { margin: 0; font: 900 24px Manrope, sans-serif; letter-spacing: .04em; } .c-sub { color: var(--lab); }
.c-box { flex: 1; min-height: 0; border: 1px solid var(--line); background: var(--panel); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.c-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; } .c-split > div { min-height: 0; overflow: auto; }
.c-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 11.5px; } .c-table th { text-align: left; color: var(--lab); font-size: 9.5px; background: #0a1118; padding: 6px 8px; border: 1px solid var(--line); } .c-table td { padding: 6px 8px; border: 1px solid var(--line); } .c-table tr.sel td { background: #e9f0f7; color: #0a1118; } .c-table tbody tr { cursor: pointer; }
.c-reportbox { display: flex; flex-direction: column; gap: 8px; } .c-reportbox h3 { font: 800 15px Manrope, sans-serif; } .c-doc { margin: 0; flex: 1; min-height: 120px; background: #0a1118; border: 1px solid var(--line); padding: 10px 12px; white-space: pre-wrap; font: 500 12px/1.5 var(--mono); overflow: auto; }
.c-modal-bg { position: absolute; inset: 0; background: rgba(2, 6, 10, .72); display: flex; align-items: center; justify-content: center; z-index: 5; }
.c-modal { width: 520px; max-width: 94%; background: var(--panel); border: 1px solid var(--btnline); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); } .c-modal.wide { width: 720px; } .c-modal h3 { margin: 0; font: 800 15px Manrope, sans-serif; letter-spacing: .05em; }
.c-form { display: flex; flex-direction: column; gap: 9px; } .c-form label small { display: block; color: var(--lab); font-size: 9.5px; margin-bottom: 3px; } .c-err { margin: 0; color: #f87171; } .c-err:empty { display: none; }
.c-unitlist { display: flex; flex-direction: column; gap: 8px; } .c-unit { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); background: #0a1118; padding: 8px 10px; } .c-unit.off { opacity: .6; } .c-unit b { font-size: 13px; }
.c-mapsvg { width: 100%; height: auto; border: 1px solid var(--line); display: block; } .m-bg { fill: #0a141d; } .m-road { stroke: #1b2d3f; stroke-width: 6; } .m-label { fill: #dbe8f4; font: 700 12px var(--mono); }
.m-pin { transition: transform .8s ease; } .m-pin circle { fill: #4cb4ff; stroke: #04121d; stroke-width: 3; } .m-pin.call circle { fill: #f87171; } .m-pin.yard circle { fill: #fbbf24; } .m-pin.unit.mine circle { fill: #4ade80; }

/* ======================================================= ANDROID PHONE ======================================================= */
.phone-ui { --navy: #0B1620; --panel: #132434; --high: #1B3147; --line: #2A4258; --sky: #4CB4FF; --muted: #9DB2C4; width: 360px; height: 780px; background: var(--navy); color: #E9F0F6; font: 400 17px/1.4 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.phone-ui button, .phone-ui input, .phone-ui textarea { font-family: inherit; }
.f-status-bar { height: 28px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 22px 0; font-size: 12px; font-weight: 600; color: #cfe0ee; } .f-sig .ico { width: 15px; height: 15px; stroke-width: 3; }
.f-screen { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.f-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 24px; } .f-center h2, .f-center h3 { margin: 0; }
.f-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-bottom: 6px; } .f-logo b { font-size: 40px; font-weight: 900; letter-spacing: 4px; } .f-logo small { font-size: 15px; font-weight: 700; letter-spacing: 8px; color: var(--sky); margin-top: 2px; }
.f-muted { color: var(--muted); margin: 0; } .f-muted.small { font-size: 14px; } .f-center p { margin: 0; color: var(--muted); }
.f-id { width: 190px; text-align: center; font-size: 28px; background: transparent; color: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px; } .f-id:focus { outline: 3px solid var(--sky); border-color: var(--sky); } .f-id::placeholder { color: var(--muted); }
.f-err { color: #F87171; margin: 0; font-size: 15px; min-height: 0; } .f-err:empty { display: none; }
.f-btn { width: 100%; border: 0; border-radius: 14px; padding: 16px 12px; font-size: 19px; font-weight: 800; letter-spacing: .02em; } .f-btn.primary { background: var(--sky); color: #04121D; } .f-btn.secondary { background: transparent; color: #E9F0F6; border: 2px solid var(--line); font-size: 16px; font-weight: 700; padding: 13px 10px; } .f-btn.link, .f-link { background: none; border: 0; color: var(--sky); font-size: 16px; font-weight: 600; width: auto; padding: 8px; } .f-link.strong { font-weight: 800; }
.f-btn:disabled { opacity: .45; }
.f-spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--high); border-top-color: var(--sky); animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.f-appbar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel); padding: 10px 14px; position: relative; } .f-appbar b { font-size: 20px; display: block; } .f-appbar small { color: var(--muted); font-size: 13px; } .f-appbar.back { justify-content: flex-start; gap: 6px; } .f-appbar.back b { font-size: 21px; }
.f-icon { background: none; border: 0; color: #E9F0F6; font-size: 26px; width: 44px; height: 44px; border-radius: 50%; } .f-icon:hover { background: var(--high); }
.f-menu { position: absolute; right: 10px; top: 54px; background: var(--high); border: 1px solid var(--line); border-radius: 10px; z-index: 6; padding: 4px; min-width: 140px; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); } .f-menu-item { display: block; width: 100%; text-align: left; background: none; border: 0; color: #E9F0F6; padding: 12px 14px; font-size: 17px; border-radius: 8px; } .f-menu-item:hover { background: var(--line); }
.f-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 12px; } .f-body h2 { margin: 0; font-size: 26px; line-height: 1.15; } .f-body h3 { margin: 0; }
.f-addr { margin: 0; font-size: 19px; font-weight: 600; } .f-status { margin: 0; color: var(--sky); font-weight: 800; font-size: 20px; }
.f-banner { background: #123a28; color: #8cf0b0; border-radius: 10px; padding: 10px 12px; font-size: 15px; font-weight: 600; }
.f-alert { text-align: left; background: #3d2a05; color: #ffe29a; border: 2px solid #FBBF24; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; animation: pulse 1.2s ease-in-out infinite; } .f-alert b { letter-spacing: .08em; font-size: 14px; } .f-alert span { font-size: 17px; font-weight: 700; }
@keyframes pulse { 50% { background: #5a3d08; } }
.f-callcard { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; color: #E9F0F6; display: flex; flex-direction: column; gap: 2px; } .f-callcard small { color: var(--muted); } .f-callcard b { font-size: 20px; } .f-callcard span { color: var(--muted); font-size: 15px; } .f-callcard em { font-style: normal; color: var(--sky); font-weight: 800; margin-top: 4px; }
.f-vehsum { background: var(--panel); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; } .f-vehsum small { color: var(--muted); font-size: 12px; letter-spacing: .08em; } .f-vehsum span { font-size: 15px; }
.f-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border-top: 1px solid var(--line); } .f-tab { background: none; border: 0; color: var(--muted); padding: 16px 0 18px; font-size: 15px; font-weight: 800; letter-spacing: .08em; } .f-tab.on { color: var(--sky); box-shadow: inset 0 3px 0 var(--sky); }
.f-sos { position: absolute; right: 14px; bottom: 76px; width: 54px; height: 54px; border-radius: 50%; background: #c62828; color: #fff; border: 0; font-weight: 900; font-size: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); z-index: 2; }
.f-dlg-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; z-index: 8; padding: 22px; } .f-dlg { width: 100%; background: var(--high); border-radius: 18px; padding: 20px 18px 12px; display: flex; flex-direction: column; gap: 10px; } .f-dlg h3 { margin: 0 0 4px; font-size: 21px; } .f-dlg-act { display: flex; justify-content: flex-end; gap: 6px; }
.f-choice { text-align: left; background: var(--panel); border: 1px solid var(--line); color: #fff; font-size: 19px; font-weight: 700; padding: 15px 14px; border-radius: 12px; }
.f-sheet { position: absolute; inset: 28px 0 0 0; background: var(--navy); z-index: 7; display: flex; flex-direction: column; } .f-sheet .f-appbar { justify-content: space-between; }
.f-vform { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 24px; overflow-y: auto; } .f-vform h4 { margin: 4px 0 0; font-size: 18px; } .f-vform label span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.f-vform input, .f-vform textarea, .f-body textarea, .f-body input:not(.f-id) { width: 100%; background: transparent; color: #E9F0F6; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 11px; font-size: 16px; } .f-vform input:focus, .f-vform textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.f-row { display: flex; gap: 8px; } .f-row .grow { flex: 1; min-width: 0; } .f-row .sm { width: 76px; flex: none; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; } .f-chip { background: transparent; color: #E9F0F6; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 13px; font-size: 15px; } .f-chip.on { background: var(--sky); color: #04121D; border-color: var(--sky); font-weight: 700; }
.f-rep { background: var(--panel); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; } .f-rep span { color: var(--muted); font-size: 14px; }

/* ---------- narrow screens: no preview, just a message ---------- */
@media (max-width: 1179px) {
  .try-live, #try-ring, #try-tip { display: none !important; }
  .try-block { display: block; max-width: 560px; margin: 60px auto; padding: 0 24px; }
  .try-block h1 { font-size: 28px; margin: 8px 0 12px; } .try-block p { color: var(--muted); }
}

/* phone home as in the real app: name, company, duty line, log out icon, floating NEW CALL */
.f-appbar.home { align-items: flex-start; padding: 12px 8px 12px 16px; } .f-appbar.home small { display: block; margin-top: 1px; } .f-appbar.home small.duty { color: #4ADE80; }
.f-fab { position: absolute; left: 50%; transform: translateX(-50%); bottom: 82px; background: var(--sky); color: #04121D; border: 0; border-radius: 32px; padding: 0 22px; height: 54px; font-size: 17px; font-weight: 800; letter-spacing: .03em; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); z-index: 3; }
.f-callcard.fresh { border-color: #FBBF24; box-shadow: 0 0 0 2px rgba(251, 191, 36, .35); animation: pulse 1.2s ease-in-out infinite; }

/* dark mode (accessibility button): the page around the demo; the demo screens are already dark */
html.a11y-dark #try-bar { background: var(--white); border-color: var(--line); }
html.a11y-dark #try-bar .pick { border-color: var(--line2); } html.a11y-dark #try-bar .pick button { background: transparent; color: var(--muted); } html.a11y-dark #try-bar .pick button.on { background: #e9f0f6; color: #0b1620; }
html.a11y-dark #try-bar .dot { background: transparent; color: var(--muted); border-color: var(--line2); }
html.a11y-dark #try-bar .tstep.done .dot { background: #22a559; border-color: #22a559; color: #fff; }
html.a11y-dark #try-bar .tstep.now .dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(76, 180, 255, .2); }
html.a11y-dark #try-bar .name, html.a11y-dark #try-bar .sub { color: #a9bccd; } html.a11y-dark #try-bar .tstep.now .name { color: #fff; } html.a11y-dark #try-bar .tstep.now .sub { color: var(--accent); } html.a11y-dark #try-bar .tstep.done .name { color: #7be0a4; } html.a11y-dark #try-bar .tstep.done .sub { color: #7be0a4; }
html.a11y-dark #try-bar .tstep:not(:last-child)::after { background: var(--line2); } html.a11y-dark #try-bar .tstep.done:not(:last-child)::after { background: #22a559; }
html.a11y-dark #try-overlay .card { background: #12263a; color: #e9f0f6; } html.a11y-dark #try-overlay p { color: #c5d4e2; } html.a11y-dark #try-overlay .small { color: #a9bccd; }
html.a11y-dark #try-overlay .choice, html.a11y-dark #try-overlay .ghost { background: #0d1d2c; color: #e9f0f6; border-color: var(--line2); } html.a11y-dark #try-overlay .choice.on { background: #16304a; border-color: var(--accent); color: #fff; }
html.a11y-dark #try-overlay .go { background: #1573c9; color: #fff; } html.a11y-dark.a11y-contrast #try-overlay .go { background: #0a3d8f; border: 2px solid #fff; }
html.a11y-dark #try-tip { background: #12263a; color: #e9f0f6; } html.a11y-dark #try-tip p { color: #c5d4e2; } html.a11y-dark #try-tip .kick { color: #a9bccd; } html.a11y-dark #try-tip::after { background: #12263a; } html.a11y-dark #try-tip .help { background: #e9f0f6; color: #0b1620; }
html.a11y-dark .try-note, html.a11y-dark .try-cap { color: #a9bccd; }
