/* Scoped entry presentation; Data/History and authorization surfaces are unchanged. */
#app .coordinated-entry{display:block;max-width:100%;color:#153b4d}
#app .coordinated-entry .app-section,#app .coordinated-entry .coordinated-folder{box-sizing:border-box;min-width:0;margin:14px 0;padding:12px 16px;border-radius:15px;border:1px solid #598897;box-shadow:0 3px 9px #052a3933;color:#173d4e}
#app .coordinated-entry .coordinated-folder{padding:0;overflow:visible;background:#e0eff0}
#app .coordinated-entry .coordinated-folder>details>summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:12px 16px;background:#13576a;color:#fff;border-radius:14px 14px 7px 7px;font-size:16px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
#app .coordinated-entry .coordinated-folder>details:not([open])>summary{border-radius:14px}
#app .coordinated-entry .coordinated-folder-body{padding:12px 16px}
#app .coordinated-entry .coordinated-legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#app .coordinated-entry .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px 14px;align-items:start}
#app .coordinated-entry .lbl{margin-top:9px;line-height:1.4;color:#153b4d}
#app .coordinated-entry .help{color:#2b4d5b;line-height:1.45;margin:7px 0}
#app .coordinated-entry textarea{min-height:72px;max-width:100%}
#app .coordinated-entry .coordinated-native-choice{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#app .coordinated-choices{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0;min-width:0}
#app .coordinated-choices button,#app .coordinated-clear{font:inherit;font-size:14px;line-height:1.3;min-height:44px;padding:8px 12px;border-radius:10px;border:1px solid #487589;background:#f9fdff;color:#174053;cursor:pointer;white-space:normal}
#app .coordinated-choices button[aria-checked=true]{background:#0d5c70;color:#fff;border:2px solid #063a4a;padding:7px 11px;font-weight:750;box-shadow:inset 0 -3px #fff5}
#app .coordinated-choices button[aria-checked=true]::before{content:'✓ ';font-weight:800}
#app .coordinated-choices[aria-invalid=true]{outline:2px solid #a62a1e;outline-offset:4px;border-radius:10px}
#app .coordinated-clear{font-size:12px;min-height:36px;margin-bottom:6px;background:transparent}
#app .coordinated-entry :is(button,summary,input,select,textarea):focus-visible,#app .coordinated-dashboard button:focus-visible{outline:3px solid #b95407;outline-offset:3px}
#app .coordinated-entry .err,#app .coordinated-entry .local-field-error{background:#fff1ec;color:#8b1d14;border:1px solid #a52b1f;padding:10px;border-radius:8px}
#app .coordinated-dashboard{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:18px!important;align-items:start;max-width:1050px;margin:0 auto}
#app .coordinated-dashboard>.activity-card{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;justify-self:center;min-height:145px!important;height:auto!important;box-sizing:border-box}
#app .coordinated-dashboard>.coordinated-tool{width:145px!important;max-width:100%!important;height:145px!important;min-height:145px!important;border-radius:50%!important;aspect-ratio:1;padding:18px!important;display:grid;place-items:center;background:linear-gradient(145deg,#daf3eb,#add8d7);color:#103b4c;border:2px solid #53878e}
#app .coordinated-dashboard .activity-title{font-size:16px!important;line-height:1.3!important;overflow-wrap:anywhere;text-align:center}
#app .coordinated-dashboard .activity-reference{font-size:12px!important;line-height:1.4!important}
#app .coordinated-dashboard>.coordinated-tool .activity-reference{display:none}
#app .coordinated-dashboard>.coordinated-tool:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:480px){#app .coordinated-entry .coordinated-folder-body{padding:10px 12px}#app .coordinated-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}#app .coordinated-dashboard>.coordinated-tool{width:132px!important;height:132px!important;min-height:132px!important;padding:14px!important}#app .coordinated-dashboard>.activity-card{min-height:132px!important}#app .coordinated-dashboard .activity-title{font-size:14px!important}}
#coordinated-word-lists{color:#123548;background:#e6f1f3;max-width:min(850px,94vw);max-height:90dvh;overflow:auto;border:2px solid #23748b;border-radius:20px;padding:24px}#coordinated-word-lists .word-lists-close{position:sticky;top:0;float:right;min-width:44px;min-height:44px;background:#173f57;color:white;border-radius:50%;font-size:24px;z-index:2}#coordinated-word-lists .word-list-category{margin:14px 0;padding:16px;border:1px solid #638d9d;border-radius:15px;background:#fff}#coordinated-word-lists h3{color:#123e57}#coordinated-word-lists small{overflow-wrap:anywhere}
/* Existing folder controllers retain their bindings; restyle their actual tabs too. */
body .online-app-shell #app .coordinated-entry .folder-tab-toggle{background:#13576a;color:#fff;border-color:#0c4050;font-size:15px;line-height:1.35;min-height:44px;padding:9px 13px}
body .online-app-shell #app .coordinated-entry .section-tone-gold .folder-tab-toggle{background:#725019;color:#fff;border-color:#563a10}
body .online-app-shell #app .coordinated-entry .section-tone-green .folder-tab-toggle{background:#215c4a;color:#fff;border-color:#164235}
body .online-app-shell #app .coordinated-entry .section-tone-lilac .folder-tab-toggle{background:#603d72;color:#fff;border-color:#482a57}
body .online-app-shell #app .coordinated-entry .folder-panel-body{padding-top:8px}
body .online-app-shell #app .coordinated-entry .planner-check-columns,body .online-app-shell #app .coordinated-entry .planner-detail-columns{gap:12px;align-items:start}
body .online-app-shell #app form.coordinated-entry{background:transparent;border:0;box-shadow:none;padding:0}
/* Surface-specific foregrounds: exposed ocean text stays light; card text stays dark. */
body .online-app-shell #app form.coordinated-entry{color:#e8f5fa}
body .online-app-shell #app .coordinated-entry :is(fieldset,.app-section,.folder-panel,.coordinated-folder){color:#173d4e}
body .online-app-shell #app form.coordinated-entry>p:not(.source-caution):not(.sm-derived):not(.local-save-feedback){color:#e8f5fa}
body .online-app-shell #app .coordinated-entry>.sm-derived{padding:10px 13px;background:#e0eff0;border:1px solid #598897;border-radius:12px;color:#173d4e}

/* First-step emphasis only: native setting values and change handlers stay authoritative. */
#app .coordinated-entry .cue-setting-step{display:block;box-sizing:border-box;margin:2px 0 16px;padding:14px 16px;border:2px solid #236a7b;border-radius:16px;background:linear-gradient(120deg,#fff1d6 0%,#ffe4ef 52%,#fff0df 100%);color:#173d4e;font-weight:750;box-shadow:0 3px 8px #163c4b18}
#app .cue-setting-first{display:table;margin:0 0 8px;padding:5px 10px;border-radius:8px;background:#164e61;color:#fff;font-size:13px;font-weight:800;letter-spacing:.02em}
#app .cue-setting-step .coordinated-choices{margin:10px 0 8px;gap:10px}
#app .cue-setting-step .coordinated-choices button{min-height:48px;flex:0 1 auto;border:2px solid #42768a;background:#f8fdff;color:#174053;font-weight:750}
#app .cue-setting-step .coordinated-choices button[aria-checked=true]{border:3px solid #123f50;padding:7px 11px;background:#0d5c70;color:#fff;box-shadow:inset 0 -3px #fff5}
#app .cue-setting-step .coordinated-choices button[aria-checked=true]::after{content:' · Selected';font-size:.85em}
#app .cue-setting-step .coordinated-choices button:disabled{opacity:1;color:#435b64;background:#edf2f3;border-style:dashed}
#app .cue-setting-step .coordinated-choices button[aria-checked=true]:disabled{color:#fff;background:#315e6c;border-style:solid}
#app .cue-setting-status{display:block;font-size:13px;font-weight:600;line-height:1.45;margin:5px 0 0;color:#244d5c}
#app .cue-setting-step .coordinated-clear{min-height:44px;margin:0;background:#fff9;color:#174053}
@media(max-width:600px){#app .coordinated-entry .cue-setting-step{padding:12px 10px}#app .cue-setting-step .coordinated-choices button{flex:1 1 160px}}
@media(forced-colors:active){#app .coordinated-entry .cue-setting-step{background:Canvas;color:CanvasText;border-color:CanvasText}#app .cue-setting-first{background:Highlight;color:HighlightText}#app .cue-setting-step .coordinated-choices button[aria-checked=true]{border:3px solid Highlight}}
