.app-detail { --detail-ink: #142e37; color: var(--detail-ink); background: #f8faf9; }
.app-detail * { box-sizing: border-box; }
.app-detail [hidden] { display: none; }
.app-detail-nav { position: sticky; top: 0; z-index: 10; background: #fffffff2; backdrop-filter: blur(12px); border-bottom: 1px solid #dee7e4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px max(24px, calc((100vw - 1120px)/2)); }
.app-detail a { color: #116455; text-decoration: none; font-weight: 650; }
.app-detail-nav > a { font-size: 18px; letter-spacing: -.6px; }
.app-detail-nav nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.app-detail a:focus-visible, .app-detail button:focus-visible { outline: 3px solid #3c9e84; outline-offset: 4px; }
.app-detail-main.container { width: min(1120px, calc(100% - 48px)); max-width: 1120px; margin: 0 auto; padding: 48px 0; }
.app-detail-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 46px; margin-bottom: 48px; }
.app-detail-label { color: #19735e; text-transform: uppercase; font-weight: 750; font-size: 10px; letter-spacing: 1.7px; margin: 0 0 14px; }
.app-detail h1 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.08; letter-spacing: -1.7px; margin: 0 0 22px; }
.app-detail-overview { font-size: 15px; line-height: 1.85; color: #52666c; margin: 0; max-width: 56ch; }
.app-detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; font-size: 12px; }
.app-detail .button { display: inline-flex; justify-content: center; align-items: center; background: #0c6552; color: white; border: 1px solid #0c6552; border-radius: 7px; padding: 12px 18px; font-size: 13px; }
.app-detail .button:hover { background: #084f40; }
.app-detail-preview { background: white; border: 1px solid #d5e1df; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 38px #1a433014; }
.preview-chrome { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 15px; background: #f1f5f7; color: #72858b; font-size: 10px; }
.preview-chrome span:first-child { color: #b1c5d0; letter-spacing: 2px; }
.preview-body { padding: 22px; }
.app-detail h2 { font-size: 23px; letter-spacing: -.7px; line-height: 1.25; margin: 0 0 16px; }
.preview-body h2 { font-size: 18px; }
.app-detail-step-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.app-detail-step-controls button { font: inherit; font-size: 11px; padding: 7px 10px; color: #53686d; background: #f6f8fa; border: 1px solid #d9e4e8; border-radius: 5px; cursor: pointer; }
.app-detail-step-controls button[aria-pressed="true"] { color: #0c6552; border-color: #0c6552; background: #eaf5ef; }
.app-detail-screen { border: 1px solid #dce5e7; border-radius: 8px; overflow: hidden; font-size: 12px; }
.app-detail-screen-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: #f7faf9; }
.app-detail-screen-header h3 { font-size: 13px; margin: 0; }
.app-detail-screen-header > span { padding: 3px 7px; color: #16654e; background: #e2f3e9; border-radius: 4px; font-size: 10px; }
.app-detail-screen dl { display: grid; grid-template-columns: auto minmax(0, 1fr); padding: 18px 14px; margin: 0; gap: 12px; }
.app-detail-screen dt { color: #6d7f85; }
.app-detail-screen dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 650; }
.app-detail-screen-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px; border-top: 1px solid #e0e9e4; }
.app-detail-screen-total strong { color: #0d7056; }
.preview-caption { margin: 0; padding: 10px 16px; border-top: 1px solid #e5eae8; color: #718489; font-size: 10px; }
.preview-records { padding: 12px; }
.preview-records > div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 8px; border-bottom: 1px solid #edf0ef; color: #4c636a; }
.app-detail-flow { padding: 28px; border: 1px solid #dce5e7; border-radius: 14px; background: white; margin-bottom: 56px; }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 28px; }
.section-heading > p { max-width: 32ch; margin: 0; font-size: 12px; line-height: 1.7; color: #63797f; }
.app-detail-flow ol { list-style-position: inside; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding: 0; margin: 8px 0 0; counter-reset: steps; }
.app-detail-flow li { list-style: none; counter-increment: steps; border: 1px solid #dce6e5; border-radius: 8px; background: #f9fbfa; padding: 18px; font-size: 13px; line-height: 1.8; color: #405e65; }
.app-detail-flow li::before { content: "STEP " counter(steps, decimal-leading-zero); display: block; color: #146b56; font-size: 9px; letter-spacing: 1px; font-weight: 750; margin-bottom: 8px; }
.app-detail-features { margin-bottom: 48px; }
.app-detail-features > h2 { max-width: 27ch; margin-bottom: 24px; font-size: 29px; }
.app-detail-features ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.app-detail-features li { grid-column: span 3; background: white; border: 1px solid #d9e4e5; border-radius: 12px; padding: 26px; }
.app-detail-features li:nth-child(4n + 2), .app-detail-features li:nth-child(4n + 3) { grid-column: span 2; }
.app-detail-features h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.3px; }
.app-detail-features li p { font-size: 13px; line-height: 1.85; color: #597079; margin: 0; }
.app-detail-connections { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 34px; background: #0a342a; color: white; border-radius: 16px; box-shadow: 0 12px 24px #123c2520; }
.app-detail-connections .app-detail-label { color: #76cfac; }
.app-detail-connections p { color: #b7d4c9; font-size: 13px; line-height: 1.85; }
.app-detail-connections a { color: #8be0ba; font-size: 12px; }
.connection-map { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; border: 1px solid #346154; border-radius: 10px; background: #082c24; }
.connection-map strong { padding-bottom: 14px; font-size: 18px; border-bottom: 1px solid #346154; }
.connection-map span { font-size: 12px; padding: 10px 12px; border: 1px solid #346154; border-radius: 5px; color: #cbe5da; }
.app-detail-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px max(24px, calc((100vw - 1120px)/2)); border-top: 1px solid #dce5e2; background: white; font-size: 11px; color: #7b8e91; }
@media (max-width: 900px) { .app-detail-intro { gap: 24px; } .app-detail-main.container { padding-top: 32px; } .section-heading { flex-direction: column; gap: 0; } .section-heading > p { max-width: none; margin-bottom: 18px; } }
@media (max-width: 680px) { .app-detail-nav { position: static; flex-wrap: wrap; padding: 14px 20px; } .app-detail-nav nav { gap: 16px; } .app-detail-main.container { width: calc(100% - 32px); } .app-detail-intro { grid-template-columns: 1fr; margin-bottom: 24px; } .app-detail h1 { letter-spacing: -1px; } .app-detail-flow { padding: 20px; margin-bottom: 32px; } .app-detail-flow ol { grid-template-columns: 1fr; } .app-detail-features ul { grid-template-columns: 1fr; } .app-detail-features li, .app-detail-features li:nth-child(n) { grid-column: auto; padding: 22px; } .app-detail-connections { grid-template-columns: 1fr; padding: 24px; } .preview-body { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .app-detail * { scroll-behavior: auto; } }

.app-detail-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 26px; padding: 7px 0; color: #527269; }
.app-detail-back svg { width: 17px; height: 17px; }
.app-detail-back:hover { color: #083f32; }
.app-detail-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #3a7b67; border-radius: 13px; background: #0c6552; color: white; box-shadow: 0 5px 18px #153c3226; cursor: pointer; }
.app-detail-top svg { width: 21px; height: 21px; }
.app-detail-top:hover { background: #084f40; }
@media (max-width: 680px) { .app-detail-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } .app-detail-back { margin-bottom: 18px; } }
