/* Match the native public process-guide hierarchy and12dp cards. */
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app :is([data-citizen-native-ask],[data-citizen-native-ask] *){box-sizing:border-box}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 16px}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-heading h1{font-size:24px;font-weight:600;margin:0;color:var(--native-on-surface)}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-state{font-size:12px;color:var(--native-primary);border:1px solid var(--native-border);border-radius:999px;padding:7px 10px;white-space:normal}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-card{background:var(--native-surface-variant);border:0;border-radius:12px;padding:12px;margin:0 0 12px;color:var(--native-on-surface);box-shadow:none}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-card h2{font-size:16px;font-weight:500;margin:0 0 8px}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-suggestions{display:grid;gap:4px;margin:0 0 12px}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app :is(.resident-ask-suggestions button,[data-resident-ask-retry]){min-height:48px;height:auto;width:100%;padding:10px 16px;border:1px solid var(--native-outline);border-radius:999px;background:transparent;color:var(--native-primary);font:inherit;font-size:14px;font-weight:500;white-space:normal;text-align:center;line-height:1.5;cursor:pointer;box-shadow:none;margin:0}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-input-wrap{position:relative;margin-top:6px}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-input-wrap textarea{box-sizing:border-box;width:100%;min-height:100px;resize:vertical;padding:16px 56px 16px 16px;border:1px solid var(--native-outline);border-radius:4px;background:transparent;color:var(--native-on-surface);font:inherit;font-size:16px;line-height:1.5;margin:0}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app [data-resident-ask-send]{position:absolute;right:4px;top:24px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:12px;border:0;border-radius:50%;background:transparent;color:var(--native-primary);cursor:pointer;margin:0;box-shadow:none}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-card :is(button:disabled,textarea:disabled){opacity:.55;cursor:default}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-card label{font-size:14px;font-weight:400;color:var(--native-on-surface-variant);margin:0}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-hint{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;color:var(--native-on-surface-variant);margin:6px 0 0}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-progress{height:4px;background:var(--native-primary-container);border-radius:2px;overflow:hidden;margin-top:10px}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-progress::before{content:'';display:block;width:45%;height:100%;background:var(--native-primary);animation:resident-ask-progress 1.4s ease-in-out infinite alternate}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-card.resident-ask-error{background:var(--native-error-container);color:var(--native-on-surface)}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app :is(.resident-ask-error h2,.resident-ask-issue){color:var(--native-error);font-size:14px;line-height:1.5}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app [data-resident-ask-answer]{white-space:pre-wrap;margin-bottom:0}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app :is(.resident-ask-footnote,.resident-ask-private){font-size:12px;color:var(--native-on-surface-variant);line-height:1.6}
html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app [data-citizen-native-ask] [hidden]{display:none!important}
@keyframes resident-ask-progress{from{transform:translateX(-40%)}to{transform:translateX(200%)}}
@media(prefers-reduced-motion:reduce){html:root[data-bims-theme][data-citizen-theme] body.citizen-native-app .resident-ask-progress::before{animation:none;width:100%;opacity:.65}}
