.strategy-template-library{position:relative;margin:0 0 18px;padding:18px;border:1px solid rgba(56,189,248,.22);border-radius:18px;background:linear-gradient(145deg,rgba(8,18,34,.96),rgba(7,13,24,.9));box-shadow:0 18px 50px rgba(2,8,23,.18),inset 0 1px 0 rgba(255,255,255,.025);overflow:hidden}.strategy-template-library:before{content:"";position:absolute;inset:-90px auto auto -80px;width:220px;height:220px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.18),transparent 70%);pointer-events:none}.strategy-template-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}.strategy-template-head h2{margin:3px 0 5px;font-size:20px;line-height:1.15;color:var(--text,#f8fafc)}.strategy-template-head p{max-width:760px;margin:0;color:var(--muted,#94a3b8);font-size:12px;line-height:1.55}.template-count{flex:none;padding:7px 10px;border:1px solid rgba(56,189,248,.22);border-radius:999px;background:rgba(14,165,233,.08);color:#7dd3fc;font-size:10px;font-weight:800;letter-spacing:.08em}.strategy-template-picker{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:end}.strategy-template-picker label{display:grid;gap:6px;color:var(--muted,#94a3b8);font-size:11px;font-weight:700}.strategy-template-picker select,.strategy-template-save input{width:100%;min-height:42px;border:1px solid var(--line,rgba(148,163,184,.24));border-radius:11px;background:var(--panel-2,#101927);color:var(--text,#f8fafc);padding:0 12px;font:inherit;outline:none}.strategy-template-picker select:focus,.strategy-template-save input:focus{border-color:rgba(56,189,248,.68);box-shadow:0 0 0 3px rgba(14,165,233,.09)}.template-load-button,.strategy-template-save button,.template-delete-button{min-height:42px;border-radius:11px;padding:0 15px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}.template-load-button{border:1px solid rgba(56,189,248,.4);background:linear-gradient(135deg,#2563eb,#0891b2);color:white;box-shadow:0 10px 28px rgba(37,99,235,.2)}.template-load-button:hover,.strategy-template-save button:hover{transform:translateY(-1px)}.template-delete-button{border:1px solid rgba(248,113,113,.3);background:rgba(127,29,29,.12);color:#fca5a5}.strategy-template-preview{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(0,1fr);gap:14px;margin-top:11px;padding:12px 13px;border:1px solid rgba(148,163,184,.12);border-radius:13px;background:rgba(2,8,23,.22)}.strategy-template-preview>div{display:grid;gap:3px}.strategy-template-preview b{color:var(--text,#f8fafc);font-size:13px}.strategy-template-preview span{color:#38bdf8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.strategy-template-preview p{margin:0;color:var(--muted,#94a3b8);font-size:11px;line-height:1.5}.strategy-template-save{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1fr);gap:14px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid rgba(148,163,184,.12)}.strategy-template-save>div:first-child{display:grid;gap:3px}.strategy-template-save strong{color:var(--text,#f8fafc);font-size:12px}.strategy-template-save small{color:var(--muted,#94a3b8);font-size:10.5px;line-height:1.45}.strategy-template-save>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.strategy-template-save button{border:1px solid rgba(34,197,94,.28);background:rgba(22,163,74,.12);color:#86efac}.strategy-template-message{margin:9px 0 0;color:#93c5fd;font-size:10.5px;line-height:1.45}#foa-simple-app[data-theme=light] .strategy-template-library{background:linear-gradient(145deg,#fff,#f8fbff);border-color:rgba(37,99,235,.16);box-shadow:0 16px 42px rgba(15,23,42,.07)}#foa-simple-app[data-theme=light] .strategy-template-picker select,#foa-simple-app[data-theme=light] .strategy-template-save input{background:#fff;color:#0f172a;border-color:rgba(15,23,42,.16)}#foa-simple-app[data-theme=light] .strategy-template-preview{background:#f8fafc;border-color:rgba(15,23,42,.09)}#foa-simple-app[data-theme=light] .strategy-template-head h2,#foa-simple-app[data-theme=light] .strategy-template-preview b,#foa-simple-app[data-theme=light] .strategy-template-save strong{color:#0f172a}#foa-simple-app[data-theme=light] .strategy-template-head p,#foa-simple-app[data-theme=light] .strategy-template-preview p,#foa-simple-app[data-theme=light] .strategy-template-save small{color:#526174}@media(max-width:760px){.strategy-template-library{padding:13px;margin-bottom:12px;border-radius:14px}.strategy-template-head{display:grid;gap:8px}.strategy-template-head h2{font-size:17px}.strategy-template-head p{font-size:10.5px}.template-count{justify-self:start}.strategy-template-picker{grid-template-columns:1fr}.strategy-template-picker select,.template-load-button,.template-delete-button{min-height:40px}.strategy-template-preview{grid-template-columns:1fr;gap:7px}.strategy-template-save{grid-template-columns:1fr;gap:9px}.strategy-template-save>div:last-child{grid-template-columns:1fr}.strategy-template-message{font-size:10px}}