/* FrameCraft mobile foundation: consistent type, spacing, surfaces and controls. */
body.fc-app-refined{--fc-bg:#f5f2ed;--fc-surface:#fffdfa;--fc-ink:#352920;--fc-muted:#786b60;--fc-line:#e5dbce;--fc-accent:#77543b;--fc-soft:#eee4d5;--fc-radius:18px;font-family:Inter,'DM Sans','Noto Sans Devanagari',system-ui,sans-serif;color:var(--fc-ink);font-variant-numeric:tabular-nums;background:var(--fc-bg)}
.fc-section-icon,.fc-action-icon{display:inline-grid;place-items:center;flex:none;vertical-align:middle;line-height:1}.fc-section-icon{width:38px;height:38px;border-radius:12px;background:#eee3d3;color:#795639;margin-right:10px}.fc-section-icon svg{width:22px;height:22px}.fc-action-icon{width:19px;height:19px;margin-right:7px}.fc-action-icon svg{width:18px;height:18px}.fc-empty-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid #e0d2bf;border-radius:14px;margin-bottom:10px;color:#967c60;background:#f8f0e5}.fc-empty-icon svg{width:24px;height:24px}
@media screen and (max-width:760px){
 body.fc-app-refined{font-size:15px;line-height:1.5}
 body.fc-app-refined .main{background:var(--fc-bg);padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
 body.fc-app-refined .topbar{background:#fffdfaf5!important;border-bottom:1px solid #e3d8c9!important;box-shadow:0 3px 14px #40302308!important;border-radius:0 0 16px 16px!important;min-height:60px!important}
 body.fc-app-refined .header-home,body.fc-app-refined #languageSelect,body.fc-app-refined #appHelpButton{background:#fffcf6!important;border-color:#e1d4c3!important;box-shadow:none!important}
 body.fc-app-refined #helpHeaderActions .admin-menu-trigger{background:#59402f!important;box-shadow:none!important;border-color:#59402f!important}
 body.fc-app-refined .content{padding:16px 14px 28px!important;max-width:100%;min-width:0}
 body.fc-app-refined .view{min-width:0}
 body.fc-app-refined .heading{margin:0 0 18px!important;align-items:center;gap:12px}
 body.fc-app-refined .heading h2,body.fc-app-refined .rm-head h2,body.fc-app-refined .bd-head h2{font-size:24px!important;font-weight:780;line-height:1.25!important;letter-spacing:-.55px;margin:0}
 body.fc-app-refined h3{font-size:18px;line-height:1.35;letter-spacing:-.2px}
 body.fc-app-refined h4{font-size:15px;line-height:1.4}
 body.fc-app-refined p{line-height:1.6}
 body.fc-app-refined .heading p{font-size:13px!important;line-height:1.6;color:var(--fc-muted);margin:7px 0 0!important}
 body.fc-app-refined .card,body.fc-app-refined .rm-card,body.fc-app-refined .bd-card,body.fc-app-refined .lp-card,body.fc-app-refined .og-job,body.fc-app-refined .og-bill{border:1px solid var(--fc-line)!important;border-radius:var(--fc-radius)!important;background:var(--fc-surface);padding:17px!important;box-shadow:0 3px 14px #513b2305!important;margin-bottom:14px}
 body.fc-app-refined .card-head{gap:12px;align-items:center;margin-bottom:14px}
 body.fc-app-refined .card-head h3{font-size:17px!important;font-weight:730}
 body.fc-app-refined .card-head p,body.fc-app-refined .bd-meta,body.fc-app-refined .rm-help,body.fc-app-refined .party-help{font-size:13px!important;line-height:1.6!important;color:var(--fc-muted)}
 body.fc-app-refined .field label,body.fc-app-refined .rm-form label,body.fc-app-refined .bd-form label,body.fc-app-refined #view-door-designer label{font-size:13px!important;font-weight:650!important;line-height:1.5;gap:7px}
 body.fc-app-refined input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body.fc-app-refined select,body.fc-app-refined textarea{box-sizing:border-box;max-width:100%;min-height:48px;border:1px solid #d8caba;border-radius:12px;background:#fffefa;color:#382b22;padding:11px 12px;font-size:16px;line-height:1.4}
 body.fc-app-refined textarea{min-height:100px}
 body.fc-app-refined input[type=checkbox],body.fc-app-refined input[type=radio]{accent-color:#77543b;min-width:20px;min-height:20px}
 body.fc-app-refined input:focus-visible,body.fc-app-refined select:focus-visible,body.fc-app-refined textarea:focus-visible{outline:2px solid #aa8055;outline-offset:2px;box-shadow:0 0 0 4px #b28a5c15}
 body.fc-app-refined .form-grid,body.fc-app-refined .bd-form{gap:15px!important}
 body.fc-app-refined .btn,body.fc-app-refined .billing-tab,body.fc-app-refined .subpage-btn{min-height:48px;font-size:14px;line-height:1.35;font-weight:680;border-radius:12px;padding:11px 14px;letter-spacing:0;box-shadow:none}
 body.fc-app-refined .btn.primary{background:#694a34;color:#fffcf7;border:1px solid #694a34}
 body.fc-app-refined .btn.light,body.fc-app-refined .btn.subtle{background:#fffdf8;color:#5c422e;border:1px solid #ddcfbc}
 body.fc-app-refined .btn.small{min-height:44px;font-size:13px;padding:9px 11px}
 body.fc-app-refined button:disabled{opacity:.45;cursor:not-allowed;transform:none}
 body.fc-app-refined .rm-tabs,body.fc-app-refined #billingPartyTabs,body.fc-app-refined .party-subnav,body.fc-app-refined .billing-tabs{gap:6px;background:#ebe3d7;border:0!important;border-radius:14px;padding:5px!important;margin:14px 0 18px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 body.fc-app-refined .rm-tabs button,body.fc-app-refined #billingPartyTabs button,body.fc-app-refined .party-subnav button{border:0!important;border-radius:10px!important;min-height:44px!important;white-space:nowrap;font-size:13px!important;padding:9px 12px!important;background:transparent;color:#76604b}
 body.fc-app-refined .rm-tabs [aria-pressed=true],body.fc-app-refined #billingPartyTabs [aria-selected=true],body.fc-app-refined .party-subnav [aria-selected=true]{background:#fffdf9!important;color:#4b3423!important;box-shadow:0 2px 7px #5038200c;font-weight:750}
 body.fc-app-refined .stats{gap:10px;margin:16px 0}
 body.fc-app-refined .stat{padding:16px!important;border:1px solid var(--fc-line);box-shadow:none;border-radius:16px;min-height:105px;background:#fffdfa}
 body.fc-app-refined .stat-value{font-size:24px!important;line-height:1.2;font-weight:760;letter-spacing:-.6px;margin-top:13px}
 body.fc-app-refined .stat-top,body.fc-app-refined .stat-foot{font-size:12px!important;line-height:1.5;color:#7a6c5e}
 body.fc-app-refined .hero{border-radius:20px;min-height:0;padding:22px 20px;gap:12px;margin:16px 0;background:linear-gradient(135deg,#4f3829,#77533a);box-shadow:none}
 body.fc-app-refined .hero:before,body.fc-app-refined .hero:after{display:none!important}
 body.fc-app-refined .hero .hero-copy{max-width:calc(100% - 76px)}
 body.fc-app-refined .hero h2{font-size:24px;line-height:1.25;letter-spacing:-.55px;font-weight:720;margin-bottom:10px}
 body.fc-app-refined .hero p:not(.eyebrow){font-size:13px;line-height:1.6;color:#eee1d3}
 body.fc-app-refined .hero .eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:12px}
 body.fc-app-refined .hero-art{width:76px;height:118px;flex:0 0 76px;animation:none}
 body.fc-app-refined .hero-art>svg{width:76px;height:118px}
 body.fc-app-refined .hero .btn{background:#f1dfc3;color:#503725;border:0;font-size:13px;min-height:44px;margin-top:15px}
 body.fc-app-refined #portalDesignCards{padding:16px!important;margin:0 0 14px;background:#fffdfa}
 body.fc-app-refined #portalDesignCards h3{font-size:17px;margin:0 0 7px}
 body.fc-app-refined #portalDesignCards p{font-size:13px!important;color:#81705f;margin:0 0 12px}
 body.fc-app-refined #portalDesignCards .customer-directory-list{display:flex;gap:8px;flex-wrap:wrap}
 body.fc-app-refined #portalDesignCards .customer-directory-list button{flex:1 1 110px;text-align:left;min-height:46px!important}
 body.fc-app-refined .dashboard-shortcut{padding:14px!important;min-height:70px;border:1px solid var(--fc-line);border-radius:16px;box-shadow:none}
 body.fc-app-refined .dashboard-shortcut b{font-size:15px!important;font-weight:720}
 body.fc-app-refined .dashboard-shortcut small{font-size:12px!important;line-height:1.5;margin-top:5px}
 body.fc-app-refined .shortcut-icon{background:#eee3d3;border-radius:12px;width:42px;height:42px}
 body.fc-app-refined .rm-summary{gap:10px;margin:16px 0}
 body.fc-app-refined .rm-summary>div{padding:15px!important;border-radius:15px;background:#fffdfa;border:1px solid var(--fc-line)}
 body.fc-app-refined .rm-summary small{font-size:12px!important;line-height:1.5}
 body.fc-app-refined .rm-summary b{font-size:21px!important;letter-spacing:-.4px;margin-top:8px}
 body.fc-app-refined .rm-list{border-radius:17px;border:1px solid var(--fc-line)}
 body.fc-app-refined .rm-item{padding:16px 13px;min-height:80px;gap:12px;background:#fffdfa;align-items:center}
 body.fc-app-refined .rm-item b{font-size:15px!important;line-height:1.45}
 body.fc-app-refined .rm-item small{font-size:12px!important;line-height:1.55;color:#7b6c5e}
 body.fc-app-refined .rm-item>span:last-child{flex-shrink:0}
 body.fc-app-refined .rm-item .btn{font-size:12px;padding:8px;min-height:44px}
 body.fc-app-refined .rm-head,.bd-head,.lp-head{gap:12px;align-items:center}
 body.fc-app-refined .rm-tools{gap:8px}
 body.fc-app-refined .rm-tools .btn{flex:1 1 auto}
 body.fc-app-refined .bd-actions{gap:12px;margin:16px 0}
 body.fc-app-refined .bd-action{min-height:145px;padding:17px;border-radius:17px;background:#fffdfa;border:1px solid var(--fc-line);box-shadow:none}
 body.fc-app-refined .bd-action>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eee3d3;color:#795639;font-size:22px}
 body.fc-app-refined .bd-action>span svg{width:24px;height:24px}
 body.fc-app-refined .bd-action b{font-size:15px;line-height:1.4;margin-top:13px}
 body.fc-app-refined .bd-action small{font-size:12px;line-height:1.55;margin-top:6px;color:#857362}
 body.fc-app-refined .lp-card h2{font-size:27px;letter-spacing:-.7px}
 body.fc-app-refined .lp-person b{font-size:16px;line-height:1.4}
 body.fc-app-refined .lp-person small,body.fc-app-refined .lp-staff-due small{font-size:12px;line-height:1.5}
 body.fc-app-refined .lp-actions{gap:9px;margin-top:14px}
 body.fc-app-refined .lp-actions .btn{font-size:13px;min-height:46px}
 body.fc-app-refined .lp-nav{padding:7px;gap:6px;border:1px solid var(--fc-line);border-radius:14px;background:#eee5d7;margin-top:18px}
 body.fc-app-refined .lp-nav button{min-height:48px;font-size:13px;border-radius:10px}
 body.fc-app-refined .table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--fc-line);border-radius:14px}
 body.fc-app-refined .table th,body.fc-app-refined .table td,body.fc-app-refined .bd-table th,body.fc-app-refined .bd-table td{font-size:13px;line-height:1.5;padding:11px 10px}
 body.fc-app-refined .table th,body.fc-app-refined .bd-table th{background:#f0e8dc;font-weight:700;color:#6a503d}
 body.fc-app-refined .empty,body.fc-app-refined .bd-empty,body.fc-app-refined .party-empty{padding:22px!important;text-align:left;font-size:14px;line-height:1.65;background:#faf6ef;border:1px dashed #d9c7b0;border-radius:16px;color:#83715e}
 body.fc-app-refined .party-row{padding:16px!important;border-radius:17px!important;border:1px solid var(--fc-line);background:#fffdfa;min-height:86px!important}
 body.fc-app-refined .party-row h3,body.fc-app-refined .party-row b{font-size:16px!important}
 body.fc-app-refined .party-row p,body.fc-app-refined .party-row small{font-size:12px!important;line-height:1.6}
 body.fc-app-refined #billingPartyDesk .party-sale-card{padding:17px!important;border-radius:18px!important;border-color:var(--fc-line)!important;box-shadow:none}
 body.fc-app-refined #billingPartyDesk .sale-money{padding:15px 0;gap:10px}
 body.fc-app-refined #billingPartyDesk .sale-money strong{font-size:21px!important}
 body.fc-app-refined #billingPartyDesk .sale-money small{font-size:12px!important;line-height:1.5}
 body.fc-app-refined #billingPartyDesk .sale-card-actions{grid-template-columns:minmax(0,1fr) 44px minmax(0,1.1fr);gap:7px}
 body.fc-app-refined #billingPartyDesk .sale-card-actions .btn{min-height:46px;font-size:12px;padding:8px 5px}
 body.fc-app-refined #billingReferenceDock{bottom:calc(72px + env(safe-area-inset-bottom))!important;z-index:24;padding:10px 12px!important;background:#f5f0e8f5;border-top:1px solid #e5d8c8}
 body.fc-app-refined #billingReferenceDock button{min-height:46px;font-size:13px;border-radius:12px;box-shadow:none}
 body.fc-app-refined #billingReferenceDock .party-plus{border-radius:50%;min-height:46px;flex-basis:46px}
 body.fc-app-refined:has(#view-billing.active[data-party-screen="desk"]) .sidebar{display:block!important}
 body.fc-app-refined #ddGraphic{border:1px solid #e2d4c1;border-radius:18px;background:#fffdfa;overflow:hidden;margin:16px 0}
 body.fc-app-refined #ddCaption{font-size:13px;color:#7e6b58;line-height:1.6}
 body.fc-app-refined #ddViewActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 body.fc-app-refined #ddViewActions button{min-height:46px;font-size:13px;padding:9px}
 body.fc-app-refined #view-door-designer .dd-controls{gap:14px;padding:17px}
 body.fc-app-refined #view-door-designer input,body.fc-app-refined #view-door-designer select{font-size:16px;min-height:48px;border-radius:12px;border-color:#d8caba}
 body.fc-app-refined #view-door-designer details summary{font-size:14px;font-weight:680;line-height:1.5;min-height:38px}
 body.fc-app-refined .pv-capture-card{padding:15px;border-radius:17px;border-color:var(--fc-line)}
 body.fc-app-refined .pv-pair img{border-radius:12px}
 body.fc-app-refined .modal{border:1px solid #dfd0bc;border-radius:20px!important;box-shadow:0 20px 70px #32231725}
 body.fc-app-refined .modal-head{padding:16px!important;background:#fffdf8;border-bottom:1px solid #e9dece}
 body.fc-app-refined .modal-head h3{font-size:18px!important;line-height:1.35;margin:0}
 body.fc-app-refined .modal-body{padding:18px 16px!important;background:#fffdf9}
 body.fc-app-refined .modal-foot{padding:12px 16px!important;gap:10px;background:#faf5ec;border-top:1px solid #e5d9c9}
 body.fc-app-refined .modal-foot .btn{min-height:46px;font-size:14px}
 body.fc-app-refined .sidebar{box-shadow:0 -4px 22px #3e2c241a!important}
}
@media(prefers-reduced-motion:reduce){body.fc-app-refined *,body.fc-app-refined *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact, single-row mobile navigation. */
@media(max-width:760px){
 body.fc-app-refined .sidebar{height:calc(72px + env(safe-area-inset-bottom))!important;padding:5px 5px calc(5px + env(safe-area-inset-bottom))!important}
 body.fc-app-refined .sidebar #nav.nav{height:60px!important;min-height:0!important;gap:2px!important}
 body.fc-app-refined .sidebar #nav button{height:56px!important;min-height:54px!important;padding:5px 1px!important;gap:3px!important}
 body.fc-app-refined .sidebar #nav button svg{width:21px!important;height:21px!important}
 body.fc-app-refined .sidebar #nav button .nav-label{font-size:12.5px!important;line-height:16px!important}
 body.fc-app-refined .main{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
 body.fc-app-refined #pwaInstallBanner{bottom:calc(86px + env(safe-area-inset-bottom))!important}
}

body.fc-app-refined .bd-action>.fc-icon+span[aria-hidden="true"]{display:none!important}
