/* Keep the established bank layout; only style new generator controls. */
.bank-page .task-panel .card-head{flex-wrap:wrap;gap:12px}
.bank-page .task-panel .card-head .bank-create{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-left:auto;min-height:42px;padding:10px 17px;border:1px solid #cce980;border-radius:12px;background:#d9f68e;color:#213719;font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.bank-page .task-panel .card-head .bank-create:hover{background:#ceee7f}
.bank-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.5px;color:#6c7b63;margin-bottom:9px}
#generator-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce4d4;border-radius:22px;box-shadow:0 24px 90px #13251035;background:#fff;color:#233521;box-sizing:border-box;overflow:auto}
#generator-dialog::backdrop{background:#17201485;backdrop-filter:blur(4px)}
#generator-dialog .generator-panel{padding:28px;margin:0;border:0;border-radius:0;box-shadow:none;background:white}
.generator-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.generator-dialog-head h2{font-size:25px;letter-spacing:-.6px;margin:0}
#generator-close{width:34px;height:34px;min-width:34px;border:0;border-radius:50%;background:#f0f3eb;font-size:25px;line-height:1;color:#53624a;cursor:pointer}
.generator-panel>p{color:#6c7b63;font-size:14px;line-height:1.6;margin:15px 0 23px}
.generator-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:17px 12px}
.generator-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:650;color:#52684a;min-width:0}
.generator-grid>label:first-child,.generator-wide{grid-column:1/-1}
.generator-grid :is(input,select,textarea){width:100%;min-width:0;box-sizing:border-box;border:1px solid #cfdcc5;border-radius:10px;padding:12px;background:#fafcf7;color:#233a22;font:inherit;font-size:14px}
.generator-grid input{min-height:48px}
.generator-options summary{color:#64795a;font-size:13px;cursor:pointer}
.generator-options textarea{margin-top:12px;min-height:85px;resize:vertical}
.generator-grid button[type=submit]{grid-column:1/-1;min-height:48px;border:0;border-radius:12px;background:#d9f68e;color:#223b1a;font:inherit;font-weight:750;cursor:pointer}
.generator-grid button:disabled{opacity:.6;cursor:wait}
#generator-cancel{grid-column:1/-1;border:0;background:transparent;color:#64795a;font:inherit;font-size:13px;cursor:pointer}
.generator-panel [hidden]{display:none!important}
#generator-status:empty{display:none}
#generator-status{margin-bottom:0;font-size:13px}

.generator-grid select{max-width:none}
@media(max-width:600px){
 .bank-page .task-panel .card-head .bank-create{font-size:12px;padding:9px 12px;margin-left:0}
 .bank-page .task-panel .card-head .counter{margin-left:auto}
 .personal-panel{padding:18px}
 #generator-dialog .generator-panel{padding:22px 18px}
 .generator-dialog-head h2{font-size:22px}
 .generator-grid{grid-template-columns:1fr 1fr}
 .generator-grid>label:nth-child(2){grid-column:1/-1}
 .generator-grid :is(input,select,textarea){font-size:16px}
}
