:root{font-family:Arial,Helvetica,sans-serif;color:#18353e;background:#f4f7f6;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{height:76px;background:#fff;border-bottom:1px solid #dae5e4;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#0c6d69;color:#fff;font:700 24px Georgia,serif}.brand strong{display:block;font-size:17px;letter-spacing:-.025em}.brand small{display:block;color:#657b80;font-size:12px;margin-top:3px}.top-right{font-size:13px;color:#687c80}.bar{margin:0 10px;color:#bdcaca}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{background:#103943;color:#fff;padding:34px 14px;display:flex;flex-direction:column;gap:5px}.side-label{font-size:11px;font-weight:700;letter-spacing:.12em;color:#95b8b8;padding:0 17px;margin:0 0 16px}.nav{border:0;background:transparent;color:#d3e4e4;border-radius:9px;padding:13px 16px;text-align:left;font-weight:600;font-size:14px}.nav.active,.nav:hover{background:#21616a;color:#fff}.side-note{margin:auto 11px 0;border-top:1px solid #3b6670;padding-top:22px;display:grid;gap:8px;font-size:12px;line-height:1.5;color:#b1d0cf}.side-note strong{color:#fff;font-size:13px}.content{max-width:1270px;width:100%;margin:0 auto;padding:40px 48px 80px}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:26px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;color:#148377;margin:0 0 10px}.page-head h1{font-size:31px;letter-spacing:-.045em;margin:0 0 8px}.page-head p:not(.eyebrow){color:#667c80;margin:0;line-height:1.5;font-size:14px}.step-tag{white-space:nowrap;background:#d9eee9;color:#196c63;border-radius:100px;padding:8px 12px;font-weight:700;font-size:12px}.card{background:#fff;border:1px solid #dce7e5;border-radius:14px;padding:24px 27px;margin-bottom:16px;box-shadow:0 2px 12px rgba(12,45,51,.025)}.card-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}.card-number{display:grid;place-items:center;flex:0 0 31px;height:31px;background:#e3f3ef;border-radius:8px;color:#0d716a;font-size:13px;font-weight:800}.card-head h2{margin:2px 0 5px;font-size:17px;letter-spacing:-.02em}.card-head p{margin:0;color:#71868a;font-size:13px}.grid{display:grid;gap:17px 20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.one{grid-template-columns:1fr;margin-top:18px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#36565b}input,select,textarea{border:1px solid #ccd9d8;border-radius:8px;background:#fff;color:#19393e;min-height:41px;padding:10px 12px;outline:0;font-size:14px;width:100%}textarea{resize:vertical;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:#0a8479;box-shadow:0 0 0 3px rgba(20,131,119,.13)}.hint{font-weight:400;color:#73888b}.action-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0 32px}.action-bar p{font-size:13px;color:#6a8084;margin:0}.primary{background:#08756c;color:#fff;border:1px solid #08756c;border-radius:9px;padding:12px 20px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px}.primary:hover{background:#065f58}.primary:disabled{opacity:.6;cursor:wait}.notice{background:#fff7dd;color:#76520d;border:1px solid #f0dda6;padding:13px 16px;border-radius:9px;margin-bottom:18px;font-size:14px;line-height:1.5}.notice.error{background:#fff0ed;color:#953f36;border-color:#f0c5bd}.notice.success{background:#e8f5ef;color:#156d4f;border-color:#bde4cd}.result{background:#fff;border:1px solid #dce7e5;border-radius:14px;overflow:hidden}.result-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px}.result-head strong{font-size:17px}.result-head p{font-size:13px;color:#6d8386;margin:4px 0 0}.result-check{display:inline-grid;place-items:center;background:#d9eee9;color:#08756c;width:25px;height:25px;border-radius:50%;font-weight:bold;margin-right:8px}iframe{width:100%;height:650px;border:0;border-top:1px solid #e3ecea}.server-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.list-card{align-self:start}.form-action{display:flex;align-items:end}.server-item{padding:15px 0;border-top:1px solid #e7eeee}.server-item:first-child{border-top:0}.server-item strong{display:block;font-size:14px}.server-item span{display:block;color:#72878a;font-size:12px;margin-top:5px}.server-item button{border:0;background:none;color:#0a766d;font-weight:700;font-size:12px;padding:8px 0 0}.empty{color:#71858a;font-size:14px;line-height:1.5}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{padding:10px 18px;flex-direction:row;align-items:center}.side-label,.side-note{display:none}.nav{padding:10px 14px}.content{padding:30px 22px 70px}.server-layout{grid-template-columns:1fr}}@media(max-width:620px){.topbar{padding:0 18px}.top-right,.step-tag{display:none}.content{padding:24px 15px 60px}.page-head h1{font-size:27px}.card{padding:20px 17px}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.action-bar,.result-head{align-items:stretch;flex-direction:column}.action-bar .primary{width:100%}iframe{height:460px}}
.field-help{font-size:12px;font-weight:400;color:#73888b;line-height:1.3}input[readonly]{background:#edf6f3;color:#0d665e;font-weight:700}

.table-scroll{overflow:auto;max-height:650px}
.control-table{width:100%;border-collapse:collapse;font-size:13px;min-width:720px}
.control-table th,.control-table td{padding:11px 12px;text-align:left;border-bottom:1px solid #e1e8e9}
.control-table th{position:sticky;top:0;background:#f4f8f8;color:#345560;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.control-table tbody tr:hover{background:#f7faf9}
.auth-link{display:inline-block;margin-left:10px;font-weight:700;color:#0d3c4a;text-decoration:underline}
.top-right a{color:#0d6f69;font-weight:700;text-decoration:underline}
[hidden]{display:none!important}
.text-button{border:0;background:none;color:#0b746c;font-weight:700;padding:8px 0;text-decoration:underline;cursor:pointer}
.auth-screen{min-height:100vh;background:linear-gradient(135deg,#e9f4f0 0%,#f7faf8 58%,#ecf2f0 100%);display:grid;place-items:center;padding:28px}
.auth-shell{width:min(980px,100%);display:grid;grid-template-columns:1fr 430px;gap:46px;align-items:center}
.auth-intro{padding:20px 8px}
.auth-intro .brand-mark{width:50px;height:50px;font-size:29px;margin-bottom:36px}
.auth-intro h1{font-size:48px;line-height:1.05;letter-spacing:-.055em;max-width:430px;margin:12px 0 20px;color:#143c42}
.auth-intro>p:not(.eyebrow){font-size:16px;line-height:1.6;color:#5f7b7e;max-width:430px}
.auth-points{display:grid;gap:15px;margin-top:34px;font-size:14px;font-weight:700;color:#25665e}
.auth-card{background:#fff;border:1px solid #d7e4e1;border-radius:18px;box-shadow:0 22px 65px rgba(14,62,62,.1);padding:29px 34px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e0eae8;margin-bottom:28px}
.auth-tab{border:0;border-bottom:3px solid transparent;background:none;padding:9px 12px 14px;color:#73898b;font-weight:700}
.auth-tab.active{border-color:#0b786d;color:#0b665e}
.auth-form{display:grid;gap:17px}
.auth-form h2,.recovery-panel h2{font-size:24px;letter-spacing:-.04em;margin:0}
.auth-form>p,.recovery-panel>p{font-size:13px;line-height:1.5;color:#6b8284;margin:-8px 0 3px}
.auth-form label{gap:7px}
.auth-form label small{font-size:11px;font-weight:400;color:#71878a}
.auth-form .primary,.recovery-panel .primary{width:100%;margin-top:5px}
.auth-form .text-button{text-align:center}
.recovery-panel{display:grid;gap:17px}
.recovery-panel code{display:block;background:#eaf5ef;border:1px dashed #73afa1;border-radius:9px;padding:17px 12px;text-align:center;font-size:16px;letter-spacing:.05em;word-break:break-all;color:#144f48}
@media(max-width:800px){.auth-shell{grid-template-columns:1fr;max-width:460px;gap:18px}.auth-intro{padding:0}.auth-intro .brand-mark{margin-bottom:14px}.auth-intro h1{font-size:31px;margin:8px 0}.auth-intro>p:not(.eyebrow),.auth-points{display:none}.auth-card{padding:25px 23px}}

/* Central de Documentos: a paleta parte do verde e amarelo de São Bento. */
:root{font-family:"Segoe UI",Arial,sans-serif;color:#18382f;background:#f2f7f3;--forest:#075e45;--deep:#0b3b31;--leaf:#0d8158;--gold:#e4bc43;--line:#d7e6dc;--muted:#60766b}
body{background:linear-gradient(180deg,#edf5ef 0,#f7faf8 330px,#f7faf8 100%)}
.topbar{height:82px;padding:0 36px;border-bottom:1px solid #d2e2d7;border-top:4px solid var(--gold);box-shadow:0 3px 18px rgba(9,65,43,.035);position:relative;z-index:2}
.brand{gap:14px}.brand-mark{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,var(--forest),#179064);font:800 14px "Segoe UI",sans-serif;letter-spacing:-.06em;box-shadow:0 5px 12px rgba(7,94,69,.17);border:2px solid rgba(255,255,255,.5)}
.brand strong{font-size:18px;color:#123f32;letter-spacing:-.03em}.brand small{color:#6b8475;font-size:12px}.top-right{display:flex;align-items:center;gap:4px;font-weight:700;color:#426859}.top-right .text-button{color:var(--forest);padding:8px 11px}.top-right .bar{color:#bed1c4}
.layout{grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 82px)}
.sidebar{background:linear-gradient(165deg,#0a4a38 0,#073d31 64%,#052d28 100%);padding:34px 15px 24px;gap:5px;border-right:1px solid #184d3e}
.side-label,.side-group{color:#9ec7ac;font-size:10px;font-weight:800;letter-spacing:.16em;margin:0;padding:0 15px}.side-label{margin-bottom:13px}.side-group{margin-top:23px;margin-bottom:7px}
.nav{display:flex;align-items:center;gap:11px;width:100%;padding:12px 14px;font-size:14px;color:#dbece0;border-radius:10px;transition:background .18s,color .18s,transform .18s}
.nav:hover{background:rgba(255,255,255,.1);transform:translateX(2px)}.nav.active{background:linear-gradient(90deg,#19754f,#146847);color:#fff;box-shadow:inset 3px 0 var(--gold),0 5px 12px rgba(0,0,0,.09)}
.nav-icon{font-size:19px;font-family:Arial,sans-serif;display:grid;place-items:center;width:22px;line-height:1}
.side-note{color:#b8d5c0;border-top:1px solid #39745b;margin:30px 8px 0;padding:21px 7px 0}.side-note strong{color:#fff}
.content{max-width:1260px;padding:45px 55px 90px}
.eyebrow{color:#187950;letter-spacing:.17em;font-size:11px}.page-head{margin-bottom:27px}.page-head h1{color:#133b30;font-size:34px;letter-spacing:-.05em}.page-head p:not(.eyebrow){font-size:15px;color:#63776b}
.step-tag{background:#e1f0e5;color:#0d704d;border:1px solid #cfe4d4}
.card,.result{border:1px solid var(--line);box-shadow:0 12px 32px rgba(18,70,39,.045);border-radius:16px}.card{padding:27px 30px;margin-bottom:19px}
.card-head h2{font-size:18px;color:#173e31}.card-head p{color:#6c8376;font-size:14px}.card-number{background:#e4f3e8;color:#0d7650}
label{color:#385d49;font-size:14px;gap:8px}input,select,textarea{border-color:#c8dacd;background:#fff;font-size:15px;min-height:44px;border-radius:9px;color:#183a2c}
input:focus,select:focus,textarea:focus{border-color:#0f8c5e;box-shadow:0 0 0 3px rgba(12,129,82,.13)}.field-help,.hint{color:#718778}.grid{gap:18px 21px}
.primary{background:#0c7550;border-color:#0c7550;border-radius:9px;box-shadow:0 4px 11px rgba(8,92,57,.09)}.primary:hover{background:#075c40}
.secondary{background:#fff;border:1px solid #b8d2bf;color:#0d6447;border-radius:9px;padding:11px 18px;font:700 14px "Segoe UI",Arial,sans-serif;min-height:44px;cursor:pointer}.secondary:hover{background:#eff8f1;border-color:#6eaf82}
.action-buttons{display:flex;gap:10px;flex-wrap:wrap}.action-bar{margin-top:25px}.result-head{padding:20px 25px}.result-check{background:#def1e5;color:#0d7550}
.notice{border-radius:10px}.notice.success{background:#ebf8ef;color:#17623e;border-color:#bfe3c8}
.server-item{border-color:#e1eae3}.server-item button{color:#0c7550;font-size:13px}.person-item .item-actions{display:flex;gap:18px;flex-wrap:wrap}.person-form-actions{gap:10px;flex-wrap:wrap}.participant-row{border:1px solid #d8e7db;border-radius:12px;padding:20px 22px;margin:0 0 15px;background:#fbfdfb}.participant-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;color:#174533}.participant-heading .text-button{font-size:13px}.add-person{margin-top:3px}
.home-hero{background:radial-gradient(circle at 95% 10%,rgba(236,199,81,.16),transparent 30%),linear-gradient(115deg,#0c6146,#0a4a3a 65%,#073a32);color:#fff;min-height:270px;border-radius:22px;padding:43px 48px;display:flex;justify-content:space-between;align-items:center;gap:25px;box-shadow:0 18px 38px rgba(5,70,47,.14);position:relative;overflow:hidden}
.home-hero:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-100px;top:-125px;box-shadow:0 0 0 48px rgba(255,255,255,.035),0 0 0 95px rgba(255,255,255,.025)}
.home-hero .eyebrow{color:#f4d77e;margin-bottom:15px}.home-hero h1{font-size:39px;line-height:1.09;letter-spacing:-.055em;margin:0 0 17px;max-width:600px}.home-hero p:not(.eyebrow){font-size:16px;line-height:1.6;margin:0;color:#d9eee0;max-width:570px}.hero-seal{z-index:1;flex:0 0 92px;height:92px;border-radius:25px;background:#f3c64f;color:#17533b;display:grid;place-items:center;font-size:29px;font-weight:900;letter-spacing:-.07em;box-shadow:0 12px 26px rgba(0,0,0,.17);transform:rotate(-8deg)}
.home-heading{display:flex;align-items:end;justify-content:space-between;margin:42px 0 20px}.home-heading h2{font-size:25px;margin:0;color:#153e30;letter-spacing:-.035em}.home-heading .eyebrow{margin-bottom:7px}.home-heading>span{font-size:13px;color:#748b7b}.secondary-heading{margin-top:41px}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tool-card{text-align:left;border:1px solid #d9e8dd;border-radius:18px;background:#fff;padding:25px;min-height:202px;display:flex;gap:20px;box-shadow:0 12px 28px rgba(13,76,47,.055);transition:transform .2s,box-shadow .2s,border-color .2s}.tool-card:hover{transform:translateY(-4px);border-color:#9fcdae;box-shadow:0 17px 30px rgba(12,86,50,.12)}.tool-card:focus-visible,.quick-grid button:focus-visible,.nav:focus-visible{outline:3px solid #e7bf49;outline-offset:3px}
.tool-icon{flex:0 0 62px;width:62px;height:62px;border-radius:15px;display:grid;place-items:center}.portaria-icon{background:#e3f2e6;color:#0e714d}.oficio-icon{background:#fff4d3;color:#9c7416}.tool-icon svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.tool-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.tool-copy strong{font-size:19px;color:#153d30;margin:1px 0 9px;letter-spacing:-.025em}.tool-copy small{font-size:14px;line-height:1.5;color:#657c6e}.tool-copy em{font-style:normal;color:#0c7651;font-size:13px;font-weight:800;margin-top:auto;padding-top:23px}.tool-copy em span{margin-left:5px;font-size:16px}
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.quick-grid button{background:#fff;border:1px solid #d9e8dd;border-radius:14px;padding:20px;text-align:left;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center;cursor:pointer;transition:transform .2s,border-color .2s}.quick-grid button:hover{transform:translateY(-2px);border-color:#9fcdae}.quick-grid span{grid-row:1/3;background:#eaf4ea;color:#137550;font-size:22px;border-radius:10px;width:38px;height:38px;display:grid;place-items:center}.quick-grid strong{font-size:14px;color:#164030}.quick-grid small{font-size:12px;color:#718479}
.auth-screen{background:radial-gradient(circle at 15% 20%,rgba(247,207,94,.2),transparent 28%),linear-gradient(135deg,#e1efe3 0,#f6faf6 52%,#e8f3e9 100%)}.auth-intro .brand-mark{background:linear-gradient(145deg,#0b6645,#118b5c);width:56px;height:56px;font-size:18px;border-radius:16px}.auth-intro h1{color:#123f31}.auth-intro>p:not(.eyebrow){color:#557261}.auth-points{color:#226c49}.auth-card{border-color:#d4e5d8;box-shadow:0 25px 65px rgba(12,75,42,.1)}.auth-tab.active{border-color:#0d7b50;color:#0a6845}
@media(max-width:1050px){.content{padding:37px 32px 75px}.tool-card{flex-direction:column;min-height:240px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{padding:12px 20px;display:flex;flex-direction:row;overflow-x:auto;align-items:center;gap:5px}.side-label,.side-group,.side-note{display:none}.nav{white-space:nowrap;width:auto;padding:10px 13px}.nav:hover{transform:none}.content{padding:30px 25px 70px}}
@media(max-width:620px){.topbar{height:72px;padding:0 16px}.brand strong{font-size:15px}.brand small{font-size:11px}.brand-mark{width:38px;height:38px;font-size:12px}.content{padding:22px 15px 60px}.home-hero{padding:28px 24px;min-height:250px}.home-hero h1{font-size:29px}.home-hero p:not(.eyebrow){font-size:14px}.hero-seal{display:none}.home-heading{margin-top:30px}.home-heading>span{display:none}.tool-grid,.quick-grid{grid-template-columns:1fr}.tool-card{min-height:0;flex-direction:row;padding:20px}.tool-icon{width:52px;height:52px;flex-basis:52px}.tool-icon svg{width:29px;height:29px}.tool-copy strong{font-size:17px}.tool-copy em{padding-top:12px}.quick-grid button{padding:15px}.page-head h1{font-size:28px}.card{padding:20px 18px}.participant-row{padding:17px}.action-buttons{width:100%;display:grid;grid-template-columns:1fr}.action-buttons>*{width:100%}.sidebar .nav-icon{font-size:17px}}
.backup-card{display:flex;justify-content:space-between;gap:28px;align-items:center;flex-wrap:wrap;margin-top:28px;padding:28px 32px;background:#fff;border:1px solid #dbe6df;border-radius:18px;box-shadow:0 10px 30px rgba(5,48,35,.045)}
.backup-card h2{margin:3px 0 8px;font-size:1.35rem;color:#123d35}.backup-card p:not(.eyebrow){max-width:640px;margin:0;color:#5d7269;line-height:1.5}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.backup-import-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #0c7668;color:#0b6157;border-radius:9px;padding:11px 16px;font-weight:700;background:#ecf7f2}.backup-import-button:hover{background:#d9efe5}.backup-notice{flex-basis:100%;font-size:.9rem;color:#0b6157}.backup-notice.error{color:#a43d31}
.account-dialog{width:min(94vw,520px);max-height:90vh;overflow:auto;border:1px solid #d4e5d8;border-radius:18px;padding:28px;background:#fff;color:#173e32;box-shadow:0 25px 80px rgba(11,60,42,.2)}.account-dialog::backdrop{background:rgba(8,38,30,.5)}.account-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.account-dialog h2{font-size:26px;margin:0}.account-dialog h3{font-size:18px;margin:0 0 8px}.account-dialog p{color:#5d7269;line-height:1.5}.account-dialog .auth-form{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid #e0eae3}.account-dialog .auth-form>p{margin:0}.recovery-action{display:grid;gap:8px}.recovery-action p{margin:0 0 8px;font-size:14px}.recovery-action .secondary{justify-self:start}.recovery-action code{display:block;padding:12px 14px;border-radius:8px;background:#eef7f1;color:#0d6042;font-weight:700;letter-spacing:.05em;overflow-wrap:anywhere}#new-recovery-panel{margin-top:14px}.account-dialog .backup-notice{margin:18px 0 0}
