/* Carbon White / g10: IBM Plex local, espaçamentos de 8px e foco Blue 60. */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2')}
:root{--ink:#161616;--green:#0f62fe;--mint:#edf5ff;--cream:#f4f4f4;--line:#e0e0e0;--white:#fff;--muted:#525252;--orange:#8a3800;--red:#da1e28;--cds-background:#f4f4f4;--cds-layer:#fff;--cds-interactive:#0f62fe;--cds-focus:#0f62fe;color-scheme:light}
body{font-family:'IBM Plex Sans',sans-serif;font-size:14px;line-height:1.5;background:var(--cds-background);color:var(--ink)}
h1,h2,h3,h4,.brand-panel h1,.auth h2,.workspace header h2,.welcome h1,.section-head h3,.stat strong,dialog h2,.term-sheet h3,.recovery-shell h1{font-family:'IBM Plex Sans',sans-serif;font-weight:400;letter-spacing:0}
h1{line-height:1.18}h2,h3{line-height:1.3}a{color:#0f62fe;text-underline-offset:3px}button{font-weight:400;line-height:1.3}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cds-focus);outline-offset:2px}
button:disabled{cursor:not-allowed}.eyebrow{font-weight:600;letter-spacing:.08em;font-size:12px}
.card,.section,dialog,.term-sheet,.auth input,.form-grid input,.form-grid select,.form-grid textarea,.term-filters input,.term-filters select,.action,.primary,.form-actions button,.glpi-actions button,.form-error,.glpi-metric,.glpi-workflow{border-radius:0;box-shadow:none}
.card{border:0}.section{border:0;border-top:1px solid var(--line)}
.primary,.auth button,.action{background:#0f62fe;font-weight:400;min-height:48px;border-radius:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 16px}
.primary:hover,.auth button:hover,.action:hover{background:#0353e9}.primary:active,.auth button:active,.action:active{background:#002d9c}.primary:disabled,.auth button:disabled{background:#c6c6c6;color:#525252;opacity:1}
.auth label,.form-grid label,.term-filters label{font-weight:400;font-size:12px;color:#525252}
.auth input,.form-grid input,.form-grid select,.form-grid textarea,.term-filters input,.term-filters select{min-height:48px;background:#f4f4f4;border:0;border-bottom:1px solid #8d8d8d;border-radius:0;padding:12px 16px;color:#161616;font-size:14px;box-shadow:none}
.auth input:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{outline:2px solid #0f62fe;outline-offset:-2px;box-shadow:none}
input[type=checkbox]{accent-color:#0f62fe}.check{font-weight:400!important;line-height:1.5;gap:12px}.check input{flex:0 0 20px;min-height:20px;width:20px!important;height:20px;margin:2px 0!important}
.form-actions{gap:0;flex-wrap:wrap}.form-actions button{min-height:48px;font-weight:400;border-radius:0}.form-actions button:not(.primary){background:#e8e8e8;color:#161616}.form-actions button:not(.primary):hover{background:#d1d1d1}
.brand-panel{background:#161616;padding:64px}.brand-panel:after{display:none}.brand-panel h1{font-size:clamp(40px,4vw,64px);line-height:1.1}.brand-panel>p:not(.eyebrow){color:#c6c6c6;font-size:16px}.feature{color:#e0e0e0}.feature span{border-radius:0;background:transparent;color:#78a9ff}
.mark,.mark.small{border-radius:0;background:#0f62fe;color:#fff;font-weight:600}.mark{margin-bottom:64px}.login-panel{background:#f4f4f4;padding:48px}.auth{padding:40px}.auth h2{font-size:32px}.hint{font-size:12px}
aside{background:#161616;padding:24px 0;border-right:1px solid #393939}.logo{padding:0 24px 32px}.logo span{color:#c6c6c6}.logo .mark{background:#262626;border:1px solid #525252;color:white}
nav{gap:0}nav button,.logout{min-height:48px;border-radius:0;padding:12px 24px;color:#c6c6c6;font-weight:400}nav button.active{border-left:4px solid #4589ff;background:#393939;padding-left:20px;color:#fff}nav button:hover,.logout:hover{background:#353535;color:white}.logout{margin-left:0;margin-right:0}
.workspace>header{height:80px;padding:0 32px;background:#fff}.workspace header h2{font-size:24px}.workspace header .eyebrow{color:#525252}#content{padding:32px;max-width:1584px}.welcome{margin-bottom:32px;gap:24px}.welcome h1{font-size:32px}.welcome p{line-height:1.5}.stats{gap:1px;background:var(--line)}.stat{padding:24px;background:white}.stat strong{font-size:40px;margin:16px 0 0}.stat small{color:#525252}.stat span{font-size:14px}.section{margin-top:32px}
.section-head,.glpi-card-header{padding:24px}.section-head h3,.glpi-card-header h3{font-size:20px}.section-actions{gap:0}.section-head button,.section-actions button{min-height:40px;padding:8px 16px;background:transparent;color:#0f62fe;font-weight:400}
th{background:#e0e0e0;color:#161616;font-size:12px;letter-spacing:0;font-weight:600}th,td{padding:16px;border-bottom:1px solid #e0e0e0}td{font-size:14px}td button{min-height:40px;padding:8px 12px;color:#0f62fe;background:transparent}tbody tr:hover{background:#e8e8e8}.badge{font-size:12px;font-weight:400;text-transform:none;padding:4px 8px}.badge.aceito{background:#defbe6;color:#0e6027}.badge.pendente{background:#fff1c7;color:#684e00}.badge.devolvido{background:#e0e0e0;color:#393939}.danger-link{color:#da1e28}
.term-filters{padding:24px;gap:16px}.term-filters button{border-radius:0;background:#e8e8e8;color:#161616;font-weight:400}.term-result-count{padding:16px 24px}.term-sheet{background:#f4f4f4;padding:24px;line-height:1.6}.term-sheet h3{font-size:18px}.term-sheet li{margin:12px 0}.term-sheet strong{font-weight:600}
dialog{background:#f4f4f4;width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 32px)}dialog::backdrop{background:#16161699;backdrop-filter:none}dialog h2{font-size:28px}#modal .modal-shell,dialog>form{padding:32px}.close{right:16px;top:12px;min-width:40px;min-height:40px}.form-error{background:#fff1f1;border:0;border-left:3px solid #da1e28;padding:16px;font-weight:400}.field-error{font-weight:400}.glpi-card-body,.settings-summary{padding:24px}.glpi-workflow{border-left-width:3px}.glpi-metric{border-radius:0}.email-settings{margin-bottom:32px}
.local-signing-settings{padding:24px;margin:0 0 32px;border-top:3px solid #0f62fe}.local-signing-settings h3{margin:0 0 8px;font-size:20px}.local-signing-settings p{max-width:720px;color:#525252}.local-signing-settings button{min-height:48px;background:#e8e8e8;padding:12px 16px;color:#161616}.local-signing-settings [role=status]:empty{display:none}
#avatar{border-radius:0;background:#e0e0e0;color:#161616}#toast{background:#262626;border-radius:0;border-left:3px solid #4589ff}#forcedPasswordDialog::backdrop{background:#161616d9}.recovery-shell{background:#f4f4f4}.recovery-shell h1{font-size:28px}.recovery-link{font-weight:400}
.signature-workspace{margin-top:16px;min-width:0}.signature-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #c6c6c6;border-bottom:0;background:#f4f4f4;padding:8px 12px}.signature-toolbar>span{font-size:12px;color:#525252}.signature-toolbar>div{display:flex;gap:0}.signature-toolbar button{min-height:40px;background:transparent;color:#0f62fe;padding:8px 12px;font-size:12px}.signature-toolbar button:disabled{color:#8d8d8d}.signature-surface{position:relative;border:1px solid #8d8d8d;background:white;min-width:0}.signature-workspace .signature-pad{position:relative;display:block;width:100%;aspect-ratio:2/1;margin:0;border:0;border-radius:0;background:transparent;touch-action:none;cursor:crosshair}.signature-placeholder{position:absolute;top:45%;left:0;right:0;text-align:center;pointer-events:none;font-size:24px;color:#a8a8a8;font-weight:400}.signature-placeholder[hidden]{display:none}.signature-surface:after{content:'';position:absolute;bottom:20%;left:24px;right:24px;border-bottom:1px solid #e0e0e0;pointer-events:none}.signature-hint{font-size:12px;color:#525252;margin:8px 0 0;line-height:1.5}.signature-editing{overflow:hidden}
dialog.signature-editor{width:min(100vw,1088px);max-width:none;max-height:none;height:min(100dvh,840px);margin:auto;padding:0;border:0;background:#fff;display:none}dialog.signature-editor[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.signature-editor>header{display:flex;align-items:start;justify-content:space-between;padding:24px;border-bottom:1px solid #e0e0e0}.signature-editor h2{margin:0;font-size:24px}.signature-editor .eyebrow{margin-bottom:4px}.signature-editor>header button{min-width:64px;min-height:48px;background:#e8e8e8;color:#161616;padding:12px 16px}.signature-editor-content{overflow:auto;padding:16px 24px;display:grid;place-items:center}.signature-editor .signature-workspace{margin:0;width:min(100%,calc((100dvh - 240px)*2));max-width:960px}.signature-editor>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e0e0e0;padding:16px 24px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.signature-editor>footer span{font-size:12px;color:#525252}.signature-editor>footer button{width:auto;margin:0}.signature-editor .signature-hint{display:none}.signature-editor [data-pad-expand]{display:none}
@media(max-width:1055px){.brand-panel{padding:40px}aside{padding:24px 0}.logo{padding-left:19px}.workspace>header,#content{padding-left:24px;padding-right:24px}}
@media(max-width:671px){.login-panel{padding:24px 16px}.auth{padding:32px 24px}.auth input,.form-grid input,.form-grid select,.form-grid textarea,.term-filters input,.term-filters select{font-size:16px}.welcome{display:block}.welcome h1{font-size:28px}.welcome .action{margin-top:16px}.workspace>header{height:64px;padding:0 16px}.workspace header h2{font-size:20px}#content{padding:24px 16px}.stats{grid-template-columns:1fr 1fr}.stat{padding:16px}.stat strong{font-size:32px}.stat small{font-size:11px}.section-head,.glpi-card-header,.glpi-card-body,.settings-summary,.term-filters{padding:16px}.section-head{align-items:start;gap:16px;flex-wrap:wrap}.section-head h3{font-size:18px}.section-actions{flex-wrap:wrap}.table-wrap{overscroll-behavior-x:contain}th,td{padding:12px}.term-sheet{padding:16px}.form-actions button{flex:1 1 auto}.form-actions .primary{flex:1 1 auto}dialog{max-height:calc(100dvh - 16px);width:calc(100% - 16px)}#modal .modal-shell,dialog>form{padding:24px 16px}.local-signing-settings{padding:20px 16px}.signature-toolbar{padding:4px 8px;gap:4px}.signature-toolbar>span{flex:1 0 100%}.signature-toolbar>div{justify-content:space-between;width:100%}.signature-toolbar button{padding:8px 4px;font-size:14px}.signature-editor>header{padding:16px}.signature-editor h2{font-size:20px}.signature-editor-content{padding:8px 16px}.signature-editor>footer{padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.signature-editor>footer span{max-width:130px}.signature-editor .signature-workspace{width:100%}.signature-editor>footer button{flex:none;min-height:48px}.signature-editor .signature-toolbar>span{display:none}.signature-editor .signature-toolbar>div{width:100%}}
@media(max-height:500px) and (orientation:landscape){.signature-editor>header{padding:8px 16px;align-items:center}.signature-editor .eyebrow{display:none}.signature-editor h2{font-size:18px}.signature-editor>header button{min-height:40px}.signature-editor-content{padding:4px 16px}.signature-editor .signature-workspace{width:min(100%,calc((100dvh - 164px)*2))}.signature-editor .signature-toolbar{padding:0 8px}.signature-editor .signature-toolbar>span{display:none}.signature-editor .signature-toolbar button{min-height:32px}.signature-editor>footer{padding:8px 16px}.signature-editor>footer button{min-height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.signature-workspace [data-pad-clear]{display:none}.signature-editor [data-pad-clear]{display:block}
.public-term-card .signing .signature-workspace [data-pad-clear]{display:none}
