/* Form and long-text repair shared with the native control-shell layout. */
#app:not(.home) { padding-top:14px; color:var(--ui-ink); }
#app:not(.home) .page-heading { margin-bottom:12px; }
#app:not(.home) .page-heading h1 { font-size:21px; font-weight:650; letter-spacing:0; line-height:1.3; }
#app:not(.home) .page-heading p { font-size:13px; margin-top:5px; color:var(--ui-accent-strong); line-height:1.65; }
.form-campus { font-size:12px; gap:12px; margin:0 0 10px; line-height:1.6; }
.form-campus>span { min-width:0; flex:1; overflow-wrap:anywhere; }
.form-campus button { flex-shrink:0; padding:0; }
.form-panel { padding:14px; border-radius:12px; }
.form-panel + .form-panel { margin-top:10px; }
.form-section-title { font-size:14px; font-weight:600; margin:0 0 10px; }
.field { min-width:0; margin-bottom:14px; }
.field>span { font-size:13px; font-weight:550; line-height:1.5; margin-bottom:6px; color:var(--ui-ink); }
.field input, .field select { height:44px; min-height:44px; padding:0 11px; font-size:14px; border-color:var(--ui-stroke); border-radius:8px; background:var(--ui-surface); line-height:normal; }
.field textarea { min-height:90px; height:90px; padding:10px 11px; border-radius:8px; font-size:14px; line-height:1.65; }
form[data-form="help"] textarea { min-height:120px; height:120px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.form-grid .field { margin-bottom:0; }
.file-label { display:flex; align-items:center; justify-content:flex-start; gap:7px; padding:10px; margin-bottom:10px; min-height:44px; border:0; border-radius:8px; background:var(--ui-tint); font-size:13px; }
.file-label img { width:18px; height:18px; flex-shrink:0; }
.primary,.secondary { min-height:46px; padding:10px 12px; margin-top:14px; font-size:14px; line-height:1.5; border-radius:9px; }
.notice { margin-top:10px; padding:9px 11px; border-radius:7px; border-left:0; color:var(--ui-accent-strong); font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
.directory>span { min-width:0; flex:1; }
.list-card h3, .draft-heading h3, .detail-body, .chat-bubble { overflow-wrap:anywhere; }
.list-card h3 { font-weight:600; }
.draft-heading { align-items:flex-start; }
.draft-heading h3 { min-width:0; flex:1; }
.directory-icon { flex-shrink:0; }
.chat-form input { height:44px; font-size:14px; }
.chat-form .primary { flex-shrink:0; margin:0; }
.empty { text-align:left; padding:24px 16px; }
.empty h3 { font-size:16px; font-weight:600; }
@media(max-width:350px) { .form-grid { gap:8px; } .form-panel { padding:12px; } .field input, .field select { padding-left:8px; padding-right:8px; } }

.helper-gate{padding:13px;background:var(--ui-warm);border-radius:9px;margin-bottom:12px}.helper-gate>div>*{display:block;line-height:1.6}.helper-gate strong{font-size:14px;color:var(--ui-ink)}.helper-gate span{font-size:11.5px;color:var(--ui-warm-ink);margin-top:4px}.helper-gate button{padding:9px 12px;margin:10px 0 0;background:var(--ui-accent);color:var(--ui-surface);font-size:12.5px;line-height:1.5;border-radius:6px}.help-money-note{font-size:11px;color:var(--ui-muted);line-height:1.6;margin-top:6px}
