/* The active Oath theme owns the page shell, typography and design tokens.
   These rules are confined to the PDF editor and its signing dialog. */
@font-face{font-family:"IBH Signature";src:url('./Allura-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}
#ibh-aviation{--ink:var(--bone);--muted:var(--ibh-ink-soft,var(--bone-dim));--red:var(--ember);--line:var(--hairline);font-size:15px;line-height:1.55}
#ibh-aviation [hidden]{display:none!important}
#ibh-aviation .ibh-main{padding-bottom:64px}
#ibh-aviation .ibh-crumb,#ibh-aviation .ibh-hero{max-width:900px;margin-left:auto;margin-right:auto}
#ibh-aviation .ibh-hero{margin-bottom:32px}
#ibh-aviation button,#ibh-aviation input,#ibh-aviation textarea{font:inherit;touch-action:manipulation}
#ibh-aviation button{cursor:pointer}
#ibh-aviation button:disabled{opacity:.6;cursor:wait}
#ibh-aviation a{color:inherit}
#ibh-aviation :is(button,a,input,textarea):focus-visible{outline:3px solid var(--ember-glow);outline-offset:3px}
#ibh-aviation .workspace{max-width:900px;margin:0 auto;min-width:0}
#ibh-aviation .document-panel{min-width:0;border:1px solid var(--line);border-radius:var(--ibh-radius,18px);background:var(--obsidian);overflow:clip}
#ibh-aviation .toolbar{position:sticky;top:104px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap;background:var(--obsidian)}
#ibh-aviation .steps{display:flex;gap:10px;align-items:center;font-weight:600;font-size:12px}
#ibh-aviation .page-count{font-size:11px;color:var(--muted);font-weight:400;white-space:nowrap}
#ibh-aviation .zoom{display:flex;align-items:center;gap:5px}
#ibh-aviation .zoom button{min-width:32px;height:34px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--ibh-surface-2);color:var(--bone)}
#ibh-aviation .zoom button:first-child,#ibh-aviation .zoom button:nth-child(3){font-size:22px}
#ibh-aviation .zoom output{font-size:11px;min-width:38px;text-align:center}
#ibh-aviation .zoom #fit{font-size:11px;padding:0 9px;margin-left:4px}
#ibh-aviation #next-top{border:0;border-left:1px solid var(--line);padding:6px 0 6px 10px;background:transparent;color:var(--bone);font-size:11px;min-height:32px}
#ibh-aviation .doc-tip{padding:11px 16px;background:var(--ibh-surface-2);color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}
#ibh-aviation .pdf-scroll{background:#20232b;overflow:auto;padding:24px 0;overscroll-behavior-x:contain}
#ibh-aviation #pdf-pages{width:max-content;min-width:100%;display:flex;flex-direction:column;align-items:center;gap:24px;padding:0 18px}
#ibh-aviation .pdf-page{background:white;position:relative;flex:none;box-shadow:0 2px 12px #0004}
#ibh-aviation .pdf-page>canvas{display:block}
#ibh-aviation .pdf-field{position:absolute;margin:0;border:1px solid #468dc159;border-radius:1px;background:#e5f3ffb8;color:#142d48;padding:0 2px;line-height:1.1;outline-offset:0!important;min-width:0;min-height:0;box-shadow:none;font-family:Arial,sans-serif}
#ibh-aviation .pdf-field:focus{background:#fff1c9;border:1px solid #c58d20;z-index:3}
#ibh-aviation .pdf-field[type=checkbox]{appearance:none;-webkit-appearance:none;padding:0;background:#d4e9ff;border:1px solid #528dc0;cursor:pointer}
#ibh-aviation .pdf-field[type=checkbox]:checked{background:#145e96;border-color:#145e96}
#ibh-aviation .pdf-field[type=checkbox]:checked:after{content:'✓';color:white;position:absolute;left:0;top:-2px;font-size:inherit;line-height:1;font-weight:bold}
#ibh-aviation .pdf-field.invalid{outline:2px solid #d62932;z-index:2}
#ibh-aviation .pdf-field[readonly]{background:transparent;border-color:transparent;color:#596774}
#ibh-aviation textarea.pdf-field{resize:none;line-height:1.3}
#ibh-aviation .pdf-sign-target{position:absolute;background:#fff3df;border:1px dashed #a67836;color:#725521;font:12px/1.2 Arial,sans-serif;text-align:left;padding:1px 6px}
#ibh-aviation button.pdf-sign-target{display:flex;align-items:center;margin:0;min-height:0;min-width:0;border-radius:2px;box-shadow:none;text-transform:none;letter-spacing:0}
#ibh-aviation button.pdf-sign-target:hover{background:#ffe3ab;border-style:solid}
#ibh-aviation .document-bottom{display:flex;justify-content:space-between;gap:12px;padding:15px 18px;color:var(--muted);font-size:11px}
#ibh-aviation .submission-actions{padding:24px 0 0;text-align:center}
#ibh-aviation .submission-actions>#review{width:220px;max-width:100%;margin:16px auto 0;justify-content:center;font-size:16px}
#ibh-aviation .action-buttons{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:12px}
#ibh-aviation .action-buttons>button,#ibh-aviation #download-actions{width:auto;min-width:180px}
#ibh-aviation #review-controls{max-width:620px;margin:0 auto}
#ibh-aviation #review-controls p{color:var(--muted);font-size:14px}
#ibh-aviation .applicant-choice{margin:20px 0}
#ibh-aviation .eyebrow{font-size:10px;font-weight:600;letter-spacing:0;color:var(--ember-glow)}
#ibh-aviation .submission-actions h2,#ibh-aviation dialog h2{font-family:Fraunces,serif;font-size:25px;font-weight:450;line-height:1.2;margin:9px 0 18px;letter-spacing:0}
#ibh-aviation .card h3{font-family:Fraunces,serif;font-size:20px;font-weight:450;margin:0 0 9px}
#ibh-aviation .card p,#ibh-aviation dialog p{margin:8px 0 16px;color:var(--muted);font-size:13px}
#ibh-aviation .card label{display:block;font-size:12px;font-weight:600;margin-top:14px}
#ibh-aviation .card input:not([type=checkbox]),#ibh-aviation dialog input:not([type=checkbox]){display:block;width:100%;min-height:43px;background:var(--obsidian);border:1px solid #52515d;border-radius:8px;padding:8px 10px;color:var(--bone);margin-top:6px}
#ibh-aviation .optional{font-size:11px;font-weight:400;color:var(--muted)}
#ibh-aviation .check-row{display:flex!important;align-items:flex-start;gap:10px;line-height:1.5;font-weight:400!important}
#ibh-aviation .check-row[hidden]{display:none!important}
#ibh-aviation .check-row input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 22px;width:22px;height:22px;accent-color:var(--ember);margin:0}
#ibh-aviation .check-row span{padding-top:1px}
#ibh-aviation .primary,#ibh-aviation .secondary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:45px;border-radius:100px;font-size:12px;font-weight:600;padding:11px 15px;margin-top:11px;gap:10px;line-height:1.5}
#ibh-aviation .primary{background:var(--ember);color:white;border:1px solid var(--ember)}
#ibh-aviation .primary:hover{background:var(--ember-glow)}
#ibh-aviation dialog .primary,#ibh-aviation .action-buttons button{justify-content:center;font-size:14px}
#ibh-aviation .secondary{background:transparent;border:1px solid #52515d;color:var(--bone)}
#ibh-aviation .secondary:hover{background:var(--ibh-surface-2)}
#ibh-aviation .card .fine-print,#ibh-aviation .fine-print{font-size:11px;line-height:1.6;margin:16px 0 0}
#ibh-aviation .quiet p{font-size:12px;margin:0 0 8px}
#ibh-aviation .text-button{padding:8px 0;background:none;border:0;text-decoration:underline;color:var(--bone);font-size:12px;text-align:left}
#ibh-aviation .loading{padding:50px;color:var(--bone)}
#ibh-aviation .status-error,#ibh-aviation #sign-error,#ibh-aviation #identity-error{color:#ffc1c4;background:#42181e;padding:10px;border-radius:5px;font-size:12px}
#ibh-aviation .status-success{color:#b9f3d6;background:#173e2d;padding:10px;border-radius:5px;font-size:12px}
#ibh-aviation #status:empty,#ibh-aviation #sign-error:empty,#ibh-aviation #identity-error:empty{display:none}
#ibh-aviation #share-links{overflow-wrap:anywhere}
#ibh-aviation #share-links p{margin:17px 0 4px;font-size:12px}
#ibh-aviation dialog{margin:auto;max-width:640px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:var(--ibh-radius,18px);padding:29px;color:var(--bone);background:var(--obsidian);box-shadow:0 20px 70px #0008;overflow:auto}
#ibh-aviation dialog::backdrop{background:#05070fcc}
#ibh-aviation .dialog-head{display:flex;gap:15px;align-items:flex-start;justify-content:space-between}
#ibh-aviation .dialog-head h2{margin-bottom:10px}
#ibh-aviation .close{background:var(--ibh-surface-2);color:var(--bone);border:1px solid var(--line);border-radius:50%;font-size:25px;width:34px;height:34px;flex:none;line-height:1}
#ibh-aviation .two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#ibh-aviation .two-col label{font-size:12px;font-weight:600}
#ibh-aviation .signature-tabs{display:flex;gap:8px;margin:22px 0 12px}
#ibh-aviation .signature-tabs button{padding:8px 14px;border:1px solid var(--line);background:transparent;color:var(--bone);border-radius:100px;font-size:12px}
#ibh-aviation .signature-tabs button[aria-pressed=true]{background:var(--bone);color:var(--obsidian)}
#ibh-aviation .typed-preview{font-family:"IBH Signature",cursive;font-style:normal;font-weight:400;font-size:44px;line-height:1.3;letter-spacing:0;min-height:100px;border:1px solid #b8c9d4;border-radius:6px;display:flex;align-items:center;padding:15px 22px;overflow-wrap:anywhere;background:#fff;color:#152b39}
#ibh-aviation .consent{font-size:12px;margin:22px 0 14px}
#ibh-aviation #signature-canvas{width:100%;height:150px;border:1px solid #b8c9d4;border-radius:6px;touch-action:none;background:white}
#ibh-aviation #witness-row{font-size:12px;margin-top:18px}
@media(max-width:540px){
#ibh-aviation .ibh-main{padding-left:12px;padding-right:12px;padding-bottom:36px}
#ibh-aviation .ibh-hero{margin-bottom:22px}#ibh-aviation .ibh-dek{font-size:15px}
#ibh-aviation .toolbar{padding:12px;gap:7px;top:76px}
#ibh-aviation .steps{width:100%;justify-content:space-between;font-size:12px}#ibh-aviation .page-count{display:none}
#ibh-aviation .zoom{width:100%;justify-content:flex-end;gap:3px}#ibh-aviation .zoom button{min-width:30px;height:32px}#ibh-aviation .zoom output{min-width:35px}
#ibh-aviation .doc-tip{font-size:11px;padding:10px 12px}#ibh-aviation .pdf-scroll{padding:14px 0}#ibh-aviation #pdf-pages{padding:0 6px;gap:14px}
#ibh-aviation .document-bottom{font-size:9px;padding:12px 10px}#ibh-aviation .submission-actions{padding-top:16px}
#ibh-aviation .card label{font-size:13px}#ibh-aviation .card input:not([type=checkbox]),#ibh-aviation dialog input:not([type=checkbox]){font-size:16px}
#ibh-aviation .primary,#ibh-aviation .secondary{font-size:14px;min-height:48px}#ibh-aviation dialog{padding:20px;width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
#ibh-aviation .two-col{grid-template-columns:1fr}#ibh-aviation .typed-preview{font-size:38px}#ibh-aviation .pdf-sign-target{font-size:8px}
}
