/* Navegação e leitura em telas menores. Carregado após os estilos existentes. */
.sidebar-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sidebar-close,.mobile-nav-toggle,.mobile-nav-backdrop{display:none}
.cloud-backup{position:relative;overflow:hidden;background:radial-gradient(circle at 100% 0%,#0c507344,transparent 42%),linear-gradient(145deg,#091c30,#061322);border-color:#245171}
.cloud-backup-heading{align-items:flex-start}
.cloud-backup-heading h2{font-size:24px;margin:5px 0 3px}
.cloud-backup-heading p{margin:0;font-size:13px}
.cloud-provider{flex:none;color:#a9e7f5;background:#0c3148;border:1px solid #2b667d;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700}
.cloud-backup-live{display:flex;align-items:center;gap:13px;margin:22px 0 13px;padding:17px 20px;background:#04111f99;border:1px solid #245171;border-radius:14px}
.cloud-backup-pulse{width:11px;height:11px;flex:none;border-radius:50%;background:#19dcff;box-shadow:0 0 0 5px #19dcff22,0 0 18px #19dcff77}
.cloud-backup-state{margin:0;font-size:18px;line-height:1.3}
.cloud-backup-meter{gap:16px;margin:17px 0 7px}
.cloud-backup-bar{height:15px}
.cloud-backup-meter strong{font-size:19px;min-width:58px}
.cloud-backup-details{margin:10px 0 0;font-size:13px}
.cloud-backup-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:18px 0}
.cloud-backup-files li{background:#071f32;border:1px solid #234b65;border-radius:9px;padding:10px 12px}
.cloud-backup-updated{font-size:11px;margin:16px 0 0}
.admin-view details.ops-project{border:1px solid #214663;border-radius:14px;overflow:hidden;padding:0!important;background:#07182a}
.ops-project-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:88px;padding:20px 24px;list-style:none;cursor:pointer;background:linear-gradient(110deg,#0b253b,#07182a);transition:background .2s ease}
.ops-project-summary::-webkit-details-marker{display:none}
.ops-project-summary:hover{background:linear-gradient(110deg,#103451,#092238)}
.ops-project-summary:focus-visible{outline:2px solid #19dcff;outline-offset:-4px}
.ops-project-summary-title{display:grid;gap:3px;min-width:0}
.ops-project-summary-title strong{font-size:19px;color:#f3faff;line-height:1.25}
.ops-project-summary-title small{color:#8eacc3;font-size:12px}
.ops-project-summary-side{display:flex;align-items:center;gap:14px;flex:none}
.ops-summary-ok,.ops-summary-warning,.ops-summary-progress{font-size:11px;font-weight:700;border-radius:999px;padding:6px 10px;white-space:nowrap}
.ops-summary-ok{background:#0d3c38;color:#8af0cf}
.ops-summary-warning{background:#4b271d;color:#ffb79c}
.ops-summary-progress{background:#123a55;color:#89ddff}
.ops-chevron{display:grid;place-items:center;width:32px;height:32px;border:1px solid #315a74;border-radius:9px;color:#8bdfff;font-size:23px;line-height:1;transition:transform .2s ease}
.ops-project[open] .ops-chevron{transform:rotate(180deg)}
.ops-project-body{padding:22px 24px 24px;border-top:1px solid #214663}
.ops-project-body>.section-title{align-items:flex-start;gap:18px}
.ops-project-body>.section-title p{margin:0 0 12px;font-size:12px}
.ops-project-body>.section-title .row-actions{justify-content:flex-end}
.ops-project-body>.section-title button{border-color:#275777;background:#0c2940;color:#c2edfa}
.ops-project-body>.section-title button:hover{background:#124364}
.ops-project .ops-backups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 20px;padding:0}
.ops-backup-card{min-width:0;display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#0b2439,#071a2d);border:1px solid #234967;border-radius:13px;padding:15px}
.ops-backup-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;color:#6ddfff;background:#103b56;font-size:21px}
.ops-backup-card>div{min-width:0;flex:1}
.ops-backup-card small,.ops-backup-card strong,.ops-backup-card div>span{display:block}
.ops-backup-card small{font-size:10px;letter-spacing:1px;color:#74b9d2}
.ops-backup-card strong{margin-top:4px;color:#eef9ff;font-size:15px}
.ops-backup-card div>span{color:#8eaec5;font-size:11px}
.ops-backup-card a{flex:none;color:#7beaff;font-size:12px;font-weight:700;padding:9px 10px;border:1px solid #31617b;border-radius:8px}
.ops-project .table-wrap{border-radius:11px}
@media(max-width:1050px){
 .workspace{min-width:0}
 .metrics{gap:12px}
 .metrics article{padding:19px}
 .columns,.hosting-grid{grid-template-columns:1fr}
 .section-title{flex-wrap:wrap}
 .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .table-wrap table{min-width:620px}
}
@media(max-width:900px){
 html,body{max-width:100%;overflow-x:hidden}
 body.nav-open{overflow:hidden}
 .app-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,342px)!important;height:100vh;height:100dvh;z-index:1002;display:flex!important;flex-direction:column!important;padding:20px 17px calc(18px + env(safe-area-inset-bottom))!important;border-right:1px solid #27506c;border-bottom:0!important;overflow-y:auto!important;overflow-x:hidden!important;transform:translateX(-105%);visibility:hidden;transition:transform .25s ease,visibility .25s ease;box-shadow:20px 0 55px #0009}
 .nav-open .app-sidebar{transform:translateX(0);visibility:visible}
 .app-sidebar .brand{display:block!important;text-align:left!important}
 .app-sidebar .brand-logo{width:66px;height:66px}
 .app-sidebar .brand small{margin:5px 0 0!important;font-size:9px}
 .sidebar-close{display:grid;place-items:center;flex:none;width:42px;height:42px;min-height:42px;border:1px solid #315a74;background:#132f44;color:#d5f4ff;font-size:28px;line-height:1;padding:0;border-radius:11px}
 .app-sidebar nav{display:grid!important;gap:4px!important;margin:23px 0 20px!important;padding:0!important;overflow:visible!important}
 .app-sidebar nav a{display:flex;align-items:center;min-height:46px;padding:11px 14px!important;white-space:normal!important;font-size:14px}
 .app-sidebar .aside-bottom{display:block!important;margin-top:auto}
 .app-sidebar .aside-bottom button{min-height:44px}
 .mobile-nav-backdrop{position:fixed;inset:0;z-index:1001;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#010a15bb;backdrop-filter:blur(3px)}
 .nav-open .mobile-nav-backdrop{display:block}
 .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;min-height:42px;padding:9px 12px;background:#102c42;border:1px solid #28516e;color:#dbf6ff;border-radius:10px;white-space:nowrap}
 .mobile-nav-toggle span:first-child{font-size:18px;line-height:1}
 .workspace{width:100%;max-width:none;margin:0!important;padding:18px 16px 45px!important}
 .workspace>.top{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:start;gap:12px;margin:0 0 22px;padding:0 0 17px!important}
 .top>div{min-width:0}
 .top .eyebrow{font-size:9px;letter-spacing:1.2px}
 .top h1{font-size:clamp(19px,4.6vw,26px)!important;line-height:1.18;margin:3px 0}
 .top .date{display:none}
 .page-actions{align-items:stretch}
 .page-actions button,.page-actions .button{min-height:44px}
 .panel{padding:19px!important}
 .form-grid{grid-template-columns:1fr}
 input,select,textarea{max-width:100%;font-size:16px}
 button,.button{min-height:44px}
 .row-actions{min-width:0}
 .row-actions button,.row-actions .button{min-height:42px;white-space:normal}
 .app-modal{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px!important;overflow-y:auto}
 .app-modal form.form-grid{grid-template-columns:1fr}
 .ops-project-summary{min-height:80px;padding:16px}
 .ops-project-summary-title strong{font-size:17px}
 .ops-project-summary-title small{font-size:11px}
 .ops-project-body{padding:16px}
 .ops-project-body>.section-title{display:flex;flex-direction:column}
 .ops-project-body>.section-title .row-actions{justify-content:stretch;width:100%}
 .ops-project-body>.section-title .row-actions form{flex:1}
 .ops-project-body>.section-title .row-actions button{width:100%}
 .ops-project .ops-backups{grid-template-columns:1fr}
 .ops-project:not(.ops-history) .table-wrap,.ops-project:not(.ops-history) .table-wrap table{min-width:0;border:0}
 .ops-project:not(.ops-history) .table-wrap thead{display:none}
 .ops-project:not(.ops-history) .table-wrap tbody{display:grid;gap:10px}
 .ops-project:not(.ops-history) .table-wrap tr{display:grid;grid-template-columns:1fr auto;gap:8px 16px;background:#081d30;border:1px solid #21445d;border-radius:12px;padding:14px}
 .ops-project:not(.ops-history) .table-wrap td{display:block;padding:0!important;border:0;min-width:0}
 .ops-project:not(.ops-history) .table-wrap td:first-child{grid-column:1/-1;font-weight:700}
 .ops-project:not(.ops-history) .table-wrap td:nth-child(3){text-align:right;color:#9fbdd1;font-size:12px}
 .ops-project:not(.ops-history) .table-wrap td:last-child{grid-column:1/-1;border-top:1px solid #1c3e58;padding-top:12px!important;margin-top:3px}
 .ops-project:not(.ops-history) .table-wrap .row-actions{display:flex;gap:8px}
 .ops-project:not(.ops-history) .table-wrap .ops-action{flex:1;min-width:0}
 .ops-project:not(.ops-history) .table-wrap .ops-action button{width:100%}
 .ops-project:not(.ops-history) .table-wrap .ops-action .check{max-width:none;width:100%;align-items:flex-start}
}
@media(max-width:600px){
 .workspace{padding:14px 12px 38px!important}
 .workspace>.top{gap:10px}
 .top h1{font-size:19px!important}
 .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .metrics article{padding:14px!important}
 .metrics article:last-child{grid-column:1/-1}
 .metrics strong{font-size:23px!important;margin:5px 0}
 .metrics article>span{font-size:11px}
 .metrics small{font-size:10px}
 .panel{padding:16px!important;margin-bottom:14px}
 .panel h2{font-size:19px}
 .hero{padding:20px}
 .hero h2{font-size:23px}
 .hero-symbol{display:none}
 .cloud-backup-heading{display:block}
 .cloud-provider{display:inline-block;margin-top:12px}
 .cloud-backup-live{padding:14px;gap:10px}
 .cloud-backup-state{font-size:16px}
 .cloud-backup-files{grid-template-columns:1fr}
 .ops-backup-card{flex-wrap:wrap}
 .ops-backup-card a{margin-left:auto}
 .ops-project-summary{gap:8px}
 .ops-project-summary-side{gap:6px}
 .ops-summary-ok,.ops-summary-warning,.ops-summary-progress{font-size:10px;padding:5px 7px}
 .ops-chevron{width:27px;height:27px;font-size:20px}
 .client-record{padding:18px 0}
 .client-actions{grid-template-columns:1fr 1fr}
 .client-actions .button,.client-actions button{white-space:normal}
 .invoice-row{gap:10px;flex-wrap:wrap}
 .invoice-row>*{min-width:0}
 footer{display:block;text-align:center;line-height:1.6}
 footer span{display:block}
}
@media(prefers-reduced-motion:reduce){.app-sidebar,.ops-project-summary,.ops-chevron{transition:none}.cloud-backup-bar span{transition:none}}
