/* Voice command v2: central nav action + editable review sheet */
.fc-bottom-voice{padding-bottom:max(8px,env(safe-area-inset-bottom))!important;overflow:visible!important}
.fc-bottom-voice .nav{min-width:0!important}
.fc-voice-nav{position:relative!important;overflow:visible!important;background:transparent!important}
.fc-voice-nav .fc-voice-orb{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;margin:-27px auto 3px;background:linear-gradient(145deg,#c75a22,#8b310e);color:#fff;border:5px solid rgba(255,255,255,.92);box-shadow:0 10px 26px rgba(124,44,11,.34),0 0 0 1px rgba(124,44,11,.12);transition:transform .16s ease,box-shadow .16s ease}
.fc-voice-nav:active .fc-voice-orb{transform:scale(.94);box-shadow:0 5px 15px rgba(124,44,11,.28)}
.fc-voice-nav .fc-voice-orb svg{width:25px!important;height:25px!important;display:block!important;stroke-width:2.15}
.fc-voice-nav>span:last-child{font-weight:800!important;color:#9a3d16!important}
.fc-settings-top svg{width:21px!important;height:21px!important}

.modal-wrap:has(.fc-voice-sheet){background:rgba(7,11,13,.64)!important;backdrop-filter:blur(12px) saturate(.8)!important;-webkit-backdrop-filter:blur(12px) saturate(.8)!important}
.modal-wrap:has(.fc-voice-sheet) .modal{padding:0!important;max-height:88dvh!important;overflow:hidden!important;border-radius:28px 28px 0 0!important;background:#fbf9f6!important;box-shadow:0 -24px 70px rgba(0,0,0,.24)!important}
.fc-voice-sheet{display:flex;flex-direction:column;max-height:88dvh;color:#211a17}
.fc-voice-head{padding:10px 20px 14px;position:sticky;top:0;background:#fbf9f6;z-index:5;border-bottom:1px solid rgba(61,35,21,.07)}
.fc-voice-grab{width:48px;height:5px;border-radius:99px;background:#c9c4bf;margin:0 auto 14px}
.fc-voice-titlebar{display:flex;align-items:center;gap:12px}
.fc-voice-title-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#c85a22,#91330e);color:#fff;box-shadow:0 8px 18px rgba(150,52,13,.22)}
.fc-voice-title-icon svg{width:22px!important;height:22px!important}
.fc-voice-title{min-width:0;flex:1}.fc-voice-title b{display:block;font-size:19px;line-height:1.1}.fc-voice-title small{display:block;color:#8a7d75;margin-top:4px;font-size:12px}
.fc-voice-close{width:40px;height:40px;border:0;border-radius:14px;background:#eeeae6;color:#2b2522;font-size:24px;line-height:1}
.fc-voice-body{padding:14px 18px 20px;overflow:auto;-webkit-overflow-scrolling:touch}
.fc-voice-sentence{padding:15px 16px;border:1px solid rgba(135,73,36,.12);border-radius:18px;background:linear-gradient(135deg,#fffaf5,#f8eee6);font-size:16px;font-weight:800;line-height:1.35;color:#3a261b;margin-bottom:14px}
.fc-voice-sentence em{font-style:normal;color:#a44317}
.fc-voice-field{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid rgba(55,35,24,.08)}
.fc-voice-field:last-child{border-bottom:0}
.fc-voice-label{font-size:15px;font-weight:800;color:#3b312c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-voice-select{width:100%;height:48px;border:1px solid rgba(57,36,23,.12);border-radius:15px;background:#f1eeeb;padding:0 38px 0 14px;font:inherit;font-weight:800;color:#221b18;outline:none}
.fc-qty{display:grid;grid-template-columns:48px minmax(42px,1fr) 48px;align-items:center;gap:8px}
.fc-qty button{width:48px;height:46px;border:0;border-radius:14px;background:#ece8e4;color:#54483f;font-size:27px;line-height:1;font-weight:500;box-shadow:inset 0 0 0 1px rgba(71,45,29,.06)}
.fc-qty button:last-child{background:#f4e5da;color:#a84618}
.fc-qty strong{font-size:22px;text-align:center;font-variant-numeric:tabular-nums}
.fc-money-input{width:100%;height:46px;border:1px solid rgba(57,36,23,.12);border-radius:14px;background:#f1eeeb;padding:0 14px;font:inherit;font-weight:800;color:#221b18;box-sizing:border-box}
.fc-voice-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:10px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:#fbf9f6;border-top:1px solid rgba(55,35,24,.08);position:sticky;bottom:0;z-index:5}
.fc-voice-actions button{height:52px;border-radius:16px;border:0;font:inherit;font-weight:900;font-size:15px}.fc-voice-retry{background:#ece9e6;color:#2b2521}.fc-voice-confirm{background:linear-gradient(135deg,#c75a22,#94350f);color:white;box-shadow:0 10px 22px rgba(145,50,13,.20)}
.fc-voice-listen{padding:22px 20px 26px;text-align:center}.fc-voice-listen .voice-mic{width:76px!important;height:76px!important;margin:4px auto 16px!important;border-radius:24px!important}.fc-voice-listen .voice-mic svg{width:32px!important;height:32px!important}.fc-voice-live{min-height:24px;margin:14px 0 0;font-weight:800;color:#4a3c34;line-height:1.35}
@media(max-width:370px){.fc-voice-field{grid-template-columns:92px minmax(0,1fr);gap:8px}.fc-voice-label{font-size:14px}.fc-qty{grid-template-columns:44px minmax(36px,1fr) 44px}.fc-qty button{width:44px}}

/* v40: voice sheet behaves like a native bottom sheet */
.fc-voice-modal-wrap .modal:before,.fc-voice-modal-wrap .modal>.modal-head{display:none!important}
.fc-voice-modal-wrap .modal{touch-action:pan-y;will-change:transform;transition:transform .22s cubic-bezier(.2,.8,.2,1)!important}
.fc-voice-modal-wrap .fc-voice-head{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.fc-voice-modal-wrap.fc-dragging .modal{transition:none!important}
.fc-voice-modal-wrap.fc-dragging .fc-voice-head{cursor:grabbing}
/* v45: voice drag owns transform completely; cancel generic modal animation */
.fc-voice-modal-wrap .modal{animation:none!important;animation-fill-mode:none!important;transform:translate3d(0,0,0);touch-action:none!important}
.fc-voice-modal-wrap .fc-voice-head{touch-action:none!important}
.fc-voice-modal-wrap.fc-dragging{touch-action:none!important}
