.iv-panel,.iv-dialog{--iv-body:1.125rem;--iv-control:1rem;--iv-meta:.875rem;color:var(--ink);font-size:var(--iv-body);line-height:1.8;overflow-wrap:anywhere}
.iv-panel h1{font-size:2rem;line-height:1.3}.iv-panel h2,.iv-dialog h2{font-size:1.375rem;line-height:1.5}.iv-panel h3,.iv-dialog h3{font-size:var(--iv-body);line-height:1.6}
.iv-copy{font-size:var(--iv-body);line-height:1.8;white-space:pre-wrap}.iv-meta{font-size:var(--iv-meta);line-height:1.7;color:var(--muted)}
.iv-header,.iv-toolbar,.iv-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.iv-header{justify-content:space-between;align-items:flex-start}.iv-header>div{max-width:52rem}
.iv-panel .button,.iv-dialog .button{font-size:var(--iv-control);min-height:44px;white-space:normal;height:auto;line-height:1.5}
.iv-policy,.iv-history,.iv-pending{padding:1.25rem 0;border-bottom:1px solid var(--line);margin-bottom:1.25rem}.iv-policy .button,.iv-pending .button{margin:.5rem .5rem .5rem 0}
.iv-pending{border-left:4px solid var(--orange);padding-left:1rem}.iv-error{color:var(--danger,#9b2929)}
.iv-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.25rem;align-items:center;padding:1.25rem 0;border-bottom:1px solid var(--line)}.iv-row>div{min-width:0}.iv-row h2,.iv-row h3{margin:0}.iv-row p{margin:.35rem 0}
.iv-field{display:flex;flex-direction:column;gap:.5rem;font-size:var(--iv-control);line-height:1.7;margin:.8rem 0;min-width:0}.iv-field input,.iv-field select,.iv-field textarea{font:inherit;color:var(--ink);background:var(--paper,#fff);border:1px solid var(--line);border-radius:.5rem;padding:.6rem .75rem;width:100%;min-width:0;min-height:44px;box-sizing:border-box}.iv-field textarea{resize:vertical}
.iv-toolbar>.iv-field{flex:1 1 16rem}.iv-toolbar{padding:1rem 0}
.iv-dialog{position:fixed;inset:0;margin:auto;width:min(50rem,calc(100vw - 2rem));height:fit-content;min-height:0;max-height:calc(100dvh - 2rem);box-sizing:border-box;padding:1.5rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper,#fff);overflow:auto;overscroll-behavior:contain}.iv-dialog::backdrop{background:rgb(0 0 0 / .48)}
.iv-panel summary,.iv-dialog summary{font-size:var(--iv-control);min-height:44px;padding:.5rem 0;cursor:pointer;box-sizing:border-box}.iv-request{font-size:var(--iv-control);font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.iv-line,.iv-edit-line{border-bottom:1px solid var(--line);padding:.75rem 0}.iv-check{display:flex;align-items:center;gap:.75rem;font-size:var(--iv-control);line-height:1.7}.iv-check input{width:24px;height:44px;flex:0 0 24px;accent-color:var(--orange)}
.iv-panel :focus-visible,.iv-dialog :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media(max-width:720px){.iv-row{grid-template-columns:minmax(0,1fr)}.iv-row>.button{justify-self:start}.iv-dialog{padding:1rem}.iv-header h1{font-size:1.75rem}.iv-actions>.button{flex:1 1 10rem}}
@media(prefers-reduced-motion:reduce){.iv-panel *,.iv-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
