
/* NMRON 7.5.4 · AUDIO GUIDE CONTENT STUDIO + SMART TOUR */
.ag-smartbar{position:sticky;top:64px;z-index:18;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid #dce9f7;box-shadow:0 8px 26px rgba(17,54,95,.08)}
.ag-smartbar .ag-shell{display:flex;gap:10px;align-items:center;overflow:auto;padding-top:10px;padding-bottom:10px}.ag-smartbar a,.ag-smartbar button{white-space:nowrap;border:1px solid #cfe1f5;background:#fff;color:#163b68;border-radius:999px;padding:9px 14px;font:700 13px/1 system-ui;text-decoration:none;cursor:pointer}.ag-smartbar .primary{background:#1473ff;color:#fff;border-color:#1473ff}.ag-smartbar .gps{display:flex;align-items:center;gap:7px}.ag-smartbar .dot{width:8px;height:8px;border-radius:50%;background:#8ba5c0}.ag-smartbar .dot.live{background:#1ba56e;box-shadow:0 0 0 5px rgba(27,165,110,.12)}
.ag-smart-intro{margin:28px 0;padding:24px;border-radius:26px;background:linear-gradient(135deg,#eef7ff,#fff 55%,#f3fbf8);border:1px solid #dcebf9}.ag-smart-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.ag-smart-card{background:#fff;border:1px solid #dbe8f5;border-radius:20px;padding:18px;text-decoration:none;color:#12345a;box-shadow:0 8px 24px rgba(26,67,110,.06);transition:.25s}.ag-smart-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(26,67,110,.12)}.ag-smart-card b{display:block;font-size:16px;margin-bottom:6px}.ag-smart-card small{color:#58718a;line-height:1.45}.ag-smart-icon{width:42px;height:42px;border-radius:14px;background:#eaf4ff;display:grid;place-items:center;font-weight:900;color:#1473ff;margin-bottom:12px}
.ag-page-head{padding:42px 0 28px;background:linear-gradient(180deg,#f4f9ff,#fff)}.ag-page-head h1{font-size:clamp(34px,5vw,64px);line-height:1;margin:8px 0 14px;color:#0c2d52}.ag-page-head p{max-width:820px;color:#526d86;font-size:18px;line-height:1.6}
.ag-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.ag-panel{background:#fff;border:1px solid #dbe8f5;border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(28,65,103,.07)}.ag-panel h2,.ag-panel h3{color:#12365d}.ag-field{display:grid;gap:7px;margin:12px 0}.ag-field label{font-size:12px;font-weight:800;color:#54708b;text-transform:uppercase;letter-spacing:.04em}.ag-field input,.ag-field select,.ag-field textarea{width:100%;border:1px solid #cddfee;border-radius:14px;padding:12px 13px;background:#fbfdff;font:500 14px/1.45 system-ui;color:#133657}.ag-field textarea{min-height:110px;resize:vertical}.ag-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.ag-actions-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.ag-mini-note{font-size:12px;line-height:1.5;color:#6f8599}.ag-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#edf7f2;color:#14734f;font-size:12px;font-weight:800}.ag-status-pill.warn{background:#fff5e8;color:#9b5b00}.ag-status-pill.draft{background:#f2f3f7;color:#5a6470}
.ag-map{height:64vh;min-height:520px;border-radius:24px;overflow:hidden;border:1px solid #d8e6f3}.ag-map-card{position:absolute;z-index:3;left:18px;top:18px;max-width:350px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-radius:18px;padding:15px;border:1px solid #dce7f2;box-shadow:0 14px 35px rgba(8,41,75,.16)}.ag-map-wrap{position:relative}.ag-map-marker{width:30px;height:30px;border-radius:50%;background:#1473ff;color:#fff;border:3px solid #fff;box-shadow:0 5px 16px rgba(0,0,0,.25);display:grid;place-items:center;font:800 12px system-ui}.ag-user-marker{width:20px;height:20px;border-radius:50%;background:#14a66f;border:4px solid #fff;box-shadow:0 0 0 5px rgba(20,166,111,.22)}
.ag-planner-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px}.ag-route-result{display:grid;grid-template-columns:160px 1fr auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #e5eef6}.ag-route-result img{width:160px;height:106px;object-fit:cover;border-radius:16px}.ag-route-result h3{margin:0 0 6px}.ag-route-result p{margin:0;color:#5c748b}.ag-score{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#1473ff;font-weight:900}
.ag-offline-list{display:grid;gap:12px}.ag-offline-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:16px;border:1px solid #dce8f3;border-radius:18px}.ag-progress-mini{height:7px;background:#e9f1f7;border-radius:999px;overflow:hidden}.ag-progress-mini span{display:block;height:100%;background:#1473ff;width:0}.ag-nearby-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:120;max-width:620px;width:calc(100% - 30px);background:#092748;color:#fff;border-radius:20px;padding:16px 18px;box-shadow:0 18px 60px rgba(0,0,0,.25);display:none}.ag-nearby-toast.show{display:flex;gap:14px;align-items:center}.ag-nearby-toast .grow{flex:1}.ag-nearby-toast button{border:0;border-radius:12px;padding:10px 13px;font-weight:800;cursor:pointer}
.ag-admin-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}.ag-kpi{padding:16px;border-radius:18px;background:#f5f9fd;border:1px solid #dce8f3}.ag-kpi b{font-size:26px;color:#0f3964;display:block}.ag-kpi small{color:#668097}.ag-admin-list{max-height:70vh;overflow:auto}.ag-admin-item{padding:12px;border-bottom:1px solid #e5edf4;cursor:pointer}.ag-admin-item:hover,.ag-admin-item.active{background:#f0f7ff}.ag-admin-item b{display:block}.ag-admin-editor{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.ag-json-preview{white-space:pre-wrap;max-height:300px;overflow:auto;background:#081c31;color:#d9edff;padding:14px;border-radius:14px;font:12px/1.5 ui-monospace,monospace}
.ag-partner-card{background:linear-gradient(135deg,#102d50,#174d86);color:white;border-radius:24px;padding:22px}.ag-partner-card input{background:white}.ag-smart-badge{display:inline-flex;align-items:center;gap:7px;background:#e9f5ff;border-radius:999px;padding:7px 10px;color:#1767b6;font-size:12px;font-weight:800}
@media(max-width:900px){.ag-smart-grid{grid-template-columns:repeat(2,1fr)}.ag-workspace,.ag-planner-grid,.ag-admin-editor{grid-template-columns:1fr}.ag-admin-kpis{grid-template-columns:repeat(2,1fr)}.ag-map{height:58vh;min-height:430px}.ag-route-result{grid-template-columns:100px 1fr}.ag-route-result img{width:100px;height:80px}.ag-score{display:none}}
@media(max-width:560px){.ag-smart-grid{grid-template-columns:1fr}.ag-form-grid{grid-template-columns:1fr}.ag-page-head{padding-top:28px}.ag-admin-kpis{grid-template-columns:1fr 1fr}.ag-map-card{position:relative;left:auto;top:auto;max-width:none;margin-bottom:12px}.ag-map{min-height:420px}}


/* 7.5.4 — paid-content gate + 30 s narrated visual demo */
.ag-stop-status.preview{background:#fff4cc;color:#714e00;border:1px solid #f5d96c}
.ag-stop-preview .ag-stop-body>p{font-size:15px;line-height:1.6;margin-bottom:16px}
.ag-preview-demo{margin-top:16px;border:1px solid #d6e7fb;border-radius:24px;background:linear-gradient(135deg,#f9fcff 0%,#edf6ff 58%,#f8fbff 100%);padding:18px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(210px,.85fr);gap:18px;position:relative;overflow:hidden;box-shadow:0 16px 42px rgba(18,82,158,.09)}
.ag-preview-demo:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(30,124,255,.10);filter:blur(10px);right:-80px;top:-90px;pointer-events:none}
.ag-preview-copy{position:relative;z-index:1}
.ag-preview-kicker{display:inline-flex;padding:6px 9px;border-radius:999px;background:#0d6efd;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.ag-preview-copy h4{font-size:22px;line-height:1.05;margin:12px 0 8px;color:#092344}
.ag-preview-copy>p{margin:0 0 14px;color:#526b88;line-height:1.55}
.ag-preview-benefit{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #dceafd;border-radius:16px;padding:12px;margin-bottom:14px}
.ag-preview-benefit>span{width:31px;height:31px;border-radius:10px;background:#eaf4ff;color:#086bff;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.ag-preview-benefit b{display:block;color:#0b294d;font-size:13px;margin-bottom:3px}
.ag-preview-benefit small{display:block;color:#657d98;line-height:1.45;font-size:11px}
.ag-preview-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ag-preview-clock{font-variant-numeric:tabular-nums;font-weight:900;color:#0b2a4d;background:#fff;border:1px solid #d9e7f8;border-radius:12px;padding:10px 12px}
.ag-preview-progress{height:6px;border-radius:99px;background:#dbeaf9;overflow:hidden;margin-top:10px}
.ag-preview-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0d6efd,#54b5ff);border-radius:inherit;transition:width .2s linear}
.ag-preview-phone{position:relative;z-index:1;display:flex;align-items:center;justify-content:center}
.ag-preview-screen{width:min(100%,250px);aspect-ratio:.78;border:8px solid #07192e;border-radius:32px;background:#07192e;position:relative;overflow:hidden;box-shadow:0 20px 38px rgba(6,34,67,.25);transform:rotate(1.5deg)}
.ag-preview-screen>img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .25s,transform .45s}
.ag-preview-screen>img.pulse{animation:agPreviewImage .7s ease}
@keyframes agPreviewImage{0%{opacity:.45;transform:scale(1.04)}100%{opacity:1;transform:scale(1)}}
.ag-preview-screen:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(2,15,30,.88))}
.ag-preview-screen-top{position:absolute;z-index:2;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;gap:8px;color:#fff;font-size:9px;font-weight:900}.ag-preview-screen-top span,.ag-preview-screen-top b{background:rgba(5,26,50,.7);backdrop-filter:blur(8px);padding:6px 8px;border-radius:999px}
.ag-preview-wave{position:absolute;z-index:2;left:14px;right:14px;bottom:52px;height:27px;display:flex;gap:4px;align-items:center}.ag-preview-wave i{display:block;width:4px;border-radius:9px;background:#fff;animation:agWave 1s ease-in-out infinite}.ag-preview-wave i:nth-child(1){height:10px}.ag-preview-wave i:nth-child(2){height:22px;animation-delay:.1s}.ag-preview-wave i:nth-child(3){height:15px;animation-delay:.2s}.ag-preview-wave i:nth-child(4){height:26px;animation-delay:.3s}.ag-preview-wave i:nth-child(5){height:13px;animation-delay:.4s}.ag-preview-wave i:nth-child(6){height:20px;animation-delay:.5s}.ag-preview-wave i:nth-child(7){height:9px;animation-delay:.6s}@keyframes agWave{50%{transform:scaleY(.5);opacity:.65}}
.ag-preview-caption{position:absolute;z-index:2;left:14px;right:14px;bottom:17px;color:#fff;font-size:11px;font-weight:800}
.ag-preview-lock{grid-column:1/-1;position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:rgba(255,255,255,.9);border:1px solid #dbe8f7;border-radius:16px;padding:12px}.ag-preview-lock b{color:#0c2a4c;font-size:12px}.ag-preview-lock span{font-size:11px;color:#667e98;line-height:1.4}.ag-preview-lock .ag-btn{white-space:nowrap}
.ag-locked-premium{margin-top:14px}
@media(max-width:760px){.ag-preview-demo{grid-template-columns:1fr}.ag-preview-phone{order:-1}.ag-preview-screen{width:220px}.ag-preview-lock{grid-template-columns:1fr}.ag-preview-lock .ag-btn{width:100%;text-align:center}.ag-preview-copy h4{font-size:20px}}


/* 7.5.4 — stable multilingual UI + narration */
.ag-page.ag-language-loading:after{content:'…';position:fixed;right:18px;top:112px;z-index:70;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1473ff;border:1px solid #d5e6f8;box-shadow:0 8px 24px rgba(18,72,130,.14);font-weight:900}
.ag-route-card{min-height:100%;}
.ag-route-card-body{display:flex;flex-direction:column;min-height:310px}
.ag-route-card-body .ag-card-actions{margin-top:auto}
.ag-preview-play:disabled,#agPreview:disabled,#agPreview2:disabled{opacity:.65;cursor:wait}
