@charset "utf-8";

.fl-fab { position: fixed; bottom: 28px; right: 24px; z-index: 8000; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, rgb(36, 52, 71), rgb(49, 70, 95)); box-shadow: rgba(74, 122, 78, 0.38) 0px 5px 22px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; transition: 0.25s; color: rgb(255, 255, 255); font-family: inherit; }

.fl-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: rgba(74, 122, 78, 0.48) 0px 9px 30px; }

.fl-fab-label { position: absolute; right: 66px; top: 50%; transform: translateY(-50%); background: rgb(30, 45, 61); color: rgb(255, 255, 255); font-size: 0.76rem; font-weight: 700; padding: 5px 11px; border-radius: 50px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.22s; }

.fl-fab:hover .fl-fab-label, .fl-fab:focus .fl-fab-label { opacity: 1; }

@media (max-width: 600px) {
  .fl-fab { bottom: 82px; right: 18px; }
}

.fl-modal-bg { position: fixed; inset: 0px; background: rgba(10, 18, 28, 0.52); z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }

.fl-modal-bg.fl-open { display: flex; }

.fl-modal { background: rgb(255, 255, 255); border-radius: 26px; max-width: 680px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: rgba(10, 18, 28, 0.22) 0px 28px 90px; position: relative; animation: 0.3s ease 0s 1 normal none running flSlideUp; }

@keyframes flSlideUp { 
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0px); }
}

.fl-modal-head { padding: 30px 30px 0px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.fl-modal-close { width: 34px; height: 34px; border-radius: 50%; background: rgb(244, 244, 244); border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: rgb(91, 100, 112); flex-shrink: 0; transition: background 0.18s; font-family: inherit; }

.fl-modal-close:hover { background: rgb(255, 224, 224); color: rgb(192, 57, 43); }

.fl-modal-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(36, 52, 71); margin-bottom: 6px; }

.fl-modal-title { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; color: rgb(30, 45, 61); line-height: 1.15; margin-bottom: 6px; letter-spacing: -0.02em; }

.fl-modal-sub { font-size: 0.87rem; color: rgb(91, 100, 112); line-height: 1.7; max-width: 460px; font-weight: 300; }

.fl-modal-body { padding: 24px 30px 32px; }

.fl-scan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }

.fl-scan-card { border-radius: 18px; padding: 22px 16px; text-align: center; cursor: pointer; border: 2px solid transparent; transition: 0.22s; background: rgb(250, 248, 245); }

.fl-scan-card:hover { transform: translateY(-3px); box-shadow: rgba(30, 45, 61, 0.1) 0px 7px 26px; }

.fl-scan-card.active { border-color: rgb(36, 52, 71); background: rgb(240, 248, 241); }

.fl-scan-emoji { font-size: 2rem; margin-bottom: 10px; display: block; }

.fl-scan-name { font-size: 0.9rem; font-weight: 700; color: rgb(30, 45, 61); margin-bottom: 5px; }

.fl-scan-desc { font-size: 0.76rem; color: rgb(91, 100, 112); line-height: 1.55; }

.fl-upload-zone { border: 2px dashed rgba(36, 52, 71, 0.4); border-radius: 18px; padding: 36px 24px; text-align: center; cursor: pointer; transition: 0.22s; background: rgb(250, 251, 250); margin-bottom: 20px; }

.fl-upload-zone:hover { border-color: rgb(36, 52, 71); background: rgb(240, 248, 241); }

.fl-upload-icon { font-size: 2.4rem; margin-bottom: 10px; }

.fl-upload-text { font-size: 0.9rem; font-weight: 600; color: rgb(30, 45, 61); margin-bottom: 4px; }

.fl-upload-sub { font-size: 0.77rem; color: rgb(168, 157, 148); }

.fl-result { background: linear-gradient(135deg, rgb(240, 248, 241), rgb(250, 250, 248)); border-radius: 18px; padding: 22px; display: none; margin-bottom: 20px; }

.fl-result.shown { display: block; animation: 0.3s ease 0s 1 normal none running flSlideUp; }

.fl-result-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(36, 52, 71); margin-bottom: 12px; }

.fl-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }

.fl-result-chip { background: rgb(255, 255, 255); border-radius: 12px; padding: 10px 12px; box-shadow: rgba(30, 45, 61, 0.06) 0px 1px 8px; border: 1px solid rgba(30, 45, 61, 0.05); }

.fl-rc-label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgb(168, 157, 148); margin-bottom: 3px; }

.fl-rc-value { font-size: 0.84rem; font-weight: 600; color: rgb(30, 45, 61); }

.fl-result-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.fl-res-btn { padding: 8px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: 0.18s; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; }

.fl-res-btn-primary { background: linear-gradient(135deg, rgb(36, 52, 71), rgb(49, 70, 95)); color: rgb(255, 255, 255); box-shadow: rgba(36, 52, 71, 0.3) 0px 3px 12px; }

.fl-res-btn-outline { background: rgb(255, 255, 255); color: rgb(30, 45, 61); border: 1.5px solid rgba(30, 45, 61, 0.15); }

.fl-res-btn:hover { transform: translateY(-1px); }

.fl-modal-foot { text-align: center; padding: 0px 30px 28px; }

.fl-modal-foot-note { font-size: 0.76rem; color: rgb(176, 168, 158); }

@media (max-width: 560px) {
  .fl-modal-head, .fl-modal-body, .fl-modal-foot { padding-left: 18px; padding-right: 18px; }
  .fl-scan-grid { grid-template-columns: 1fr; }
  .fl-result-grid { grid-template-columns: 1fr; }
}