/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; font-family: system-ui, -apple-system, sans-serif; background: #f5f5f5; color: #222; }

/* === Screens === */
.screen { display: none; position: fixed; inset: 0; width: 100%; height: 100%; background: #fff; }
.screen.active { display: flex; flex-direction: column; }

/* === App Header (portrait screens) === */
.app-header { padding: 1rem 1.2rem 0.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo-main { height: 36px; }
.header-bar { padding: 0.3rem 1.2rem 0.8rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid #eee; }
.powered-by { font-size: 0.8rem; color: #666; display: flex; align-items: center; gap: 0.4rem; }
.logo-camcom { height: 20px; vertical-align: middle; }
.logo-camcom-small { height: 24px; }

/* === Header Indicators === */
.header-indicators { display: flex; gap: 0.5rem; align-items: center; }
.wifi-pill { background: #f0f0f0; border: 1px solid #ddd; border-radius: 20px; padding: 0.2rem 0.7rem; font-size: 0.75rem; color: #333; display: inline-flex; align-items: center; gap: 0.3rem; }
.wifi-pill::before { content: "\\1F4F6"; font-size: 0.7rem; }

/* === Screen Body === */
.screen-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem 1.2rem; }

/* === Buttons === */
.btn-primary { background: #00C853; color: #fff; border: none; padding: 0.9rem 2.2rem; border-radius: 30px; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 2px 8px rgba(0,200,83,0.3); }
.btn-primary:active { opacity: 0.85; transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-secondary { background: #fff; color: #333; border: 1.5px solid #ccc; padding: 0.9rem 2.2rem; border-radius: 30px; font-size: 1.05rem; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-secondary:active { opacity: 0.85; transform: scale(0.98); }
.btn-secondary.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-back { background: none; border: none; width: 36px; height: 36px; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.btn-back img { width: 22px; height: 22px; object-fit: contain; }
.review-message { font-size: 0.75rem; color: #d32f2f; line-height: 1.3; margin: 0.3rem 0; }

/* === Landing Screen === */
.landing-body { justify-content: space-between; background: #f5f5f5; flex: 1; }
.lang-selector { align-self: flex-end; background: #fff; border: 1px solid #ccc; border-radius: 20px; padding: 0.3rem 0.8rem; font-size: 0.8rem; color: #555; }
.globe-icon { font-size: 0.9rem; }
.landing-content { margin-top: auto; margin-bottom: 4rem; }
.landing-title { font-size: 1.8rem; font-weight: 400; color: #222; line-height: 1.3; margin-bottom: 1.5rem; }

/* === Permissions Screen === */
.perm-title { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 1.5rem; text-align: center; }
.perm-cards { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.perm-card { border: 1.5px solid #ddd; border-radius: 16px; padding: 1.5rem 2rem; text-align: center; min-width: 140px; }
.perm-icon { margin-bottom: 0.5rem; }
.perm-icon img { width: 40px; height: 40px; object-fit: contain; }
.perm-label { font-size: 1.1rem; font-weight: 600; color: #222; }
.perm-status { font-size: 1rem; color: #999; margin-top: 0.5rem; font-weight: 500; }
.perm-status.granted { color: #00C853; font-weight: 600; font-size: 1.05rem; }
.perm-status.denied { color: #d32f2f; font-weight: 600; font-size: 1.05rem; }
.error-text { color: #d32f2f; font-size: 0.85rem; margin-top: 1rem; text-align: center; }

/* === Instructions Screen === */
.instructions-body { align-items: center; justify-content: center; background: #fff; }
.instructions-illustration { position: relative; width: 280px; height: 260px; max-width: 80%; margin-bottom: 2rem; }
.illust-ellipse { position: absolute; top: 10%; height: 80%; }
.illust-ellipse-left { left: 5%; width: 48%; object-fit: contain; object-position: right; }
.illust-ellipse-right { right: 5%; width: 48%; object-fit: contain; object-position: left; }
.illust-car { position: absolute; width: 60%; top: 18%; left: 50%; transform: translateX(-50%); z-index: 2; }
.illust-cone { position: absolute; width: 11%; z-index: 3; }
.cone-tl { top: 18%; left: 18%; }
.cone-tr { top: 14%; right: 16%; }
.cone-bl { bottom: 14%; left: 22%; }
.cone-br { bottom: 10%; right: 18%; }
.illust-person { position: absolute; height: 32%; bottom: 12%; left: 6%; z-index: 3; }
.instructions-text { font-size: 1rem; color: #444; line-height: 1.5; max-width: 340px; text-align: left; margin-bottom: 2rem; }

/* === Orientation Screen === */
.orientation-header { padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
.orientation-body { align-items: center; justify-content: center; }
.orientation-text { font-size: 1.2rem; color: #333; }

/* === Capture Screen (full-screen camera) === */
#screen-capture { background: #000; }
#screen-capture video, #screen-recapture video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#overlay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.toast { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); padding: 0.5rem 1.5rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; z-index: 10; color: #fff; }
.toast.warning { background: rgba(200, 60, 60, 0.85); }
.toast.info { background: rgba(60, 120, 200, 0.85); }
.toast.success { background: rgba(40, 160, 80, 0.85); }
.toast.capture { background: rgba(40, 200, 120, 0.95); }
.toast.blur { background: rgba(200, 140, 40, 0.85); }

.btn-capture { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; background: #00C853; color: #fff; border: none; padding: 0.8rem 2.5rem; border-radius: 30px; font-size: 1rem; font-weight: 600; min-width: 120px; cursor: pointer; }

#side-indicators { position: absolute; top: 1rem; right: 1rem; display: flex; flex-direction: column; gap: 4px; z-index: 10; }
.side-dot { width: 12px; height: 12px; border-radius: 50%; background: #555; }
.side-dot.captured { background: #00C853; }
.side-dot.partial { background: #FFC107; }

/* === Review / Closeup Screens (landscape) === */
.review-layout { display: flex; flex-direction: column; height: 100%; }
.review-stepper { display: flex; align-items: center; justify-content: center; padding: 0.6rem 1rem; gap: 0; background: #fff; border-bottom: 1px solid #eee; }
.step { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ccc; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #999; background: #fff; }
.step.active { background: #00C853; border-color: #00C853; color: #fff; }
.step.done { background: #00C853; border-color: #00C853; color: #fff; }
.step-line { width: 40px; height: 2px; background: #ddd; }

.review-content { display: flex; flex: 1; overflow: hidden; padding: 0.5rem; gap: 0.5rem; background: #f5f5f5; }
.review-sidebar { width: 180px; min-width: 180px; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: #fff; border-radius: 12px; border: 1px solid #e0e0e0; overflow: hidden; }
.review-sidebar .btn-primary, .review-sidebar .btn-secondary { width: 100%; padding: 0.5rem 0.8rem; font-size: 0.8rem; justify-content: center; box-sizing: border-box; }
.step-label { font-size: 0.7rem; color: #888; font-weight: 700; letter-spacing: 0.5px; }
.step-desc { font-size: 0.85rem; color: #333; line-height: 1.4; }
.mandatory-note { font-size: 0.65rem; color: #999; margin-top: auto; }

.review-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; padding: 0.8rem; overflow-y: auto; align-content: start; background: #fff; border-radius: 12px; border: 1px solid #e0e0e0; }

/* === Side Cards (Review grid) === */
.side-card { border-radius: 10px; border: 1.5px solid #e0e0e0; overflow: hidden; background: #fff; position: relative; cursor: pointer; display: flex; flex-direction: column; }
.side-card img { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }
.side-card .card-label { padding: 0.2rem 0.3rem; font-size: 0.55rem; font-weight: 600; color: #333; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.15rem; flex-shrink: 0; line-height: 1.2; }
.side-card .card-label .cam-icon { width: 10px; height: 10px; flex-shrink: 0; }
.side-card.captured { border-color: #00C853; }
.side-card.partial { border-color: #FFC107; }
.side-card.missing { opacity: 0.6; }
.card-status-icon { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; }
.card-status-icon.full { background: #00C853; }
.card-status-icon.partial { background: #FFC107; }
.warning-icons { position: absolute; top: 4px; left: 4px; display: flex; flex-direction: column; gap: 2px; z-index: 3; }
.warning-icon { width: 16px; height: 16px; max-width: 16px; max-height: 16px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,0.8); }
.confirm-warnings { color: #E5A100; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }

/* === Closeup Grid Cards === */
.closeup-card { border-radius: 10px; border: 1.5px solid #e0e0e0; overflow: hidden; background: #fff; position: relative; cursor: pointer; }
.closeup-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.closeup-img-container { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.closeup-img-container img, .closeup-img-container canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.closeup-preview-canvas { width: 100%; height: 100%; display: block; }
.closeup-card .card-label { padding: 0.3rem 0.5rem; font-size: 0.65rem; font-weight: 600; color: #333; text-align: center; }
.closeup-card.selected { border-color: #1976D2; }

/* === Recapture Screen === */
.recapture-label { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; z-index: 10; font-size: 0.9rem; }

/* === Closeup Capture Screen === */
#screen-closeup-capture { background: #000; }
#screen-closeup-capture video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closeup-capture-label { position: absolute; top: 1rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7); color: #fff; padding: 0.5rem 1.2rem; border-radius: 8px; z-index: 10; font-size: 1rem; font-weight: 600; }

/* === Loading === */
.loading-indicator { text-align: center; padding: 0.5rem; }
.spinner { width: 24px; height: 24px; border: 3px solid #ddd; border-top: 3px solid #00C853; border-radius: 50%; margin: 0 auto 0.3rem; animation: spin-loader 0.8s linear infinite; }
.loading-text { font-size: 0.7rem; color: #888; }
.btn-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.4); border-top: 2px solid #fff; border-radius: 50%; animation: spin-loader 0.8s linear infinite; vertical-align: middle; }
@keyframes spin-loader { to { transform: rotate(360deg); } }

/* === Modals === */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 100; }
.modal-overlay .modal-image-wrap { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.modal-overlay .modal-image-wrap img, .modal-overlay .modal-image-wrap canvas { width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; will-change: transform; }
.modal-actions { display: flex; gap: 1rem; padding: 1rem; flex-shrink: 0; }
.confirm-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 100; }
.confirm-dialog { background: #fff; border-radius: 12px; padding: 1.5rem 2rem; max-width: 340px; text-align: center; }
.confirm-dialog p { font-size: 1rem; color: #333; margin-bottom: 1.2rem; line-height: 1.4; }
.confirm-dialog .modal-actions { justify-content: center; }

/* === Inspection Complete Screen === */
#screen-complete { overflow: hidden; }
#screen-complete.active { display: block; }
.ic-app { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; position: relative; overflow-y: auto; overflow-x: hidden; height: 100vh; font-family: 'DM Sans', sans-serif; padding-bottom: 160px; }
.ic-app ::-webkit-scrollbar { width: 0; }
.ic-app { scrollbar-width: none; }
.ic-app * { box-sizing: border-box; }

/* IC Design Tokens */
.ic-app { --green-primary: #00B37D; --green-dark: #009966; --green-light: #E6F9F1; --green-glow: rgba(0,179,125,0.15); --amber-primary: #E5A100; --amber-light: #FFF7E0; --amber-dark: #B58000; --surface: #FAFBFC; --card: #FFFFFF; --text-primary: #0F1A2A; --text-secondary: #5A6B7F; --text-tertiary: #94A3B8; --border: #E8ECF1; --border-light: #F1F4F8; --red-accent: #E8192C; --shadow-lg: 0 12px 40px rgba(15,26,42,0.08), 0 4px 12px rgba(15,26,42,0.04); --radius: 16px; --radius-sm: 10px; }

.ic-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); z-index: 10; }
.ic-brand { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 18px; color: var(--text-primary); letter-spacing: -0.5px; }
.ic-brand .tri { color: var(--red-accent); }
.ic-powered { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }
.ic-powered img { height: 18px; width: auto; border-radius: 3px; }

.ic-banner { margin: 20px; padding: 24px; background: linear-gradient(135deg, var(--green-primary) 0%, #00CC8E 100%); border-radius: var(--radius); position: relative; overflow: hidden; animation: ic-slideUp 0.5s ease-out; }
.ic-banner::before { content: ''; position: absolute; top: -40%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%); border-radius: 50%; }
.ic-success-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; animation: ic-scaleIn 0.4s ease-out 0.2s both; }
.ic-success-icon svg { width: 26px; height: 26px; stroke: white; stroke-width: 2.5; fill: none; }
.ic-banner-title { font-size: 22px; font-weight: 700; color: white; margin-bottom: 4px; position: relative; z-index: 1; }
.ic-banner-sub { font-size: 13px; color: rgba(255,255,255,0.8); position: relative; z-index: 1; }

.ic-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; margin-bottom: 24px; animation: ic-slideUp 0.5s ease-out 0.1s both; }
.ic-stat { background: var(--surface); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border-light); }
.ic-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-tertiary); margin-bottom: 6px; font-weight: 500; }
.ic-stat-value { font-family: 'Space Mono', monospace; font-size: 22px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.ic-stat-unit { font-size: 12px; color: var(--text-secondary); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.ic-stat-warn { background: var(--amber-light); border-color: rgba(229,161,0,0.2); }
.ic-stat-warn .ic-stat-label { color: var(--amber-dark); }
.ic-stat-warn .ic-stat-value { color: var(--amber-primary); }

.ic-section { padding: 0 20px; margin-bottom: 24px; }
.ic-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ic-section-line { height: 2px; width: 20px; background: var(--green-primary); border-radius: 2px; }
.ic-section-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }

/* Coverage */
.ic-cov-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ic-cov-row span:first-child { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.ic-cov-row span:last-child { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; color: var(--green-primary); }
.ic-cov-bar { height: 6px; background: var(--border-light); border-radius: 10px; overflow: hidden; display: flex; }
.ic-cov-seg { height: 100%; animation: ic-fillBar 0.8s ease-out 0.3s both; }
.ic-cov-seg.green { background: var(--green-primary); }
.ic-cov-seg.amber { background: var(--amber-primary); }
.ic-sides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.ic-chip { text-align: center; padding: 10px 4px 8px; border-radius: 8px; border: 1px solid; }
.ic-chip.complete { background: var(--green-light); border-color: rgba(0,179,125,0.15); }
.ic-chip.partial { background: var(--amber-light); border-color: rgba(229,161,0,0.2); }
.ic-chip svg { width: 18px; height: 18px; display: block; margin: 0 auto 5px; stroke-width: 2.5; fill: none; }
.ic-chip.complete svg { stroke: var(--green-primary); }
.ic-chip.partial svg { stroke: var(--amber-primary); }
.ic-chip-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.ic-chip.complete .ic-chip-label { color: var(--green-dark); }
.ic-chip.partial .ic-chip-label { color: var(--amber-dark); }
.ic-chip-status { font-size: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; margin-top: 2px; }
.ic-chip.complete .ic-chip-status { color: var(--green-primary); }
.ic-chip.partial .ic-chip-status { color: var(--amber-primary); }
.ic-chip.missing { background: #F5F5F5; border-color: #E0E0E0; }
.ic-chip.missing svg { stroke: #999; }
.ic-chip.missing .ic-chip-label { color: #888; }
.ic-chip.missing .ic-chip-status { color: #999; }
.ic-legend { display: flex; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.ic-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-secondary); }
.ic-legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.ic-legend-dot.green { background: var(--green-primary); }
.ic-legend-dot.amber { background: var(--amber-primary); }

/* Timing */
.ic-timing-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ic-timing-pill { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-light); border-radius: 100px; padding: 8px 14px; flex: 1; min-width: fit-content; }
.ic-timing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-primary); flex-shrink: 0; }
.ic-timing-dot.secondary { background: var(--text-tertiary); }
.ic-timing-label { font-size: 11px; color: var(--text-tertiary); white-space: nowrap; }
.ic-timing-value { font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 700; color: var(--text-primary); margin-left: auto; }
.ic-timing-total { border-color: var(--green-primary); background: var(--green-light); }
.ic-timing-total .ic-timing-label { color: var(--green-dark); }
.ic-timing-total .ic-timing-value { color: var(--green-primary); }

/* Image cards */
.ic-images { padding: 0 20px; margin-bottom: 28px; }
.ic-images-grid { display: flex; flex-direction: column; gap: 14px; animation: ic-slideUp 0.5s ease-out 0.2s both; }
.ic-img-card { width: 100%; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface); border: 1px solid var(--border-light); transition: all 0.3s ease; cursor: pointer; }
.ic-img-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ic-img-warnings { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.ic-warn-icon { width: 22px; height: 22px; max-width: 22px; max-height: 22px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.ic-warning-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ic-warn-chip { display: flex; align-items: center; gap: 6px; background: var(--amber-light); border: 1px solid rgba(229,161,0,0.2); border-radius: 100px; padding: 6px 12px; font-size: 12px; color: var(--amber-dark); }
.ic-warn-chip-icon { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ic-warn-chip strong { font-family: 'Space Mono', monospace; margin-left: auto; }
.ic-img-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ic-img-card.closeup img { height: 180px; }
.ic-img-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: white; border-top: 1px solid var(--border-light); }
.ic-img-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.ic-img-sub { font-size: 10px; color: var(--text-tertiary); margin-top: 1px; }
.ic-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 100px; flex-shrink: 0; }
.ic-badge-dot { width: 5px; height: 5px; border-radius: 50%; }
.ic-badge.full { color: var(--green-primary); background: var(--green-light); }
.ic-badge.full .ic-badge-dot { background: var(--green-primary); }
.ic-badge.partial { color: var(--amber-primary); background: var(--amber-light); }
.ic-badge.partial .ic-badge-dot { background: var(--amber-primary); }
.ic-img-card.partial-card { border-color: rgba(229,161,0,0.3); }
.ic-img-card.partial-card .ic-img-bar { border-top-color: rgba(229,161,0,0.2); background: var(--amber-light); }
.ic-img-card.warn-card { border-color: rgba(232,25,44,0.3); }
.ic-img-card.warn-card .ic-img-bar { border-top-color: rgba(232,25,44,0.2); background: #FFF0F0; }
.ic-badge.warn { color: #E8192C; background: #FFF0F0; }
.ic-badge.warn .ic-badge-dot { background: #E8192C; }

/* Map */
.ic-map-section { padding: 0 20px; margin-bottom: 28px; }
.ic-map-box { width: 100%; height: 240px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); position: relative; background: var(--surface); z-index: 0; }
.ic-map-row { margin-top: 8px; }
.ic-map-coords-bar { display: flex; align-items: center; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-tertiary); }
.ic-map-btn { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; color: var(--green-primary); background: var(--green-light); border: 1px solid rgba(0,179,125,0.2); padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.ic-map-btn:hover { background: var(--green-primary); color: white; }
.ic-map-data { display: flex; gap: 8px; margin-top: 10px; margin-bottom: 30px; }
.ic-map-chip { flex: 1; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border-light); border-radius: 100px; padding: 7px 12px; }
.ic-map-chip-label { font-size: 10px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }
.ic-map-chip-value { font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; color: var(--text-primary); margin-left: auto; }

/* Footer */
.ic-footer { padding: 20px; padding-bottom: 36px; position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; background: linear-gradient(180deg, transparent 0%, white 30%); z-index: 5; }
.ic-cta { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--green-primary) 0%, #00CC8E 100%); color: white; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; border: none; border-radius: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s ease; box-shadow: 0 4px 16px rgba(0,179,125,0.3); }
.ic-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,179,125,0.4); }
.ic-cta:active { transform: translateY(0); }
.ic-cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* IC Animations */
@keyframes ic-slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ic-scaleIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes ic-fillBar { from { width: 0%; } }
.ic-check-path { stroke-dasharray: 20; animation: ic-checkDraw 0.4s ease-out 0.4s both; }
@keyframes ic-checkDraw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
