/* Component scope beats the legacy form palette without changing other controls. */
#appShell #roundChangeNotice.round-change-notice{display:flex;align-items:center;gap:16px;margin:0 0 20px;padding:14px 16px;border:1px solid #9f9870;border-left:3px solid #e9d78d;border-radius:var(--bdr-radius-control,8px);background:#302c20;color:#fff1c5;font:500 14px/1.6 var(--body,system-ui,sans-serif);overflow-wrap:anywhere}
#appShell #roundChangeNotice.round-change-notice[hidden]{display:none}
#appShell #roundChangeNotice.round-change-notice>span{flex:1;min-width:0;color:#fff1c5}
#appShell #roundChangeNotice.round-change-notice>button{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:44px;max-width:100%;margin:0;padding:12px 16px;border:1px solid #e9d78d;border-radius:var(--bdr-radius-control,8px);background:#e9d78d;color:#172013;font:650 14px/1.4 var(--body,system-ui,sans-serif);white-space:normal;text-align:center;cursor:pointer;transition:background-color 140ms ease,transform 140ms ease}
#appShell #roundChangeNotice.round-change-notice>button:disabled{background:#514d3a;color:#e0dccb;border-color:#9f9870;opacity:1;cursor:default}
#appShell #roundChangeNotice.round-change-notice>button:focus-visible{outline:2px solid #b7ff39;outline-offset:3px}
@media(hover:hover){#appShell #roundChangeNotice.round-change-notice>button:not(:disabled):hover{background:#f8edbe;color:#172013}}
#appShell #roundChangeNotice.round-change-notice>button:not(:disabled):active{transform:translateY(1px)}
@media(max-width:680px){#appShell #roundChangeNotice.round-change-notice{align-items:stretch;flex-direction:column;gap:12px}#appShell #roundChangeNotice.round-change-notice>button{width:100%}}
@media(prefers-reduced-motion:reduce){#appShell #roundChangeNotice.round-change-notice>button{transition:none}#appShell #roundChangeNotice.round-change-notice>button:not(:disabled):active{transform:none}}
#appShell #roundAutomationRoot{min-width:0;margin-block:24px;scroll-margin-block:120px 96px}
#appShell #roundAutomationRoot .round-automation{--automation-bg:#17261d;--automation-raised:#25392c;--automation-line:#829988;--automation-text:#f2f6ed;--automation-muted:#c4d2c6;--automation-accent:#b7ff39;display:grid;gap:20px;min-width:0;padding:24px;border:1px solid var(--automation-line);border-radius:var(--bdr-radius-panel,10px);background:var(--automation-bg);color:var(--automation-text)}
#appShell #roundAutomationRoot .round-automation *{box-sizing:border-box}
#appShell #roundAutomationRoot :is(h3,p,dl,dd){margin:0;min-width:0;overflow-wrap:anywhere}
#appShell #roundAutomationRoot .round-automation>header{display:flex;align-items:start;gap:14px;margin:0;padding:0;border:0;background:none}
#appShell #roundAutomationRoot .round-automation>header>div{display:grid;gap:10px;min-width:0}
#appShell #roundAutomationRoot .round-automation>header>svg{flex-shrink:0;width:26px;height:26px;margin-top:2px;color:var(--automation-accent)}
#appShell #roundAutomationRoot .automation-kicker{color:var(--automation-accent);font:750 12px/1.5 var(--body,system-ui,sans-serif);letter-spacing:.07em;text-transform:uppercase}
#appShell #roundAutomationRoot h3{color:var(--automation-text);font-size:clamp(1.5rem,3vw,2rem);line-height:1.2}
#appShell #roundAutomationRoot .round-automation>header p{max-width:65ch;color:var(--automation-muted);font:400 14px/1.6 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-current{display:grid;gap:8px;padding:16px;border:1px solid var(--automation-line);border-radius:8px;background:var(--automation-raised)}
#appShell #roundAutomationRoot .automation-current strong{color:var(--automation-text);font:700 15px/1.5 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-current p{color:var(--automation-muted);font:400 14px/1.6 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-form{display:grid;gap:20px;margin:0;padding:0;border:0;background:none}
#appShell #roundAutomationRoot .automation-toggle{display:flex;align-items:start;gap:12px;min-width:0;margin:0;padding:16px;border:1px solid var(--automation-line);border-radius:8px;background:var(--automation-raised);cursor:pointer}
#appShell #roundAutomationRoot .automation-toggle input{appearance:auto;flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:0;padding:0;accent-color:var(--automation-accent)}
#appShell #roundAutomationRoot .automation-toggle>span{display:grid;gap:6px;min-width:0;color:var(--automation-text)}
#appShell #roundAutomationRoot .automation-toggle strong{color:var(--automation-text);font:700 15px/1.5 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-toggle small{color:var(--automation-muted);font:400 13px/1.6 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-help{color:var(--automation-muted);font:400 13px/1.65 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-execution{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-block:16px;border-block:1px solid var(--automation-line)}
#appShell #roundAutomationRoot .automation-execution>div{display:grid;gap:6px;min-width:0}
#appShell #roundAutomationRoot .automation-execution dt{color:var(--automation-muted);font:400 12px/1.5 var(--body,system-ui,sans-serif)}
#appShell #roundAutomationRoot .automation-execution dd{color:var(--automation-text);font:650 14px/1.5 var(--body,system-ui,sans-serif);font-variant-numeric:tabular-nums}
#appShell #roundAutomationRoot :is(.automation-actions,.automation-secondary){display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#appShell #roundAutomationRoot button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;min-width:44px;max-width:100%;margin:0;padding:12px 16px;border:1px solid #9eb3a3;border-radius:var(--bdr-radius-control,8px);background:var(--automation-raised);color:var(--automation-text);font:650 14px/1.4 var(--body,system-ui,sans-serif);text-align:center;white-space:normal;cursor:pointer;transition:background-color 140ms ease,border-color 140ms ease,transform 140ms ease}
#appShell #roundAutomationRoot button.automation-primary{border-color:var(--automation-accent);background:var(--automation-accent);color:#15200f}
#appShell #roundAutomationRoot :is(button,input):disabled{border-color:#829988;background-color:#3c4d40;color:#d9e3d7;opacity:1;cursor:default}
#appShell #roundAutomationRoot .automation-status{color:var(--automation-muted);font:400 14px/1.6 var(--body,system-ui,sans-serif);scroll-margin-block:140px 96px}
#appShell #roundAutomationRoot .automation-status:empty{display:none}
#appShell #roundAutomationRoot .automation-status.is-error{padding-left:12px;border-left:3px solid #ffc88c;color:#ffe6bd}
#appShell #roundAutomationRoot :is(button,input,[tabindex]):focus-visible{outline:2px solid var(--automation-accent);outline-offset:3px}
@media(hover:hover){#appShell #roundAutomationRoot button:not(:disabled):hover{border-color:var(--automation-accent);background:#35513e}#appShell #roundAutomationRoot button.automation-primary:not(:disabled):hover{background:#cdff79;color:#15200f}}
#appShell #roundAutomationRoot button:not(:disabled):active{transform:translateY(1px)}
@media(max-width:680px){#appShell #roundAutomationRoot .round-automation{padding:16px;gap:20px}#appShell #roundAutomationRoot .automation-execution{grid-template-columns:1fr}#appShell #roundAutomationRoot :is(.automation-actions,.automation-secondary){align-items:stretch;flex-direction:column}#appShell #roundAutomationRoot button{width:100%}}
@media(prefers-reduced-motion:reduce){#appShell #roundAutomationRoot button{transition:none}#appShell #roundAutomationRoot button:not(:disabled):active{transform:none}}
