.app-companion{max-width:960px;margin:0 auto 28px;padding:20px 24px;border-top:1px solid #cfd4ce;display:flex;align-items:center;justify-content:space-between;gap:20px}
.app-companion h2{font-size:20px;margin:0 0 6px}.app-companion p{margin:0;font-size:15px;color:#526050}
.app-companion-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.app-companion button,.app-dialog button,#openAppSettings{min-height:44px}
#openAppSettings{background:none;border:0;color:inherit;text-decoration:underline;font:inherit;padding:8px 0;cursor:pointer}
.app-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:24px;border:1px solid #cfd4ce;border-radius:8px;background:#f7f8f5;color:#111310;overflow:auto}
.app-dialog::backdrop{background:rgba(17,19,16,.55)}
.app-dialog header{display:flex;align-items:flex-start;gap:12px}.app-dialog header>div{flex:1;min-width:0}.app-dialog h2{font-size:24px;line-height:1.2;margin:4px 0 0}.app-dialog h3{font-size:18px;line-height:1.3;margin:0 0 12px}
.app-dialog p,.app-dialog li{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.app-dialog ol{padding-left:24px}.app-dialog li{margin:8px 0}
.app-dialog section{padding-top:22px;margin-top:22px;border-top:1px solid #cfd4ce}.app-dialog .app-choices{border:0;padding:0;margin:16px 0}.app-choices label{display:flex;gap:12px;align-items:flex-start;padding:10px 0;min-height:44px;box-sizing:border-box;font-size:15px;line-height:1.4}.app-choices input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#245340}.app-choices legend{font-size:15px;font-weight:700}
.app-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.app-dialog-actions button{max-width:100%;white-space:normal}.app-status{font-size:14px;color:#526050;margin-bottom:0}.app-dialog .quiet-action{flex-shrink:0}
.app-dialog a{display:inline-flex;align-items:center;min-height:44px;color:#245340}
@media(max-width:640px){.app-companion{margin-inline:16px;padding:20px 0;align-items:flex-start;flex-direction:column}.app-companion-actions{width:100%;flex-shrink:1}.app-companion-actions .secondary-action{flex:1}.app-dialog{padding:20px}.app-dialog header{flex-wrap:wrap}.app-dialog h2{font-size:22px}.app-dialog-actions button{width:100%}}
