
:root{color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1e3147;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.55;cursor:not-allowed}.hide{display:none!important}.muted{color:#76879b;font-size:13px;line-height:1.55}.eyebrow{color:#768fa7;font-size:10px;font-weight:850;letter-spacing:1.3px}.authScreen{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 90% 6%,#d9ecff 0%,transparent 35%),radial-gradient(circle at 4% 93%,#e2efff,transparent 35%),#f4f7fb}.authCard{width:min(450px,100%);background:#fff;border:1px solid #e1e8f1;border-radius:20px;padding:32px;box-shadow:0 18px 60px #13365b16}.brand,.sideBrand{display:flex;gap:12px;align-items:center}.brand strong,.sideBrand strong{font-size:16px;color:#1f3a5b;display:block}.brand span,.sideBrand small{font-size:11px;letter-spacing:.8px;color:#92a2b4;display:block;margin-top:3px}.logo{background:#1d4e7c;border-radius:11px;color:#fff;width:43px;height:43px;display:grid;place-items:center;font-size:24px;font-weight:900;flex-shrink:0}.authHeading{margin:29px 0 21px}.authHeading h1{font-size:28px;letter-spacing:-.5px;margin:8px 0}.authHeading p{font-size:13px;color:#71859a;line-height:1.6}.googleBtn{background:#fff;border:1px solid #ccd8e7;border-radius:10px;font-size:13px;font-weight:800;padding:13px 15px;width:100%;display:flex;gap:11px;justify-content:center;align-items:center;color:#2b425e}.googleBtn:hover{background:#f8faff}.or{text-align:center;font-size:11px;color:#9babba;margin:19px 0}.field{display:block;font-size:12px;color:#49617a;font-weight:750;margin:13px 0}.field input,.field textarea,.field select,.tools input,.tools select{display:block;margin-top:7px;width:100%;padding:11px 13px;border:1px solid #d4e0eb;background:#fff;border-radius:9px;color:#1e3147;outline:0}.field input:focus,.field textarea:focus,.tools input:focus{border-color:#2f74b5;box-shadow:0 0 0 3px #e2effc}.field textarea{min-height:130px;resize:vertical}.btn{padding:10px 15px;background:#e9f0f7;color:#265276;font-weight:750;font-size:12px;border-radius:9px;white-space:nowrap}.btn:hover{filter:brightness(.97)}.btn.primary{background:#235a8f;color:#fff}.btn.outline{background:#fff;color:#345775;border:1px solid #dce6ee}.btn.light{background:#f3f6fa}.btn.danger{background:#fceceb;color:#ae3636}.btn.full{width:100%;padding:13px}.authLinks{display:flex;justify-content:space-between;margin:14px 0}.textBtn{font-size:12px;color:#2472b3;background:transparent;font-weight:800}.notice{padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.6;margin:12px 0}.notice.amber{background:#fff7e5;border:1px solid #efdcae;color:#7d5c22}.notice.info{background:#ebf4ff;border:1px solid #ccdef1;color:#2b5c8c}.demoAccounts{background:#f3f8fc;border-radius:10px;padding:12px;display:flex;gap:7px;flex-wrap:wrap;align-items:center;font-size:12px;margin-top:20px}.demoAccounts span{width:100%;color:#67819b}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#102c4c;color:#c4d8eb;padding:24px 15px;display:flex;flex-direction:column;gap:25px}.sideBrand{padding:0 8px}.sideBrand strong{color:#fff}.sideBrand small{color:#9bb5d0}.navTitle{padding:0 14px;color:#7692ae;letter-spacing:1.2px;font-size:10px;font-weight:800}.nav{display:grid;gap:5px}.nav button{background:transparent;text-align:left;border-radius:9px;color:#b6cbe0;font-size:13px;font-weight:650;padding:13px}.nav button:hover,.nav button.active{background:#234e79;color:#fff}.sideFooter{margin-top:auto;background:#193c62;border-radius:12px;padding:12px;display:flex;align-items:center;gap:8px}.avatar{background:#4a8cc2;color:white;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-weight:800}.identity{flex:1;min-width:0}.identity strong,.identity span{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity strong{color:white}.identity span{color:#a4c1dc;margin-top:3px}.sideExit{background:transparent;color:#c4d8eb;font-size:23px}.main{padding:29px 33px;width:100%;max-width:1450px;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:15px;flex-wrap:wrap}.topbar h1{font-size:28px;margin:6px 0;letter-spacing:-.5px}.topbar p{margin:0}.topActions{display:flex;gap:9px;align-items:center}.userTag{border-radius:20px;background:#e3eef9;color:#2c639a;font-size:10px;letter-spacing:.7px;font-weight:900;padding:8px 11px}.statGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stat{background:#fff;border:1px solid #e2eaf3;border-radius:12px;padding:21px}.stat .number{font-size:30px;font-weight:850;color:#23496d}.stat small{color:#7e90a3;font-size:12px;display:block;margin-top:6px}.panel{border:1px solid #dfe7f0;background:white;border-radius:13px;padding:21px;margin-top:17px}.panel h2{font-size:16px;color:#244363;margin:0 0 11px}.split{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.progress{background:#e9eff6;border-radius:10px;height:8px;overflow:hidden;margin:15px 0 3px}.progress div{background:#26947d;height:100%;width:0;transition:width .25s}.cardGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.orientationCard{padding:19px;border:1px solid #e2eaf2;border-radius:11px;background:#fff;display:flex;gap:10px;flex-direction:column}.orientationCard h3{margin:0;font-size:15px;line-height:1.4}.orientationCard p{margin:0;font-size:13px;color:#76899e;line-height:1.55}.orientationCard footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:9px}.badge{border-radius:6px;background:#e7f0fa;color:#3e6692;font-size:10px;font-weight:800;padding:6px 8px;display:inline-block}.badge.green{background:#e2f6ee;color:#277b55}.badge.orange{background:#fff1d4;color:#936111}.badge.red{background:#fde9e9;color:#ad373b}.badge.gray{background:#edf0f4;color:#66798c}.trashBtn{display:inline-flex;align-items:center;gap:5px;border:1px solid #f4c5c5;background:#fff6f6;color:#ac3437;border-radius:7px;padding:6px 8px;font-weight:800;font-size:11px}.trashBtn:hover{background:#ffe8e8}.trashBtn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.tools{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.tools input{flex:1;min-width:220px;margin:0}.tools select{width:auto;max-width:220px;margin:0}.tableWrap{overflow:auto;margin-top:12px}table{border-collapse:collapse;width:100%;min-width:580px;text-align:left;font-size:12px}th,td{border-bottom:1px solid #e6edf4;padding:13px 10px}th{color:#8b9baa;font-size:10px;text-transform:uppercase;letter-spacing:.6px}td{color:#506881;line-height:1.55}.link{background:transparent;color:#256ba5;font-size:12px;font-weight:800}.empty{color:#7c91a5;padding:20px;background:#f8fafc;border:1px dashed #dbe4ef;border-radius:9px;text-align:center}.overlay{position:fixed;inset:0;display:flex;justify-content:flex-end;background:#0b1f39bb;z-index:20}.drawer{width:min(630px,100%);height:100vh;overflow:auto;background:#fff;padding:27px;box-shadow:-16px 0 40px #1b2d4422}.drawer h2{font-size:24px;letter-spacing:-.5px}.divider{border-top:1px solid #e4ebf4;margin:22px 0}.step{display:flex;gap:12px;margin:13px 0;line-height:1.6;font-size:13px}.step .circle{display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e6f0f9;color:#366b97;font-weight:800;width:27px;height:27px}.note{border-left:3px solid #ddb460;background:#fff9ed;padding:13px;font-size:13px;color:#876626;border-radius:4px;line-height:1.6}.inlineButtons{display:flex;gap:7px;flex-wrap:wrap}.mt{margin-top:12px}.mono{font-family:ui-monospace,Menlo,monospace;color:#406386}#toast{position:fixed;z-index:30;top:14px;right:18px;background:#1d466c;color:#fff;padding:12px 17px;font-size:13px;border-radius:10px;box-shadow:0 6px 20px #0e2d5028;display:none;max-width:min(350px,92vw)}@media(max-width:900px){.shell{display:block}.sidebar{padding:12px;min-height:unset;gap:6px}.sideBrand,.navTitle,.sideFooter{display:none}.nav{display:flex;overflow:auto;scrollbar-width:thin}.nav button{white-space:nowrap}.main{padding:17px}.statGrid{grid-template-columns:repeat(2,1fr)}.cardGrid{grid-template-columns:1fr}.topbar h1{font-size:24px}}@media(max-width:450px){.topActions{width:100%}.stat{padding:14px}.stat .number{font-size:25px}.panel{padding:15px}}

/* Área Planilha: tutoriais, materiais e mídia privada */
.sheetHero{background:linear-gradient(116deg,#ffffff 0%,#f0f7ff 100%);border-color:#d6e6f5}.sheetHero h2{font-size:24px;margin:8px 0}.sheetHero .muted{max-width:750px}.sheetTopics{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.sheetTopics span{display:inline-flex;align-items:center;padding:7px 10px;border-radius:99px;background:#e8f2fd;color:#396c98;font-size:11px;font-weight:700}.sheetTools{margin-top:20px}.sheetCard{border-color:#d7e5f4;position:relative;transition:box-shadow .15s,transform .15s}.sheetCard:hover{box-shadow:0 8px 24px #214c7914;transform:translateY(-1px)}.sheetCard .sheetIcon{width:36px;height:36px;display:grid;place-items:center;color:#255f93;background:#e7f2fb;border-radius:9px;font-size:20px}.sheetCover{min-height:60px;display:flex;justify-content:space-between;gap:10px;align-items:center}.sheetDescription{white-space:pre-wrap}.sheetMediaCount{display:flex;gap:7px;flex-wrap:wrap}.sheetMediaCount span{font-size:11px;background:#f0f5fb;padding:5px 9px;border-radius:7px;color:#647e98}.sheetSteps{margin:20px 0}.sheetStep{display:flex;gap:11px;margin:13px 0;line-height:1.65;font-size:13px;color:#35506d;white-space:pre-wrap}.sheetMediaGrid{display:grid;gap:16px;margin:16px 0}.sheetResource{border:1px solid #e2ebf4;border-radius:11px;background:#fbfdff;padding:14px;overflow:hidden}.sheetResource h4{font-size:13px;margin:0 0 5px}.sheetResource p{font-size:12px;line-height:1.5;color:#788ba0;margin:5px 0}.sheetResource img{display:block;width:100%;max-height:450px;object-fit:contain;background:#eef3f8;border-radius:9px;margin-top:10px}.sheetResource video,.sheetResource iframe{width:100%;aspect-ratio:16/9;border:0;background:#0c1d30;border-radius:8px;margin-top:11px}.sheetResource .btn{margin-top:8px;display:inline-block;text-decoration:none}.sheetAttachments{display:grid;gap:7px;margin:13px 0}.sheetAttachmentRow{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f5f8fc;border:1px solid #e1eaf4;padding:9px 11px;border-radius:9px;font-size:12px;min-width:0}.sheetAttachmentRow span{min-width:0;overflow-wrap:anywhere}.sheetAttachmentRow button{flex-shrink:0}.sheetAddLink{border:1px dashed #cdddec;background:#fafcff;padding:12px;border-radius:10px;margin:15px 0}.sheetAddLink .field{margin-top:8px}.sheetAddLink .btn{margin-top:8px}.sheetHelp{font-size:12px;color:#70859b;line-height:1.55}.sheetSectionTitle{font-size:13px;font-weight:850;color:#305479;margin:21px 0 7px}.sheetNotes{white-space:pre-wrap}.sheetEmpty{padding:32px 20px;background:#fff;border:1px dashed #c9d9e8;border-radius:11px;text-align:center;color:#7387a0}.sheetEmpty strong{display:block;color:#284b70;font-size:15px;margin-bottom:8px}.sheetEmpty p{max-width:520px;line-height:1.6;margin:auto;font-size:13px}.sheetTools select{max-width:210px}@media(max-width:700px){.sheetTools{align-items:stretch}.sheetTools input,.sheetTools select{width:100%;max-width:none}.sheetHero .split{align-items:flex-start}.sheetMediaGrid{gap:10px}}


.overlay.overlayCenter{justify-content:center;align-items:flex-start;padding:30px 18px;overflow:auto}.drawer.drawerWide{width:min(1120px,96vw);height:auto;min-height:auto;max-height:calc(100vh - 60px);border-radius:22px;overflow:auto;padding:28px 28px 34px}.drawer.drawerTutorial{box-shadow:0 24px 60px #10284426}.tutorialCenterWrap{max-width:100%;margin:0 auto}.tutorialIntro{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin:12px 0 20px}.tutorialIntro h2{font-size:29px;line-height:1.15;margin:0;color:#204363;letter-spacing:-.5px}.tutorialIntro p{margin:8px 0 0}.tutorialPills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tutorialPills span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;background:#edf5fd;color:#2c5f8b;font-size:11px;font-weight:800}.tutorialStage{border:1px solid #dce8f4;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);border-radius:18px;padding:22px;margin:18px 0}.tutorialStageHeader{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.tutorialStageHeader h3{margin:0;color:#204566;font-size:21px;letter-spacing:-.3px}.tutorialStageHeader .badge{font-size:11px}.tutorialStageSub{font-size:13px;color:#6f8498;line-height:1.6;margin:7px 0 0}.tutorialStageGrid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}.tutorialMediaCard,.tutorialGuideCard{width:100%;max-width:960px;margin:0 auto}.tutorialMediaCard,.tutorialGuideCard{border:1px solid #e3ebf4;border-radius:15px;background:#fff;padding:20px}.tutorialMediaCard h4,.tutorialGuideCard h4{margin:0 0 10px;font-size:13px;color:#32597b;letter-spacing:.2px}.tutorialMediaCard .sheetResource{border:0;background:transparent;padding:0}.tutorialMediaPlaceholder{display:grid;place-items:center;min-height:220px;border:1px dashed #c7d8ea;border-radius:12px;background:linear-gradient(180deg,#f6fbff 0%,#eef5fb 100%);text-align:center;padding:18px}.tutorialMediaPlaceholder strong{display:block;color:#275579;font-size:15px;margin-bottom:8px}.tutorialMediaPlaceholder p{margin:0;color:#71859a;font-size:13px;line-height:1.6;max-width:360px}.tutorialInfoStrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.tutorialMiniStat{border-radius:12px;background:#f5f9fd;border:1px solid #e1ebf4;padding:12px}.tutorialMiniStat strong{display:block;color:#24496c;font-size:12px;margin-bottom:4px}.tutorialMiniStat span{display:block;color:#72869c;font-size:12px;line-height:1.5}.stageToggleList{display:grid;gap:10px}.stageToggle{border:1px solid #dfe9f3;border-radius:13px;background:#fbfdff;overflow:hidden}.stageToggle[open]{background:#f7fbff;border-color:#cddff0;box-shadow:0 6px 18px #1f5a8a0b}.stageToggle summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer}.stageToggle summary::-webkit-details-marker{display:none}.stageNum{width:31px;height:31px;border-radius:10px;background:#e6f0fa;color:#2d638f;display:grid;place-items:center;font-weight:900;font-size:12px;flex-shrink:0}.stageTextWrap{display:grid;gap:2px}.stageLabel{font-size:13px;font-weight:850;color:#244a6d}.stageHint{font-size:11px;color:#7b90a5}.stageToggleChevron{margin-left:auto;color:#7390a7;font-size:18px;transition:transform .2s}.stageToggle[open] .stageToggleChevron{transform:rotate(180deg)}.stageToggleBody{padding:0 16px 16px 59px;color:#49657e;font-size:13px;line-height:1.7;white-space:pre-wrap}.stageNoteWrap{margin-top:12px}.tutorialFooterNote{margin-top:18px}.tutorialSummaryBar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 6px}.tutorialSummaryBar .sheetTopicPill{background:#f2f7fc;border:1px solid #dce8f4;color:#315a7d;font-size:12px;font-weight:700;border-radius:13px;padding:12px 14px;line-height:1.5}.tutorialSummaryBar .sheetTopicPill b{display:block;color:#204363;margin-bottom:4px;font-size:12px}.sheetResource video,.sheetResource iframe{background:#0c1d30}.sheetResource img{background:#eef3f8}@media(max-width:980px){.tutorialStageGrid{grid-template-columns:1fr}.drawer.drawerWide{width:min(1000px,96vw)}.tutorialIntro h2{font-size:25px}.tutorialSummaryBar,.tutorialInfoStrip{grid-template-columns:1fr}}@media(max-width:700px){.overlay.overlayCenter{padding:0}.drawer.drawerWide{width:100vw;max-height:100vh;border-radius:0;padding:18px}.tutorialStage{padding:16px}.tutorialStageHeader h3{font-size:18px}.tutorialMediaPlaceholder{min-height:180px}.stageToggleBody{padding:0 14px 14px 14px}}

/* Vídeos de cada parte: upload individual para gestores */
.sheetVideoEditor{display:grid;gap:12px;margin:14px 0 24px}.sheetVideoEditorItem{border:1px solid #dce8f4;background:linear-gradient(135deg,#f5faff,#fff);border-radius:13px;padding:15px}.sheetVideoEditorHead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sheetVideoEditorHead strong{font-size:14px;color:#244965}.sheetVideoEditorItem .field{margin-top:12px}.sheetVideoEditorItem input[type=file]{font-size:12px}.sheetVideoEditorItem .inlineButtons{margin-top:10px}.sheetVideoState{display:block;font-size:12px;color:#5b7892;margin-top:7px;overflow-wrap:anywhere}.sheetVideoLimits{color:#6d8199;font-size:12px;margin:10px 0;line-height:1.6}.tutorialVideoManager{margin-top:13px}.tutorialVideoManager button{white-space:normal}.tutorialMediaCard video{max-height:545px}.sheetVideoEditorItem .field input{margin-top:5px}

/* Acesso privado por convite — evita autocadastro aberto e filas públicas. */
.accessRestriction{display:flex;gap:9px;align-items:flex-start;background:#f1f6fc;border:1px solid #dce8f4;border-radius:11px;padding:13px;margin:13px 0 2px;font-size:12px;line-height:1.6;color:#40617d}.accessRestriction .lock{font-size:16px;line-height:1.2;flex-shrink:0}.accessRestriction b{color:#254e74}.inviteActivation{background:#f8fbff;border:1px solid #d9e7f4;border-radius:13px;padding:16px;margin-top:16px}.inviteActivation h3{font-size:15px;color:#204568;margin:0 0 8px}.inviteActivation p{font-size:12px;line-height:1.65;color:#64809a;margin:0 0 9px}.inviteActivation .field{margin:10px 0}.inviteActivation .inlineButtons{margin-top:13px}.inviteActivation .btn{flex:1}.inviteActivation .btn.primary{min-width:150px}.authLinks .textBtn{text-align:left}

/* Biblioteca de tutoriais: navegação por categorias, seguindo identidade visual da Central. */
.tutorialCatalogHint{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.tutorialCatalogHint span{display:inline-flex;align-items:center;padding:8px 11px;border-radius:9px;background:#e8f2fd;color:#36678f;font-size:11px;font-weight:750}
.tutorialCategoryHeader{margin:24px 0 12px}.tutorialCategoryHeader h3{font-size:17px;color:#254766;letter-spacing:-.3px;margin:0 0 4px}.tutorialCategoryHeader p{margin:0;color:#778ba0;font-size:12px}
.tutorialCategoryNav{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:10px;margin:14px 0 18px}
.tutorialCategoryChip{display:flex;align-items:center;gap:11px;text-align:left;padding:15px 12px;background:white;border:1px solid #dbe6f2;border-radius:13px;min-height:90px;transition:border-color .15s,box-shadow .15s,transform .15s;color:#325a7b}
.tutorialCategoryChip:hover{border-color:#98b8d5;box-shadow:0 5px 16px #2349660e;transform:translateY(-1px)}.tutorialCategoryChip.active{border:2px solid #2b70a9;background:#f0f7ff;box-shadow:0 5px 20px #23578916;padding:14px 11px}
.tutCatIcon{height:39px;width:39px;flex:0 0 39px;border-radius:10px;background:#e5effa;display:grid;place-items:center;color:#28628d;font-weight:850;font-size:21px}.tutorialCategoryChip.active .tutCatIcon{background:#d1e7fb}
.tutCatText{display:grid;gap:4px;flex:1;min-width:0}.tutCatText strong{font-size:12px;line-height:1.35;color:#254a6a}.tutCatText small{font-size:10px;line-height:1.45;color:#8093a5;font-weight:500}.tutCatCount{background:#eef3f9;color:#4a6e8c;min-width:25px;padding:4px 6px;text-align:center;border-radius:8px;font-size:11px;font-weight:850}
.tutorialCatalogSummary{color:#71879d;font-size:12px;margin:16px 0 7px}.tutorialCatalogSections{display:grid;gap:24px}.tutorialCategorySection{min-width:0}.tutorialCategorySectionHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;border-bottom:1px solid #e1eaf3;padding-bottom:13px}.tutorialCategoryTitle{display:flex;align-items:center;gap:12px;min-width:0}.tutorialGroupIcon{width:37px;height:37px;background:#eaf2fb;border-radius:10px;color:#31678e;display:grid;place-items:center;font-size:20px;flex-shrink:0}.tutorialCategoryTitle h3{margin:0;font-size:16px;color:#244966}.tutorialCategoryTitle p{margin:4px 0 0;color:#778b9e;font-size:12px;line-height:1.4}.tutorialGroupCount{white-space:nowrap;font-size:11px;font-weight:800;color:#587590;background:#ebf2f9;padding:7px 10px;border-radius:9px}
.tutorialCatalogGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:12px}.tutorialCatalogCard{min-height:240px}.tutorialCatalogCard .sheetCover{min-height:38px}.tutorialCatalogCard .sheetIcon{font-size:22px}
@media(max-width:700px){.tutorialCategoryNav{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 5px}.tutorialCategoryChip{min-width:225px;scroll-snap-align:start}.tutorialCategorySectionHead{align-items:flex-start}.tutorialCategoryTitle p{font-size:11px}.tutorialGroupCount{font-size:10px}}

/* Gerenciamento de assuntos — somente gestores e master. */
.tutorialCategoryHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tutorialCategoryHeader .btn{display:inline-flex;align-items:center;gap:7px}
.topicManageIntro{color:#6c8399;font-size:13px;line-height:1.6;margin:8px 0 20px}
.topicManageList{display:grid;gap:10px;margin:15px 0}
.topicManageRow{border:1px solid #dde8f3;border-radius:12px;padding:14px;background:#fafdff}
.topicManageRow .topicMeta{display:flex;align-items:center;gap:9px;margin-bottom:9px;color:#59748d;font-size:11px}
.topicManageRow form{display:flex;align-items:center;gap:9px}
.topicManageRow input,.topicAddForm input{min-width:0;flex:1;border:1px solid #d3e0ed;border-radius:9px;background:#fff;padding:10px 12px;color:#244461;font-size:13px}
.topicManageRow input:focus,.topicAddForm input:focus{outline:none;border-color:#3981b7;box-shadow:0 0 0 3px #e5f2ff}
.topicManageRow form .btn{flex-shrink:0}
.topicAddForm{border:1px dashed #b7cfe7;background:#f4f9fe;border-radius:12px;padding:16px;display:grid;gap:10px}
.topicAddForm label{font-size:12px;font-weight:800;color:#345b7b}.topicAddForm .inlineButtons{align-items:center}
@media(max-width:600px){.topicManageRow form{flex-direction:column;align-items:stretch}.topicManageRow .btn{width:100%}.tutorialCategoryHeader{align-items:flex-start}}

/* Biblioteca de orientações: filtros por secretaria, favoritos individuais e datas */
.orientationHero{background:linear-gradient(116deg,#fff,#f1f8ff);border-color:#d8e8f8;margin-top:0}.orientationHero h2{font-size:22px;color:#244e75;margin:6px 0 6px}.orientationHero p{max-width:720px;margin:0}.orientationHeroTag{background:#fff;border:1px solid #d9e7f5;padding:11px 14px;border-radius:12px;color:#3c6284;font-size:12px;font-weight:800}.orientationFilterBar{margin:16px 0 11px;background:#fff;border:1px solid #e0e9f4;padding:17px;border-radius:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.orientationFilterBar .orientationFilter{display:flex;flex-direction:column;min-width:0;gap:7px}.orientationFilterBar .orientationFilter>span{color:#627e99;font-size:11px;font-weight:800}.orientationFilterBar .orientationFilter input,.orientationFilterBar .orientationFilter select{width:100%;min-width:0;border-radius:9px;background:#fff;border:1px solid #d4e0eb;padding:10px 12px;font-size:12px;color:#2a455f;outline:0;min-height:40px}.orientationFilterBar .orientationFilter input:focus,.orientationFilterBar .orientationFilter select:focus{border-color:#3f80b8;box-shadow:0 0 0 3px #e2effc}.orientationFilterSearch{grid-column:span 2}.orientationFilterDates{grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.orientationFilterActions{display:flex;align-items:end;justify-content:flex-start}.orientationFilterActions .btn{min-height:40px}.orientationResultsMeta{font-size:12px;color:#7289a1;margin:12px 0 6px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.orientationCard{position:relative}.orientationCard .orientationBadgeLine{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.favoriteToggle{border:1px solid #d8e3ed;background:#fff;border-radius:10px;color:#8e9caf;font-size:24px;line-height:1;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;transition:background .15s,border .15s,color .15s,transform .15s}.favoriteToggle:hover{transform:scale(1.05);background:#fff9e8;color:#c58b21}.favoriteToggle.isFavorite{background:#fff7dd;border-color:#f1d488;color:#b87900}.favoriteToggle:focus-visible{outline:3px solid #a5cffa;outline-offset:2px}.orientationCard .orientationMeta{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:auto;color:#718aa2;font-size:11px}.orientationCard .orientationMeta .secretariaPill{background:#f0f6fc;color:#426e95;border-radius:6px;padding:5px 8px;font-weight:750}.favoriteModalBtn{margin-top:6px;white-space:normal}.favoriteModalBtn.isFavorite{background:#fff5d7;color:#98660d;border-color:#efcf82}.orientationCard footer{padding-top:8px}@media(max-width:1100px){.orientationFilterBar{grid-template-columns:repeat(2,minmax(0,1fr))}.orientationFilterSearch,.orientationFilterDates{grid-column:span 2}}@media(max-width:660px){.orientationFilterBar{grid-template-columns:1fr;padding:13px}.orientationFilterSearch,.orientationFilterDates{grid-column:span 1}.orientationFilterDates{grid-template-columns:1fr}.orientationHero h2{font-size:19px}.orientationResultsMeta{display:block}.orientationResultsMeta span{display:block;margin:4px 0}}

/* Catálogo controlado de encaminhamentos - importação da planilha SECOMUNIC */
/* As relações entre setores e secretarias agora alimentam somente a busca. */
.routingEditor{padding:15px;background:#f7faff;border:1px solid #dbe8f5;border-radius:13px;margin:12px 0}.routingEditor h3{font-size:13px;color:#2a5479;margin:0 0 6px}.routingEditor label{font-size:12px;color:#45617c;font-weight:750}.routingEditor input[type=search]{display:block;margin:9px 0 10px;width:100%;padding:10px 12px;border:1px solid #d1dfed;border-radius:9px;background:#fff}.routingEditorChoices{display:grid;gap:6px;max-height:230px;overflow:auto;padding:4px}.routingEditorChoices label{display:flex;align-items:flex-start;gap:9px;background:#fff;padding:9px 10px;border:1px solid #e1eaf3;border-radius:9px;font-size:12px;font-weight:600;color:#33546e;line-height:1.45}.routingEditorChoices label input{flex:0 0 auto;margin:2px 0 0}.routingEditorSelected{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.routingEditorSelected button{white-space:normal;font-size:11px;padding:7px 10px;background:#e5f1fa;color:#2f608a;border-radius:9px;font-weight:800}.routingEditor .muted{font-size:11px}.routingLinkedBox{padding:11px 13px;background:#f1f7fd;border:1px solid #d8e7f4;border-radius:11px;margin-top:12px;font-size:12px;color:#395c7c}.routingLinkedBox strong{color:#214c72}.routingLinkedBox .unitPill{display:inline-block;margin:5px 4px 0 0}.routingEmpty{padding:19px;background:#f8fbfd;border:1px dashed #d6e5f3;border-radius:11px;font-size:12px;color:#678198;text-align:center}.orientationCard .orientationMeta{flex-wrap:wrap}@media(max-width:600px){.routingEditor{padding:11px}}

/* Fluxos de Ocorrências — timeline editorial, formulário de cenário e gestão. */
.flowHero{background:linear-gradient(123deg,#153b63,#256095);color:#fff;overflow:hidden;position:relative}
.flowHero::after{content:"";position:absolute;right:-95px;bottom:-130px;width:330px;height:330px;border:1px solid #ffffff28;border-radius:50%;box-shadow:0 0 0 44px #ffffff0a,0 0 0 93px #ffffff08;pointer-events:none}
.flowHero .eyebrow{color:#aed2f4}.flowHero h2{font-size:24px;margin:7px 0 8px;letter-spacing:-.6px}.flowHero .muted{color:#d2e5f9;font-size:13px;max-width:680px;position:relative;z-index:1}.flowHero .flowHeroPills{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;position:relative;z-index:1}.flowHeroPills span{background:#ffffff1b;border:1px solid #ffffff38;padding:7px 10px;border-radius:999px;font-size:11px;color:#e6f3ff;font-weight:700}.flowHero .btn{z-index:2}
.flowVossoHelp{margin-bottom:17px;padding:15px 17px;border-radius:13px;border:1px solid #c7daf0;background:#f0f7ff;display:flex;gap:12px;align-items:flex-start;color:#244662;font-size:13px;line-height:1.6}.flowVossoHelp .flowVossoIcon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#d7e8fb;color:#245a90;font-weight:900;flex-shrink:0;font-size:19px}.flowVossoHelp strong{color:#164a7b}.flowVossoHelp p{margin:3px 0 0}.flowVossoHelp small{font-size:11px;display:block;color:#6a829c;margin-top:5px}
.flowLayout{display:grid;grid-template-columns:minmax(260px,315px) minmax(0,1fr);align-items:start;gap:16px}.flowCatalog{padding:17px;position:sticky;top:16px}.flowCatalog .field{margin:11px 0}.flowCatalog h3{font-size:15px;margin:0 0 3px}.flowCatalog small{font-size:11px}.flowCatalogList{display:grid;gap:9px;max-height:70vh;overflow-y:auto;padding:2px}.flowCatalogItem{display:grid;gap:8px;padding:13px;border-radius:12px;background:#fff;border:1px solid #e0e9f2;text-align:left;color:#283f59;width:100%;transition:background .14s,border-color .14s,box-shadow .14s;white-space:normal}.flowCatalogItem:hover{background:#f8fbff;border-color:#bcd2e6}.flowCatalogItem.selected{background:#edf5ff;border-color:#73a6d5;box-shadow:0 0 0 2px #73a6d520}.flowCatalogTop{display:flex;gap:6px;align-items:center;justify-content:space-between}.flowCatalogTop small{text-transform:uppercase;letter-spacing:.5px;color:#6a849e;font-weight:800;font-size:9px}.flowCatalogItem strong{font-size:13px;line-height:1.4}.flowCatalogDesc{font-size:11px;line-height:1.55;color:#607992}.flowCatalogFoot{font-size:10px;color:#8ba0b2}.flowState{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:850;white-space:nowrap}.flowState.flowApproved{background:#e5f5ed;color:#24764b}.flowState.flowReview{background:#fff2d5;color:#96620c}.flowState.flowDraft{background:#eff1f5;color:#607389}
.flowWorkspace{min-width:0}.flowWorkspace>.panel{padding:22px}.flowEmpty{text-align:center;padding:60px 20px}.flowEmpty .flowEmptyIcon{font-size:32px;color:#5b89b6;background:#eaf3fb;width:68px;height:68px;border-radius:20px;display:grid;place-items:center;margin:0 auto 16px}.flowEmpty h3{margin:0 0 6px}.flowEmpty p{color:#6d8298;font-size:13px}
.flowDetailHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.flowDetailHead h2{margin:6px 0 6px;font-size:22px;letter-spacing:-.4px}.flowDetailHead p{margin:0;font-size:13px;color:#647b93;line-height:1.55}.flowDetailMeta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}.flowDetailMeta small{color:#8b9daf;font-size:11px}.flowValidationWarning{border:1px solid #e8d5a6;background:#fff9eb;color:#815e21;border-radius:11px;padding:11px 13px;line-height:1.55;font-size:12px;margin:15px 0}.flowSectionHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 14px}.flowSectionHeader h3{font-size:14px;margin:0;color:#25415e}.flowTimeline{padding-left:3px}.flowTimeItem{position:relative;display:flex;gap:15px;padding:0 0 21px}.flowTimeItem:not(:last-child)::before{content:"";position:absolute;left:16px;top:36px;bottom:0;width:2px;background:#caddeb}.flowTimeMarker{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;flex-shrink:0;background:#d9eaf8;color:#276397;font-size:13px;font-weight:900;z-index:1}.flowTimeBody{border:1px solid #e0e9f3;border-radius:12px;padding:12px 14px;flex:1;background:#fbfdff;min-width:0}.flowTimeCaption{font-size:10px;font-weight:850;letter-spacing:.8px;color:#6b85a0;text-transform:uppercase}.flowTimeBody h4{font-size:13px;color:#2c4e6f;margin:7px 0}.flowTimeBody p{font-size:12px;line-height:1.55;color:#5b7289;margin:5px 0}.flowTimeBody strong{color:#2b5a86}.flowTimeEnd .flowTimeMarker{background:#d8efe4;color:#287d4d}.flowTimeNow .flowTimeMarker{background:#edf1f6;color:#6d8096}.flowArrow{font-weight:900;color:#337fbb;padding:0 4px}.flowTinyVosso{font-size:11px;color:#255a90;background:#e9f4ff;border-radius:8px;padding:7px 9px;margin-top:9px}
.flowDecision{border:1px solid #dbe6f2;border-radius:15px;background:#f7faff;padding:18px;margin-top:14px}.flowDecision h3{font-size:16px;margin:0}.flowDecision p.hint{font-size:12px;color:#74899c;margin:6px 0 16px}.flowDecisionGrid{display:grid;grid-template-columns:1.1fr 1fr;gap:12px}.flowDecisionGrid .field{margin:0 0 12px}.flowDecision .field select,.flowDecision .field input{background:#fff}.flowDecisionGrid .flowSectorSearch{grid-column:1}.flowSectorMeta{font-size:10px;color:#8194a7;margin:-3px 0 12px;grid-column:1/-1}.flowResult{margin-top:12px;padding:15px;border-radius:12px;display:flex;align-items:flex-start;gap:13px;background:#fff;border:1px solid #dae5ef}.flowResultIcon{flex-shrink:0;width:35px;height:35px;background:#e5f2ff;color:#286a9e;display:grid;place-items:center;border-radius:11px;font-size:20px;font-weight:900}.flowResult h3{margin:5px 0 7px;font-size:16px}.flowResult p{font-size:12px;line-height:1.65;color:#5d7288;margin:4px 0}.flowResultUnknown{border-color:#eed39e;background:#fff9eb}.flowResultUnknown .flowResultIcon{background:#fff0c9;color:#996819}.flowResultFinish,.flowResultencerrar{border-color:#c0e5cd;background:#f2fbf5}.flowResultFinish strong{color:#1a7850}.flowResultencerrar .flowResultIcon{background:#d9f3e6;color:#228052}.flowResult .flowNextSector{padding:8px 10px;border-radius:9px;background:#eaf4ff;color:#295b86}.flowNextSector span{font-weight:900;margin:0 5px}.flowDanger{color:#b54c3b!important}.flowResultEmpty{background:#fff}.flowResultEmpty strong{font-size:13px}.flowVossoStep{margin:10px 0 0;padding:15px;background:#e7f3ff;border:1px solid #bad4ee;color:#2b5d8e;border-radius:12px}.flowVossoStep .flowVossoHeader{display:flex;align-items:center;gap:8px;font-size:13px}.flowVossoStep .flowVossoHeader span{background:#2e6b9e;color:white;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:17px}.flowVossoStep p{font-size:12px;line-height:1.7;margin:9px 0}.flowVossoStep small{font-size:11px;color:#5b7997}.flowDecisionActions{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.flowFoot{margin-top:23px;padding-top:16px;border-top:1px solid #e7eef5}.flowFoot strong{font-size:12px;color:#365c7a}.flowFoot p{font-size:12px;color:#72869b;line-height:1.6}.flowRelated{margin:14px 0}.flowRelated strong{font-size:12px}.flowRelated .inlineButtons{margin-top:9px}.flowRelated .btn{white-space:normal;text-align:left}
.flowRulesHeading{margin:20px 0 8px}.flowRulesHeading h3{margin:0;font-size:15px}.flowRulesHeading .muted{margin:5px 0}.flowRuleRow{border:1px solid #dce7f1;border-radius:13px;padding:15px;margin:12px 0;background:#fafcff}.flowRuleTop{display:flex;justify-content:space-between;align-items:center}.flowRuleTop strong{color:#24547f;font-size:13px}.flowRuleFields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.flowFormTwo{display:grid;grid-template-columns:1.1fr 1fr;gap:12px}.flowRuleRow .field{margin-top:13px}.flowRuleRow .field textarea{min-height:80px}.flowVossoCheckbox{display:flex!important;align-items:center;gap:10px;font-size:12px}.flowVossoCheckbox.hide{display:none!important}.flowVossoCheckbox input{width:auto;display:inline-block;margin:0}.flowEditorHeading h2{margin:4px 0}.flowEditorHeading p{margin:6px 0 18px}
@media(max-width:1040px){.flowLayout{grid-template-columns:minmax(220px,260px) minmax(0,1fr)}.flowWorkspace>.panel{padding:17px}}
@media(max-width:780px){.flowLayout{grid-template-columns:1fr}.flowCatalog{position:static}.flowCatalogList{max-height:240px;grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}.flowDecisionGrid{grid-template-columns:1fr 1fr}}
@media(max-width:570px){.flowDetailHead{display:block}.flowDecisionGrid,.flowRuleFields,.flowFormTwo{grid-template-columns:1fr}.flowCatalogList{grid-template-columns:1fr}.flowWorkspace>.panel{padding:14px}.flowDecision{padding:13px}.flowHero h2{font-size:21px}.flowSectionHeader{align-items:flex-start}.flowVossoHelp{padding:12px}.flowHeroPills span{font-size:10px}}

.flowHero h2{color:#fff}.flowHero .btn.primary{background:#fff;color:#1b527e;border:1px solid #ffffffbd}.flowHero .btn.primary:hover{background:#eaf5ff}


.flowManageMenu summary,.flowEditorDetails summary,.flowNodeEdit summary{cursor:pointer;font-weight:650;color:#244363}
.flowManageMenu .inlineButtons{margin-top:8px}
.flowEditorDetails{border-top:1px solid #dbe5ee;margin-top:12px;padding:12px 0}
.flowEditorDetails[open]>summary{margin-bottom:12px}
.flowEditorActions{position:sticky;bottom:0;background:#fff;padding:10px 0;border-top:1px solid #dbe5ee;z-index:2}
#flowModelPreview .flowGraphScroll{max-height:40vh;min-height:180px}
#flowModelPreview .flowDiagramNode[aria-pressed="true"]{outline:3px solid #1766ac;outline-offset:3px}
#flowModelNodeList{margin-top:12px}
#flowModelEdgeList .flowEdgeEdit{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
@media(max-width:760px){#flowModelEdgeList .flowEdgeEdit{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Apresentação audiovisual integrada ao guia Primeiros Passos. */
.obVideoPanel{background:#fff;border:1px solid #dbe6f1;border-radius:17px;padding:21px;margin-bottom:18px;box-shadow:0 4px 20px #153c6010}
.obVideoHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px;flex-wrap:wrap}
.obVideoHead h3{font-size:18px;line-height:1.3;margin:0 0 4px;color:#1c4266}
.obVideoHead p{margin:0;font-size:12px;color:#647f96;line-height:1.5}
.obVideoWrap{position:relative;width:100%;max-width:1080px;aspect-ratio:16/9;border-radius:12px;background:#0e2943;overflow:hidden;margin:0 auto}
.obVideoWrap video{display:block;width:100%;height:100%;object-fit:contain}
.obVideoLoading{display:flex;align-items:center;justify-content:center;min-height:220px;max-width:1080px;margin:auto;background:#eff6fc;border:1px dashed #cbdcea;border-radius:12px;color:#476e8e;padding:25px;text-align:center;font-size:13px;line-height:1.6}
.obVideoHelp{font-size:11px;color:#68839a;margin:10px 0 0;text-align:center}


/* Gestão persistente de grupos — v27 */
.manageHeadingActions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.manageGroupEmpty{padding:15px 18px;font-size:13px;color:#7a8c9d}
.groupManagerIntro{font-size:13px;color:#5b7188;line-height:1.65;margin:5px 0 20px}
.groupManagerList{display:grid;gap:10px;margin:10px 0 24px}
.groupManagerRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #e0e9f1;background:#f9fbfd;padding:12px;border-radius:12px}
.groupManagerForm{display:flex;gap:8px;align-items:center;min-width:0}
.groupManagerForm input{height:40px;min-width:0;flex:1;border:1px solid #cfdfed;border-radius:8px;padding:8px 10px;font:inherit}
.groupManagerForm .btn{flex-shrink:0}
.groupManagerCount{display:block;font-size:11px;color:#70879d;margin-top:4px}
.groupManagerDelete{background:#fff;border:1px solid #f4c5c5;border-radius:8px;padding:10px 12px;color:#a82933;font:inherit;font-size:12px;cursor:pointer}
.groupManagerDelete:disabled{opacity:.45;cursor:not-allowed}
.groupManagerAdd{border-top:1px solid #e6eef5;padding-top:18px}
.groupManagerAdd label{font-size:13px;font-weight:800;display:block;margin-bottom:9px}
.groupManagerAddLine{display:flex;gap:10px}
.groupManagerAddLine input{flex:1;min-width:0;border:1px solid #cbdbe7;border-radius:8px;padding:11px;font:inherit}
.groupManagerNote{background:#eaf3f8;border-radius:10px;padding:12px 14px;font-size:12px;color:#43627a;line-height:1.55;margin-top:16px}
@media(max-width:700px){.manageHeadingActions{width:100%;justify-content:flex-start}.groupManagerRow{grid-template-columns:1fr}.groupManagerForm{flex-wrap:wrap}.groupManagerDelete{justify-self:start}.groupManagerAddLine{flex-wrap:wrap}.groupManagerAddLine .btn{width:100%}}


/* Primeiro acesso: definição obrigatória do nome exibido, sem afetar autenticação. */
#profileSetupScreen .profileSetupCard{width:min(490px,100%);}
#profileSetupScreen .authHeading{margin-bottom:18px;}
#profileSetupScreen .authHeading h1{font-size:25px;line-height:1.25;}
#profileSetupScreen .authHeading p{max-width:390px;}
#profileSetupScreen .profileSetupHint{font-size:11px;line-height:1.6;color:#637f96;margin:3px 0 14px;}
#profileSetupScreen .profileSetupPreview{background:#f0f6fd;border:1px solid #d4e6f5;border-radius:10px;padding:13px;font-size:12px;color:#4d708c;margin:10px 0 16px;line-height:1.6;overflow-wrap:anywhere;}
#profileSetupScreen .profileSetupPreview strong{color:#20567f;display:block;font-size:16px;margin-top:3px;}
#profileSetupScreen .profileSetupError{font-size:12px;background:#fff1f0;border:1px solid #f0bfba;border-radius:8px;padding:9px 11px;color:#a63232;margin:10px 0;}
#profileSetupScreen .profileSetupExit{display:block;margin:17px auto 0;}
#profileSetupScreen .btn:disabled{opacity:.65;cursor:wait;}
@media(max-width:540px){#profileSetupScreen .profileSetupCard{padding:23px 20px;}#profileSetupScreen .authHeading h1{font-size:23px;}}
