.app-sidebar{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2000;touch-action:none}.app-sidebar.open{pointer-events:auto;touch-action:auto}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;touch-action:none}.app-sidebar.open .sidebar-backdrop{opacity:1;visibility:visible}.sidebar-panel{position:fixed;left:0;top:0;bottom:0;width:300px;max-width:85vw;background:#fff;transform:translate(-100%);transition:transform .3s ease;box-shadow:6px 0 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-sidebar.open .sidebar-panel{transform:translate(0)}.sidebar-header{padding:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-header img{width:120px;height:auto}.sidebar-nav{display:flex;flex-direction:column;gap:8px;padding:12px 16px;flex:1;overflow-y:auto;overflow-x:hidden}.sidebar-nav a{padding:10px 12px;border-radius:8px;color:#111;text-decoration:none}.sidebar-nav a:hover{background:#f3f3f3}.primary-cta{display:inline-block;background:linear-gradient(180deg,#ffd5dd,#ff9fb0);color:#111;padding:14px 16px;border-radius:12px;font-weight:800;text-align:center;font-size:15px}.sidebar-footer{padding:12px 16px;flex-shrink:0;border-top:1px solid #f0f0f0}.sidebar-footer .logout{display:flex;align-items:center;justify-content:center;padding:12px 14px;background:#ffe6e9;color:#b30000;border-radius:10px;text-decoration:none;text-align:center;font-weight:700}@media (max-height: 600px){.sidebar-header{padding:12px}.sidebar-header img{width:100px}.sidebar-nav{gap:6px;padding:8px 12px}.sidebar-nav a{padding:8px 10px;font-size:14px}.primary-cta{padding:12px 14px;font-size:14px}.sidebar-footer{padding:8px 12px}.sidebar-footer .logout{padding:10px 12px;font-size:14px}}.home-hero{text-align:center}.home-title{font-size:18px;font-weight:600}.tech-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px}.icon-button{background:transparent;border:none;text-align:center;cursor:pointer;border-radius:10px;box-shadow:0 2px 8px #00000014;margin:8px;background:#bfd0d3;display:flex;flex-direction:column;align-items:center}.icon-card{width:112px;height:114px;border-radius:10px;overflow:hidden;background:var(--card);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}.icon-label{margin-top:8px;font-weight:700;font-size:14px}.icon-card img{display:block;width:auto;height:auto;max-width:80%;max-height:80%;object-fit:contain;object-position:center}@media (min-width: 700px){.container{max-width:720px}.tech-grid{grid-template-columns:repeat(3,1fr)}}.search-wrap{box-shadow:0 4px 16px #0000001a,0 0 12px #0000000f;border-radius:8px}.tech-hero{text-align:center;padding:12px 0}.tech-hero h1{margin:10px 0 6px}.tech-hero p{color:#555}.tech-steps{margin-top:20px;display:flex;flex-direction:column;gap:12px}.tech-step{background:#fff;padding:12px;border-radius:8px;box-shadow:0 1px 6px #0000000f}.tech-step h3{margin:0 0 6px}.title-center{text-align:center;margin:12px 0}.collapsible{margin:12px 0;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 6px 18px #0000000f}.collapsible-toggle{width:100%;text-align:left;padding:12px 16px;background:linear-gradient(180deg,#e6f6fb,#dff2f6);border:none;font-weight:700;cursor:pointer}.collapsible-body{padding:12px 16px 18px}.symptoms-title{margin-top:12px}.symptom-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px}.symptom-card{width:140px;height:160px;perspective:1000px;border:none;background:transparent;padding:0}.symptom-card-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s}.symptom-card.flipped .symptom-card-inner{transform:rotateY(180deg)}.symptom-front,.symptom-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;box-shadow:0 4px 12px #00000014}.symptom-front img{width:64px;height:64px;object-fit:contain}.symptom-front .symptom-label{margin-top:8px;font-weight:700;font-size:13px;text-align:center}.symptom-back{transform:rotateY(180deg);background:#fafafa;padding:12px;justify-content:center}.symptom-details{font-size:13px;color:#444}.technique-page{padding-bottom:100px}.video-wrap{padding:12px 0 6px}.video-link{display:block;text-decoration:none}.video-thumb{width:100%;height:200px;background-size:cover;background-position:center;border-radius:12px;position:relative;box-shadow:0 6px 18px #0000001f}.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:36px;color:#fffffff2;text-shadow:0 2px 6px rgba(0,0,0,.4)}.video-caption{margin-top:8px;font-size:13px;color:#333}.tech-meta{margin-top:12px}.tech-hero{display:flex;gap:12px;align-items:center}.tech-hero img{width:120px;height:120px;object-fit:cover;border-radius:12px;box-shadow:0 6px 18px #0000000f}.tech-info h1{margin:0 0 6px;font-size:20px}.tech-info .intro{margin:0;color:#444}.meta-row{margin-top:8px;color:#666;font-size:13px}.sticky-action{position:fixed;right:20px;bottom:20px;background:linear-gradient(180deg,#ff6b6b,#ff3b3b);color:#fff;padding:14px 18px;border-radius:28px;box-shadow:0 8px 26px #ff3b3b47;font-weight:700;text-decoration:none;z-index:999}@media (min-width: 700px){.video-thumb{height:320px}}.rcp-detector-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000}.rcp-detector-modal{background:#fff;border-radius:12px;padding:0;max-width:90vw;max-height:90vh;overflow:hidden;box-shadow:0 20px 60px #0000004d}.rcp-detector-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(90deg,#c03,#0097b2);color:#fff}.rcp-detector-header h3{margin:0;font-size:1.2em}.close-btn{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:4px;line-height:1}.rcp-detector-content{padding:20px;text-align:center}.camera-container{margin-bottom:16px}.camera-container{position:relative}.camera-container canvas{display:block}.camera-video{width:100%;height:420px;object-fit:cover;border-radius:12px;border:3px solid rgba(0,0,0,.12);box-shadow:0 14px 40px #00000040;background:#000}.detection-status{margin:16px 0}.status-text{font-size:1.15em;color:#334155;margin-bottom:8px}.detection-result{font-size:1.25em;font-weight:700;padding:10px 18px;border-radius:12px;background:linear-gradient(90deg,#ecfeff,#eff6ff);color:#0369a1;display:inline-block}.detection-info{margin-top:16px;text-align:left;background:#f8fafc;padding:16px;border-radius:8px;border-left:4px solid #0097b2}.detection-info p{margin:8px 0;color:#64748b;font-size:.9em}@media (max-width: 768px){.rcp-detector-modal{margin:10px;max-width:calc(100vw - 20px)}.camera-video{max-height:250px}}.rcp-detector-content select{padding:6px 8px;border-radius:6px;border:1px solid #cbd5e1;background:#fff}.rcp-detector-content label{font-weight:600}.camera-controls{display:flex;gap:8px;align-items:center;justify-content:center;margin-bottom:12px}.camera-selector{padding:6px 10px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;font-weight:600}.camera-label{color:#334155;font-weight:700}.camera-container{display:flex;flex-direction:column;align-items:center}:root{--bg: #ffffff;--text: #111827}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;color:var(--text)}body :root{--bg: #f9f9f9;--primary-start: #cc0033;--primary-end: #0097b2;--muted: #ababab;--card: #bfd0d3;--text: #111827;--white: #ffffff;--shadow: 0 4px 8px rgba(0, 0, 0, .12)}body *{box-sizing:border-box}body html,body body,body #root{height:100%;margin:0}body body{font-family:Lato,Poppins,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;background:var(--bg);color:var(--text)}body .container{max-width:420px;margin:0 auto;padding:16px}body .center{text-align:center}.app-header{position:sticky;top:0;z-index:1000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background-color:#fff}.app-header{box-shadow:0 6px 24px #0000001f}
