.pdf-reader-shell{container-type:inline-size}
.pdf-ink-enabled>.pdf-scroll{top:62px}
.pdf-ink-toolbar{position:absolute;top:8px;left:50%;transform:translateX(-50%);z-index:8;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;width:max-content;max-width:calc(100% - 16px);box-sizing:border-box;padding:6px;background:var(--surface,#fff);color:var(--text,#242428);border:1px solid #8883;border-radius:14px;box-shadow:0 3px 16px #00000012}
.pdf-ink-toolbar button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation}
.pdf-ink-toolbar button[aria-pressed=true]{background:#0a84ff20;color:#0879e5}
.pdf-ink-toolbar button:disabled{opacity:.35;cursor:default}
.pdf-ink-toolbar button:focus-visible,.pdf-ink-toolbar input:focus-visible,.pdf-ink-toolbar select:focus-visible{outline:2px solid #0879e5;outline-offset:2px}
.pdf-ink-tool-divider{width:1px;height:22px;background:#8883;margin:0 2px}
.pdf-ink-color{width:34px;height:36px;display:grid;place-items:center}
.pdf-ink-color input{appearance:none;-webkit-appearance:none;width:28px;height:28px;padding:2px;border:1px solid #8885;border-radius:50%;background:transparent;cursor:pointer}
.pdf-ink-color input::-webkit-color-swatch-wrapper{padding:0}
.pdf-ink-color input::-webkit-color-swatch{border:0;border-radius:50%}
.pdf-ink-color input::-moz-color-swatch{border:0;border-radius:50%}
.pdf-ink-width{display:flex;flex-direction:row;align-items:center;gap:3px;font-size:12px;white-space:nowrap}
.pdf-ink-width select{height:32px;min-width:42px;border:1px solid #8883;border-radius:7px;background:transparent;color:inherit;padding:0 3px}
.pdf-ink-status{position:absolute;z-index:7;bottom:10px;right:10px;max-width:calc(100% - 82px);display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:6px 9px;border-radius:9px;background:var(--surface,#fff);color:var(--muted,#64646b);font-size:12px;box-shadow:0 1px 6px #00000010}
.pdf-ink-status button{border:0;background:transparent;color:#0879e5;padding:2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pdf-ink-status-error,.pdf-ink-status-conflict{color:#a74023;border:1px solid #a7402330}
.pdf-ink-menu-toggle>span:first-of-type{flex:1}
.pdf-ink-menu-switch{position:relative;display:block;flex:0 0 30px;width:30px;height:19px;border-radius:12px;background:#a9a9af}
.pdf-ink-menu-switch::after{position:absolute;content:'';left:2px;top:2px;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002}
.pdf-ink-menu-switch[data-checked=true]{background:#34c759}
.pdf-ink-menu-switch[data-checked=true]::after{left:13px}
.pdf-ink-menu-note{font-size:12px;line-height:1.5;color:var(--muted,#73737b);margin:4px 10px 8px}
/* The accessible ReadOS toolbar owns these actions and does not load upstream UI icons. */
.pdf-reader-shell .annotationEditorLayer .editToolbar,.pdf-reader-shell .textLayer .editToolbar{display:none!important}
@container (max-width:430px){.pdf-ink-enabled>.pdf-scroll{top:104px}.pdf-ink-toolbar{width:calc(100% - 16px)}}
