/* FASE 12 - isolated, mobile-first feedback interface */
#f12UserPanel .f12-grid,#f12MasterPanel .f12-grid{display:grid;gap:10px}
#f12UserPanel input,#f12UserPanel select,#f12UserPanel textarea,#f12MasterPanel select{width:100%;min-height:46px;font-size:16px;box-sizing:border-box}
#f12UserPanel textarea{min-height:116px;resize:vertical}
#f12UserPanel .f12-actions,#f12MasterPanel .f12-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.f12-entry{border:1px solid #e8c8d9;border-radius:12px;padding:12px;margin:9px 0;background:var(--card-bg,#fff)}
.f12-entry p{white-space:pre-wrap;overflow-wrap:anywhere}
.f12-entry small{display:block;margin:5px 0}
.f12-status{min-height:22px;white-space:pre-wrap}
.f12-entry button{margin:4px 4px 4px 0}

/* Build 65 TEST: separate scrollable history screen, leaving Assistance compact. */
body.f12-history-open{overflow:hidden!important}
.f12-history-screen[hidden]{display:none!important}
.f12-history-screen{position:fixed;inset:0;z-index:31000;width:100%;height:100vh;height:100dvh;max-width:100vw;overflow:hidden;background:var(--v24-background,#fff7fb);color:var(--v24-text,#58394b)}
.f12-history-page{display:flex;flex-direction:column;width:100%;height:100%;max-width:760px;margin:0 auto;background:var(--v24-background,#fff7fb);min-height:0}
.f12-history-header{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;gap:8px;flex:none;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px;background:var(--v24-navigation,#fff9fc);border-bottom:1px solid color-mix(in srgb,var(--v24-primary,#b64f7b) 25%,white);color:var(--v24-text,#58394b);min-height:70px}
.f12-history-header h2{font-size:clamp(16px,4.4vw,20px);line-height:1.2;min-width:0;text-align:center;margin:0;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f12-history-header button{width:44px;height:44px;min-height:44px;padding:0;border-radius:13px;background:var(--v24-secondary,#f5dce7);color:var(--v24-text,#58394b);font-size:26px;line-height:1}
.f12-history-scroll{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:10px 14px calc(20px + env(safe-area-inset-bottom,0px))}
.f12-history-scroll #f12HistoryCount{margin:0 0 7px;font-size:12px;color:var(--v24-muted,#796677)}
.f12-history-scroll #f12HistoryStatus{min-height:0;margin:4px 0 8px}
.f12-history-scroll .f12-entry{background:var(--v24-cards,#fff);color:var(--v24-card-text,#58394b);border-color:color-mix(in srgb,var(--v24-primary,#b64f7b) 30%,white);margin:7px 0;padding:11px 12px}
.f12-history-scroll .f12-entry p{font-size:13px;line-height:1.4;margin:8px 0}
.f12-history-scroll .f12-entry small{font-size:11px;color:var(--v24-muted,#796677)}
.f12-history-more{display:block;width:100%;min-height:44px;margin:12px 0;background:var(--v24-secondary,#f5dce7);color:var(--v24-text,#58394b);border-radius:12px}
.f12-history-more[hidden]{display:none!important}
#f12UserPanel .f12-actions{align-items:stretch}
#f12UserPanel .f12-actions button{flex:1 1 145px;min-height:42px}
body.v22-night .f12-history-screen{background:#201824;color:#f6eaf1}
body.v22-night .f12-history-page{background:#201824}
body.v22-night .f12-history-header{background:#2c2332;color:#f6eaf1;border-color:#615067}
body.v22-night .f12-history-header button,body.v22-night .f12-history-more{background:#49374d;color:#fff}
body.v22-night .f12-history-scroll .f12-entry{background:#302739;color:#f6eaf1;border-color:#654b67}
body.v22-night .f12-history-scroll .f12-entry small,body.v22-night .f12-history-scroll #f12HistoryCount{color:#d0bed0}
