.production-workspace .production-rail .production-template-field>select.production-template-select.template-picker-native{display:none!important}
.production-workspace .production-rail .production-template-field>.template-picker-trigger{grid-column:2;width:100%;min-width:0;min-height:32px;height:32px;padding:5px 9px;justify-content:flex-start;border-color:var(--line-strong);background:var(--surface-alt);box-shadow:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.production-workspace .production-rail .production-template-field>.template-picker-trigger:hover{border-color:var(--accent);background:var(--selection)}
.template-picker-dialog{width:min(880px,calc(100vw - 36px));min-height:min(700px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 24px 90px var(--shadow-color)}
.template-picker-dialog::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.template-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 26px 18px;border-bottom:1px solid var(--line)}
.template-picker-eyebrow{margin:0 0 2px;color:var(--green);font-size:11px;font-weight:700;letter-spacing:.8px}
.template-picker-header h2{font-size:20px;line-height:1.35}
.template-picker-intro{margin-top:4px;color:var(--muted);font-size:12px}
.template-picker-close{width:34px;min-width:34px;min-height:34px;padding:0;border-color:transparent;background:transparent;color:var(--muted);font-size:25px;font-weight:300;line-height:1}
.template-picker-close:hover{color:var(--ink);background:var(--surface-alt)}
.template-picker-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-height:310px;padding:20px 26px 0}
.template-picker-column{display:grid;grid-template-rows:auto auto minmax(196px,1fr);min-width:0}
.template-picker-column>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.template-picker-column h3{font-size:14px}
.template-picker-column p{margin-top:1px;color:var(--muted);font-size:11px}
.template-picker-count{flex:0 0 auto;border-radius:999px;background:var(--surface-alt);color:var(--muted);padding:2px 8px;font:11px var(--mono)}
.template-picker-search{display:block;position:relative;margin-bottom:9px}
.template-picker-search input{width:100%;min-height:34px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:12px}
.template-picker-list{display:grid;align-content:start;grid-auto-rows:max-content;gap:8px;min-height:196px;max-height:278px;overflow:auto;padding-right:3px}
.template-picker-card{align-self:start;display:grid;justify-items:start;gap:3px;min-height:58px;padding:10px 12px;border-color:var(--line);border-radius:8px;text-align:left}
.template-picker-card[aria-pressed=true]{border-color:var(--accent);background:var(--selection);box-shadow:inset 0 0 0 1px var(--accent)}
.template-picker-card-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650}
.template-picker-card-meta{color:var(--muted);font-size:11px}
.template-picker-empty{align-self:start;padding:18px 12px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:12px;text-align:center}
.template-picker-preview{margin:18px 26px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface-alt)}
.template-picker-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:12px}
.template-picker-selected-name{overflow:hidden;color:var(--muted);font-size:11px;text-align:right;text-overflow:ellipsis;white-space:nowrap}
.template-picker-prompt{min-height:148px;max-height:180px;margin:0;padding:12px 14px;overflow:auto;white-space:pre-wrap;color:var(--ink);font:12px/1.75 var(--font);background:var(--surface)}
.template-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:16px 26px;border-top:1px solid var(--line)}
.template-picker-status{color:var(--muted);font-size:11px}
.template-picker-footer>div{display:flex;gap:9px;flex:0 0 auto}
.template-picker-footer button{min-width:86px;font-size:12px}
@media(max-width:720px){.template-picker-dialog{width:calc(100vw - 20px);min-height:0;max-height:calc(100dvh - 20px)}.template-picker-header{padding:18px 18px 15px}.template-picker-columns{grid-template-columns:1fr;min-height:0;padding:16px 18px 0;gap:18px}.template-picker-column{grid-template-rows:auto auto minmax(120px,1fr)}.template-picker-list{min-height:120px;max-height:150px}.template-picker-preview{margin:16px 18px 0}.template-picker-prompt{min-height:112px;max-height:145px}.template-picker-footer{align-items:flex-end;flex-direction:column;margin-top:16px;padding:14px 18px}.template-picker-status{width:100%}.production-workspace .production-rail .production-template-field>.template-picker-trigger{width:100%}}
