.mobile-menu-backdrop,.mobile-navigation{display:none}@media (max-width:760px){.app-shell{display:block;min-height:100dvh}.app-shell .sidebar{display:none}.app-shell .app-main{width:100%;min-width:0;padding-bottom:0}.app-shell .dashboard{padding:22px 14px calc(158px + env(safe-area-inset-bottom,0px))}.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{min-width:0;max-width:100%;font-size:16px}.app-shell input[type=date],.app-shell input[type=month]{min-height:46px;appearance:none;-webkit-appearance:none}.app-shell a,.app-shell button{touch-action:manipulation}.app-shell .button{min-height:46px;padding:10px 14px;font-size:15px;white-space:normal}.app-shell :focus-visible{outline:3px solid #65ae8b;outline-offset:3px}.app-shell .topbar{position:sticky;top:0;height:68px;padding:10px 14px;gap:10px;z-index:25}.app-shell .search-box{flex:1 1;min-width:0;width:auto;height:44px;padding:0 10px;gap:6px}.app-shell .search-box input{width:100%}.app-shell .top-actions{gap:5px;flex-shrink:0}.app-shell .icon-button,.app-shell .user-chip{min-width:44px;min-height:44px;padding:0;justify-content:center}.app-shell .account-menu,.app-shell .notification-center{position:absolute;left:12px;right:12px;top:66px;width:auto;max-height:75dvh;overflow:auto}.app-shell .notification-center article{grid-template-columns:34px minmax(0,1fr) 44px}.app-shell .notification-center article>a{grid-column:2;min-height:44px}.app-shell .notification-center article>button{min-height:44px}.app-shell .page-heading{gap:16px;align-items:stretch;margin-bottom:20px}.app-shell .page-heading h1{font-size:28px;line-height:1.15;overflow-wrap:anywhere}.app-shell .page-heading p{font-size:15px;line-height:1.55}.app-shell .page-heading>.button{width:100%}.app-shell .dashboard-month-trigger{width:100%;min-height:46px}.app-shell .dashboard-month-popover{width:min(320px,calc(100vw - 28px));left:0;right:auto;top:52px}.app-shell .month-picker-grid button,.app-shell .month-picker-today{min-height:44px;font-size:14px}.app-shell .month-picker-year{grid-template-columns:44px 1fr 44px}.app-shell .month-picker-year button{width:44px;height:44px}.app-shell .page-kicker{font-size:11px;letter-spacing:.09em}.app-shell .panel{min-width:0;max-width:100%}.app-shell .panel-header{gap:12px;flex-wrap:wrap}.app-shell .panel-header h2{font-size:19px;line-height:1.3}.app-shell .panel-header button{min-height:44px;font-size:14px}.app-shell .admin-metrics,.app-shell .collection-summary,.app-shell .dashboard-metrics,.app-shell .metric-grid,.app-shell .mini-metric-row,.app-shell .operation-summary,.app-shell .projection-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .metric-card{padding:16px;min-height:120px}.app-shell .metric-value{font-size:clamp(20px,5.7vw,26px);overflow-wrap:anywhere}.app-shell .metric-card.featured{grid-column:1/-1}.app-shell .metric-card.featured .metric-value{font-size:32px}.app-shell .collection-summary>button,.app-shell .collection-summary>div,.app-shell .projection-cards>article{padding:15px;min-width:0}.app-shell .projection-cards>article:last-child{grid-column:1/-1}.app-shell .collection-summary b,.app-shell .projection-cards b{font-size:23px;overflow-wrap:anywhere}.app-shell .mini-metric-row>div{padding:10px;border:0}.app-shell .mini-metric-row b{font-size:17px}.app-shell .collection-toolbar,.app-shell .table-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:14px}.app-shell .inline-search{width:100%;max-width:none;min-height:46px}.app-shell .filter-tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:5px}.app-shell .filter-tabs button{min-height:42px;padding:8px 10px;font-size:13px;white-space:nowrap}.app-shell .customer-table{min-width:0;padding:0 12px 12px}.app-shell .customer-table .table-head{display:none}.app-shell .customer-table .table-row:not(.table-head){display:grid;grid-template-columns:1.2fr 1fr .6fr;gap:14px 8px;margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:14px;font-size:14px}.app-shell .customer-table .table-row>span{min-width:0;overflow-wrap:anywhere}.app-shell .customer-table .table-row>span:first-child,.app-shell .customer-table .table-row>span:nth-child(2){grid-column:1/-1}.app-shell .customer-cell>b{font-size:17px}.app-shell .customer-table small{white-space:normal;font-size:13px;line-height:1.45}.app-shell .customer-table .table-row>span:nth-child(4):before{content:"Em aberto";display:block;margin-bottom:5px;color:var(--muted);font-size:12px}.app-shell .customer-table .table-row>span:last-child{grid-column:1/-1;padding-top:10px;border-top:1px solid var(--line);color:var(--green);font-weight:700}.app-shell .collection-list{overflow:visible;padding:0 12px 12px}.app-shell .collection-list article{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(98px,auto);gap:13px 10px;padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:14px}.app-shell .collection-list article>.status-orb{grid-column:1;grid-row:1}.app-shell .collection-list article>.collection-person{grid-column:2/-1;grid-row:1}.app-shell .collection-person small,.app-shell .collection-person strong{white-space:normal;overflow-wrap:anywhere}.app-shell .collection-person strong{font-size:17px}.app-shell .collection-person small{font-size:13px;line-height:1.4}.app-shell .collection-list article>div.collection-date{display:block;grid-column:1/3;grid-row:2}.app-shell .collection-list article>div.collection-amount{display:block;grid-column:3;grid-row:2;text-align:right}.app-shell .collection-list article>div.collection-fee{display:block;grid-column:1/3;grid-row:3}.app-shell .collection-list article>.status-tag{display:block;grid-column:3;grid-row:3;justify-self:end;align-self:center;font-size:12px;white-space:normal}.app-shell .collection-amount b,.app-shell .collection-date b{font-size:17px}.app-shell .collection-list article>div.collection-actions{display:grid;grid-column:1/-1;grid-row:4;width:100%;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:12px}.app-shell .collection-actions .collection-whatsapp{display:flex;width:100%;min-height:46px;padding:8px;justify-content:center;align-items:center;font-size:14px}.app-shell .collection-actions .collection-whatsapp:after{content:none}.app-shell .collection-actions .collection-action-placeholder{width:auto;height:0}.app-shell .operation-card{margin:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.app-shell .operation-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px;gap:16px 10px}.app-shell .operation-main>.operation-kind{display:none}.app-shell .operation-main>div:first-of-type{grid-column:1/-1;padding-right:20px}.app-shell .operation-main>div:nth-of-type(n+2){display:block;min-width:0}.app-shell .operation-main small,.app-shell .operation-main strong{white-space:normal;overflow-wrap:anywhere}.app-shell .operation-main>i{grid-column:3;justify-self:end}.app-shell .operation-actions{display:flex;flex-wrap:wrap;padding:0 16px 16px}.app-shell .operation-actions button,.app-shell .operation-actions button:not(:first-child){display:block;min-height:44px;font-size:14px}.app-shell .operation-details{padding:16px}.app-shell .contract-installments article{grid-template-columns:minmax(0,1fr) auto;gap:12px}.app-shell .contract-installments article>button{grid-column:1/-1;min-height:44px;font-size:14px}.app-shell .calculator-layout,.app-shell .contract-editor,.app-shell .form-grid,.app-shell .sale-layout,.app-shell .support-layout{grid-template-columns:minmax(0,1fr)}.app-shell .calculator-form,.app-shell .calculator-result,.app-shell .sale-form{padding:18px}.app-shell .contract-editor>label,.app-shell .form-grid>label{min-width:0}.app-shell .form-grid input,.app-shell .form-grid select{width:100%;min-height:46px}.app-shell .segment-control button{min-height:48px;font-size:14px;padding:8px 4px}.app-shell .late-fee-box{flex-wrap:wrap;gap:14px;padding:14px}.app-shell .late-fee-box .toggle-line{min-width:0}.app-shell .toggle-line>i{flex-shrink:0}.app-shell .custom-payment-date>button{width:44px;height:44px}.app-shell .custom-payment-date{grid-template-columns:minmax(0,1fr) 44px}.app-shell .sale-summary{position:static;padding:20px}.app-shell .sale-summary dl div{gap:15px;font-size:15px}.app-shell .sale-summary dd{text-align:right}.app-shell .margin-presets{flex-wrap:wrap}.app-shell .margin-presets button{min-height:44px;font-size:14px}.app-shell .drawer-backdrop{overscroll-behavior:contain}.app-shell .customer-drawer{width:100%;padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));height:100%;max-height:100dvh}.app-shell .drawer-close{width:44px;height:44px}.app-shell .partial-payment-card{top:auto;bottom:0;left:0;transform:none;width:100%;max-height:94dvh;padding:22px 18px calc(22px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;overscroll-behavior:contain}.app-shell .partial-payment-head>button{width:44px;height:44px;flex-shrink:0}.app-shell .partial-payment-card>label{font-size:15px}.app-shell .projection-table{max-width:100%;overflow-x:auto}.app-shell .projection-table .data-table{min-width:610px}.app-shell .daily-month-picker{width:100%;justify-content:space-between}.app-shell .daily-month-picker button{width:44px;height:46px}.app-shell .daily-month-picker label{flex:1 1}.app-shell .chat-messages{height:clamp(260px,50dvh,450px);padding:16px}.app-shell .chat-bubble{max-width:92%;font-size:16px}.app-shell .chat-input{gap:8px;padding:12px}.app-shell .chat-input input{min-width:0;width:0;min-height:46px}.app-shell .chat-input button{min-height:46px}.app-shell .floating-assistant{width:50px;height:50px;max-width:50px;touch-action:none;-webkit-touch-callout:none}.app-shell .floating-assistant-panel{position:fixed;left:10px!important;right:10px;top:auto!important;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;max-height:calc(100dvh - 108px);display:flex;flex-direction:column;z-index:38}.app-shell .assistant-body{overflow:auto;min-height:0;flex:1 1}.app-shell .assistant-conversation{max-height:42dvh}.app-shell .assistant-head{flex-shrink:0}.app-shell .assistant-head>button{min-width:44px;min-height:44px}.app-shell .assistant-message{max-width:94%;font-size:16px}.app-shell .assistant-chips button{min-height:44px}.app-shell .floating-assistant-panel form{flex-shrink:0}.app-shell .floating-assistant-panel form input{min-height:46px;min-width:0;width:0;flex:1 1}.app-shell .floating-assistant-panel form button{min-width:46px;min-height:46px}.app-shell .toast{bottom:calc(92px + env(safe-area-inset-bottom,0px));left:14px;right:14px;width:auto;transform:none;font-size:15px}.app-shell .demo-readonly-banner{flex-wrap:wrap;gap:10px;padding:12px 14px}.app-shell .demo-readonly-banner button{min-height:44px}.mobile-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #dce7df;box-shadow:0 -4px 20px #163d2710;z-index:35}.mobile-navigation>button{border:0;background:transparent;border-radius:12px;min-height:58px;padding:6px 2px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:#65756c}.mobile-navigation>button.active{background:var(--green-soft);color:var(--green)}.mobile-navigation>button>span{font-size:22px;line-height:1}.mobile-navigation>button>b{font-size:11px;line-height:1.2;white-space:nowrap}.mobile-menu-backdrop{display:flex;align-items:flex-end;position:fixed;inset:0;z-index:45;background:#132c2355}.mobile-page-menu{width:100%;max-height:90dvh;overflow:auto;overscroll-behavior:contain;border-radius:22px 22px 0 0;background:white;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 32px #132c2320}.mobile-page-menu>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.mobile-page-menu>header b{font-size:20px}.mobile-page-menu>header small{display:block;margin-top:5px;color:var(--muted);font-size:14px}.mobile-page-menu>header button{width:44px;height:44px;border:0;border-radius:12px;background:#f1f5f2;font-size:25px}.mobile-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-menu-grid button{display:flex;align-items:center;gap:9px;min-height:56px;padding:10px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:white;font-size:14px;text-align:left;line-height:1.35}.mobile-menu-grid button>span{color:var(--green);font-size:20px;flex-shrink:0}.mobile-menu-grid button.active{border-color:#99cdb0;color:var(--green);background:var(--green-soft);font-weight:700}.mobile-page-menu>footer{display:flex;gap:10px;margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.mobile-page-menu>footer button{flex:1 1;min-height:44px;border:0;border-radius:10px;background:#f1f6f3;color:var(--green);font-size:14px}}@media (max-width:360px){.app-shell .dashboard{padding-inline:10px}.app-shell .collection-summary,.app-shell .dashboard-metrics,.app-shell .projection-cards{grid-template-columns:1fr}.mobile-menu-grid{gap:6px}.mobile-menu-grid button{font-size:13px}}@media(max-width:760px){.app-shell .custom-payment-date{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.app-shell .custom-payment-date>button{grid-column:3;grid-row:2}}