/* Command Center interactive replica: styles for demo.html only (loaded after styles.css and
   the inline replica styles). The inside of the dashboard keeps the real app's dark look. */

/* ---------- frame: no 3D tilt (it fights dragging and typing), no load fade ---------- */
.hero.demo-only { padding: 16px 24px 22px !important; }
.hero-dashboard-wrapper { perspective: none !important; }
.hero-dashboard { transform: none !important; opacity: 1 !important; transition: none !important; }
.hero-dashboard .dash-load-spinner { display: none !important; }
.hero-dashboard *, .m-root * { box-sizing: border-box; }
.hero-dashboard button, .m-root button, .d-bar button { font-family: Inter, sans-serif; cursor: pointer; }
.hero-dashboard :focus-visible, .m-root :focus-visible, .d-bar :focus-visible { outline: 2px solid #f5c542; outline-offset: 1px; border-radius: 4px; }
.g-disclaimer { margin: 12px auto 0; }
[hidden] { display: none !important; }

/* ---------- top bar: disclosure + tour control ---------- */
.d-bar { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 16px; background: #0b1729; border: 1px solid rgba(122,146,178,0.28); border-radius: 12px; font-family: Inter, sans-serif; }
.d-bar-note { display: flex; align-items: center; gap: 9px; font-size: 12.5px; line-height: 1.35; color: #c9d5e6; min-width: 0; }
.d-bar-note i { width: 8px; height: 8px; border-radius: 50%; background: #7dc244; flex-shrink: 0; }
.d-tour-btn { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 36px; padding: 0 16px 0 12px; font-size: 13px; font-weight: 700; color: #0b1627; background: #e87a54; border: 0; border-radius: 8px; transition: background .15s, transform .15s; }
.d-tour-btn:hover { background: #f08f6c; }
.d-tour-btn:active { transform: translateY(1px); }
.d-tour-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- app chrome made interactive ---------- */
.g-logo { height: 22px; filter: none; }
.g-menu { min-width: 0; }
.g-mi { white-space: nowrap; }
button.g-search { background: none; cursor: pointer; transition: border-color .15s, color .15s; }
button.g-search:hover { border-color: rgba(232,237,245,0.5); color: #e8edf5; }
input.g-input { font-family: Inter, sans-serif; outline: 0; color: #e8edf5; min-width: 170px; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
input.g-input::placeholder { color: #7a92b2; }
input.g-input:focus { border-color: #3a9be0; }
.g-ulist input.g-input { width: 100%; min-width: 0; }
.g-crumb-b { background: none; border: 0; padding: 0; font: inherit; color: #3a9be0; }
.g-crumb-b:hover { text-decoration: underline; }
.g-scenes { height: 640px; }
.g-scene { overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(122,146,178,0.35) transparent; }
.g-scene.g-flush { overflow: hidden; }
.g-scene .g-ezra { display: none; }
.g-ezra-fab { display: none; position: absolute; z-index: 5; bottom: 8px; left: 50%; transform: translateX(-50%); border: 0; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.hero-dashboard.g-ubx .g-ezra-fab { display: block; }
.g-ezra-fab:hover { background: #fff; }
.t-on .g-cmd, .t-on .g-ezra-fab { display: none !important; }
form.g-cmd { margin: 0; padding: 4px 4px 4px 11px; }
.g-cmd input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 500 11px Inter, sans-serif; color: #0d1a2e; padding: 5px 0; }
.g-cmd input::placeholder { color: #4a5d78; }
.g-cmd button { border: 0; color: #fff; background: #e87a54; border-radius: 6px; padding: 5px 10px; font-size: 11px; }
.g-cmd:focus-within { box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 2px #e87a54; }
.d-hide { display: none !important; }
.d-click { cursor: pointer; transition: background .12s; }
.d-click:hover, .g-ui:hover, .g-fl:hover { background: rgba(58,155,224,0.09); }
.g-convs .d-click { border-radius: 6px; padding-left: 4px; padding-right: 4px; }
.d-newtag { font-style: normal; font-size: .78em; font-weight: 700; color: #e87a54; border: 1px solid rgba(232,122,84,.6); border-radius: 3px; padding: 0 4px; margin-left: 4px; }
.g-gN { background: rgba(122,146,178,.16); color: #7a92b2; }
.g-feed > div.d-new { animation: dNew 1.6s ease-out; }
@keyframes dNew { from { background: rgba(125,194,68,.22); } to { background: transparent; } }
.d-flash { animation: dFlash 1.7s ease-out; }
@keyframes dFlash { 0%, 35% { box-shadow: 0 0 0 2px #7dc244; background: rgba(125,194,68,.2); } 100% { box-shadow: 0 0 0 2px transparent; } }
.g-kpis b { transition: color .2s; }
.g-tblwrap { overflow-x: auto; border-radius: 8px; }
.g-big-tbl td:first-child > span:last-child { min-width: 0; }
.g-big-tbl tr.d-click td { vertical-align: middle; }

/* segmented controls and tab rows that now work */
.g-seg > button, .g-utabs > button, .g-ufil > button, #gDocTabs > button { font: inherit; color: inherit; background: none; border: 0; }
.g-seg > button { padding: 3px 8px; color: #9fb2cc; font-weight: 500; }
.g-seg > button:hover { color: #fff; }
.g-seg > button.g-on { background: rgba(232,237,245,0.1); color: #fff; font-weight: 700; }
.g-utabs > button { padding: 2px 0; }
.g-utabs > button:hover, .g-ufil > button:hover, #gDocTabs > button:hover { color: #fff; }
.g-utabs > button.g-on { color: #e87a54; font-weight: 600; }
.g-ufil > button { padding: 0; }
.g-ufil > button.g-on { color: #fff; font-weight: 700; }
#gDocTabs > button { padding: 6px 0; border-bottom: 2px solid transparent; }
#gDocTabs > button.g-on { color: #e87a54; border-bottom-color: #e87a54; font-weight: 600; }

/* pipeline board */
.g-board-wrap { overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: rgba(122,146,178,0.35) transparent; }
.g-board { min-width: 860px; }
.g-col { transition: border-color .12s, background .12s; }
.g-col.d-over { border-color: #e87a54; background: #172b4a; }
.g-deal { cursor: grab; user-select: none; -webkit-user-select: none; transition: border-color .12s, transform .12s; }
.g-deal:hover { border-color: rgba(58,155,224,.6); transform: translateY(-1px); }
.g-deal.d-lift { opacity: .35; }
.d-ghost { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; box-shadow: 0 14px 30px rgba(0,0,0,.55); border-color: #e87a54; cursor: grabbing; font-family: Inter, sans-serif; }
.d-dragging, .d-dragging * { cursor: grabbing !important; }

/* unibox */
.g-ubox { height: calc(100% - 54px); }
.g-ulist { overflow-y: auto; scrollbar-width: thin; }
.g-ui { cursor: pointer; }
.g-ui.u-need p b::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e87a54; margin-left: 5px; align-self: center; flex-shrink: 0; }
.g-ui p b time { margin-left: auto; }
.g-uthread { min-height: 0; overflow: hidden; }
.u-msgs { flex: 1; min-height: 40px; overflow-y: auto; display: flex; flex-direction: column; padding: 4px 0; scrollbar-width: thin; }
.u-sum { font-size: 9.5px; line-height: 1.5; color: #c9d5e6; background: rgba(245,197,66,.08); border: 1px solid rgba(245,197,66,.3); border-radius: 6px; padding: 6px 9px; margin-top: 6px; }
.u-sum b { color: #f5c542; }
.g-compose { margin-top: 6px; flex-shrink: 0; }
form.g-ai { margin: 0; gap: 6px; }
.g-ai input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 10px Inter, sans-serif; color: #e8edf5; }
.g-ai input::placeholder { color: #7a92b2; }
.g-ai:focus-within { border-color: #3a9be0; }
.u-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 0; }
textarea.g-draft { display: block; width: 100%; resize: none; color: #e8edf5; font-family: Inter, sans-serif; outline: 0; }
textarea.g-draft:focus { border-color: #3a9be0; }
.u-writing { color: #9fb2cc; font-style: italic; margin-top: 6px; }
.u-writing span { animation: dBlink 1s steps(3) infinite; }
@keyframes dBlink { 50% { opacity: .2; } }
.u-send { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 8.5px; color: #7a92b2; }
.g-ucontact { overflow-y: auto; scrollbar-width: none; }

/* floStudio */
.g-fl { cursor: pointer; transition: background .12s, border-color .12s; }
.g-fl:hover { border-color: rgba(58,155,224,.45); }
.f-open { margin-left: auto; font-style: normal; font-size: 9px; color: #e87a54; font-weight: 600; }
button.g-tog { border: 0; padding: 0; transition: background .15s; }
.g-tog::after { transition: left .15s; }
.f-top { display: flex; align-items: center; gap: 9px; font-size: 1.25em; margin-bottom: 8px; flex-wrap: wrap; }
.f-top > b { color: #fff; }
.f-top .g-tog { margin-left: auto; }
.f-fun { margin: 0 0 10px; flex-wrap: wrap; }
.f-seg { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 10px; background: #0f1f3a; border: 1px solid #2d466a; border-radius: 8px; font-size: .95em; font-weight: 600; }
.f-seg span { padding: 4px 11px; border-radius: 6px; color: #8ea2bf; }
.f-seg span.on { background: #e87a54; color: #fff; }
.f-cols { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; align-items: start; }
.f-build { display: flex; border: 1px solid #2d466a; border-radius: 12px; overflow: hidden; background: #0b1627; }
.f-pal { width: 178px; flex: none; background: #172a48; border-right: 1px solid #2d466a; padding: 10px 9px; }
.f-pal > b { display: block; color: #fff; font-size: 1.05em; }
.f-search { display: block; margin: 7px 0 2px; padding: 5px 8px; border-radius: 6px; background: #0f1f3a; border: 1px solid #2d466a; color: #7a92b2; font-size: .92em; }
.f-grp { display: flex; justify-content: space-between; margin: 11px 0 4px; font-size: .74em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7a92b2; }
.f-grp i { font-style: normal; }
.f-it { display: flex; align-items: center; gap: 7px; padding: 3.5px 3px; font-weight: 500; color: #e8edf5; white-space: nowrap; }
.f-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-nodes { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 22px 14px 26px; background: radial-gradient(circle, #263d61 1px, transparent 1.3px) 0 0 / 20px 20px, #0b1627; }
.f-node { position: relative; width: 250px; max-width: 100%; padding: 9px 12px; border-radius: 12px; border: 2px solid color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(var(--t), var(--t)), #0d1a2e; box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2); }
.f-node b { display: flex; align-items: center; gap: 7px; font-size: 1.08em; color: #fff; }
.f-node b .f-ic { width: 18px; height: 18px; }
.f-node small { display: block; margin-top: 2px; color: #7a92b2; font-size: .94em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-node em { position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%; font-style: normal; font-size: .82em; color: #5d7494; white-space: nowrap; }
.f-node::before { content: ''; position: absolute; left: 50%; bottom: 100%; margin-bottom: 2px; width: 0; height: 26px; border-left: 2px dashed #3a9be0; translate: -1px 0; }
.f-node.f-first::before { display: none; }
.f-node::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #7a92b2; border: 2px solid #172a48; box-sizing: border-box; z-index: 1; }
.f-side { background: #13243f; border: 1px solid rgba(122,146,178,0.16); border-radius: 8px; padding: 9px; display: flex; flex-direction: column; gap: 4px; }
.f-en { display: flex; align-items: center; gap: 8px; text-align: left; background: none; border: 0; border-radius: 6px; padding: 5px; color: #e8edf5; font-size: 1em; }
.f-en:hover { background: rgba(58,155,224,0.12); }
.f-en small { display: block; color: #7a92b2; font-size: .88em; }
.f-en.f-new { background: rgba(125,194,68,.12); box-shadow: inset 0 0 0 1px rgba(125,194,68,.4); }
#gFlowDetail { font-size: 10px; }

/* reports */
.g-chart > button { flex: 1; min-width: 0; display: flex; flex-direction: column-reverse; height: 100%; padding: 0; background: none; border: 0; border-radius: 2px; }
.g-chart > button:hover, .g-chart > button.g-on { background: rgba(232,237,245,0.1); }
.g-chart > button.g-on { box-shadow: inset 0 0 0 1px rgba(232,237,245,.35); }
.g-daynote { text-align: center; font-size: 9.5px; color: #9fb2cc; margin-top: 7px; min-height: 14px; }
.g-daynote b { color: #fff; margin-right: 6px; }

/* tools */
.g-tool-live { cursor: pointer; border-color: rgba(125,194,68,.45); transition: transform .12s, border-color .12s; }
.g-tool-live:hover { transform: translateY(-2px); border-color: #7dc244; }
.g-tool b .g-pill { margin-left: auto; }
.g-tool:not(.g-tool-live) em { color: #7a92b2; }

/* ---------- shared detail content (desktop drawer + phone sheet) ---------- */
.x { font-size: 10px; display: flex; flex-direction: column; gap: 10px; color: #e8edf5; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 9.5px; font-weight: 600; color: #c9d5e6; background: #0f1e36; border: 1px solid rgba(122,146,178,0.32); border-radius: 6px; padding: 5px 10px; white-space: nowrap; text-decoration: none; transition: background .12s, border-color .12s, color .12s; }
.x-btn:hover:not(:disabled) { border-color: rgba(232,237,245,.6); color: #fff; }
.x-btn:disabled { opacity: .6; cursor: default; }
.x-pri { color: #fff; background: #e87a54; border-color: #e87a54; }
.x-pri:hover:not(:disabled) { background: #f08f6c; border-color: #f08f6c; }
.x-head { display: flex; align-items: center; gap: 10px; }
.x-head .g-av, .x-head .g-logo-sq { width: 3.4em; height: 3.4em; font-size: 1em; flex-shrink: 0; }
.x-head > div { flex: 1; min-width: 0; }
.x-head b { display: block; font-size: 1.3em; color: #fff; }
.x-head small { display: block; color: #9fb2cc; font-size: .95em; }
.x-prof { display: grid; grid-template-columns: 1fr; gap: 4px; color: #9fb2cc; }
.x-prof u { display: block; height: 4px; background: rgba(122,146,178,0.2); border-radius: 2px; text-decoration: none; }
.x-prof s { display: block; height: 100%; border-radius: 2px; background: #7dc244; transition: width .5s ease; }
.x-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.x-actions .x-btn { flex: 1; }
.x-casc { background: #0b1729; border: 1px solid rgba(122,146,178,0.22); border-radius: 8px; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; }
.x-casc > b { font-size: .9em; text-transform: uppercase; letter-spacing: .06em; color: #9fb2cc; }
.x-casc p { margin: 0; color: #9fb2cc; line-height: 1.5; }
.x-cs { display: flex; align-items: center; gap: 8px; color: #7a92b2; }
.x-cs i { width: 1.1em; height: 1.1em; border-radius: 50%; border: 1.5px solid rgba(122,146,178,.5); flex-shrink: 0; }
.x-cs em { margin-left: auto; font-style: normal; font-size: .9em; }
.x-cs.x-run { color: #fff; }
.x-cs.x-run i { border-color: #3a9be0; border-top-color: transparent; animation: dSpin .7s linear infinite; }
.x-cs.x-ok { color: #e8edf5; }
.x-cs.x-ok i { background: #7dc244; border-color: #7dc244; }
.x-cs.x-ok em { color: #7dc244; }
@keyframes dSpin { to { transform: rotate(360deg); } }
.x-sec { display: flex; flex-direction: column; gap: 3px; }
.x-lbl { display: block; font-size: .9em; text-transform: uppercase; letter-spacing: .06em; color: #9fb2cc; margin-bottom: 4px; }
.x-note { margin: 4px 0 0; color: #7a92b2; font-size: .9em; line-height: 1.5; }
.x-big { font-size: 2.4em; font-weight: 700; color: #fff; line-height: 1.1; }
.x-big small { display: block; font-size: .4em; font-weight: 400; color: #9fb2cc; margin-top: 4px; }
.x-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.x-stages .x-btn { justify-content: flex-start; }
.x-stages .x-btn i { width: 7px; height: 7px; border-radius: 50%; }
.x-stages .x-cur { opacity: 1 !important; background: rgba(58,155,224,.16); border-color: #3a9be0; color: #fff; }
.x-page { background: #f6f3ec; color: #16264d; border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.x-page h4 { margin: 0; font: 700 1.3em Inter, sans-serif; color: #16264d; }
.x-page p { margin: 0 0 4px; font-size: .95em; color: #4b5878; }
.x-page > i { display: block; height: 5px; border-radius: 3px; background: rgba(22,38,77,.14); }
.x-sign { margin-top: 10px; border-top: 1.5px solid #16264d; padding-top: 5px; width: 62%; min-height: 3.6em; display: flex; flex-direction: column; }
.x-sign span { font: italic 1.5em Georgia, 'Times New Roman', serif; color: rgba(22,38,77,.28); }
.x-sign small { font-size: .85em; color: #4b5878; }
.x-sign.x-signed span { color: #0e74b7; animation: dSign .7s ease-out; }
@keyframes dSign { from { opacity: 0; transform: translateX(-8px); } }
.x-ok { color: #7dc244; font-weight: 600; }
.x-trail { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.x-trail i { width: 6px; height: 6px; border-radius: 50%; background: #3a9be0; margin-top: .45em; flex-shrink: 0; }
.x-trail small { display: block; color: #7a92b2; font-size: .88em; }

/* ---------- desktop overlays (inside the scenes area) ---------- */
.d-drawer { position: absolute; z-index: 8; top: 0; right: 0; bottom: 0; width: 310px; max-width: 86%; background: #0f1e36; border-left: 1px solid rgba(122,146,178,0.3); box-shadow: -18px 0 40px rgba(0,0,0,.45); padding: 12px 14px 16px; overflow-y: auto; scrollbar-width: thin; animation: dSlide .22s cubic-bezier(.16,1,.3,1); }
@keyframes dSlide { from { transform: translateX(24px); opacity: 0; } }
.x-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #9fb2cc; }
.x-close { width: 24px; height: 24px; font-size: 16px; line-height: 1; color: #c9d5e6; background: none; border: 1px solid rgba(122,146,178,0.3); border-radius: 6px; }
.x-close:hover { color: #fff; border-color: #fff; }
.d-ezra { position: absolute; z-index: 9; left: 50%; bottom: 52px; transform: translateX(-50%); width: 380px; max-width: calc(100% - 24px); max-height: 70%; overflow-y: auto; background: #eef2f8; color: #0d1a2e; border-radius: 12px; padding: 12px; font-size: 10.5px; box-shadow: 0 18px 44px rgba(0,0,0,.55); animation: dPop .18s ease-out; }
@keyframes dPop { from { opacity: 0; transform: translateX(-50%) translateY(8px); } }
.e-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.e-top b { color: #cf5f38; font-size: 12px; }
.e-top span { color: #4a5d78; font-size: 9px; flex: 1; }
.d-ezra .x-close { color: #0d1a2e; border-color: rgba(13,26,46,.25); }
.d-ezra .x-close:hover { color: #0d1a2e; border-color: #0d1a2e; }
.e-q { align-self: flex-end; background: #0d1a2e; color: #fff; border-radius: 10px 10px 2px 10px; padding: 6px 10px; margin: 0 0 8px auto; width: fit-content; max-width: 85%; }
.e-a p { margin: 0 0 6px; line-height: 1.5; }
.e-row { position: relative; display: block; width: 100%; text-align: left; background: #fff; border: 1px solid rgba(13,26,46,.14); border-radius: 8px; padding: 7px 26px 7px 10px; margin-bottom: 5px; color: #0d1a2e; font-size: 10.5px; }
.e-row:hover { border-color: #e87a54; }
.e-row small { display: block; color: #4a5d78; font-size: 9.5px; }
.e-row i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: #cf5f38; font-size: 14px; }
.d-ezra .u-chips .x-btn { background: #fff; color: #0d1a2e; border-color: rgba(13,26,46,.2); }
.d-ezra .u-chips .x-btn:hover { border-color: #e87a54; color: #0d1a2e; }
.d-pal { position: absolute; z-index: 12; inset: 0; background: rgba(5,12,24,.6); display: flex; justify-content: center; align-items: flex-start; padding-top: 60px; }
.d-pal-box { width: 460px; max-width: calc(100% - 24px); background: #13243f; border: 1px solid rgba(122,146,178,0.35); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6); overflow: hidden; animation: dPal .16s ease-out; }
@keyframes dPal { from { opacity: 0; transform: translateY(-8px); } }
.d-pal-in { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid rgba(122,146,178,0.2); color: #9fb2cc; }
.d-pal-in svg { width: 15px; height: 15px; }
.d-pal-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 13px Inter, sans-serif; }
.d-pal-in kbd { font: 9px Inter, sans-serif; border: 1px solid rgba(122,146,178,0.4); border-radius: 3px; padding: 1px 5px; }
.d-pal-list { max-height: 380px; overflow-y: auto; padding: 6px; scrollbar-width: thin; position: relative; }
.d-pal-cat { font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; color: #7a92b2; padding: 7px 8px 3px; }
.d-pal-it { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 7px 8px; color: #e8edf5; font-size: 11.5px; }
.d-pal-it small { color: #7a92b2; font-size: 10px; }
.d-pal-it.g-on, .d-pal-it:hover { background: rgba(58,155,224,0.18); }

/* ---------- tour, toast, conversion prompt (mounted in the dashboard or the phone screen) ---------- */
.t-ring { position: absolute; z-index: 20; pointer-events: none; border: 2px solid #e87a54; border-radius: 9px; box-shadow: 0 0 0 3000px rgba(4,10,20,.5); transition: top .3s ease, left .3s ease, width .3s ease, height .3s ease; }
.t-cap { position: absolute; z-index: 21; left: 16px; bottom: 16px; width: 380px; max-width: calc(100% - 32px); background: #fffdf8; color: #16264d; border: 2px solid #16264d; border-radius: 14px; box-shadow: 0 5px 0 #16264d, 0 18px 40px rgba(0,0,0,.45); padding: 12px 14px; font-family: Inter, sans-serif; animation: dCap .25s ease-out; }
.t-cap.t-up { bottom: auto; top: 96px; }
@keyframes dCap { from { opacity: 0; transform: translateY(6px); } }
.t-top { display: flex; align-items: center; gap: 8px; }
.t-top span { font: 600 10px ui-monospace, 'IBM Plex Mono', Menlo, monospace; color: #cf5f38; letter-spacing: .06em; white-space: nowrap; }
.t-top b { flex: 1; font-size: 14px; }
.t-skip { background: none; border: 0; padding: 4px 2px; font-size: 11.5px; color: #4b5878; text-decoration: underline; white-space: nowrap; }
.t-skip:hover { color: #16264d; }
.t-cap p { margin: 6px 0 10px; font-size: 12.5px; line-height: 1.5; color: #16264d; }
.t-nav { display: flex; align-items: center; gap: 8px; }
.t-dots { display: flex; gap: 4px; flex: 1; }
.t-dots i { width: 14px; height: 4px; border-radius: 2px; background: rgba(22,38,77,.18); }
.t-dots i.g-on { background: #e87a54; }
.t-cap .x-btn { font-size: 12px; padding: 7px 14px; border-radius: 8px; background: transparent; color: #16264d; border: 2px solid #16264d; }
.t-cap .x-btn:hover:not(:disabled) { color: #16264d; border-color: #16264d; background: rgba(22,38,77,.07); }
.t-cap .x-btn:disabled { opacity: .35; }
.t-cap .x-pri, .t-cap .x-pri:hover:not(:disabled) { background: #e87a54; color: #16264d; }
.t-cap :focus-visible { outline-color: #0e74b7; }
.d-toast { position: absolute; z-index: 22; top: 92px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 28px); background: #e8edf5; color: #0d1a2e; font: 600 11.5px/1.4 Inter, sans-serif; border-radius: 9px; padding: 8px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); text-align: center; animation: dToast .2s ease-out; pointer-events: none; }
@keyframes dToast { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } }
.d-cta { position: absolute; z-index: 19; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: #fffdf8; color: #16264d; border: 2px solid #16264d; border-radius: 12px; box-shadow: 0 4px 0 #16264d; padding: 6px 6px 6px 14px; font: 600 12px Inter, sans-serif; animation: dCap .35s ease-out; }
.d-cta a { color: #16264d; background: #e87a54; border-radius: 8px; padding: 6px 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.d-cta a:hover { background: #f08f6c; }
.d-cta button { width: 26px; height: 26px; border: 0; background: none; font-size: 17px; line-height: 1; color: #4b5878; border-radius: 50%; }
.d-cta button:hover { background: rgba(22,38,77,.1); }

/* ---------- tablet: the desktop replica in a narrow frame (about 700px) ---------- */
@media (max-width: 1024px) {
  .hero.demo-only { padding: 12px 10px 16px !important; }
  .d-bar-note { font-size: 11.5px; }
  .g-nav { gap: 6px; padding: 0 10px; }
  .g-menu { overflow-x: auto; scrollbar-width: none; }
  .g-menu::-webkit-scrollbar { display: none; }
  .g-mi > svg { display: none; }
  .g-mi { padding: 6px 6px; }
  .g-search > span, .g-search kbd, .g-plan { display: none; }
  .g-search { padding: 5px 6px; }
  .g-dd { position: static; }
  .g-ddm { top: 40px; left: auto; }
  .g-nav { position: relative; }
  .g-scene { padding-left: 12px; padding-right: 12px; }
  .g-filters { flex-wrap: wrap; }
  .g-tabs { flex-wrap: wrap; gap: 4px 12px; }
  .g-c4 { grid-template-columns: repeat(3, 1fr); }
  .g-k7 { grid-template-columns: repeat(4, 1fr); row-gap: 10px; }
  .g-k6 { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .g-k7 > div:nth-child(4n), .g-k6 > div:nth-child(3n) { border-right: 0; }
  .g-u3 { grid-template-columns: 190px 1fr; }
  .g-ucontact { display: none; }
  .t-hide { display: none; }
  .g-big-tbl th:nth-child(3):not(:last-child) { display: none; }
  #gCompanies td:nth-child(3), #gDocs td:nth-child(5) { display: none; }
  .g-flo { grid-template-columns: 1fr; }
  .g-folders { display: none; }
  .g-fun { flex-wrap: wrap; gap: 4px 12px; }
  .f-cols { grid-template-columns: minmax(0, 1fr) 190px; }
  .f-pal { display: none; }
  .g-head { flex-wrap: wrap; gap: 6px; }
  .g-tbl td { white-space: normal; }
  .g-cmd { width: 300px; }
}
@media (max-width: 900px) {
  .g-grid2 { grid-template-columns: 1fr; }
  .d-bar { border-radius: 16px; }
}

/* ---------- phone preview (under 768px) ---------- */
@media (max-width: 768px) {
  .hero.demo-only { padding: 10px 8px 14px !important; }
  .d-bar { flex-direction: column; align-items: stretch; text-align: left; border-radius: 16px; padding: 10px; max-width: 360px; gap: 8px; }
  .d-tour-btn { min-height: 46px; justify-content: center; font-size: 15px; }
  .hero-mobile-cc { margin-top: 0; padding: 0; }
  .hmcc-phone { max-width: 360px; margin-top: 0; aspect-ratio: auto; height: 700px; padding: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.45), 0 0 0 2px rgba(58,155,224,.18); }
  .hmcc-phone-notch { top: 10px; }
}
.m-root { font-family: Inter, sans-serif; color: #e8edf5; background: #0d1a2e !important; }
.m-root .hmcc-status { height: 28px; padding: 6px 22px 0; }
.m-root .hmcc-appbar { height: 40px; padding: 0 14px; }
.m-root .hmcc-appbar-logo { height: 20px; filter: none; }
.m-root .hmcc-appbar-brand { font-size: 13px; gap: 8px; color: #fff; }
.m-search { padding: 8px 12px 0; flex-shrink: 0; }
.m-search input { width: 100%; height: 44px; font: 16px Inter, sans-serif; color: #e8edf5; background: #0b1729; border: 1px solid rgba(122,146,178,0.3); border-radius: 10px; padding: 0 12px; outline: 0; -webkit-appearance: none; appearance: none; }
.m-search input:focus { border-color: #3a9be0; }
.m-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 10px 12px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.m-body::-webkit-scrollbar { display: none; }
.m-tabs { flex-shrink: 0; display: grid; grid-template-columns: repeat(6, 1fr); height: 58px; background: #0b1729; border-top: 1px solid rgba(122,146,178,0.2); }
.m-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; background: none; border: 0; padding: 0; color: #7a92b2; font-size: 9.5px; font-weight: 600; }
.m-tabs button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.m-tabs button.g-on { color: #e87a54; }
.m-tabs button em { position: absolute; top: 6px; left: 56%; font-style: normal; font-size: 8.5px; background: #e05a5a; color: #fff; border-radius: 8px; padding: 0 4px; }
.m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-stats button { text-align: left; min-height: 64px; background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 12px; padding: 10px 12px; color: #9fb2cc; }
.m-stats b { display: block; font-size: 20px; line-height: 1.1; }
.m-stats span { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.m-sec { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; color: #fff; margin: 16px 0 8px; }
.m-sec small { font-size: 9.5px; font-weight: 500; color: #7a92b2; }
.m-list { display: flex; flex-direction: column; gap: 6px; }
.m-row { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; text-align: left; background: #13243f; border: 1px solid rgba(122,146,178,0.16); border-radius: 12px; padding: 8px 12px; color: #e8edf5; font-size: 13px; }
.m-row:active { background: #1a3050; }
.m-row .g-av, .m-row .g-logo-sq { width: 34px; height: 34px; font-size: 11.5px; flex-shrink: 0; }
.m-row > span:not(.g-av):not(.g-pill):not(.g-grade):not(.g-logo-sq), .m-row > p { flex: 1; min-width: 0; margin: 0; }
.m-row b { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.m-row small, .m-row p > span { display: block; font-size: 11px; color: #9fb2cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row .g-pill, .m-root .x .g-pill { font-size: 10px; padding: 2px 7px; flex-shrink: 0; }
.m-row .g-grade, .m-root .x .g-grade { width: 22px; font-size: 11px; padding: 3px 0; flex-shrink: 0; }
.m-row .m-val { flex: 0 0 auto; font-size: 13px; }
.m-need { flex-direction: column; align-items: flex-start; gap: 1px; padding-right: 30px; justify-content: center; }
.m-need small { white-space: normal; }
.m-need i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 18px; color: #e87a54; }
.m-conv p b { display: flex; justify-content: space-between; gap: 8px; }
.m-conv p b time { font-size: 10.5px; font-weight: 400; color: #7a92b2; }
.m-conv p i { display: none; }
.m-conv.u-need { border-color: rgba(232,122,84,.55); }
.m-feed > div { padding: 9px 2px; border-bottom: 1px solid rgba(122,146,178,0.12); }
.m-feed b { display: block; font-size: 12px; font-weight: 500; color: #e8edf5; }
.m-feed small { font-size: 10.5px; color: #7a92b2; }
.m-feed > div.d-new { animation: dNew 1.6s ease-out; }
.m-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -12px 10px; padding: 0 12px; scrollbar-width: none; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chips button { flex-shrink: 0; min-height: 44px; padding: 0 14px; font-size: 12.5px; font-weight: 600; color: #9fb2cc; background: #0b1729; border: 1px solid rgba(122,146,178,0.3); border-radius: 999px; white-space: nowrap; }
.m-chips button.g-on { color: #fff; background: rgba(58,155,224,.2); border-color: #3a9be0; }
.m-kpi { display: grid; grid-template-columns: repeat(3, 1fr); background: #13243f; border: 1px solid rgba(122,146,178,0.16); border-radius: 12px; padding: 10px 4px; margin-bottom: 10px; text-align: center; }
.m-kpi b { display: block; font-size: 16px; }
.m-kpi span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; color: #9fb2cc; font-weight: 600; }
.m-root .x-note { font-size: 11px; }
.m-sheet { position: absolute; z-index: 6; left: 0; right: 0; top: 68px; bottom: 58px; background: #0d1a2e; display: flex; flex-direction: column; animation: mSheet .22s cubic-bezier(.16,1,.3,1); }
@keyframes mSheet { from { transform: translateX(22px); opacity: 0; } }
.m-sheet-h { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 4px; border-bottom: 1px solid rgba(122,146,178,0.18); flex-shrink: 0; }
.m-sheet-h b { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9fb2cc; margin-left: auto; }
.m-back { min-height: 44px; min-width: 76px; background: none; border: 0; color: #3a9be0; font-size: 14px; font-weight: 600; text-align: left; padding: 0 10px; }
.m-sheet-b { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.m-sheet-b::-webkit-scrollbar { display: none; }
.m-root .x { font-size: 12.5px; gap: 12px; }
.m-root .x-btn { min-height: 44px; font-size: 13px; padding: 0 14px; border-radius: 10px; white-space: normal; }
.m-root .x-stages { grid-template-columns: 1fr 1fr; gap: 8px; }
.m-root .g-kv { font-size: 12px; padding: 6px 0; border-bottom: 1px solid rgba(122,146,178,0.1); gap: 10px; }
.m-root .g-kv b { text-align: right; word-break: break-word; }
.m-root .g-box { font-size: 12.5px; padding: 10px 12px; }
.m-root .g-muted { font-size: 11.5px; }
.m-root .f-cols { grid-template-columns: 1fr; }
.m-root .f-pal, .m-root .f-node em { display: none; }
.m-root .f-seg { font-size: 12px; }
.m-root .f-top { font-size: 14px; }
.m-root .f-top .g-tog, .m-root .f-back { display: none; }
.m-root .g-fun { font-size: 11px; margin-left: 0; gap: 4px 12px; }
.m-root .f-node { padding: 9px 10px; }
.m-root .f-en { min-height: 48px; }
.m-root .f-en .g-av { width: 30px; height: 30px; font-size: 10.5px; }
.m-thread { display: flex; flex-direction: column; min-height: 100%; }
.m-root .g-uth { font-size: 14px; padding-bottom: 8px; flex-wrap: wrap; }
.m-root .u-msgs { flex: 1 0 auto; overflow: visible; padding: 8px 0; }
.m-root .g-msg { font-size: 13px; max-width: 90%; padding: 9px 11px; }
.m-root .g-mfrom { font-size: 10px; }
.m-root .u-sum { font-size: 12px; }
.m-root .g-ai { padding: 4px 4px 4px 10px; }
.m-root .g-ai input, .m-root textarea.g-draft { font-size: 16px; }
.m-root .g-ai input { min-height: 44px; }
.m-root textarea.g-draft { line-height: 1.45; padding: 10px; min-height: 150px; }
.m-root .g-aihint, .m-root .u-send { font-size: 11px; }
.m-root .u-send .x-btn { min-width: 96px; }
.m-root .u-chips { gap: 6px; }
.m-root .t-cap { left: 8px; right: 8px; width: auto; max-width: none; bottom: 66px; padding: 10px 12px; box-shadow: 0 4px 0 #16264d, 0 14px 30px rgba(0,0,0,.5); }
.m-root .t-cap.t-up { bottom: auto; top: 74px; }
.m-root .t-cap p { font-size: 12.5px; line-height: 1.45; margin: 2px 0 8px; }
.m-root .t-top b { font-size: 13.5px; }
.m-root .t-dots { visibility: hidden; }
.m-root .t-cap .x-btn { min-height: 44px; font-size: 14px; border-radius: 8px; padding: 0 16px; }
.m-root .t-skip { min-height: 44px; min-width: 44px; padding: 0 4px; font-size: 13px; }
.m-root .t-cap .t-next { white-space: nowrap; }
.m-root .t-dots i { width: 8px; }
.m-root .d-toast { top: 74px; font-size: 12.5px; width: calc(100% - 20px); }
.m-root .d-cta { left: 8px; right: 8px; bottom: 66px; border-radius: 14px; font-size: 12.5px; padding: 6px 6px 6px 12px; }
.m-root .d-cta span { flex: 1; }
.m-root .d-cta a { min-height: 44px; display: inline-flex; align-items: center; }
.m-root .d-cta button { width: 44px; height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .hero-dashboard *, .m-root *, .d-bar *, .t-ring, .t-cap, .d-toast, .d-cta, .d-ghost { animation: none !important; transition: none !important; }
}

/* ================= groDoc (Tools > groDoc): dashboard, builder, send modal, sent page, signer page ================= */
.gd { font-size: 10px; color: #e8edf5; display: flex; flex-direction: column; gap: 12px; }
.gd h3, .gd h4, .gd h5, .gd p { margin: 0; }
.gd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.gd-head .g-h1 { font-size: 20px; }
.gd-desc { color: #9fb2cc; line-height: 1.5; max-width: 640px; margin-top: 4px !important; }
.gd-trail, .gd-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.gd .g-btn, .gd-inert { cursor: pointer; }
.gd .g-btn { padding: 5px 9px; font-weight: 600; transition: border-color .12s, color .12s; }
.gd .g-btn:hover { border-color: rgba(232,237,245,.55); color: #fff; }
.gd-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid rgba(122,146,178,0.2); }
.gd-tabs button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 7px 10px; font-size: 10.5px; font-weight: 600; color: #9fb2cc; transition: color .12s; }
.gd-tabs button:hover { color: #fff; }
.gd-tabs button.g-on { color: #e87a54; border-bottom-color: #e87a54; }
.gd-tabs em { font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(122,146,178,0.18); color: #9fb2cc; }
.gd-tabs .g-on em { background: #e87a54; color: #fff; }
.gd-sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gd-sec-h b { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.gd-sec-h span, .gd-sub { color: #7a92b2; font-size: 9.5px; }
.gd-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gd-path { display: flex; flex-direction: column; gap: 7px; background: #13243f; border: 1px solid rgba(122,146,178,0.2); border-radius: 10px; padding: 12px; transition: border-color .15s, background .15s; }
.gd-path:hover { border-color: #e87a54; }
.gd-path-ai { background: rgba(232,122,84,.06); border-color: rgba(232,122,84,.4); }
.gd-path > div { display: flex; align-items: center; gap: 8px; }
.gd-path i { width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; background: rgba(232,122,84,.14); color: #e87a54; }
.gd-path-ai i { background: #e87a54; color: #fff; }
.gd-path b { font-size: 12.5px; color: #fff; }
.gd-path em { font-style: normal; font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; color: #7a92b2; }
.gd-path p { color: #9fb2cc; line-height: 1.5; }
.gd-path > span { color: #e87a54; font-weight: 600; }
.gd-panel { background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.gd-panel h4 { font: 700 14px Inter, sans-serif; color: #fff; }
.gd-starters { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.gd-starter { display: flex; flex-direction: column; gap: 5px; text-align: left; background: #0f1e36; border: 1px solid rgba(122,146,178,0.2); border-radius: 7px; padding: 7px; color: #e8edf5; transition: border-color .12s, background .12s; }
.gd-starter:hover, .gd-starter.g-on { border-color: #e87a54; background: rgba(232,122,84,.08); }
.gd-starter b { font-size: 10px; }
.gd-starter small { font-size: 8.5px; line-height: 1.35; color: #7a92b2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-mini { display: flex; flex-direction: column; gap: 3px; background: #fff; border-radius: 4px; padding: 6px 6px 8px; aspect-ratio: 16 / 10; }
.gd-mini i { height: 6px; width: 45%; border-radius: 2px; background: var(--ac); margin-bottom: 2px; }
.gd-mini u { height: 3px; border-radius: 2px; background: #d7dde7; text-decoration: none; }
.gd-purpose { border: 1px solid rgba(232,122,84,.45); background: rgba(232,122,84,.06); border-radius: 8px; padding: 9px; display: flex; flex-direction: column; gap: 6px; animation: dCap .2s ease-out; }
.gd-purpose textarea, .gd-modal textarea, .gd-modal input[type=text], .gd-pad input { width: 100%; background: #0b1729; border: 1px solid rgba(122,146,178,0.3); border-radius: 6px; color: #e8edf5; font: 10.5px/1.45 Inter, sans-serif; padding: 6px 8px; outline: 0; resize: none; }
.gd-purpose textarea:focus, .gd-modal textarea:focus, .gd-modal input[type=text]:focus, .gd-pad input:focus { border-color: #3a9be0; }
.gd-purpose > div { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.gd-gal-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.gd-gal-h input { width: 200px; }
.gd-catchips, .gd-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.gd-catchips button { font-size: 9.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: #9fb2cc; background: #0f1e36; border: 1px solid rgba(122,146,178,0.28); transition: color .12s, background .12s; }
.gd-catchips button:hover { color: #fff; }
.gd-catchips button.g-on { background: #e87a54; border-color: #e87a54; color: #fff; }
.gd-gal, .gd-cat { display: flex; flex-direction: column; gap: 8px; }
.gd-cat + .gd-cat { margin-top: 6px; }
.gd-cat-h { display: flex; align-items: baseline; gap: 8px; }
.gd-cat-h b { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.gd-cat-h span { color: #7a92b2; font-size: 9.5px; }
.gd-types { display: flex; flex-wrap: wrap; gap: 5px; }
.gd-type { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 600; background: #0f1e36; border: 1px solid rgba(122,146,178,0.2); border-radius: 6px; padding: 4px 8px; transition: border-color .12s; }
.gd-type:hover { border-color: #e87a54; }
.gd-type i { font-style: normal; color: #e87a54; }
.gd h5 { font: 600 9.5px Inter, sans-serif; color: #9fb2cc; }
.gd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gd-card { display: flex; flex-direction: column; gap: 6px; background: #0f1e36; border: 1px solid rgba(122,146,178,0.2); border-radius: 7px; padding: 8px; transition: border-color .15s, transform .15s; }
.gd-card:hover { border-color: rgba(232,122,84,.7); transform: translateY(-2px); }
.gd-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; border: 1px solid rgba(122,146,178,0.25); background: #fff; }
.gd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gd-card b { font-size: 11px; color: #fff; }
.gd-card p { font-size: 9px; line-height: 1.4; color: #7a92b2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-chips span { font-size: 8.5px; color: #9fb2cc; border: 1px solid rgba(122,146,178,0.3); border-radius: 999px; padding: 1px 7px; }
.gd-card .x-btn { margin-top: auto; }
.gd-list { display: flex; flex-direction: column; gap: 5px; }
.gd-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 7px; padding: 8px 11px; color: #e8edf5; font-size: 10px; transition: border-color .12s; }
.gd-row:hover { border-color: #e87a54; }
.gd-row > span:not(.gd-pill) { flex: 1; min-width: 0; }
.gd-row b { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-row small { color: #7a92b2; font-size: 9px; }
.gd-row time { width: 74px; text-align: right; color: #7a92b2; font-size: 9px; flex-shrink: 0; }
.gd-ico { width: 13px; height: 16px; border: 1.5px solid #7a92b2; border-radius: 2px; flex-shrink: 0; position: relative; }
.gd-ico::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 3px; height: 1.5px; background: #7a92b2; }
.gd-open { font-style: normal; color: #e87a54; font-weight: 600; font-size: 9.5px; white-space: nowrap; }
.gd-pill, .gd-dp { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; border-radius: 4px; padding: 2px 7px; border: 1px solid; white-space: nowrap; flex-shrink: 0; }
.gd-warn { color: #f5c542; background: rgba(245,197,66,.1); border-color: rgba(245,197,66,.35); }
.gd-ok { color: #7dc244; background: rgba(125,194,68,.12); border-color: rgba(125,194,68,.35); }
.gd-info { color: #3a9be0; background: rgba(58,155,224,.12); border-color: rgba(58,155,224,.35); }
.gd-empty { border: 1px dashed rgba(122,146,178,0.35); border-radius: 8px; padding: 40px 12px; text-align: center; color: #9fb2cc; font-size: 11px; }
/* builder */
.gd-ed-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.gd-ed-h > div:first-child { min-width: 0; flex: 1; }
.gd-back { background: none; border: 0; padding: 2px 0; color: #7a92b2; font-size: 10px; }
.gd-back:hover { color: #e8edf5; }
.gd-name { display: block; width: 100%; max-width: 420px; background: none; border: 0; border-bottom: 1px solid transparent; outline: 0; color: #fff; font: 700 18px Inter, sans-serif; padding: 2px 0; }
.gd-name:focus { border-bottom-color: rgba(122,146,178,.5); }
.gd-title { font: 700 20px Inter, sans-serif; color: #fff; margin-top: 2px !important; }
.gd-saved { color: #7dc244; font-size: 9.5px; min-width: 52px; }
.gd .x-btn.gd-on { border-color: #e87a54; background: rgba(232,122,84,.12); color: #e87a54; }
.gd-ed { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 10px; align-items: start; }
.gd-side { display: flex; flex-direction: column; gap: 9px; }
.gd-sp { display: flex; flex-direction: column; gap: 5px; padding-bottom: 9px; border-bottom: 1px solid rgba(122,146,178,0.16); }
.gd-sp:last-child { border: 0; }
.gd-sp > b { font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; color: #9fb2cc; }
.gd-sp small { color: #7a92b2; font-size: 9px; line-height: 1.4; }
.gd-sp small u { color: #e8edf5; text-decoration: none; border: 1px solid rgba(122,146,178,0.3); border-radius: 4px; padding: 0 5px; }
.gd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gd-tiles span { font-size: 9px; text-align: center; background: #13243f; border: 1px solid rgba(122,146,178,0.2); border-radius: 5px; padding: 5px 2px; transition: border-color .12s; }
.gd-tiles span:hover { border-color: #e87a54; }
.gd-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gd-themes button, .gd-kits button { display: flex; align-items: center; gap: 6px; font-size: 9px; text-align: left; color: #c9d5e6; background: #13243f; border: 1px solid rgba(122,146,178,0.2); border-radius: 5px; padding: 4px 6px; transition: border-color .12s; }
.gd-themes button:hover, .gd-kits button:hover { border-color: rgba(232,237,245,.5); }
.gd-themes button.g-on, .gd-kits button.g-on { border-color: #e87a54; color: #fff; }
.gd-themes i { width: 11px; height: 11px; border-radius: 3px; border: 2px solid; flex-shrink: 0; }
.gd-kits { display: flex; flex-direction: column; gap: 4px; }
.gd-kits span { display: inline-flex; gap: 1px; }
.gd-kits span i { width: 7px; height: 11px; }
.gd-kits em { margin-left: auto; font-style: normal; color: #e87a54; }
.gd-stage { display: flex; background: #091424; border: 1px solid rgba(122,146,178,0.2); border-radius: 10px; overflow: hidden; min-height: 470px; }
.gd-rail { width: 46px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 10px 0; border-right: 1px solid rgba(122,146,178,0.16); font-size: 8px; color: #7a92b2; }
.gd-rail span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gd-rail i { width: 26px; height: 34px; background: #fff; border-radius: 2px; border: 2px solid transparent; opacity: .55; }
.gd-rail .g-on i { border-color: #e87a54; opacity: 1; }
.gd-canvas { flex: 1; min-width: 0; padding: 12px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.gd-note { font-size: 9px; color: #9fb2cc; text-align: center; }
/* the paper */
.gd-page { --pg: #fff; --ac: #2563eb; width: 100%; max-width: 470px; background: var(--pg); color: #1f2937; border-radius: 3px; box-shadow: 0 8px 26px rgba(0,0,0,.45); padding: 26px 30px 16px; font: 9px/1.6 Inter, sans-serif; display: flex; flex-direction: column; gap: 8px; transition: background .25s; }
.gd-page.gd-wide { max-width: 560px; }
.gd-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ac); font-size: 9.5px; min-height: 18px; }
.gd-brand i { width: 18px; height: 18px; border-radius: 4px; background: var(--ac); color: #fff; font-style: normal; font-size: 7.5px; display: inline-flex; align-items: center; justify-content: center; }
.gd-page h4 { font: 800 17px/1.2 Inter, sans-serif; color: #111827; padding-bottom: 6px; border-bottom: 2px solid var(--ac); }
.gd-body { outline: 0; display: flex; flex-direction: column; gap: 7px; border-radius: 3px; }
.gd-body[contenteditable]:focus { box-shadow: 0 0 0 2px rgba(37,99,235,.18); }
.gd-body p { margin: 0; }
.gd-tok { color: #cf5f38; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: rgba(232,122,84,.1); border-radius: 3px; padding: 0 3px; white-space: nowrap; }
.gd-val { background: rgba(125,194,68,.2); border-radius: 3px; padding: 0 3px; font-weight: 600; animation: gdVal .9s ease-out; }
@keyframes gdVal { from { background: rgba(125,194,68,.75); } }
.gd-tbl { width: 100%; border-collapse: collapse; font-size: .95em; }
.gd-tbl th { text-align: left; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; border-bottom: 1.5px solid var(--ac); padding: 3px 4px; }
.gd-tbl td { border-bottom: 1px solid #e5e7eb; padding: 4px; }
.gd-tbl td:last-child, .gd-tbl th:last-child { text-align: right; }
.gd-tot td { font-weight: 700; border-bottom: 0; }
.gd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gd-stats div { border: 1px solid #e5e7eb; border-top: 2px solid var(--ac); border-radius: 4px; padding: 5px 7px; }
.gd-stats b { display: block; font-size: 1.7em; line-height: 1.2; color: var(--ac); }
.gd-stats small { color: #6b7280; font-size: .9em; }
.gd-sigrow { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 8px; }
.gd-field { position: relative; min-height: 44px; border: 1.5px dashed #9ca3af; border-radius: 4px; background: rgba(37,99,235,.04); padding: 4px 7px 14px; display: flex; align-items: center; }
.gd-field small { position: absolute; left: 7px; bottom: 2px; font-size: .82em; color: #6b7280; }
.gd-field.gd-live { border-color: #e87a54; background: rgba(232,122,84,.07); }
.gd-field.gd-done { border-style: solid; border-color: #16a34a; background: rgba(22,163,74,.06); }
.gd-ink { font: italic 2em Georgia, 'Times New Roman', serif; color: #0e3a6b; line-height: 1.1; }
.gd-sigimg { max-height: 34px; max-width: 100%; }
.gd-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 6px; border-top: 1px solid #e5e7eb; font-size: .8em; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; }
/* send modal */
.d-modal { position: absolute; inset: 0; z-index: 11; background: rgba(5,12,24,.66); display: flex; align-items: center; justify-content: center; padding: 16px; }
.d-modal-box { width: 470px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; background: #13243f; border: 1px solid rgba(122,146,178,0.35); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6); animation: dPal .18s ease-out; }
.gd-modal { font-size: 10px; color: #e8edf5; }
.gd-m-h { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid rgba(122,146,178,0.2); }
.gd-m-h b { font-size: 14px; }
.gd-m-b { padding: 12px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; scrollbar-width: thin; }
.gd-modal label, .gd-m-l { display: flex; flex-direction: column; gap: 4px; font-size: 9.5px; font-weight: 600; color: #c9d5e6; position: relative; }
.gd-m-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gd-modal input[readonly] { color: #7dc244; border-color: rgba(125,194,68,.4); }
.gd-fake { background: #0b1729; border: 1px solid rgba(122,146,178,0.3); border-radius: 6px; padding: 6px 8px; font-weight: 400; color: #c9d5e6; }
.gd-rcpts { display: flex; flex-direction: column; gap: 4px; max-height: 132px; overflow-y: auto; scrollbar-width: thin; }
.gd-rcpts button { display: flex; align-items: center; gap: 8px; text-align: left; background: #0f1e36; border: 1px solid rgba(122,146,178,0.2); border-radius: 6px; padding: 5px 8px; color: #e8edf5; font-size: 10px; }
.gd-rcpts button:hover:not(:disabled) { border-color: rgba(232,237,245,.5); }
.gd-rcpts button.g-on { border-color: #e87a54; background: rgba(232,122,84,.1); }
.gd-rcpts button:disabled { opacity: .5; cursor: not-allowed; }
.gd-rcpts span:not(.g-av) { flex: 1; min-width: 0; }
.gd-rcpts .g-av { flex-shrink: 0; }
.gd-rcpts b { display: block; }
.gd-rcpts small { color: #7a92b2; font-size: 9px; }
.gd-rcpts em { font-style: normal; font-size: 8.5px; color: #9fb2cc; display: none; }
.gd-rcpts .g-on em { display: inline; }
.gd-modal .gd-check { flex-direction: row; align-items: flex-start; gap: 8px; border: 1px solid rgba(122,146,178,0.2); border-radius: 6px; padding: 7px 9px; cursor: pointer; }
.gd-check small { display: block; font-weight: 400; color: #7a92b2; }
.gd-check input { accent-color: #e87a54; margin-top: 2px; }
.gd-compose { position: absolute; right: 0; top: -4px; padding: 2px 8px; }
.gd-m-f { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-top: 1px solid rgba(122,146,178,0.2); }
.gd-m-f > span { flex: 1; color: #7a92b2; font-size: 9px; }
/* sent page */
.gd-demo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border: 1px dashed rgba(245,197,66,.55); background: rgba(245,197,66,.07); border-radius: 8px; padding: 7px 10px; color: #c9d5e6; }
.gd-demo b { color: #f5c542; }
.gd-stat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.gd-stat4 > div { background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.gd-stat4 span:first-child { font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; color: #9fb2cc; }
.gd-stat4 b { font-size: 14px; }
.gd-box { background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.gd-box h5 { font-size: 11px; color: #fff; display: flex; align-items: baseline; gap: 8px; }
.gd-box h5 span { font-weight: 400; font-size: 9px; color: #7a92b2; }
.gd-rc { display: flex; align-items: flex-start; gap: 10px; }
.gd-rc > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gd-rc b span { font-weight: 400; color: #7a92b2; }
.gd-rc small { color: #7a92b2; font-size: 9px; }
.gd-rc small b { color: #e8edf5; }
.gd-rci { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; border: 1px solid rgba(122,146,178,.4); color: #9fb2cc; flex-shrink: 0; }
.gd-dps { display: flex; gap: 4px; flex-wrap: wrap; }
.gd-dp { border: 0; font-weight: 600; }
.gd-rcb { display: flex; gap: 5px; flex-shrink: 0; }
.gd-deal { background: rgba(58,155,224,.07); border-color: rgba(58,155,224,.35); }
.gd-pa { display: grid; grid-template-columns: 50px 1fr 46px; align-items: center; gap: 8px; color: #9fb2cc; }
.gd-pa u { height: 6px; border-radius: 3px; background: rgba(122,146,178,0.18); text-decoration: none; }
.gd-pa s { display: block; height: 100%; border-radius: 3px; background: #e87a54; }
.gd-pa em { font-style: normal; text-align: right; color: #e8edf5; }
.gd-pv { align-items: center; }
.gd-pv h5 { align-self: flex-start; }
/* signer page */
.gd-sg { border: 1px solid rgba(122,146,178,0.22); border-radius: 10px; overflow: hidden; background: #091424; display: flex; flex-direction: column; }
.gd-sg-h, .gd-sg-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #13243f; padding: 9px 14px; }
.gd-sg-h { border-bottom: 1px solid rgba(122,146,178,0.2); }
.gd-sg-h b { display: block; font-size: 13px; }
.gd-sg-h small { color: #7a92b2; font-size: 9.5px; }
.gd-sg-h > div:last-child { display: flex; gap: 12px; flex-shrink: 0; }
.gd-lnk { color: #7a92b2; font-size: 9.5px; }
.gd-lnk:hover { color: #e87a54; }
.gd-sg-b { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 12px; }
.gd-pad { width: 100%; max-width: 470px; background: #13243f; border: 1px solid rgba(232,122,84,.5); border-radius: 8px; padding: 9px; display: flex; flex-direction: column; gap: 7px; }
.gd-padtabs { display: flex; gap: 4px; align-items: center; }
.gd-padtabs button { font-size: 10px; font-weight: 600; color: #9fb2cc; background: none; border: 1px solid transparent; border-radius: 5px; padding: 3px 12px; }
.gd-padtabs button.g-on { color: #fff; background: rgba(232,122,84,.16); border-color: rgba(232,122,84,.5); }
.gd-padtabs .gd-clear { margin-left: auto; color: #7a92b2; text-decoration: underline; }
.gd-pad input { font-size: 12px; padding: 8px 10px; }
.gd-cv, .gd-padimg { display: block; width: 100%; height: 110px; background: #fff; border-radius: 6px; touch-action: none; cursor: crosshair; object-fit: contain; }
.gd-sg-f { border-top: 1px solid rgba(122,146,178,0.2); color: #9fb2cc; }
.gd-thanks { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 60px 20px; background: #13243f; border: 1px solid rgba(122,146,178,0.18); border-radius: 10px; }
.gd-thanks i { width: 46px; height: 46px; border-radius: 50%; background: rgba(125,194,68,.16); color: #7dc244; font-style: normal; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; }
.gd-thanks b { font-size: 16px; }
.gd-thanks p { color: #9fb2cc; max-width: 320px; line-height: 1.5; }
.x-docrow { justify-content: space-between; width: 100%; white-space: normal; text-align: left; }

@media (max-width: 1024px) {
  .gd-head, .gd-ed-h { flex-direction: column; }
  .gd-trail, .gd-tools { justify-content: flex-start; }
  .gd-starters { grid-template-columns: repeat(4, 1fr); }
  .gd-grid { grid-template-columns: repeat(3, 1fr); }
  .gd-ed { grid-template-columns: 150px minmax(0, 1fr); }
  .gd-canvas { padding: 10px; }
  .gd-page { padding: 20px 20px 14px; }
}
/* phone preview */
.m-root .gd { font-size: 12.5px; gap: 14px; }
.m-root .gd-head, .m-root .gd-ed-h { flex-direction: column; gap: 10px; }
.m-root .gd-desc, .m-root .gd-sub, .m-root .gd-sec-h span, .m-root .gd-cat-h span { font-size: 11.5px; }
.m-root .gd-trail, .m-root .gd-tools { justify-content: flex-start; gap: 6px; }
.m-root .gd .g-btn, .m-root .gd .x-btn, .m-root .gd-modal .x-btn { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; padding: 0 12px; border-radius: 10px; }
.m-root .gd-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
.m-root .gd-tabs::-webkit-scrollbar { display: none; }
.m-root .gd-tabs button { min-height: 44px; font-size: 12.5px; white-space: nowrap; flex-shrink: 0; }
.m-root .gd-tabs em { font-size: 10.5px; }
.m-root .gd-sec-h { flex-direction: column; gap: 2px; }
.m-root .gd-sec-h b, .m-root .gd-cat-h b { font-size: 11px; }
.m-root .gd-paths { grid-template-columns: 1fr; }
.m-root .gd-path b, .m-root .gd-panel h4 { font-size: 15px; }
.m-root .gd-path em { font-size: 10px; }
.m-root .gd-panel { padding: 12px 10px; }
.m-root .gd-starters { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -10px; padding: 0 10px; }
.m-root .gd-starters::-webkit-scrollbar { display: none; }
.m-root .gd-starter { flex: 0 0 132px; }
.m-root .gd-starter b { font-size: 12px; }
.m-root .gd-starter small { font-size: 10.5px; }
.m-root .gd-purpose textarea, .m-root .gd-modal textarea, .m-root .gd-modal input[type=text], .m-root .gd-pad input, .m-root .gd-gal-h input, .m-root .gd-name { font-size: 16px; }
.m-root .gd-gal-h input { width: 100%; min-height: 44px; }
.m-root .gd-gal-h { align-items: stretch; flex-direction: column; }
.m-root .gd-catchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -10px; padding: 0 10px; }
.m-root .gd-catchips::-webkit-scrollbar { display: none; }
.m-root .gd-catchips button { min-height: 44px; padding: 0 14px; font-size: 12.5px; flex-shrink: 0; white-space: nowrap; }
.m-root .gd-type { min-height: 44px; font-size: 12px; padding: 0 12px; }
.m-root .gd h5 { font-size: 11.5px; }
.m-root .gd-grid { grid-template-columns: 1fr; gap: 10px; }
.m-root .gd-card { padding: 10px; gap: 8px; }
.m-root .gd-card b { font-size: 14px; }
.m-root .gd-card p { font-size: 11.5px; }
.m-root .gd-chips span { font-size: 10.5px; }
.m-root .gd-row { min-height: 56px; font-size: 12px; flex-wrap: wrap; }
.m-root .gd-row b { font-size: 13px; white-space: normal; }
.m-root .gd-row small { font-size: 11px; }
.m-root .gd-row time { width: auto; font-size: 10.5px; }
.m-root .gd-pill, .m-root .gd-dp { font-size: 10.5px; }
.m-root .gd-back { min-height: 44px; font-size: 13px; }
.m-root .gd-name { font-size: 18px; min-height: 44px; }
.m-root .gd-title { font-size: 18px; }
.m-root .gd-ed { grid-template-columns: 1fr; }
.m-root .gd-side { order: 2; }
.m-root .gd-sp > b { font-size: 10.5px; }
.m-root .gd-sp small { font-size: 11.5px; }
.m-root .gd-tiles { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-root .gd-tiles span, .m-root .gd-themes button, .m-root .gd-kits button { min-height: 44px; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.m-root .gd-themes button, .m-root .gd-kits button { justify-content: flex-start; padding: 0 10px; }
.m-root .gd-stage { min-height: 0; }
.m-root .gd-rail { display: none; }
.m-root .gd-canvas { padding: 10px 8px 12px; }
.m-root .gd-note { font-size: 11px; }
.m-root .gd-page { padding: 16px 14px 12px; font-size: 10.5px; }
.m-root .gd-page h4 { font-size: 17px; }
.m-root .gd-sigrow { grid-template-columns: 1fr; }
.m-root .gd-stat4 { grid-template-columns: 1fr 1fr; }
.m-root .gd-stat4 span:first-child { font-size: 10px; }
.m-root .gd-box h5 { font-size: 13px; flex-direction: column; gap: 2px; }
.m-root .gd-box h5 span, .m-root .gd-rc small { font-size: 11px; }
.m-root .gd-rc { flex-wrap: wrap; }
.m-root .gd-rc b { word-break: break-word; }
.m-root .gd-rcb { width: 100%; }
.m-root .gd-rcb .x-btn { flex: 1; }
.m-root .gd-demo { flex-direction: column; align-items: stretch; font-size: 12px; }
.m-root .gd-sg-h, .m-root .gd-sg-f { flex-direction: column; align-items: stretch; padding: 10px; }
.m-root .gd-sg-h b { font-size: 15px; }
.m-root .gd-sg-h small { font-size: 11.5px; word-break: break-word; }
.m-root .gd-lnk { min-height: 44px; display: inline-flex; align-items: center; font-size: 12.5px; }
.m-root .gd-sg-b { padding: 10px 8px; }
.m-root .gd-padtabs button { min-height: 44px; min-width: 64px; font-size: 13px; }
.m-root .gd-pad input { min-height: 44px; }
.m-root .gd-thanks { padding: 36px 14px; }
.m-root .gd-modal { font-size: 12.5px; }
.m-root .gd-modal .gd-m-h { display: none; }
.m-root .gd-modal .gd-m-b { padding: 0; overflow: visible; gap: 12px; }
.m-root .gd-modal label, .m-root .gd-m-l { font-size: 12px; }
.m-root .gd-modal input[type=text] { min-height: 44px; }
.m-root .gd-m-2 { grid-template-columns: 1fr; }
.m-root .gd-fake { min-height: 44px; display: flex; align-items: center; font-size: 13px; }
.m-root .gd-rcpts { max-height: 190px; }
.m-root .gd-rcpts button { min-height: 52px; font-size: 13px; }
.m-root .gd-rcpts small { font-size: 11px; }
.m-root .gd-check { min-height: 44px; }
.m-root .gd-check input { width: 22px; height: 22px; }
.m-root .gd-compose { position: static; align-self: flex-start; }
.m-root .gd-m-f { flex-wrap: wrap; padding: 12px 0 0; border: 0; }
.m-root .gd-m-f > span { flex: 1 0 100%; font-size: 11px; }
.m-root .gd-m-f .x-btn { flex: 1; }
@media (prefers-reduced-motion: reduce) { .gd *, .gd-modal *, .d-modal-box { animation: none !important; transition: none !important; } }
.hero-dashboard.gd-deep .g-ezra-fab { display: none; }

/* ---- phone: the guided tour takes the whole screen ---- */
.d-full-bar { display: none; }
html.d-full, html.d-full body { overflow: hidden !important; height: 100%; }
html.d-full .d-bar { display: none; }
html.d-full .hero-mobile-cc { position: fixed; inset: 0; z-index: 900; margin: 0; padding: 0; background: #0d1a2e; }
html.d-full .hmcc-phone { display: flex; flex-direction: column; width: 100%; max-width: none; height: 100%; margin: 0; padding: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; background: #0d1a2e; }
html.d-full .hmcc-phone-notch, html.d-full .hmcc-status { display: none; }
html.d-full .hmcc-phone-screen { flex: 1 1 auto; min-height: 0; height: auto; border-radius: 0; }
html.d-full .d-full-bar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px 16px; background: #f3eee3; color: #16264d; border-bottom: 2px solid #16264d; font-family: Inter, sans-serif; }
.d-full-bar span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.d-full-bar span i { width: 8px; height: 8px; border-radius: 50%; background: #7dc244; }
.d-full-x { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 700 14px Inter, sans-serif; color: #16264d; background: #fffdf8; border: 2px solid #16264d; border-radius: 8px; box-shadow: 0 3px 0 #16264d; cursor: pointer; }
.d-full-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.d-full-x:active { translate: 0 2px; box-shadow: 0 1px 0 #16264d; }
