/* The carrier tour page (owner, 2026-11-11). CAF's colors: navy #0a224a, gold #e9b42c. */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: #eef1f6; color: #1c2636; }
.g-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: #0a224a; color: #fff; border-bottom: 4px solid #e9b42c; }
.g-crest { width: 40px; height: 40px; object-fit: contain; }
.g-brand { font-weight: 800; letter-spacing: .5px; font-size: 18px; }
.g-sub { font-size: 13px; color: #f3dca0; }
.g-wrap { max-width: 980px; margin: 18px auto 40px; padding: 0 14px; }
.g-stage { position: relative; aspect-ratio: 16 / 9; background: #f4f6fa; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(10,34,74,.25); border: 1px solid #d6dbe6; }
.g-screen { position: absolute; inset: 0; display: flex; }
.g-caption { margin-top: 14px; min-height: 58px; background: #0a224a; color: #fff; border-left: 6px solid #e9b42c; border-radius: 10px; padding: 12px 16px; font-size: 18px; line-height: 1.4; }
.g-caption b { color: #f6c84a; }
.g-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.g-btn { border: 1px solid #c9d1df; background: #fff; border-radius: 8px; padding: 7px 14px; font-size: 14px; cursor: pointer; color: #0a224a; font-weight: 600; }
.g-btn:hover { background: #f1f4f9; }
.g-steps { display: flex; gap: 5px; flex: 1; min-width: 200px; }
.g-step { flex: 1; height: 6px; border-radius: 4px; background: #d6dbe6; cursor: pointer; border: 0; padding: 0; position: relative; overflow: hidden; }
.g-step.done { background: #e9b42c; }
.g-step.now::after { content: ''; position: absolute; inset: 0; background: #e9b42c; transform-origin: left; animation: fill var(--d, 7s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.g-text { margin-top: 26px; background: #fff; border-radius: 12px; padding: 16px 22px; border: 1px solid #dfe3eb; }
.g-text h2 { margin: 4px 0 8px; color: #0a224a; }
.g-text li { margin: 6px 0; line-height: 1.45; }
.g-text a { color: #0a224a; font-weight: 600; }

/* The pointer */
.g-cursor { position: absolute; left: 50%; top: 60%; width: 22px; height: 22px; z-index: 50; transition: left .9s cubic-bezier(.4,.1,.2,1), top .9s cubic-bezier(.4,.1,.2,1); pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 2l15 9-7 1.5L8.5 20z' fill='%23ffffff' stroke='%230a224a' stroke-width='1.6' stroke-linejoin='round'/></svg>"); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.g-cursor.click::after { content: ''; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #e9b42c; animation: ripple .55s ease-out forwards; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* The sample CRM screen */
.m-menu { width: 17%; background: #0a224a; color: #fff; padding: 2.2% 1.6%; display: flex; flex-direction: column; gap: 6px; font-size: clamp(9px, 1.25vw, 13px); }
.m-logo { font-weight: 800; color: #f6c84a; margin-bottom: 8px; font-size: 1.1em; }
.m-nav { padding: 6px 8px; border-radius: 6px; opacity: .85; }
.m-nav.on { background: rgba(233,180,44,.18); outline: 1px solid #e9b42c; opacity: 1; }
.m-msg { margin-top: auto; padding: 7px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); position: relative; }
.m-badge { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: #d93025; color: #fff; border-radius: 9px; font-size: .8em; padding: 0 6px; display: none; }
.m-badge.show { display: inline-block; animation: pop .4s ease-out; }
@keyframes pop { from { transform: translateY(-50%) scale(.2); } to { transform: translateY(-50%) scale(1); } }
.m-main { flex: 1; padding: 2.4% 2.6%; font-size: clamp(9px, 1.3vw, 14px); overflow: hidden; position: relative; }
.m-h1 { font-size: 1.55em; font-weight: 800; color: #0a224a; margin-bottom: 10px; }
.m-card { background: #fff; border: 1px solid #dfe3eb; border-radius: 10px; padding: 10px 12px; margin-bottom: 9px; }
.m-input { border: 1px solid #c9d1df; border-radius: 7px; padding: 6px 9px; background: #fff; min-height: 2.2em; color: #1c2636; }
.m-input.pw { letter-spacing: 3px; }
.m-btn { display: inline-block; border-radius: 8px; padding: 7px 13px; font-weight: 700; background: #0a224a; color: #fff; }
.m-btn.gold { background: #e9b42c; color: #1c2636; }
.m-row { display: flex; gap: 10px; padding: 7px 9px; border-bottom: 1px solid #eef1f5; align-items: center; }
.m-row.hl { background: #fff6dc; outline: 2px solid #e9b42c; border-radius: 6px; }
.m-row .c { width: 22%; font-weight: 700; color: #0a224a; }
.m-pill { display: inline-block; border-radius: 10px; padding: 1px 8px; font-size: .85em; background: #e3f4e9; color: #1e6b3c; }
.m-pill.amber { background: #fff1d6; color: #8a5a00; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.m-muted { color: #6b778c; font-size: .9em; }
.m-tabs { display: flex; gap: 14px; border-bottom: 2px solid #eef1f5; margin: 6px 0 8px; }
.m-tab { padding: 4px 2px; color: #6b778c; }
.m-tab.on { color: #0a224a; font-weight: 700; border-bottom: 3px solid #e9b42c; }
.m-bubble { background: #eef3fb; border-radius: 10px; padding: 7px 10px; margin: 6px 0; max-width: 80%; }
.m-bubble.caf { background: #fff6dc; margin-left: auto; }
.m-fade { animation: fadein .5s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.m-modal { position: absolute; inset: 14% 18%; background: #fff; border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.3); padding: 14px 16px; z-index: 10; }
.m-file { display: inline-block; border: 1px solid #c9d1df; border-radius: 14px; padding: 2px 10px; margin: 3px 4px 0 0; background: #f7f9fc; }
.m-toast { position: absolute; right: 3%; bottom: 5%; background: #1f2a3c; color: #fff; border-radius: 8px; padding: 8px 12px; z-index: 20; }
.m-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%; }
.m-big { font-size: clamp(18px, 3.4vw, 36px); font-weight: 800; color: #0a224a; }
.m-gold { color: #b8860b; }
.g-steps.paused .g-step.now::after { animation-play-state: paused; }
/* The Play button over the stage: browsers only allow the voice after a click (2026-11-11). */
.g-start { position: absolute; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(10,34,74,.55); }
.g-startbtn { border: 0; border-radius: 16px; background: #e9b42c; color: #0a224a; font-size: clamp(18px, 3vw, 30px); font-weight: 800; padding: 18px 34px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); line-height: 1.2; }
.g-startbtn small { font-size: .5em; font-weight: 600; }
.g-startbtn:hover { transform: scale(1.04); }