.alerts-content{max-width:1500px}.recipient-bar{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-kicker{font-weight:750;margin-bottom:5px}.muted-line,.micro-note{color:var(--muted);font-size:12px}.alerts-grid{display:grid;grid-template-columns:minmax(420px,3fr) minmax(360px,2fr);gap:14px;align-items:start}.settings-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.price-alerts-card{grid-column:2;grid-row:1}.alert-default-sound{display:flex;align-items:end;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.alert-default-sound label{display:grid;gap:6px;color:var(--muted);font-size:12px;flex:1}.price-alert-bulk-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-bottom:1px solid var(--line)}.price-alert-bulk-actions .secondary-btn{flex:1 1 130px;font-size:12px}.signal-delivery-actions,.rules-heading-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:end;gap:8px}.signal-delivery-actions .secondary-btn,.rules-heading-actions .secondary-btn{font-size:12px}.simple-rule-name{min-width:180px}.simple-rule-name span{font-size:11px;color:var(--muted)}.simple-rule-name .text-input{min-width:180px}.rules-card{display:block}.rules-heading-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:8px}.rules-heading-actions .secondary-btn{font-size:12px}.alert-symbol-link{color:inherit;text-decoration:none;font-weight:800}.alert-symbol-link:hover{color:var(--accent);text-decoration:underline}.base-alerts-card{grid-column:1;grid-row:1}.rules-card{grid-column:2;grid-row:1}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 17px;border-bottom:1px solid var(--line)}.card-heading h2{margin:0 0 5px;font-size:18px}.card-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.switch-row,.event-check-grid label,.rule-switches label{display:flex;align-items:center;gap:7px;color:#dbe8f7}.settings-section{padding:15px 17px;border-bottom:1px solid rgba(35,51,74,.72)}.settings-section h3,.conditions-head h3{margin:0 0 10px;font-size:13px;color:#dceaff}.two-col-settings{display:grid;grid-template-columns:1fr 180px;gap:18px}.chip-checks{display:flex;flex-wrap:wrap;gap:7px}.chip-check{position:relative}.chip-check input{position:absolute;opacity:0;pointer-events:none}.chip-check span{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border:1px solid var(--line);background:var(--panel-2);color:var(--muted);border-radius:999px;cursor:pointer}.chip-check input:checked+span{color:#061017;background:var(--accent);border-color:var(--accent);font-weight:750}.compact-number{max-width:160px}.signal-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.signal-type-option{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel-2);font-size:12px}.signal-type-option small{color:var(--muted);direction:ltr}.signal-type-grid.signal-type-column{grid-template-columns:1fr}.type-row{display:grid;gap:6px;min-width:0}.type-row.is-on>.signal-type-option{border-color:var(--accent)}.type-settings{display:grid;gap:10px;padding:10px 12px;margin-inline-start:14px;border:1px solid var(--line);border-inline-start:2px solid var(--accent);border-radius:9px;background:var(--panel-2);min-width:0}.type-settings[hidden]{display:none}.type-field{display:grid;gap:6px;min-width:0}.type-label{font-size:12px;color:var(--muted)}.type-fields{display:flex;flex-wrap:wrap;gap:10px}.type-param{margin:0;display:grid;gap:4px;font-size:12px}.type-param .text-input{width:96px}.rule-mode-note{margin-top:8px}.event-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.save-row{padding:14px 17px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.rules-list{display:grid;gap:8px;padding:12px}.rule-item{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:12px}.rule-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.rule-name{font-weight:760}.rule-key{color:var(--muted);font-size:10px;direction:ltr;margin-top:3px}.rule-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.rule-pill{border:1px solid #2b415d;color:#a9bdd5;border-radius:999px;padding:3px 7px;font-size:10px;direction:ltr}.rule-pill.plan-paused{border-color:#7a5a1e;color:#f2c46d;direction:inherit;margin-inline-start:4px;white-space:nowrap}.plan-paused-note{color:#d9b46a}.plan-paused-note a{color:#f2c46d}.rule-actions{display:flex;gap:6px}.danger-btn{color:var(--danger)}.rules-empty{padding:32px;color:var(--muted);text-align:center}.rule-meta-grid{display:grid;grid-template-columns:2fr .7fr 1fr 1fr;gap:10px}.symbol-exchange{display:flex;gap:8px}.symbol-exchange .text-input{flex:1;min-width:0}.symbol-exchange .select-control{flex:0 0 auto;width:auto}.rule-switches{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:18px}.conditions-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.condition-rows{display:grid;gap:9px}.condition-row{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:11px;display:grid;grid-template-columns:1.1fr .7fr 1.2fr 1.1fr .9fr 90px 38px;gap:7px;align-items:end}.condition-row .field-group{margin:0}.condition-row .text-input,.condition-row .select-control{min-width:0}.condition-params{direction:ltr}.rule-editor-modal{display:flex;flex-direction:column;max-height:calc(100vh - 28px)}.rule-editor-body{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;max-height:none;overflow:hidden}.rule-editor-settings{flex:0 0 auto}.rule-condition-editor{display:flex;flex:1 1 auto;flex-direction:column;min-height:150px}.rule-condition-editor .conditions-head{flex:0 0 auto}.rule-condition-rows{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-inline-end:4px}.rule-editor-actions{flex:0 0 auto;margin:0;padding:14px 18px;background:var(--panel)}@media (max-width:1250px){.alerts-grid{grid-template-columns:1fr 1fr}.rules-card{grid-column:1 / -1;grid-row:auto}.price-alerts-card,.base-alerts-card{grid-column:auto;grid-row:auto}}@media (max-width:1100px){.alerts-grid{grid-template-columns:1fr}.rule-meta-grid{grid-template-columns:1fr 1fr}.condition-row{grid-template-columns:1fr 1fr 1fr}}@media (max-width:640px){.recipient-bar,.card-heading,.save-row{align-items:stretch;flex-direction:column}.two-col-settings,.signal-type-grid,.event-check-grid,.rule-meta-grid,.condition-row{grid-template-columns:1fr}}.rule-delivery h3{margin:0 0 8px}.rule-delivery .dl-row{margin:6px 0 2px}.rule-delivery .dl-row.is-locked{opacity:.85}.rule-delivery .dl-row input[disabled]{cursor:not-allowed}.rule-delivery .dl-note{margin:2px 0 6px;padding-inline-start:24px}.rule-delivery .dl-warn{margin:4px 0;padding-inline-start:24px;color:#f5c76a}.rule-delivery .dl-warn a{color:#7cb7ff}.dl-auto{margin:6px 0 0;padding:10px 12px;border:1px solid rgba(173,196,226,.16);border-radius:10px;background:#09122080}.dl-modes{display:flex;gap:8px}.dl-mode{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:1px solid rgba(173,196,226,.2);border-radius:8px;color:#9fb4cf;cursor:pointer;font-weight:600;font-size:13px}.dl-mode input{position:absolute;opacity:0;pointer-events:none}.dl-mode.on{color:#e9f1fa;border-color:#52d6a3;background:#52d6a31a}.dl-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0}.dl-fields small{color:#8ea0b8;font-weight:400}.dl-risks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 4px}.dl-risk-card{display:grid;gap:6px;align-content:start;padding:9px 10px;border:1px solid rgba(173,196,226,.2);border-radius:9px;background:#09122073;color:#dbe8f7;font-size:12.5px;font-weight:600;line-height:1.4;min-width:0}.dl-risk-card small{color:#8ea0b8;font-weight:400}.dl-risk-card .text-input{width:100%;min-width:0;box-sizing:border-box}.dl-risk-card:focus-within{border-color:#52d6a3}.dl-risk-now{margin:2px 0;color:#e9f1fa;font-size:12.5px;line-height:1.5}.rule-delivery .dl-warn[hidden]{display:none}.rule-pill.dl-pill{color:#52d6a3;border-color:#52d6a373}.dl-times{margin:8px 0 0}.dl-times-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 4px;color:#dbe8f7;font-size:13px;font-weight:600}.dl-times-head small{color:#8ea0b8;font-weight:400}.dl-quick{display:flex;gap:6px}.dl-quick button{border:0;background:transparent;color:#7cb7ff;cursor:pointer;font:inherit;font-size:12px;padding:0 2px}.dl-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.dl-hours{display:grid;grid-template-columns:repeat(12,1fr);gap:4px}.dl-chip{min-height:28px;padding:0 2px;border:1px solid rgba(173,196,226,.2);border-radius:7px;background:transparent;color:#8ea0b8;cursor:pointer;font:inherit;font-size:12px}.dl-chip.on{color:#e9f1fa;border-color:#52d6a3;background:#52d6a31f}.dl-hour{font-variant-numeric:tabular-nums}@media (max-width:520px){.dl-hours{grid-template-columns:repeat(8,1fr)}.dl-days .dl-chip{font-size:11px}}.dl-soon{opacity:.8}.dl-soon-tag{display:inline-flex;align-items:center;gap:4px;margin-inline-start:8px;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,216,77,.4);color:#ffd84d;font-size:12px;font-weight:600}.dl-soon-tag .lock-ico{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}.smart-trading-card{padding:14px 16px;margin-bottom:14px;display:grid;gap:10px}.smart-trading-card .card-heading{padding:0;border:0}.smart-trading-card h2{margin:0}.st-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.st-label{color:var(--muted);font-size:13px}.st-seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.st-seg button{min-height:40px;padding:8px 14px;border:0;background:transparent;color:var(--text);font:inherit;font-size:13px;cursor:pointer}.st-seg button+button{border-inline-start:1px solid var(--line)}.st-seg button.on{background:var(--accent);color:#061017;font-weight:750}.st-sub{margin:4px 0 0;font-size:14px}.st-rules{display:grid;gap:8px}.st-rule{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-2)}.st-rule-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}.st-rule-name b{overflow-wrap:anywhere}.st-tfs{color:var(--muted);font-size:12px}.st-switch{display:inline-flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;font-size:13px}.st-switch input{width:20px;height:20px;accent-color:var(--accent)}.st-lock{color:var(--warning, #f5b84b);font-size:12.5px}.st-lock a,.st-connect a{color:var(--accent)}.st-note{margin:0}.st-msg:empty{display:none}.st-mg{display:grid;gap:10px;padding:12px 14px;border:1.5px solid rgba(255,107,107,.55);border-radius:12px;background:#ff6b6b0f}.st-mg-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.st-mg-head h3{margin:0;color:#ff6b6b;font-size:15px}.st-mg-state{font-size:12px;color:var(--muted)}.st-mg.on .st-mg-state{color:#ff6b6b;font-weight:700}.st-mg-btn{min-height:44px;padding:10px 16px;border:1.5px solid #ff6b6b;border-radius:10px;background:#d64545;color:#fff;font:inherit;font-weight:700;cursor:pointer}.st-mg-btn:disabled{opacity:.45;cursor:not-allowed}.st-mg-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.st-mg-scope{display:flex;flex-wrap:wrap;gap:6px 16px;border:0;padding:0;margin:0}.st-mg-scope legend{color:var(--muted);font-size:12px;padding:0;margin-bottom:4px}.st-radio{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:13px}.st-mg-types .st-mg-quick{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-bottom:2px}.st-mg-types>small{width:100%}.st-mg-base{max-width:240px}.st-mg-example{margin:0;font-size:13px;font-weight:650}.st-mg-table{width:100%;border-collapse:collapse;font-size:13px;direction:inherit}.st-mg-table th{text-align:start;color:var(--muted);font-weight:600;padding:5px 6px;border-bottom:1px solid var(--line)}.st-mg-table td{padding:5px 6px;border-bottom:1px solid var(--line);white-space:nowrap}.st-mg-table td:last-child{color:#ff6b6b;font-weight:650}.st-mg-actions{display:flex;flex-wrap:wrap;gap:8px}.st-modal-back{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:12px;background:#040810b8}.st-modal{width:min(460px,100%);max-height:calc(100vh - 24px);overflow:auto;padding:18px;border:2px solid #ff6b6b;border-radius:14px;background:var(--panel);color:var(--text);box-shadow:var(--shadow)}.st-modal h3{margin:0 0 10px;color:#ff6b6b}.st-modal p{margin:0 0 12px;line-height:1.8;font-weight:600}.st-accept{display:flex;align-items:flex-start;gap:10px;margin:6px 0 14px;cursor:pointer;line-height:1.7}.st-accept input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:#ff6b6b}.st-modal-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.st-modal-actions button{flex:1 1 140px;min-height:44px}.dl-off{display:grid;gap:8px;margin-top:6px}.dl-off-row{display:grid;gap:6px;padding:8px;border:1px solid var(--line);border-radius:9px}.dl-off-line{display:grid;grid-template-columns:2.2em minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:6px}.dl-off-row .select-control,.dl-off-time{width:100%;min-width:0}.dl-off-time{direction:ltr;padding-inline:6px;font-size:14px}.dl-off-remove,.dl-off-add{justify-self:start}@media (max-width:640px){.st-mg-fields{grid-template-columns:1fr}.st-seg{display:flex;width:100%}.st-seg button{flex:1 1 0;padding:8px 6px}.st-rule{flex-direction:column;align-items:stretch}}
