/* Núcleo de Pessoal · Home institucional estilo caderno · v1.6.20.
   Escopo isolado da Home: não modifica estilos, lógica ou dados dos cinco módulos. */
.home-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.portal-home{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;background:linear-gradient(135deg,#eef6fc,#f8fbff 45%,#eef4f9);color:#193759;scrollbar-color:#cbd8e8 transparent;scrollbar-width:thin}
.portal-home[hidden],.home-module-card[hidden],.home-no-results[hidden]{display:none!important}
.portal-home svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:none}
.home-shell{max-width:1450px;margin:0 auto;padding:clamp(17px,2.3vw,36px)}
.home-notebook{position:relative;overflow:hidden;border:2px solid #1b3957;border-radius:25px;box-shadow:0 18px 55px #2344690d,0 3px 8px #23446908;background:#fffdf6;
  background-image:linear-gradient(to right,transparent 0,transparent 67px,#f3bdba 68px,transparent 69px),repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#e6e7e0 30px,transparent 31px)}
.home-notebook::before{content:"";position:absolute;z-index:0;inset:16px auto 16px 12px;width:22px;pointer-events:none;
  background:repeating-linear-gradient(to bottom,#213c5c 0 3px,transparent 3px 25px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 15px,#000 calc(100% - 15px),transparent);mask-image:linear-gradient(to bottom,transparent,#000 15px,#000 calc(100% - 15px),transparent)}
.home-paper{position:relative;z-index:1;margin-left:68px;padding:24px clamp(19px,3.1vw,50px) 14px}
.home-intro{text-align:center;padding:2px 8px 23px}
.home-guide-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;background:#fffaf2;border:1px dashed #ec9e3e;border-radius:30px;color:#a45a1a;letter-spacing:.075em;font-size:10px;line-height:1;font-weight:850}
.home-guide-badge svg{width:14px;height:14px}
.home-eyebrow{font-size:10px;letter-spacing:.12em;color:#7388a3;font-weight:780;margin:20px 0 7px}
.home-intro h1{font-size:clamp(35px,4.3vw,61px);font-weight:875;letter-spacing:-.058em;line-height:1.12;color:#15375d;margin:0 0 10px}
.home-intro-description{margin:0 auto;max-width:720px;color:#536982;font-size:clamp(12px,1.05vw,14px);line-height:1.65;font-weight:550}
.home-hero-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.home-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;border:1px solid transparent;border-radius:10px;font:inherit;font-size:12px;font-weight:800;text-decoration:none;line-height:1.15;cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}
.home-button svg{width:16px;height:16px}
.home-button-primary{background:#0f9c6a;border-color:#0b8f61;color:#fff;box-shadow:0 3px 8px #006e3b15}
.home-button-primary:hover{background:#0b8259;box-shadow:0 6px 13px #00774225;transform:translateY(-1px)}
.home-button-outline{background:#fff;border-color:#bcd4ef;color:#205ca9;box-shadow:0 2px 9px #2466a70a}
.home-button-outline:hover{background:#f2f7ff;border-color:#77aeed;transform:translateY(-1px)}
.home-button:focus-visible,.home-module-card:focus-visible,.home-help-tile button:focus-visible,.home-search:focus-within{outline:3px solid #8cb9fa;outline-offset:3px}
.home-modules{scroll-margin-top:25px}
.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 11px}
.home-section-kicker{margin:0 0 4px;color:#5a7d9c;font-size:9px;letter-spacing:.12em;font-weight:830}
.home-section-head h2{margin:0;color:#234366;font-size:15px;letter-spacing:-.018em;font-weight:850}
.home-search{display:flex;align-items:center;gap:8px;max-width:310px;min-height:37px;padding:0 9px 0 11px;background:#fff;border:1px solid #d6e2f0;border-radius:10px;box-shadow:0 2px 9px #19365409;color:#7e93aa}
.home-search svg{width:16px;height:16px}
.home-search input{width:100%;min-width:90px;border:0;outline:0;font:inherit;font-size:11px;color:#203e5e;background:transparent}
.home-search input::placeholder{color:#8ca0b5}
.home-search kbd,.home-footer kbd{font-family:inherit;font-size:10px;border-radius:5px;padding:3px 6px;border:1px solid #dbe6f3;background:#f4f8fd;color:#6180a2;white-space:nowrap}
.home-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-module-card,.home-help-tile{position:relative;min-width:0;display:flex;flex-direction:column;padding:17px 19px 14px;border:1px solid var(--card-border,#bad4ef);border-radius:16px;color:#1c4269;text-decoration:none;background:var(--card-bg,#f0f7fe);transition:transform .16s,box-shadow .16s,border-color .16s;min-height:165px}
.home-module-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #27476816;border-color:var(--card-accent)}
.home-module-card.theme-blue{--card-bg:#edf7ff;--card-border:#a6d0fd;--card-accent:#347fc9;--icon-bg:#e0f0ff;--icon-ink:#1d75c6}
.home-module-card.theme-indigo{--card-bg:#f3f1ff;--card-border:#c1b6ff;--card-accent:#7461c7;--icon-bg:#e9e5ff;--icon-ink:#7061ca}
.home-module-card.theme-teal{--card-bg:#ecfaf7;--card-border:#9cddd5;--card-accent:#179789;--icon-bg:#dcf4ef;--icon-ink:#139b82}
.home-module-card.theme-violet{--card-bg:#fdf1f7;--card-border:#f1bad2;--card-accent:#cd6090;--icon-bg:#fbe4ef;--icon-ink:#cb5b8f}
.home-module-card.theme-amber{--card-bg:#fff7eb;--card-border:#f4cf94;--card-accent:#d28d32;--icon-bg:#ffebca;--icon-ink:#c28635}
.home-card-head{display:flex;align-items:center;gap:11px;margin-bottom:10px;min-width:0}
.home-card-icon,.home-help-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:var(--icon-bg);color:var(--icon-ink)}
.home-card-icon svg,.home-help-icon svg{width:22px;height:22px}
.home-card-head h3{font-size:14px;line-height:1.3;font-weight:850;margin:0 0 3px;color:#153b61;letter-spacing:-.014em}
.home-card-label{display:inline-flex;font-size:9px;line-height:1.25;font-weight:740;color:#58728b;border:1px solid #d9e2ef;background:#ffffffba;border-radius:20px;padding:2px 7px}
.home-module-card>p,.home-help-tile>p{margin:0 0 9px;font-size:11px;line-height:1.55;color:#49627e;max-width:530px;flex:1}
.home-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 9px}
.home-card-tags>span{display:inline-flex;align-items:center;min-height:18px;padding:3px 7px;border:1px solid #dbe5ef;border-radius:16px;background:#ffffffcf;color:#486782;font-size:9px;font-weight:700;line-height:1}
.home-card-bottom{display:inline-flex;align-items:center;gap:5px;color:#205b9e;font-size:11px;font-weight:850;line-height:1;margin-top:auto}
.home-card-bottom svg{height:14px;width:14px;transition:transform .16s}
.home-module-card:hover .home-card-bottom svg{transform:translateX(4px)}
.home-help-tile{--card-bg:#f8fbff;--card-border:#bdcff0;background:#f9fbff;align-items:flex-start;justify-content:center}
.home-help-icon{background:#ebf3ff;color:#386ebc;width:40px;height:40px;flex:0 0 40px;margin-bottom:9px}
.home-help-tile h3{margin:0 0 6px;font-size:13px;font-weight:850;color:#1f4976}
.home-help-tile>p{flex:0 0 auto}
.home-help-tile button{border:0;background:none;padding:0;cursor:pointer;font:inherit;display:inline-flex;align-items:center;gap:5px;color:#205ea9;font-weight:800;font-size:11px;text-decoration:none}
.home-help-tile button:hover{text-decoration:underline}
.home-help-tile button svg{width:14px;height:14px}
.home-no-results{border:1px dashed #c4d9ed;background:#fff;border-radius:13px;padding:21px;text-align:center;color:#587695;font-size:12px;margin-top:10px}
.home-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;scroll-margin-top:20px}
.home-guide,.home-info{min-width:0;background:#ffffffeb;border:1px solid #bfd4ed;border-radius:13px;padding:15px 17px}
.home-panel-head{display:flex;align-items:center;gap:8px;margin:0 0 7px}
.home-panel-head h2{margin:0;font-weight:850;font-size:12px;color:#244e76}
.home-panel-icon{display:grid;place-items:center;border-radius:9px;width:28px;height:28px;background:#e7f0ff;color:#2862ac}
.home-panel-icon svg{height:16px;width:16px}
.home-panel-icon-safe{background:#e5f7ed;color:#15976a}
.home-guide p,.home-info p{margin:0 0 0 36px;color:#57708b;font-size:10px;line-height:1.65}
.home-guide p strong{color:#264b6b}
.home-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 0;color:#637c93;font-size:10px;line-height:1.5}
.home-footer span:first-child{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.home-footer svg{width:15px;height:15px;color:#169d74}
.home-footer a{color:#245da4;text-underline-offset:2px}
@media(max-width:850px){.home-shell{padding:16px}.home-paper{padding:22px 17px 14px;margin-left:48px}.home-notebook{background-image:linear-gradient(to right,transparent 0,transparent 47px,#f2bdbd 48px,transparent 49px),repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#e6e7e0 30px,transparent 31px)}.home-notebook::before{left:8px;width:20px}.home-intro h1{font-size:40px}}
@media(max-width:650px){.home-shell{padding:10px}.home-notebook{border-radius:18px;background-image:linear-gradient(to right,transparent 0,transparent 31px,#f2bdbd 32px,transparent 33px),repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#e6e7e0 30px,transparent 31px)}.home-notebook::before{left:6px;width:16px;background:repeating-linear-gradient(to bottom,#213c5c 0 3px,transparent 3px 25px)}.home-paper{margin-left:32px;padding:17px 11px 11px}.home-eyebrow{font-size:8px;margin-top:13px}.home-intro{padding:1px 0 16px}.home-intro h1{font-size:clamp(27px,7.8vw,39px)}.home-intro-description{font-size:11px}.home-hero-actions{flex-direction:column;gap:8px}.home-button{width:100%}.home-section-head{flex-direction:column;align-items:stretch}.home-search{max-width:none;width:100%}.home-module-grid,.home-bottom-grid{grid-template-columns:1fr;gap:10px}.home-module-card{min-height:0;padding:14px}.home-help-tile{min-height:140px}.home-footer{flex-direction:column;align-items:flex-start}.home-guide p,.home-info p{margin-left:0}}
@media(prefers-reduced-motion:reduce){.home-button,.home-module-card,.home-card-bottom svg{transition:none!important}.home-button:hover,.home-module-card:hover{transform:none!important}}
