/* Experiência de telefone, isolada das telas de tablet e computador. */
@media(max-width:767px),(max-height:600px) and (max-width:1000px) and (pointer:coarse){
 body.ss-mobile-mode:has(.ss-mobile-nav){background:#f2f7f5}
 body.ss-mobile-mode:has(.ss-mobile-nav) .sidebar{display:none!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .main-area{width:100%;margin:0;min-width:0}
 body.ss-mobile-mode:has(.ss-mobile-nav) .topbar{min-height:58px;padding:8px 18px;position:relative;gap:8px}
 body.ss-mobile-mode:has(.ss-mobile-nav) .mobile-menu{display:none!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .breadcrumb{font-size:12px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body.ss-mobile-mode:has(.ss-mobile-nav) .content{width:100%;max-width:none;box-sizing:border-box;padding:16px 16px calc(100px + env(safe-area-inset-bottom));overflow-wrap:anywhere}
 body.ss-mobile-mode:has(.ss-mobile-nav) .direct-layout{display:flex;flex-direction:column;gap:12px}
 body.ss-mobile-mode:has(.ss-mobile-nav) .direct-people{width:100%;max-width:none;max-height:250px;overflow:auto}
 body.ss-mobile-mode:has(.ss-mobile-nav) .conversation{min-width:0;min-height:360px}
 body.ss-mobile-mode:has(.ss-mobile-nav) .messages{max-height:45vh;overflow:auto}
 .ss-mobile-nav{position:fixed;z-index:120;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid #dbe9e1;box-shadow:0 -8px 28px #153d2b12;padding:7px 4px calc(7px + env(safe-area-inset-bottom))}
 .ss-mobile-nav a,.ss-mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:0;min-height:48px;padding:3px;color:#60796d;text-decoration:none;border:0;background:transparent;font:600 10px/1.2 inherit}
 .ss-mobile-nav svg{width:20px;height:20px}.ss-mobile-nav [aria-current=page]{color:#00845a}.ss-mobile-nav [aria-current=page] svg{stroke-width:2.5}
 .ss-mobile-home{max-width:560px;margin:auto;color:#153c2c}.ss-mobile-welcome{padding:12px 2px 20px}.ss-mobile-welcome>span{font-size:10px;letter-spacing:.14em;font-weight:800;color:#07845a}.ss-mobile-welcome h1{font-size:clamp(25px,7vw,32px);letter-spacing:-.035em;line-height:1.15;margin:9px 0}.ss-mobile-welcome p{font-size:14px;line-height:1.5;color:#627a6f;margin:0}
 .ss-mobile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.ss-mobile-metrics button{border:1px solid #dcebe3;background:#fff;border-radius:16px;box-shadow:0 5px 20px #143e2d0a;text-align:left;padding:17px;color:#153c2c}.ss-mobile-metrics strong{display:block;font-size:26px;line-height:1.1;color:#087f58}.ss-mobile-metrics span{display:block;font-size:12px;margin-top:6px;color:#5d7569}
 .ss-mobile-section{background:#fff;border:1px solid #dfebe4;border-radius:17px;padding:16px;margin-bottom:14px;box-shadow:0 5px 20px #143e2d09}.ss-mobile-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.ss-mobile-section h2{font-size:16px;margin:0}.ss-mobile-section-head a,.ss-mobile-link{color:#008458;font-size:12px;font-weight:700;text-decoration:none;border:0;background:none;padding:5px}
 .ss-mobile-row{display:flex;width:100%;min-width:0;align-items:center;gap:11px;border:0;border-top:1px solid #edf3ef;background:transparent;color:#153c2c;text-align:left;padding:13px 0;font:inherit}.ss-mobile-row>span:nth-last-child(2){flex:1;min-width:0}.ss-mobile-row strong,.ss-mobile-row small{display:block;overflow-wrap:anywhere}.ss-mobile-row strong{font-size:13px;line-height:1.35}.ss-mobile-row small{font-size:11px;line-height:1.4;color:#71877c;margin-top:4px}.ss-mobile-row>span:last-child{color:#80a397;font-size:22px}.ss-mobile-date{flex:0 0 60px;color:#07845a;font-weight:700;font-size:11px}.ss-mobile-dot{flex:0 0 9px;width:9px;height:9px;background:#078b60;border-radius:50%}.ss-mobile-dot.late{background:#c96151}.ss-mobile-empty{font-size:13px;color:#72887d;margin:12px 0 3px}
 .ss-mobile-quick a{display:flex;align-items:center;gap:12px;padding:16px;background:#e5f4eb;border-radius:15px;color:#075b3c;text-decoration:none;font-weight:700}.ss-mobile-quick svg{width:21px}.ss-mobile-quick span{flex:1}.ss-mobile-quick small{display:block;font-weight:400;margin-top:4px;color:#527667}
 .ss-mobile-install{display:flex;align-items:center;gap:10px;background:#103f31;color:#fff;border-radius:15px;padding:13px;margin-bottom:14px}.ss-mobile-install div{flex:1;min-width:0}.ss-mobile-install strong,.ss-mobile-install span{display:block}.ss-mobile-install strong{font-size:13px}.ss-mobile-install span{font-size:11px;line-height:1.35;color:#d1e9db;margin-top:3px}.ss-mobile-install button{border:0;background:#fff;border-radius:9px;color:#086544;font-size:12px;font-weight:700;padding:9px}.ss-mobile-install button:last-child{background:transparent;color:#fff;font-size:20px;padding:4px}
 .ss-mobile-more{display:grid;gap:4px;padding:10px 0}.ss-mobile-more a,.ss-mobile-more button{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px;color:#164833;background:transparent;border:0;text-decoration:none;font:600 14px inherit;text-align:left}.ss-mobile-more svg{width:20px;height:20px}.ss-mobile-modal{line-height:1.5}
 body.ss-mobile-mode .unified-pending-dock{bottom:calc(66px + env(safe-area-inset-bottom));max-height:45vh;overflow:auto}
 body.ss-mobile-mode #diagnosticLivePanel{bottom:calc(80px + env(safe-area-inset-bottom))!important}
 /* Os avisos fazem parte da página e nunca cobrem os controles. */
 body.ss-mobile-mode:has(.ss-mobile-nav).has-pending-dock .main-area{margin-right:0!important;width:100%!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .unified-pending-dock{position:relative!important;inset:auto!important;width:auto!important;max-height:180px!important;overflow:auto!important;padding:11px 12px!important;margin:0 0 14px!important;border:1px solid #e3ebe5!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .unified-pending-head{padding:0 0 6px!important}.ss-mobile-mode .unified-pending-head h2{font-size:13px!important;margin:2px 0!important}.ss-mobile-mode .unified-pending-head .eyebrow{font-size:9px!important}.ss-mobile-mode .unified-pending-list{display:flex!important;gap:8px;overflow:auto}.ss-mobile-mode .unified-pending-item{flex:1 0 240px;padding:8px 10px!important;margin:0!important}.ss-mobile-mode .unified-pending-item strong{font-size:12px}.ss-mobile-mode .unified-pending-item small{font-size:11px}
 body.ss-mobile-mode:has(.ss-mobile-nav) .topbar{display:flex!important;align-items:center;justify-content:space-between}.ss-mobile-mode .topbar .breadcrumb,.ss-mobile-mode .topbar .header-client-context{display:none!important}.ss-mobile-context{display:flex;align-items:center;gap:8px;min-width:0;max-width:65%;border:0;background:#f2f8f4;padding:7px 9px;border-radius:11px;text-align:left;color:#163e2e}.ss-mobile-context>span:nth-child(2){min-width:0}.ss-mobile-context small,.ss-mobile-context strong{display:block}.ss-mobile-context small{font-size:9px;letter-spacing:.08em;color:#719083}.ss-mobile-context strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ss-mobile-context svg{width:18px;height:18px}.ss-mobile-company-list{display:grid;gap:4px;padding:12px 0}.ss-mobile-company-list button{display:flex;gap:10px;align-items:center;min-height:52px;padding:10px;border:0;border-bottom:1px solid #eaf1ec;background:#fff;text-align:left;color:#153e2e}.ss-mobile-company-list button span{flex:1}
 .ss-mobile-indicator{padding:12px 0;border-top:1px solid #edf3ef}.ss-mobile-indicator div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.ss-mobile-indicator i{display:block;height:6px;border-radius:5px;background:#eaf2ed;margin-top:8px;overflow:hidden}.ss-mobile-indicator b{display:block;height:100%;background:#07875d;border-radius:5px}
 body.ss-mobile-mode:has(.ss-mobile-nav) .content:has(.ss-mobile-chat){padding:0 0 calc(72px + env(safe-area-inset-bottom))!important}.ss-mobile-chat .direct-people{display:block!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px!important}.ss-mobile-chat .conversation{display:none!important}.ss-mobile-chat.ss-chat-open .direct-people{display:none!important}.ss-mobile-chat.ss-chat-open .conversation{display:flex!important;flex-direction:column!important;width:100%!important;height:calc(100dvh - 130px)!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.ss-mobile-chat .direct-people>.panel-heading{padding:0 0 12px!important}.ss-mobile-chat .direct-people>.panel-heading h2,.ss-mobile-chat .direct-people>.panel-heading .eyebrow{display:none}.ss-chat-list-title span{font-size:10px;letter-spacing:.14em;color:#07875d;font-weight:800}.ss-chat-list-title h1{font-size:26px;margin:5px 0}.ss-chat-list-title p{font-size:13px;color:#718579;margin:0 0 18px}.ss-mobile-chat .direct-people>button{min-height:64px!important;border-radius:10px!important}.ss-chat-back{border:0;background:transparent;color:#087a54;font-size:32px;line-height:1;padding:0 10px 0 0}.ss-mobile-chat .conversation>.panel-heading{display:flex!important;align-items:center;gap:8px;padding:10px 14px!important}.ss-mobile-chat .conversation>.panel-heading>div{min-width:0}.ss-mobile-chat .direct-focus-toggle{display:none!important}.ss-mobile-chat .messages{flex:1!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.ss-mobile-chat .direct-history-filters{display:flex!important;gap:6px;overflow-x:auto;padding:7px 10px!important;flex:0 0 auto}.ss-mobile-chat .direct-history-filters label{min-width:105px;font-size:10px}.ss-mobile-chat .direct-history-filters input,.ss-mobile-chat .direct-history-filters select{min-height:36px;padding:6px;font-size:16px}.ss-mobile-chat .message-compose{flex:0 0 auto;padding:8px 10px!important}.ss-mobile-chat .message-compose textarea{min-height:44px;max-height:95px;font-size:16px}.ss-mobile-chat .message-compose .fine-print{display:none}.ss-mobile-chat .message-compose>div{display:flex;justify-content:flex-end;gap:8px}
 body.ss-mobile-mode input,body.ss-mobile-mode textarea,body.ss-mobile-mode select{font-size:16px!important}
 body.ss-mobile-mode .content:has(.ss-mobile-chat)>.page-heading{display:none!important}.ss-chat-history{flex:0 0 auto;border-bottom:1px solid #edf3ef}.ss-chat-history summary{padding:8px 16px;font-size:12px;font-weight:600;color:#5b7869;cursor:pointer}.ss-mobile-chat .conversation>.panel-heading h2{font-size:15px}.ss-mobile-chat .conversation>.panel-heading .subtle{font-size:11px}.ss-mobile-chat .conversation>.panel-heading .eyebrow{font-size:9px}
 .ss-mobile-business-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ss-mobile-business-values div{padding:12px;background:#f2f8f4;border-radius:10px;min-width:0}.ss-mobile-business-values small,.ss-mobile-business-values strong{display:block}.ss-mobile-business-values small{font-size:11px;color:#698577}.ss-mobile-business-values strong{font-size:15px;margin-top:4px;color:#075d3e;overflow-wrap:anywhere}.ss-mobile-business p{margin:10px 0 0;font-size:11px;color:#71877c}
 .content:has(.ss-mobile-chat) .ss-mobile-chat.ss-chat-open .conversation{height:calc(100dvh - 130px - var(--ss-mobile-pending-height,0px))!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .main-footer{display:none!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .company-picker:has(.empty){padding:20px!important;min-height:0!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .company-picker .empty{min-height:0!important;padding:24px 12px!important;margin:0!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .content:has(#searchDocuments) .upload-banner{display:none!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .content:has(#searchDocuments) .empty{min-height:0!important;padding:24px 12px!important;margin:0!important}
 body.ss-mobile-mode:has(.ss-mobile-nav) .content{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
 body.ss-mobile-mode .login{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:100dvh!important;height:auto!important}
 body.ss-mobile-mode .login-story{display:none!important}
 body.ss-mobile-mode .login-form{width:100%!important;min-width:0!important;min-height:100dvh!important;box-sizing:border-box!important;overflow:visible!important}
 .ss-mobile-nav a,.ss-mobile-nav button{position:relative;transition:color .18s ease}
 .ss-nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:27px;border-radius:13px;color:inherit}
 .ss-mobile-nav [aria-current=page] .ss-nav-icon{background:#e6f4ec;color:#00845a}
 .ss-nav-badge{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border:2px solid white;border-radius:99px;background:#c64b46;color:#fff;font:700 10px/1 Arial,sans-serif;box-sizing:border-box}
 .ss-mobile-mode .topbar [data-action=agenda]{position:relative}.ss-alert-dot{position:absolute;right:2px;top:2px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#c64b46}
 /* Preparação do cliente: a altura acompanha o conteúdo, sem margens de desktop. */
 body.ss-mobile-mode .client-workspace-lock{box-sizing:border-box;min-height:0!important;height:auto!important;padding:16px!important}
 body.ss-mobile-mode .workspace-lock-panel{box-sizing:border-box;width:100%;margin:0 auto!important;padding:22px 20px!important}
 body.ss-mobile-mode .workspace-lock-panel>img{max-width:140px!important;margin-bottom:14px!important}
 body.ss-mobile-mode .workspace-lock-panel>h1{font-size:clamp(23px,6vw,29px);line-height:1.15;margin:7px 0!important}
 body.ss-mobile-mode .workspace-lock-panel>p{font-size:13px;line-height:1.45;margin:0 0 10px!important}
 body.ss-mobile-mode .workspace-lock-panel>.notice{margin-top:12px!important;padding:12px!important}
 body.ss-mobile-mode .workspace-lock-panel .workflow-steps .notice{margin-top:8px!important;padding:10px 12px!important}
 body.ss-mobile-mode .workspace-lock-panel .workflow-steps small{font-size:11px}
 body.ss-mobile-mode .workspace-lock-panel .modal-actions{margin-top:12px!important;padding-top:12px!important}
 body.ss-mobile-mode main.content:has(#mandatoryMonthlyPortraitForm),body.ss-mobile-mode main.onboarding-page{box-sizing:border-box;min-height:0!important;height:auto!important;padding:16px!important}
 body.ss-mobile-mode main.content:has(#mandatoryMonthlyPortraitForm)>section,body.ss-mobile-mode main.onboarding-page .onboarding-shell{width:100%;box-sizing:border-box;margin:0 auto!important}
 body.ss-mobile-mode main.content:has(#mandatoryMonthlyPortraitForm)>section{padding:22px 20px!important}
}
@media(max-height:600px) and (max-width:1000px) and (pointer:coarse){body.ss-mobile-mode:has(.ss-mobile-nav) .unified-pending-dock{max-height:90px!important}.ss-mobile-chat .conversation>.panel-heading .subtle{display:none}}
.ss-mobile-context strong{font-size:13px;line-height:1.35;letter-spacing:0;font-weight:650}
