/* Telecom Manager V5 — menu superior, tipografia legível, ações seguras da OT */
:root{--bg:#f3f6fb;--ink:#1a2941;--line:#e1e8f2;--shadow:0 10px 34px rgba(28,46,80,.055),0 2px 5px rgba(28,46,80,.025)}
body{background:radial-gradient(ellipse at 90% -20%,#e1e8ff 0,transparent 44%),#f3f6fb;color:#1a2941;font-size:15px}
/* Navigation is exclusively at the top on desktop AND on mobile. */
.sidebar,.bottomnav{display:none!important}
.shell{display:block}.workspace{margin-left:0!important;width:100%;max-width:100%}
.topbar{height:70px;position:relative;top:auto;z-index:1;background:#fff;padding:0 clamp(14px,3vw,38px);border-bottom:1px solid #e9edf4}
.project-control label{font-size:10px;letter-spacing:1px}
.project-control select{font-size:14px;width:clamp(145px,24vw,330px);max-width:330px}
.topbar .btn{min-height:44px;font-size:14px}
.top-nav-shell{position:sticky;top:0;z-index:35;background:#14213a;color:white;box-shadow:0 9px 24px #0b19301f;padding:0 clamp(9px,2.7vw,34px)}
.top-nav-inner{display:flex;align-items:center;gap:22px;max-width:1500px;margin:auto;min-height:79px}
.top-nav-brand{display:flex;align-items:center;gap:11px;color:white;white-space:nowrap;font-size:19px;font-weight:700;letter-spacing:-.6px}
.top-nav-brand .ui-icon{width:34px;height:34px;padding:6px;background:linear-gradient(135deg,#4bc9bb,#4d87ec);border-radius:10px;stroke-width:2.1}
.top-nav-brand b{color:#b5c8fc}
.top-nav-scroll{flex:1;min-width:0;display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x;padding:10px 2px}
.top-nav-scroll::-webkit-scrollbar{display:none}
.top-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:51px;padding:11px 15px;border:1px solid transparent;border-radius:13px;background:transparent;color:#bfcae0;font-weight:720;font-size:14px;white-space:nowrap}
.top-nav-link .ui-icon{width:19px;height:19px}
.top-nav-link:hover{color:#fff;background:#ffffff12}
.top-nav-link.active{color:white;background:linear-gradient(135deg,#495c9d,#35497d);border-color:#8296db55;box-shadow:0 4px 13px #050f2260}
.top-nav-link:focus-visible{outline:3px solid #74d6df;outline-offset:-1px}
.content{max-width:1460px;padding:30px clamp(14px,3.2vw,44px) 65px}
.card{border:1px solid #e3e9f3;border-radius:21px;box-shadow:var(--shadow)}
.page-heading h1{font-size:clamp(27px,3vw,37px);letter-spacing:-.8px}
.page-heading p{font-size:14px;line-height:1.55}
.btn,.btn.sm{min-height:46px;font-size:14px;border-radius:12px;padding:10px 15px}
.btn.sm{min-height:42px;font-size:13px}
.field input,.field textarea,.field select,input.control,select.control,textarea.control{min-height:49px;font-size:15px;border-radius:12px}
.field label{font-size:13px}
.metrics .metric-label{font-size:13px}.metric-note{font-size:12px}
.module-card{min-height:91px}.module-title{font-size:15px}
/* Four sizeable tabs remain inside each OT. */
.ot-main-tabs{top:84px;z-index:21;gap:9px;background:#f3f6fbed;backdrop-filter:blur(14px);padding:9px 0 12px}
.ot-main-tab{min-height:73px;gap:4px;border-radius:15px;padding:10px 5px;background:white;border:1px solid #d7dff0;box-shadow:0 1px 2px #09152b0d}
.ot-main-tab small{font-size:12px;font-weight:800}.ot-main-tab span{font-size:14px;font-weight:800;white-space:normal;line-height:1.15}
.ot-main-tab.active{background:linear-gradient(135deg,#243f7b,#203365);border-color:#344b82;color:white;box-shadow:0 7px 20px #263f812b}
.ot-back{font-size:13px}.ot-heading h1{font-size:clamp(27px,3vw,37px)}.ot-heading p{font-size:14px}
.ot-section{border-radius:21px;box-shadow:var(--shadow)}
.ot-section>summary{padding:18px 20px}.ot-section>summary strong{font-size:17px}
.ot-section-body{padding:0 20px 20px}
.ot-field{font-size:13px}.ot-field input,.ot-field select,.ot-field textarea,.ot-note input{min-height:50px;font-size:15px;border-radius:12px}
.ot-question{padding:18px;border-radius:16px;background:#fdfdff}.ot-question-head strong{font-size:15px;line-height:1.5}
.ot-choice{min-width:88px;flex:1 1 88px}.ot-choice span{font-size:14px;font-weight:800;padding:12px 13px;min-height:47px}
.ot-note{font-size:13px}.ot-note input{font-size:14px}
.ot-final-title h2{font-size:20px}.ot-final-title p{font-size:13px}
.ot-listrow{padding:18px 8px;min-height:91px;border-radius:12px}
.ot-listmain strong{font-size:16px}.ot-listmain small{font-size:12px;line-height:1.5}.ot-listicon{height:45px;width:45px}
.ot-list .chip{font-size:11px}.ot-listrow:hover{background:#f6f8fd}
.ot-trash-trigger{display:flex;justify-content:flex-end;margin:14px 0 8px}
.ot-trash-panel{margin-top:9px;background:#fff}
.ot-trashed-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px;border-top:1px solid #edf0f5}
.ot-trashed-row:first-of-type{border-top:0}
.ot-trashed-row .ot-listmain{min-width:0}
.ot-trashed-row .btn{flex-shrink:0}
.ot-danger-zone{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:30px;padding:17px 18px;background:#fffafa;border:1px solid #f0d9dc;border-radius:16px}
.ot-danger-zone>div{display:flex;flex-direction:column;gap:5px;flex:1}
.ot-danger-zone strong{color:#a3313e;font-size:14px}
.ot-danger-zone small{color:#875e66;font-size:12px;line-height:1.5}
.ot-danger-zone .btn.ot-delete{border-color:#e7b6bd!important;background:#fff!important;color:#a62f42!important;white-space:nowrap}
.ot-danger-zone .btn.ot-delete:hover{background:#ffe9eb!important}
/* Opt-in visual accents for business analytics are retained. */
.finance-tile.tile-red{background:#fff2f3}.finance-tile.tile-green{background:#ebfaf1}
@media(max-width:760px){
  .topbar{height:68px;padding:0 14px}.topbar .project-switch{min-width:0}.topbar .project-control select{width:clamp(120px,43vw,215px);font-size:13px}
  .topbar .top-actions .btn{min-width:44px;min-height:44px;padding:10px}.topbar .top-actions .btn .ui-icon{width:21px;height:21px}
  .top-nav-shell{padding:0 8px}.top-nav-inner{min-height:73px;gap:0}
  .top-nav-brand{display:none}.top-nav-scroll{padding:9px 2px;gap:7px}
  .top-nav-link{min-height:53px;padding:11px 14px;border-radius:13px;font-size:14px}
  .top-nav-link .ui-icon{width:19px;height:19px}
  .content{padding:21px 14px calc(40px + env(safe-area-inset-bottom))}
  .page-heading h1{font-size:29px}.page-heading p{font-size:14px}
  .card{padding:18px;border-radius:19px}
  .metrics{gap:11px}.metric{min-height:139px;padding:15px 12px}.metric-label{font-size:12px}.metric-note{font-size:11px}
  .module-card{min-height:89px;padding:14px}
  .ot-main-tabs{top:74px;gap:6px;margin-top:9px;padding:7px 0 10px}
  .ot-main-tab{min-height:72px;padding:8px 2px;border-radius:12px}
  .ot-main-tab small{font-size:11px}.ot-main-tab span{font-size:12px;line-height:1.2;overflow-wrap:break-word}
  .ot-heading{margin-bottom:18px}.ot-heading h1{font-size:27px}.ot-heading p{font-size:13px}
  .ot-section>summary{padding:16px}.ot-section-body{padding:0 16px 19px}
  .ot-question{padding:14px}.ot-question-head strong{font-size:14px}
  .ot-choice{min-width:64px;flex:1 1 64px}.ot-choice span{padding:11px 8px;font-size:13px}
  .ot-note input{min-height:48px;font-size:14px}
  .ot-final .ot-section-body{padding:18px}
  .ot-final-actions .btn{min-height:50px}
  .ot-danger-zone{flex-direction:column;align-items:stretch;padding:15px;gap:13px}
  .ot-danger-zone .btn.ot-delete{width:100%;min-height:48px}
  .ot-trashed-row{flex-wrap:wrap}.ot-trashed-row .btn{margin-left:auto}
  .ot-listrow{padding:17px 4px;min-height:86px}.ot-listmain strong{font-size:15px}.ot-listmain small{font-size:12px}
  .quick button{min-height:110px}.quick button strong{font-size:12px}.quick button small{font-size:11px}
  .finance-tile strong{font-size:21px}
  .modal-head h2{font-size:20px}
  .modal-body{font-size:14px}
}
@media(max-width:380px){.top-nav-link{font-size:13px;padding:10px 12px}.ot-main-tab span{font-size:11px}.ot-main-tabs{gap:4px}}
@media print{.top-nav-shell,.sidebar,.bottomnav{display:none!important}.workspace{margin-left:0!important}}

/* V5.1 — página inicial simplificada (sem cartão azul de boas-vindas). */
.content > .section-overline {margin-top: 2px;}
@media(max-width:700px){.content > .section-overline{margin-bottom:11px}.metrics{margin-bottom:15px}}
