/* MTOS Workspace · Brand Flow 3.0
   A visually distinct Workspace redesign using MTOS logo colors.
*/
body.mtos-easy{
  --mf-navy:#071d5a;
  --mf-ink:#133160;
  --mf-blue:#0d6efd;
  --mf-cyan:#17b8f2;
  --mf-sky:#e8f7ff;
  --mf-line:#d5e4f2;
  --mf-soft:#f5fafe;
  --mf-surface:#ffffff;
  --mf-shadow:0 16px 40px rgba(9,35,87,.08);
  --ws-focus:#0d6efd;
  background:linear-gradient(180deg,#eef7ff 0,#f8fbff 36%,#f6fbff 100%);
  color:var(--mf-ink);
  font-size:15px;
}
body.mtos-easy .app,body.mtos-easy.mtos-ws-compact .app{grid-template-columns:300px minmax(0,1fr)}
body.mtos-easy .app .sidebar{
  background:linear-gradient(180deg,#071d5a 0%,#0b337f 52%,#0f69d2 100%);
  color:#fff;padding:18px 16px 18px;border-right:0;box-shadow:inset -1px 0 0 rgba(255,255,255,.08)
}
body.mtos-easy .app .brand,body.mtos-easy.mtos-ws-compact .app .brand{
  display:flex;align-items:center;gap:13px;padding:10px 10px 18px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.12)
}
body.mtos-easy .app .brand .mtos-brand-copy,body.mtos-easy.mtos-ws-compact .app .brand .mtos-brand-copy{display:block!important}
body.mtos-easy .app .brand .mtos-brand-symbol,body.mtos-easy.mtos-ws-compact .app .brand .mtos-brand-symbol{
  width:52px;height:52px;max-width:52px;max-height:52px;padding:6px;border-radius:16px;object-fit:contain;background:rgba(255,255,255,.13);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16)
}
body.mtos-easy .app .brand h1{color:#fff;font-size:23px;font-weight:850;letter-spacing:-.9px;line-height:1.1}
body.mtos-easy .app .brand small{color:rgba(255,255,255,.72);font-size:11px;letter-spacing:.18px}
body.mtos-easy .app #moduleNav,body.mtos-easy .app .nav-head,body.mtos-easy .app .nav-sep,body.mtos-easy .app .sidebar-note,body.mtos-easy .app .mtos-ws-collapse{display:none!important}
body.mtos-easy .app #systemNav{display:none;margin-top:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.16)}
body.mtos-easy .app #systemNav .system-btn,body.mtos-easy.mtos-ws-compact .app #systemNav .system-btn{color:rgba(255,255,255,.84);font-size:13px;padding:10px 12px;gap:10px;border-radius:11px}
body.mtos-easy .app #systemNav .system-btn:hover{background:rgba(255,255,255,.1);color:#fff}
body.mtos-easy .app #systemNav .system-btn .ico{display:inline-grid;place-items:center;width:20px;font-size:initial}

.mtos-flow-side{display:flex;flex-direction:column;gap:12px}
.mtos-flow-mobile-close{display:none}
.mtos-flow-home,.mtos-flow-system-toggle,.mtos-flow-mini{border:0;background:transparent;color:#fff;text-align:left}
.mtos-flow-home{
  display:flex;align-items:center;gap:12px;padding:14px 14px;border-radius:18px;
  background:linear-gradient(135deg,rgba(23,184,242,.24),rgba(13,111,253,.18));
  border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.09)
}
.mtos-flow-home .icon,.mtos-flow-mini .icon{display:grid;place-items:center;flex:none}
.mtos-flow-home .icon{width:42px;height:42px;border-radius:14px;background:#fff;color:var(--mf-blue);box-shadow:0 8px 18px rgba(2,21,55,.2)}
.mtos-flow-home .icon svg,.mtos-flow-mini .icon svg,.mtos-flow-top-home svg{width:20px;height:20px}
.mtos-flow-home strong{display:block;font-size:15px;font-weight:800;line-height:1.2}
.mtos-flow-home small{display:block;color:rgba(255,255,255,.74);font-size:11.5px;margin-top:4px}
.mtos-flow-side-section{display:flex;flex-direction:column;gap:8px}
.mtos-flow-side-title{font-size:11px;font-weight:800;letter-spacing:1.15px;color:rgba(255,255,255,.58);padding:0 10px}
.mtos-flow-side-quick,.mtos-flow-group-body{display:flex;flex-direction:column;gap:4px}
.mtos-flow-mini{
  display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border-radius:14px;font-size:13.25px;font-weight:670;
  color:#eef8ff;transition:background .14s ease,color .14s ease,transform .14s ease
}
.mtos-flow-mini .icon{width:32px;height:32px;border-radius:11px;background:rgba(255,255,255,.1);color:#fff}
.mtos-flow-mini:hover{background:rgba(255,255,255,.1);transform:translateX(2px)}
.mtos-flow-side-groups{display:flex;flex-direction:column;gap:8px}
.mtos-flow-group{border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.06);overflow:hidden}
.mtos-flow-group summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:13px 14px;font-size:13px;font-weight:760;color:#fff}
.mtos-flow-group summary::-webkit-details-marker{display:none}
.mtos-flow-group summary small{font-size:11px;color:rgba(255,255,255,.68)}
.mtos-flow-group-body{padding:0 8px 8px}
.mtos-flow-system-toggle{
  margin-top:auto;width:100%;min-height:44px;padding:12px 14px;border-radius:14px;font-size:13px;font-weight:700;
  color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.11)
}
.mtos-flow-system-toggle:hover{background:rgba(255,255,255,.12)}

body.mtos-easy .app .topbar{
  height:78px;padding:0 clamp(18px,2.4vw,36px);gap:12px;
  background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--mf-line);
  box-shadow:0 6px 28px rgba(9,35,87,.03)
}
body.mtos-easy .app .topmark{flex:1}
body.mtos-easy .app .topmark b{color:#113165;font-size:15px;font-weight:820;letter-spacing:-.18px}
body.mtos-easy .app .topmark span{color:#6280a3;font-size:11.5px}
.mtos-flow-top-home,.mtos-flow-top-help{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;border-radius:14px;padding:10px 13px;
  border:1px solid var(--mf-line);background:#fff;color:#18427a;font-size:13px;font-weight:730
}
.mtos-flow-top-home svg{color:var(--mf-blue)}
.mtos-flow-top-home:hover,.mtos-flow-top-home.is-active{background:var(--mf-sky);border-color:#b6d8f5}
.mtos-flow-top-help:hover{background:#f7fbff}
.mtos-flow-help-badge{
  width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--mf-blue),var(--mf-cyan));color:#fff;font-weight:800
}
body.mtos-easy .mtos-ws-launch{border-color:#d3e3f4;background:#fff;color:#285488;border-radius:14px;min-height:44px;padding:10px 13px}
body.mtos-easy .mtos-ws-launch:hover{background:#f4f9ff;border-color:#b5d5f6}
body.mtos-easy .mtos-pro-bell{width:44px;height:44px;border-radius:14px;border-color:#d3e3f4;background:#fff;color:#2766af}
body.mtos-easy .mtos-pro-bell:hover{background:#f4f9ff}
body.mtos-easy .mtos-pro-bell-count{background:#f15b55}
body.mtos-easy .mtos-sync-badge{border-color:#d2e3f4}

body.mtos-easy .app .workspace{max-width:1680px;margin:0 auto;padding:24px clamp(16px,2.8vw,42px) 88px;background:transparent;min-height:calc(100vh - 78px)}
body.mtos-easy .app .crumb{font-size:12px;color:#6785a7;margin:0 0 14px}
body.mtos-easy .app .title-row{gap:18px;margin-bottom:18px}
body.mtos-easy .app .title-row h2{font-size:clamp(25px,2.25vw,34px);font-weight:830;letter-spacing:-1px;color:#0f2f64}
body.mtos-easy .app .title-row p{font-size:14px;color:#617d9e;line-height:1.6}
body.mtos-easy .app .panel,body.mtos-easy .app .stat,body.mtos-easy .app .feature-card{background:var(--mf-surface);border:1px solid #d9e7f3;border-radius:20px;box-shadow:var(--mf-shadow)}
body.mtos-easy .app .panel{padding:clamp(16px,1.7vw,24px)}
body.mtos-easy .app .panel h3{color:#163d71;font-size:16px}
body.mtos-easy .app .stat{min-height:126px;padding:20px}
body.mtos-easy .app .stat:before{background:linear-gradient(90deg,var(--mf-cyan),var(--mf-blue))}
body.mtos-easy .app .stat .num{font-size:clamp(25px,2.5vw,34px);color:#0f2f64}
body.mtos-easy .app .stat .label{font-size:13px;color:#6a85a2}
body.mtos-easy .app .stat .badgeicon{background:#eaf7ff;color:#1074cf}
body.mtos-easy .app .section-head h3{font-size:19px;color:#15396e}
body.mtos-easy .app .feature-card{min-height:138px}
body.mtos-easy .app .feature-card:hover{border-color:#94c9f4;box-shadow:0 16px 35px rgba(9,35,87,.1)}
body.mtos-easy .app .feature-card .emblem{background:#edf8ff;color:#106fd6}
body.mtos-easy .app .feature-card .goto{color:#0e71da}
body.mtos-easy .app .btn:not(.danger),body.mtos-easy .app .mtos-pro-action{border-color:#d6e4f1;color:#28507f;border-radius:12px}
body.mtos-easy .app .btn.primary{background:linear-gradient(135deg,var(--mf-blue),#1d8ff9);border-color:var(--mf-blue);color:#fff;box-shadow:none}
body.mtos-easy .app .btn.primary:hover{background:linear-gradient(135deg,#065ee0,#1483f6)}
body.mtos-easy .app .btn:not(.small){min-height:45px;padding:10px 15px;font-size:13.5px}
body.mtos-easy .app .field label{font-size:13px;color:#31557f}
body.mtos-easy .app .field :is(input,select,textarea),body.mtos-easy .app .search,body.mtos-easy .app input[type="search"]{font-size:14px;border-color:#d3e4f1;min-height:45px;border-radius:12px}
body.mtos-easy .app .field :is(input,select,textarea):focus,body.mtos-easy .app .search:focus,body.mtos-easy .app input[type="search"]:focus{border-color:#2294f3;box-shadow:0 0 0 3px rgba(34,148,243,.13)}
body.mtos-easy .app .tbl thead th{background:#eff7ff;color:#43658d;font-size:12px}
body.mtos-easy .app .table-wrap{border-color:#d7e6f2;border-radius:14px}
body.mtos-easy .app .tbl tbody tr:nth-child(2n){background:#fbfdff}
body.mtos-easy .app .tbl tbody tr:hover{background:#edf7ff}
body.mtos-easy .app .badge.green{background:#e7f9f3;color:#167d55}
body.mtos-easy .app .badge.orange{background:#fff3dd;color:#926610}
body.mtos-easy .app .badge.red{background:#ffeced;color:#af3848}
body.mtos-easy .app .mtos-pro-table-search{border-color:#d6e4f1;color:#1f446f;min-height:43px;font-size:14px}
body.mtos-easy .app .mtos-pro-table-summary{color:#6984a1;font-size:12px}
body.mtos-easy .app .mtos-pro-flow{border-color:#dce8f3;border-radius:18px;box-shadow:var(--mf-shadow)}
body.mtos-easy .app .mtos-pro-step.current{background:#eff8ff;border-color:#8ac8f4;box-shadow:inset 0 3px #169be8}
body.mtos-easy .app .mtos-pro-step:hover{background:#f5fbff}

body.mtos-easy .app #content.mtos-flow-home-active>.crumb,
body.mtos-easy .app #content.mtos-flow-home-active>.title-row{display:none!important}
.mtos-flow-home-shell{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(290px,.75fr);gap:20px}
.mtos-flow-home-main,.mtos-flow-home-side{display:flex;flex-direction:column;gap:20px}
.mtos-flow-hero{
  display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:18px;align-items:stretch;padding:24px 24px 24px 26px;
  background:linear-gradient(135deg,#081f61 0%,#0d57c7 58%,#18b8f2 100%);color:#fff;border-radius:28px;box-shadow:0 24px 48px rgba(9,35,87,.18);position:relative;overflow:hidden
}
.mtos-flow-hero:before{content:"";position:absolute;right:-40px;top:-30px;width:180px;height:180px;background:rgba(255,255,255,.09);border-radius:28px;transform:rotate(18deg)}
.mtos-flow-hero .copy,.mtos-flow-hero .badge-box{position:relative;z-index:1}
.mtos-flow-hero .kicker{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#b9edff;margin-bottom:8px}
.mtos-flow-hero h1{font-size:clamp(30px,3vw,44px);line-height:1.04;letter-spacing:-1.5px;margin:0}
.mtos-flow-hero p{font-size:14.5px;line-height:1.65;color:rgba(255,255,255,.88);max-width:58ch;margin:12px 0 0}
.mtos-flow-hero .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.mtos-flow-primary,.mtos-flow-secondary{min-height:46px;padding:0 16px;border-radius:14px;font-size:13.5px;font-weight:780;border:1px solid transparent}
.mtos-flow-primary{background:#fff;color:#0953c2;box-shadow:0 10px 22px rgba(6,23,55,.15)}
.mtos-flow-secondary{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.2)}
.mtos-flow-primary:hover{background:#f2f8ff}.mtos-flow-secondary:hover{background:rgba(255,255,255,.16)}
.mtos-flow-hero .badge-box{display:grid;place-items:center;align-content:center;padding:18px;border-radius:22px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18);text-align:center}
.mtos-flow-hero .badge-num{font-size:45px;font-weight:860;line-height:1}
.mtos-flow-hero .badge-label{font-size:12px;line-height:1.55;color:#d9f6ff;margin-top:8px}

.mtos-flow-switcher,.mtos-flow-quick-board,.mtos-flow-tip-card,.mtos-flow-page-guide{background:#fff;border:1px solid #d9e7f3;border-radius:24px;box-shadow:var(--mf-shadow)}
.mtos-flow-switcher,.mtos-flow-quick-board{padding:22px}
.mtos-flow-headline{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.mtos-flow-headline h2{font-size:25px;line-height:1.15;letter-spacing:-.8px;color:#102f62;margin:0}
.mtos-flow-headline p{font-size:13px;line-height:1.6;color:#6581a2;margin:5px 0 0}
.mtos-flow-search{width:min(390px,100%);padding:0 16px;background:#f7fbff}
.mtos-flow-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.mtos-flow-tab{min-height:40px;padding:0 15px;border-radius:999px;border:1px solid #d7e6f2;background:#f6fbff;color:#285486;font-size:13px;font-weight:760}
.mtos-flow-tab.is-active,.mtos-flow-tab:hover{background:linear-gradient(135deg,#0d6efd,#17b8f2);border-color:transparent;color:#fff;box-shadow:0 8px 16px rgba(13,111,253,.18)}
.mtos-flow-lane-card{display:flex;flex-direction:column;gap:16px}
.mtos-flow-lane-card .lane-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px;border-radius:18px;background:linear-gradient(180deg,#f4fbff,#fcfeff);border:1px solid #dfecf6}
.mtos-flow-lane-card .lane-top h3{font-size:20px;color:#143569;letter-spacing:-.4px;margin:0}
.mtos-flow-lane-card .lane-top p,.mtos-flow-lane-card .lane-note{font-size:13px;color:#6582a3;line-height:1.6;margin:5px 0 0}
.mtos-flow-workflow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mtos-flow-workstep{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;border-radius:18px;border:1px solid #dce9f4;background:#fff;text-align:left;color:#15376c;box-shadow:0 8px 18px rgba(9,35,87,.03)}
.mtos-flow-workstep:hover{border-color:#98caf1;background:#f7fbff;transform:translateY(-1px)}
.mtos-flow-workstep .num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#0d6efd,#17b8f2);color:#fff;font-weight:850;font-size:12px}
.mtos-flow-workstep .label{font-size:13px;font-weight:800;line-height:1.3}
.mtos-flow-workstep .hint{font-size:11.5px;line-height:1.5;color:#6b86a4}
.mtos-flow-task-grid,.mtos-flow-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mtos-flow-task{display:flex;align-items:flex-start;gap:14px;min-height:116px;padding:17px 16px;border-radius:19px;border:1px solid #dbe8f4;background:#fff;text-align:left;color:#15386f;box-shadow:0 10px 22px rgba(9,35,87,.04);transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.mtos-flow-task:hover{border-color:#8fc7f3;box-shadow:0 18px 34px rgba(9,35,87,.08);transform:translateY(-2px)}
.mtos-flow-task .icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#ebf6ff,#e2f7ff);color:#0e6fe0;flex:none}
.mtos-flow-task .icon svg{width:25px;height:25px}
.mtos-flow-task .info{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.mtos-flow-task strong{font-size:15px;line-height:1.32;color:#17386e;font-weight:820}
.mtos-flow-task small{font-size:12.2px;line-height:1.55;color:#6a85a2}
.mtos-flow-task .go{font-size:22px;color:#0f8be5;align-self:flex-end;margin-top:auto}
.mtos-flow-task.compact{min-height:100px}
.mtos-flow-task.compact strong{font-size:14px}
.mtos-flow-empty{grid-column:1/-1;padding:24px;border-radius:16px;border:1px dashed #c1dff5;background:#f8fcff;color:#6b85a3;text-align:center;font-size:13px}

.mtos-flow-tip-card{padding:20px}
.mtos-flow-tip-card h3{font-size:18px;color:#133367;letter-spacing:-.4px;margin:0 0 12px}
.mtos-flow-tip-card ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:10px;color:#547495;font-size:13.2px;line-height:1.65}
.mtos-flow-tip-card .head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.mtos-flow-tip-card .clear{border:0;background:transparent;color:#0f76de;font-size:12px;font-weight:740;text-decoration:underline;text-underline-offset:4px}
.mtos-flow-tip-card .recent,.mtos-flow-tip-card .attention-list{display:flex;flex-direction:column;gap:8px}
.mtos-flow-tip-card .muted{margin:0;color:#6c86a3;font-size:13px;line-height:1.6}
.mtos-flow-attention{padding:14px;border-radius:16px;border:1px solid #dce9f4;background:linear-gradient(180deg,#fbfeff,#f4faff);text-align:left;color:#17396d}
.mtos-flow-attention:hover{border-color:#93caf1;background:#f6fbff}
.mtos-flow-attention strong{display:block;font-size:13.5px;font-weight:790;margin-bottom:4px}
.mtos-flow-attention small{display:block;font-size:12px;line-height:1.55;color:#6a85a3}

.mtos-flow-page-guide{padding:18px 20px 20px;margin:0 0 22px}
.mtos-flow-page-guide .main{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.mtos-flow-page-guide .icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#ebf6ff,#e1f8ff);color:#0d70de;flex:none}
.mtos-flow-page-guide .icon svg{width:26px;height:26px}
.mtos-flow-page-guide .copy{flex:1;min-width:min(100%,420px)}
.mtos-flow-page-guide .eyebrow{font-size:11px;font-weight:820;letter-spacing:1.25px;color:#0f88e0;margin-bottom:4px}
.mtos-flow-page-guide h3{font-size:23px;letter-spacing:-.7px;color:#15376b;margin:0}
.mtos-flow-page-guide p{font-size:13px;line-height:1.65;color:#6984a2;margin:6px 0 0}
.mtos-flow-page-guide .home{margin-left:auto;min-height:42px;padding:0 14px;border-radius:12px;border:1px solid #d4e4f1;background:#f8fbff;color:#214a7d;font-size:12.5px;font-weight:760}
.mtos-flow-page-guide .home:hover{background:#eef7ff}
.mtos-flow-page-guide .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.mtos-flow-page-guide .step{display:flex;align-items:flex-start;gap:10px;padding:14px;border-radius:16px;background:#f8fcff;border:1px solid #deebf5;color:#4f7093;font-size:12.5px;line-height:1.55}
.mtos-flow-page-guide .step .num{display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#0d6efd,#17b8f2);color:#fff;font-weight:820;font-size:12px}
.mtos-flow-page-guide .related{margin-top:16px;padding-top:14px;border-top:1px solid #e4edf5}
.mtos-flow-page-guide .related .label{font-size:11px;font-weight:800;letter-spacing:1.1px;color:#6380a2;margin-bottom:10px}
.mtos-flow-page-guide .related .links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

.mtos-flow-help-mask[hidden]{display:none!important}
.mtos-flow-help-mask{position:fixed;inset:0;z-index:240;display:grid;place-items:center;padding:18px;background:rgba(4,22,57,.48);backdrop-filter:blur(3px)}
.mtos-flow-help-dialog{width:min(530px,100%);background:#fff;border-radius:28px;border:1px solid #dce8f3;box-shadow:0 26px 80px rgba(4,22,57,.22);padding:28px}
.mtos-flow-help-dialog .tag{font-size:11px;font-weight:860;letter-spacing:1.25px;color:#1099e5}
.mtos-flow-help-dialog h2{font-size:28px;letter-spacing:-1px;color:#15376b;line-height:1.15;margin:8px 0 10px}
.mtos-flow-help-dialog .desc{margin:0;color:#617e9f;font-size:14px;line-height:1.65}
.mtos-flow-help-dialog .steps{margin:18px 0 22px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.mtos-flow-help-dialog .steps li{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;border-radius:16px;background:#f7fbff;border:1px solid #e0ecf5;color:#4d6f93;font-size:13px;line-height:1.6;counter-increment:flowHelp}
.mtos-flow-help-dialog .steps{counter-reset:flowHelp}
.mtos-flow-help-dialog .steps li:before{content:counter(flowHelp);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#0d6efd,#17b8f2);color:#fff;font-size:12px;font-weight:820;flex:none}
.mtos-flow-help-dialog .close{width:100%;min-height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#0d6efd,#17b8f2);color:#fff;font-size:14px;font-weight:800}
body.mtos-flow-help-open{overflow:hidden}

body.mtos-easy .app #content.mtos-pro-field-view .btn{min-height:48px}
body.mtos-easy .app #content.mtos-pro-field-view .field :is(input,textarea,select){min-height:48px}
body.mtos-easy .app .mtos-pro-flow-head strong{color:#194277;font-size:15px}
body.mtos-easy .app .mtos-pro-step{min-height:83px}
body.mtos-easy .mtos-ws-search-result:hover,body.mtos-easy .mtos-ws-search-result[aria-selected="true"]{background:#f0f8ff;border-color:#b7daf5}
body.mtos-easy .mtos-ws-search-input:focus{outline:0}
body.mtos-easy .mtos-ws-search-panel{border-color:#d6e8f4}
body.mtos-easy .mtos-ws-search-result strong{color:#1d4677}

@media(max-width:1220px){
  .mtos-flow-home-shell{grid-template-columns:1fr}
}
@media(max-width:1080px){
  .mtos-flow-workflow{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  body.mtos-easy .app .topmark span,body.mtos-easy .app .mtos-sync-badge{display:none}
  .mtos-flow-headline{align-items:stretch;flex-direction:column}
  .mtos-flow-search{width:100%}
  .mtos-flow-task-grid,.mtos-flow-quick-grid,.mtos-flow-page-guide .related .links{grid-template-columns:1fr}
  .mtos-flow-page-guide .steps{grid-template-columns:1fr}
}
@media(max-width:900px){
  body.mtos-easy .app,body.mtos-easy.mtos-ws-compact .app{display:block}
  body.mtos-easy .app .sidebar{width:min(330px,92vw);padding:16px 14px}
  .mtos-flow-mobile-close{display:block;width:100%;min-height:40px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;font-size:13px;font-weight:760;margin-bottom:4px}
  body.mtos-easy .app .topbar{height:68px;gap:8px;padding:0 13px}
  body.mtos-easy .app .workspace{padding:20px 14px 75px}
  body.mtos-easy .app .menu-toggle{background:#edf8ff;color:#0d70de;width:42px;height:42px;flex:none}
  body.mtos-easy .app .mtos-ws-launch{padding:9px 10px}
  .mtos-flow-top-home span{display:none}
}
@media(max-width:720px){
  .mtos-flow-hero{grid-template-columns:1fr;padding:22px}
  .mtos-flow-workflow{grid-template-columns:1fr}
}
@media(max-width:640px){
  body.mtos-easy .app .topmark b{font-size:13px}
  body.mtos-easy .app .workspace{padding:16px 12px 70px}
  .mtos-flow-switcher,.mtos-flow-quick-board,.mtos-flow-tip-card,.mtos-flow-page-guide{border-radius:20px}
  .mtos-flow-headline h2{font-size:22px}
  .mtos-flow-task{min-height:98px;padding:14px}
  .mtos-flow-task .icon{width:46px;height:46px;border-radius:14px}
  .mtos-flow-task strong{font-size:14px}
  .mtos-flow-top-help span:last-child{display:none}
  .mtos-flow-home,.mtos-flow-mini{padding-inline:10px}
  .mtos-flow-page-guide{padding:16px}
  .mtos-flow-page-guide h3{font-size:20px}
  .mtos-flow-page-guide .home{margin-left:0}
}
@media(max-width:420px){
  body.mtos-easy .app .topmark{display:block;min-width:46px;flex:1}
  body.mtos-easy .app .topmark b{font-size:0;line-height:1}
  body.mtos-easy .app .topmark b:before{content:'MTOS';font-size:14px;font-weight:850;color:#15396e}
  body.mtos-easy .app .topmark span{display:none}
  body.mtos-easy .app .topbar{gap:6px}
  body.mtos-easy .app .mtos-pro-bell{width:40px;height:40px}
  .mtos-flow-top-help{padding:9px 10px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){
  .mtos-flow-task,.mtos-flow-mini,.mtos-flow-workstep{transition:none}
  .mtos-flow-task:hover,.mtos-flow-workstep:hover{transform:none}
}
@media print{
  .mtos-flow-home-shell,.mtos-flow-page-guide,.mtos-flow-side,.mtos-flow-top-home,.mtos-flow-top-help,.mtos-flow-help-mask{display:none!important}
  body.mtos-easy .app .workspace{background:#fff!important}
}

/* =============================================================
   MTOS Workspace Intuitive 4.0
   Direct manipulation instead of tutorial panels.
   All original business screens keep their own native controls.
   ============================================================= */
body.mtos-easy .app .workspace{padding-top:24px}
body.mtos-easy .app .crumb{margin-bottom:9px}
body.mtos-easy .app .title-row{
  margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #dbe8f4;
  align-items:center
}
body.mtos-easy .app .title-row h2{
  font-size:clamp(24px,2.1vw,32px);font-weight:850;letter-spacing:-.85px;
  margin:0 0 4px;line-height:1.2;color:#0e3069
}
body.mtos-easy .app .title-row p{font-size:13.5px;line-height:1.45;color:#57779a}
body.mtos-easy .app .header-actions{
  display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap
}
body.mtos-easy .app .header-actions .btn.primary{
  min-height:46px;padding:10px 17px;font-size:14px;font-weight:790;
  box-shadow:0 8px 22px rgba(13,111,253,.16)
}
body.mtos-easy .app .header-actions .btn:not(.primary){min-height:44px}
body.mtos-easy .app #content:not(.mtos-flow-home-active)>.panel:first-of-type,
body.mtos-easy .app #content:not(.mtos-flow-home-active)>.section:first-of-type{
  margin-top:0
}
body.mtos-easy .app button:focus-visible,
body.mtos-easy .app a:focus-visible,
body.mtos-easy .app input:focus-visible,
.mtos-flow-mobile-dock button:focus-visible{
  outline:3px solid #41baff;outline-offset:3px
}
body.mtos-easy .app .field label{font-weight:740;color:#173f72}
body.mtos-easy .app .field input,body.mtos-easy .app .field select,
body.mtos-easy .app .field textarea{min-height:46px;padding:11px 12px}
body.mtos-easy .app .tbl{font-size:13px}
body.mtos-easy .app .tbl tbody tr:hover{background:#f1f9ff}
body.mtos-easy .app .table-wrap{border:1px solid #d9e7f3}
body.mtos-easy .app .btn:not(.small){font-size:13.5px}
body.mtos-easy .app .btn.danger{background:#fff4f4;color:#a62d3d;border-color:#f2ccd0}
body.mtos-easy .app .mtos-pro-flow{margin-top:4px}

.mtos-flow-home-shell{display:flex;flex-direction:column;gap:18px;width:100%}
.mtos-flow-hero{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:28px clamp(22px,3vw,38px);
  min-height:190px;border-radius:24px;
  background:linear-gradient(110deg,#071d5a 0%,#0d52bd 65%,#0985e5 100%);
  box-shadow:0 18px 38px rgba(7,29,90,.15)
}
.mtos-flow-hero:before{width:110px;height:110px;top:-55px;right:60px;border-radius:30px}
.mtos-flow-hero h1{font-size:clamp(29px,2.6vw,39px);line-height:1.14;letter-spacing:-1.25px;margin:4px 0 17px}
.mtos-flow-hero .copy{flex:1;max-width:860px}
.mtos-flow-hero .kicker{font-size:11px;letter-spacing:1.5px;opacity:.86}
.mtos-flow-hero-search{position:relative;width:min(650px,100%)}
.mtos-flow-hero-search:before{content:'⌕';position:absolute;left:18px;top:50%;transform:translateY(-54%);font-size:29px;line-height:1;color:#4484bc;pointer-events:none}
body.mtos-easy .app .mtos-flow-search{
  width:100%;min-height:55px;padding:15px 16px 15px 51px;background:#fff;
  color:#102f64;border:1px solid #d4e8fb;border-radius:14px;
  box-shadow:0 9px 25px rgba(0,31,88,.12);font-size:15px
}
body.mtos-easy .app .mtos-flow-search::placeholder{color:#6886a4}
body.mtos-easy .app .mtos-flow-search:focus{border-color:#53c8ff;outline:3px solid rgba(255,255,255,.45);outline-offset:2px}
.mf-hero-shape{width:100px;height:100px;flex:none;display:grid;place-items:center;position:relative;transform:rotate(-20deg);opacity:.9}
.mf-hero-shape span{position:absolute;width:78px;height:78px;border:11px solid rgba(255,255,255,.4);border-left-color:transparent;border-radius:20px}
.mf-hero-shape span:nth-child(2){width:59px;height:59px;border-width:7px;transform:rotate(45deg);border-color:rgba(122,226,255,.5);border-right-color:transparent}
.mf-hero-shape span:nth-child(3){width:36px;height:36px;border-width:6px;transform:rotate(90deg);border-color:rgba(255,255,255,.35);border-bottom-color:transparent}

.mtos-flow-quick-board,.mtos-flow-switcher,.mtos-flow-recent-board{
  padding:21px 22px;border-radius:22px;background:#fff;
  border:1px solid #dbe7f4;box-shadow:0 8px 28px rgba(9,35,87,.045)
}
.mtos-flow-headline{align-items:center;margin-bottom:15px}
.mtos-flow-headline h2{font-size:21px;font-weight:850;letter-spacing:-.65px}
.mtos-flow-quick-grid,.mtos-flow-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.mtos-flow-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.mtos-flow-task,.mtos-flow-task.compact{
  min-height:103px;padding:15px 14px;border-radius:17px;
  box-shadow:none;border:1px solid #d9e8f5;gap:12px
}
.mtos-flow-task:hover,.mtos-flow-task.compact:hover{background:#f6fbff;box-shadow:0 6px 20px rgba(18,91,168,.08)}
.mtos-flow-task .icon{width:45px;height:45px;border-radius:13px;background:#eaf6ff;color:#0877dd}
.mtos-flow-task .icon svg{width:22px;height:22px}
.mtos-flow-task strong,.mtos-flow-task.compact strong{font-size:14.5px;font-weight:810;line-height:1.32;color:#153b70}
.mtos-flow-task small{font-size:12px;line-height:1.4;color:#557695;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mtos-flow-task .go{color:#1b85df;font-size:20px}
.mtos-flow-tabs{gap:8px;margin-bottom:16px}
.mtos-flow-tab{min-height:43px;padding:0 16px;font-size:13.5px}
.mtos-flow-tab[aria-pressed="true"]{font-weight:820}
.mtos-flow-result-count{font-size:12px;font-weight:760;color:#53769c;background:#f1f8ff;border:1px solid #e0edf8;padding:7px 11px;border-radius:999px;white-space:nowrap}
.mtos-flow-empty{min-height:85px;display:grid;place-items:center;font-size:13.5px}
.mtos-flow-mini.is-active{background:rgba(255,255,255,.19);box-shadow:inset 3px 0 0 #3fd3ff;color:#fff}
.mtos-flow-mini.is-active .icon{background:#fff;color:#0f5fcd}
.mtos-flow-mobile-dock{display:none}
@media(max-width:1240px){
  .mtos-flow-quick-grid,.mtos-flow-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mtos-flow-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  body.mtos-easy .app .workspace{padding-bottom:98px}
  .mtos-flow-mobile-dock{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
    position:fixed;z-index:80;bottom:0;left:0;right:0;
    background:rgba(255,255,255,.97);backdrop-filter:blur(14px);
    border-top:1px solid #d5e7f5;padding:9px 12px max(10px,env(safe-area-inset-bottom));
    box-shadow:0 -8px 25px rgba(9,35,87,.09)
  }
  .mtos-flow-mobile-dock button{
    min-height:47px;border:1px solid #d9e9f5;border-radius:12px;background:#f6fbff;
    font-size:13px;font-weight:760;color:#1c5184
  }
  .mtos-flow-mobile-dock button:nth-child(2){background:#0d6efd;border-color:#0d6efd;color:#fff}
  body.mtos-easy .app .title-row{align-items:flex-start}
  body.mtos-easy .app .header-actions{justify-content:flex-start}
}
@media(max-width:650px){
  .mtos-flow-hero{padding:24px 19px;min-height:170px;border-radius:20px}
  .mtos-flow-hero h1{font-size:28px}
  .mf-hero-shape{display:none}
  .mtos-flow-quick-board,.mtos-flow-switcher,.mtos-flow-recent-board{padding:17px 15px;border-radius:19px}
  .mtos-flow-quick-grid,.mtos-flow-task-grid,.mtos-flow-recent-grid{grid-template-columns:1fr;gap:9px}
  .mtos-flow-task,.mtos-flow-task.compact{min-height:82px;align-items:center;padding:12px 13px}
  .mtos-flow-task .icon{width:42px;height:42px}
  .mtos-flow-task small{font-size:11.7px}
  .mtos-flow-task .go{align-self:center;margin:0}
  .mtos-flow-headline h2{font-size:20px}
  .mtos-flow-result-count{font-size:11px}
  body.mtos-easy .app .title-row{flex-direction:column}
}
@media print{.mtos-flow-home-shell,.mtos-flow-mobile-dock{display:none!important}}

/* Optional legacy coaching widgets: never cover actual work. */
body.mtos-easy .app #content.mtos-flow-home-active > .mtos-pro-dash-hero{display:none!important}
body.mtos-easy .app #content .mtos-pro-flow{display:none!important}
/* Prevent hidden toolbars from reappearing through presentational CSS. */
body.mtos-easy .app [hidden]{display:none!important}

/* ========================================================
   MTOS Workspace V6 — mobile compact & director dashboard
   ======================================================== */
.mtos-flow-task-wrap{position:relative;min-width:0;display:flex;flex-direction:column}
.mtos-flow-task-wrap>.mtos-flow-task{width:100%;height:100%;min-width:0}
.mtos-flow-task-wrap .mtos-flow-task .info{min-width:0}
.mtos-flow-task-wrap .mtos-flow-task strong{overflow-wrap:anywhere}
.mtos-flow-task-wrap .mtos-flow-more{display:none}
.mtos-mobile-description-more{display:none}
.mtos-exec-host:empty{display:none!important}
.mtos-exec-host[hidden]{display:none!important}
.mtos-exec-host{border:1px solid #d4e6f6;border-radius:23px;padding:22px;background:#fff;box-shadow:0 8px 28px rgba(9,35,87,.05)}
.mtos-exec-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.mtos-exec-heading .mtos-exec-kicker{font-size:10px;font-weight:850;letter-spacing:1.3px;color:#1584db}
.mtos-exec-heading h2{font-size:22px;line-height:1.2;color:#0f3067;margin:3px 0 4px}
.mtos-exec-heading p{font-size:12px;color:#647e9a;line-height:1.5;margin:0}
.mtos-exec-stamp{border:1px solid #d9e9f6;border-radius:99px;padding:8px 12px;background:#f6fbff;color:#527398;font-size:11px;white-space:nowrap}
.mtos-exec-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.mtos-exec-kpi{display:flex;flex-direction:column;gap:3px;border:1px solid #deedf7;background:#f6fbff;border-radius:16px;padding:14px}
.mtos-exec-kpi strong{font-size:25px;color:#093877;letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.mtos-exec-kpi span{font-size:11.5px;color:#547695;line-height:1.4}
.mtos-exec-panels{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:14px}
.mtos-exec-bars,.mtos-exec-overview{min-width:0;border:1px solid #e2ecf5;border-radius:18px;padding:17px}
.mtos-exec-bars h3,.mtos-exec-overview h3{font-size:15px;line-height:1.3;margin:0 0 12px;color:#163e74}
.mtos-exec-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:#617d9b;margin-bottom:13px}
.mtos-exec-legend span{display:inline-flex;align-items:center;gap:5px}
.mtos-exec-legend i{width:10px;height:10px;border-radius:3px;display:block}
.mtos-exec-legend i.done{background:#139bd9}
.mtos-exec-legend i.open{background:#b8d9f6}
.mtos-exec-bar-row{display:grid;grid-template-columns:100px minmax(0,1fr) 26px;gap:9px;align-items:center;margin:13px 0}
.mtos-exec-bar-name{font-size:12px;line-height:1.35;color:#315980;font-weight:650;overflow-wrap:anywhere}
.mtos-exec-bar-track{display:flex;width:100%;height:15px;border-radius:99px;overflow:hidden;background:#eef5fb}
.mtos-exec-bar-track span{height:100%;display:block;transition:width .2s ease}
.mtos-exec-bar-done{background:#139bd9}
.mtos-exec-bar-open{background:#b8d9f6}
.mtos-exec-bar-number{font-variant-numeric:tabular-nums;text-align:right;font-size:12px;color:#1c4a81}
.mtos-exec-donut{width:min(156px,100%);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;margin:0 auto 9px;background:conic-gradient(#129bda var(--done-pct,0%),#d5e8f8 0)}
.mtos-exec-donut-center{width:72%;height:72%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#fff}
.mtos-exec-donut-center strong{font-size:27px;color:#163c73}
.mtos-exec-donut-center small{font-size:11px;color:#59779a}
.mtos-exec-note{font-size:11.5px;color:#647f9b;line-height:1.5;text-align:center}
.mtos-exec-alerts{border-top:1px solid #e5edf5;margin-top:15px;padding-top:12px}
.mtos-exec-alerts h4{font-size:13px;margin:0 0 7px;color:#163d74}
.mtos-exec-alert,.mtos-exec-alerts p{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;line-height:1.4;color:#64809e;margin:7px 0}
.mtos-exec-alert b{color:#2c547f}
.mtos-exec-foot{margin:13px 0 0;font-size:11px;color:#7188a1;line-height:1.5}
@media(max-width:1100px){
 .mtos-exec-panels{grid-template-columns:1fr}
 .mtos-exec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 /* Bottom dock removed: topbar + hamburger remain available. */
 .mtos-flow-mobile-dock{display:none!important}
 body.mtos-easy .app .workspace{padding-bottom:40px}
 .mtos-flow-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 10px;scrollbar-width:thin}
 .mtos-flow-tab{white-space:nowrap;flex:0 0 auto}
}
@media(max-width:650px){
 .mtos-flow-task-wrap>.mtos-flow-task{min-height:80px}
 .mtos-flow-task-wrap:has(.mtos-flow-more)>.mtos-flow-task{padding-bottom:27px}
 .mtos-flow-task-wrap .mtos-flow-task strong{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35}
 .mtos-flow-task-wrap .mtos-flow-task small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;line-height:1.4}
 .mtos-flow-task-wrap.is-expanded .mtos-flow-task strong,.mtos-flow-task-wrap.is-expanded .mtos-flow-task small{display:block;overflow:visible;-webkit-line-clamp:unset;white-space:normal}
 .mtos-flow-task-wrap .mtos-flow-more{display:block;position:absolute;right:23px;bottom:7px;z-index:2;border:0;background:transparent;color:#096dcd;font-size:11.5px;font-weight:800;padding:6px 7px;border-radius:7px}
 .mtos-flow-task-wrap .mtos-flow-more:focus-visible{outline:2px solid #0d6efd;outline-offset:2px}
 .mtos-mobile-description p{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
 .mtos-mobile-description.is-expanded p{display:block!important;overflow:visible;-webkit-line-clamp:unset}
 .mtos-mobile-description-more{display:inline-block;margin-top:5px;padding:5px 3px;border:0;background:transparent;color:#116ec8;font-size:12px;font-weight:750}
 .mtos-flow-hero h1{font-size:24px}
 .mtos-exec-host{padding:15px;border-radius:18px}
 .mtos-exec-heading{flex-direction:column;align-items:flex-start;margin-bottom:13px;gap:8px}
 .mtos-exec-heading h2{font-size:20px}
 .mtos-exec-stamp{padding:5px 9px}
 .mtos-exec-kpi{padding:11px;border-radius:13px}
 .mtos-exec-kpi strong{font-size:22px}
 .mtos-exec-bars,.mtos-exec-overview{padding:13px;border-radius:14px}
 .mtos-exec-bar-row{grid-template-columns:78px minmax(0,1fr) 23px;gap:7px}
 .mtos-exec-bar-name{font-size:11px}
 body.mtos-easy .app #content{min-width:0}
 body.mtos-easy .app .title-row,.mtos-flow-task-grid,.mtos-flow-home-shell{min-width:0;max-width:100%}
 body.mtos-easy .app .title-row h2{overflow-wrap:anywhere;font-size:23px}
 body.mtos-easy .app .header-actions{width:100%;min-width:0}
 body.mtos-easy .app .header-actions .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
}
@media print{.mtos-exec-host{display:none!important}}

/* ===============================================
   MTOS 7.1 — LIGHT NAVIGATION (approved concept #2)
   Visual only: original permission-filtered routes remain the authority.
   =============================================== */
body.mtos-easy.mtos-brandflow{--mf-navy:#092a61;--mf-ink:#132f5c;--mf-blue:#0873f7;--mf-cyan:#16b9ee;--mf-sky:#e8f3ff;--mf-line:#d9e6f4;background:#f5f9ff}
body.mtos-easy.mtos-brandflow .app,
body.mtos-easy.mtos-brandflow.mtos-ws-compact .app{grid-template-columns:298px minmax(0,1fr)}
body.mtos-easy.mtos-brandflow .app .sidebar{
  background:linear-gradient(150deg,#ffffff 0%,#f6faff 64%,#eaf4ff 100%)!important;
  color:#17345d!important;padding:18px 14px 20px;
  border-right:1px solid #d7e6f5!important;
  box-shadow:5px 0 26px rgba(21,70,126,.035);
  scrollbar-color:#c3daf2 transparent
}
body.mtos-easy.mtos-brandflow .app .brand,
body.mtos-easy.mtos-brandflow.mtos-ws-compact .app .brand{
  gap:11px;padding:9px 9px 20px;margin:0 0 16px;border-bottom:1px solid #dce8f4
}
body.mtos-easy.mtos-brandflow .app .brand .mtos-brand-symbol,
body.mtos-easy.mtos-brandflow.mtos-ws-compact .app .brand .mtos-brand-symbol{
  width:55px;height:55px;max-width:55px;max-height:55px;padding:7px;
  border:1px solid #dceafe;border-radius:17px;background:#e7f3ff;
  box-shadow:none;backdrop-filter:none
}
body.mtos-easy.mtos-brandflow .app .brand h1{color:#0a2b61!important;font-size:25px;letter-spacing:-.85px}
body.mtos-easy.mtos-brandflow .app .brand small{color:#6d87a7!important;font-size:11px}
body.mtos-easy.mtos-brandflow .mtos-flow-side{gap:14px}
body.mtos-easy.mtos-brandflow .mtos-flow-side-section{gap:6px}
body.mtos-easy.mtos-brandflow .mtos-flow-side-title{
  color:#7187a5;letter-spacing:1px;font-size:10.5px;font-weight:790;
  padding:0 12px;margin:4px 0 5px
}
body.mtos-easy.mtos-brandflow .mtos-flow-home{
  background:#e4f0ff;border:1px solid #cbdfff;
  box-shadow:inset 4px 0 0 #1686ff;border-radius:17px;
  padding:11px 13px;min-height:67px;gap:12px;color:#0f3268
}
body.mtos-easy.mtos-brandflow .mtos-flow-home:hover{background:#dbeaff}
body.mtos-easy.mtos-brandflow .mtos-flow-home .icon{
  width:39px;height:39px;border-radius:12px;background:#197cf4;
  color:#fff;box-shadow:none
}
body.mtos-easy.mtos-brandflow .mtos-flow-home strong{font-size:15px;color:#10316a}
body.mtos-easy.mtos-brandflow .mtos-flow-home small{font-size:11px;color:#6582a5}
body.mtos-easy.mtos-brandflow .mtos-flow-side-quick{gap:2px}
body.mtos-easy.mtos-brandflow .mtos-flow-mini{
  color:#18375e;text-align:left;min-height:43px;padding:8px 10px;
  border-radius:12px;font-size:13px;font-weight:720;
  line-height:1.35;transform:none!important;gap:10px
}
body.mtos-easy.mtos-brandflow .mtos-flow-mini .icon{
  width:32px;height:32px;background:#e6f2ff;border-radius:10px;color:#1477d7
}
body.mtos-easy.mtos-brandflow .mtos-flow-mini .icon svg{width:18px;height:18px}
body.mtos-easy.mtos-brandflow .mtos-flow-mini:hover{
  background:#eaf3ff;color:#0d53a1;box-shadow:none
}
body.mtos-easy.mtos-brandflow .mtos-flow-mini.is-active{
  background:#dcecff;color:#0b56b8;box-shadow:inset 3px 0 0 #1687fd
}
body.mtos-easy.mtos-brandflow .mtos-flow-mini.is-active .icon{background:#fff;color:#0b6ce0}
body.mtos-easy.mtos-brandflow .mtos-flow-side-groups{gap:7px}
body.mtos-easy.mtos-brandflow .mtos-flow-group{
  background:rgba(255,255,255,.92);border:1px solid #d5e4f5;
  box-shadow:none;border-radius:15px;overflow:hidden
}
body.mtos-easy.mtos-brandflow .mtos-flow-group[open]{border-color:#b7d1f3;background:#fff}
body.mtos-easy.mtos-brandflow .mtos-flow-group summary{
  padding:11px 11px;font-size:13px;min-height:55px;
  font-weight:775;color:#173c73;gap:8px
}
body.mtos-easy.mtos-brandflow .mtos-flow-group summary:hover{background:#f6faff}
body.mtos-easy.mtos-brandflow .mf-dept-label{display:flex;align-items:center;gap:9px;min-width:0}
body.mtos-easy.mtos-brandflow .mf-dept-icon{
  display:grid;place-items:center;width:32px;height:32px;flex:none;
  border-radius:10px;background:#ebf5ff;color:#0878e8
}
body.mtos-easy.mtos-brandflow .mf-dept-icon svg{width:19px;height:19px}
body.mtos-easy.mtos-brandflow .mf-dept-meta{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}
body.mtos-easy.mtos-brandflow .mf-dept-meta small{
  border-radius:99px;background:#eaf3ff;padding:4px 7px;
  color:#4676a7;font-size:10px;font-weight:700
}
body.mtos-easy.mtos-brandflow .mf-chevron{display:block;font-size:18px;line-height:1;color:#6284aa;transition:transform .17s}
body.mtos-easy.mtos-brandflow .mtos-flow-group[open] .mf-chevron{transform:rotate(180deg)}
body.mtos-easy.mtos-brandflow .mtos-flow-group-body{
  background:#f4f9ff;border:1px solid #e2eefb;border-radius:12px;
  padding:6px;margin:0 8px 8px;gap:1px
}
body.mtos-easy.mtos-brandflow .mtos-flow-group-body .mtos-flow-mini{min-height:39px;padding:6px 8px;font-size:12.5px}
body.mtos-easy.mtos-brandflow .mtos-flow-group-body .mtos-flow-mini .icon{width:28px;height:28px;background:#fff}
body.mtos-easy.mtos-brandflow .mtos-flow-system-toggle{
  background:#f0f7ff;border:1px solid #d3e4f7;color:#275a91;
  padding:12px 13px;font-size:12.5px;border-radius:13px
}
body.mtos-easy.mtos-brandflow .mtos-flow-system-toggle:hover{background:#e5f1ff}
body.mtos-easy.mtos-brandflow .app #systemNav{border-top:1px solid #e3eaf3}
body.mtos-easy.mtos-brandflow .app #systemNav .system-btn,
body.mtos-easy.mtos-brandflow.mtos-ws-compact .app #systemNav .system-btn{
  color:#285486;font-size:12.5px
}
body.mtos-easy.mtos-brandflow .app #systemNav .system-btn:hover{background:#eaf3ff;color:#0757ae}
body.mtos-easy.mtos-brandflow .mtos-flow-mobile-close{
  border:1px solid #d5e5f4;color:#315c8f;background:#f4faff;
  border-radius:12px;min-height:41px
}
@media(max-width:900px){
 body.mtos-easy.mtos-brandflow .app .sidebar{width:min(330px,89vw);box-shadow:18px 0 40px rgba(8,37,94,.13)}
 body.mtos-easy.mtos-brandflow .app .workspace{padding-bottom:64px}
}
@media print{body.mtos-easy.mtos-brandflow .mtos-flow-side{display:none!important}}
/* Compact mobile close control to match the approved light drawer design. */
@media(max-width:900px){
 body.mtos-easy.mtos-brandflow .app .sidebar{position:fixed}
 body.mtos-easy.mtos-brandflow .app .brand{padding-right:34px}
 body.mtos-easy.mtos-brandflow .mtos-flow-mobile-close{
  display:grid;place-items:center;position:absolute;top:22px;right:13px;
  width:29px;height:29px;min-height:29px;margin:0;padding:0;
  font-size:0;line-height:1;background:#e9f3ff;border-radius:10px;color:#3163a5
 }
 body.mtos-easy.mtos-brandflow .mtos-flow-mobile-close:before{content:'×';font-size:21px;font-weight:500;line-height:1}
}
