/* Scoped form: no theme or counter ownership. */
#r1078ProtectivePlan{box-sizing:border-box;width:100%;max-width:100%;flex:none;margin:8px 0;padding:0;border:1px solid var(--line,#807354);border-radius:14px;background:rgba(3,22,30,.94);color:#f5efd9;min-width:0;scroll-margin-top:130px}
#r1078ProtectivePlan[data-open="false"]{margin:4px 0}
#r1078ProtectivePlan[hidden],#r1078PlanBody[hidden]{display:none!important}
#r1078ProtectivePlan .r1078PlanHead{margin:0;min-width:0}
#r1078ProtectivePlan h3,#r1078ProtectivePlan h4{margin:0;font:700 16px/1.45 system-ui;color:#fff2c8}
#r1078PlanBody{padding:12px;border-top:1px solid #61716a}
#r1078ProtectivePlan h4{margin-top:0;outline-offset:5px}
#r1078ProtectivePlan p{margin:9px 0;font:400 13px/1.55 system-ui;color:#d6e3df;overflow-wrap:anywhere}
#r1078ProtectivePlan button{min-height:44px;border:1px solid #738e89;border-radius:12px;padding:9px 12px;background:#102c35;color:#fff1ce;font:600 13px/1.35 system-ui;white-space:normal;touch-action:manipulation;cursor:pointer}
#r1078ProtectivePlan #r1078PlanOpen{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:8px;width:100%;margin:0;padding:9px 12px;border:0;border-radius:13px;text-align:left;background:transparent;min-height:44px}
#r1078PlanTitle{min-width:0;font-weight:700;overflow-wrap:anywhere}
#r1079PlanAction{font-size:12px;color:#d4e4dc}
#r1078PlanOpen .r1079PlanChevron{display:block;transition:transform .15s ease}
#r1078PlanOpen[aria-expanded="true"] .r1079PlanChevron{transform:rotate(180deg)}
#r1078ProtectivePlan button:disabled{opacity:.55;cursor:default}
#r1078ProtectivePlan :is(button,input):focus-visible{outline:2px solid #f8dc82;outline-offset:3px}
#r1078PlanAll,.r1078PlanActions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#r1078PlanAll button{flex:1 1 140px}
#r1078PlanRows{display:grid;gap:8px}
#r1078ProtectivePlan .r1078PlanRow{display:grid;grid-template-columns:minmax(0,1fr) 86px;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #61716a}
#r1078ProtectivePlan .r1078PlanRow label{display:flex;align-items:center;gap:9px;font:600 14px/1.5 system-ui;min-width:0;color:#f4eacb}
#r1078ProtectivePlan input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;accent-color:#52be9a}
#r1078ProtectivePlan input[type=number]{box-sizing:border-box;min-width:0;width:100%;min-height:44px;padding:7px 8px;border:1px solid #849f98;border-radius:10px;background:#051a24;color:#f6f1de;font:600 16px/1.3 system-ui;color-scheme:dark}
#r1078ProtectivePlan input[aria-invalid=true]{border-color:#ffb0a8;outline:1px solid #ffb0a8}
#r1078ProtectivePlan input:disabled{opacity:.5}
#r1078ProtectivePlan #r1078PlanStart{background:#175d4e;border-color:#8cc8ab}
#r1078ProtectivePlan #r1078PlanDismiss{background:transparent}
#r1078ProtectivePlan #r1078PlanStatus{font-weight:600;min-height:1.5em;color:#c9f2dc}
#r1078ProtectivePlan #r1078PlanStatus.r1078PlanError{color:#ffc6ba}
@media(max-width:360px){#r1078PlanBody{padding:10px}.r1078PlanActions>button{flex:1 1 100px}}
@media(prefers-reduced-motion:reduce){#r1078PlanOpen .r1079PlanChevron{transition:none}}
@media(forced-colors:active){#r1078ProtectivePlan,#r1078ProtectivePlan button,#r1078ProtectivePlan input{forced-color-adjust:auto;background:Canvas;color:CanvasText;border-color:ButtonText}#r1078ProtectivePlan :is(h3,h4,p,label),#r1078ProtectivePlan #r1078PlanStatus{color:CanvasText}}
/* r1082: a luminous template entrance, shared editor owns every count field. */
#r1078ProtectivePlan{background:radial-gradient(ellipse at 10% 0,#17584188,transparent 70%),rgba(3,22,30,.94);box-shadow:inset 0 1px 0 #f4d38f2b,0 0 16px #67dcb417}
#r1078PlanAll button{flex:1 1 90px;border-color:#bcb986;background:linear-gradient(150deg,#205d4d,#102e38);box-shadow:inset 0 1px 0 #ffe6b02b;transition:box-shadow .25s,transform .25s}
#r1078PlanAll button:hover,#r1078PlanAll button:focus-visible{box-shadow:0 0 18px #71edbf44,inset 0 1px 0 #ffe6b050;transform:translateY(-1px)}
#r1078ProtectivePlan[data-open="true"] #r1078PlanBody{animation:r1082MenuReveal .24s ease-out}
@media(prefers-reduced-motion:reduce){#r1078ProtectivePlan[data-open="true"] #r1078PlanBody{animation:none}#r1078PlanAll button{transition:none}#r1078PlanAll button:hover,#r1078PlanAll button:focus-visible{transform:none}}
