/* HWP permissions, Service settings, and production appearance isolation. */
:root[data-hwp-appearance] .service-row.background-row,
:root[data-hwp-appearance="light"] .service-row.background-row {
  background:#183447!important;border:1px solid #dba83d!important;
  color:#fff!important;
}
:root[data-hwp-appearance] .service-row.background-row .service-copy strong,
:root[data-hwp-appearance="light"] .service-row.background-row .service-copy strong {
  color:#fff!important;text-shadow:0 1px 1px #001a21;
}
:root[data-hwp-appearance] .service-row.background-row .service-copy small,
:root[data-hwp-appearance] .service-row.background-row .service-num,
:root[data-hwp-appearance="light"] .service-row.background-row .service-copy small {
  color:#cfeaf3!important;
}
:root[data-hwp-appearance] .service-row.background-row.active {
  background:#173e57!important;outline:2px solid #e5ae45!important;outline-offset:-2px;
}
/* Presentation content is deliberately independent of the operator's theme. */
:root[data-hwp-appearance="light"] :is(.logical-root,.thumb-host,.film-thumb,.table-thumb,
 .reflow-stage,.program-frame,.stage-screen,.stage-program,.hwp-stage-preview,.hwp-stage-artboard,.theme-preview),
:root[data-hwp-appearance="dark"] :is(.logical-root,.thumb-host,.film-thumb,.table-thumb,
 .reflow-stage,.program-frame,.stage-screen,.stage-program,.hwp-stage-preview,.hwp-stage-artboard,.theme-preview) {
  --bg:#121212!important;--bg-2:#181818!important;--bg-3:#202020!important;
  --line:#2c2c2c!important;--text:#f3f1ec!important;--dim:#b7b3ab!important;
  --faint:#aaa8a3!important;color-scheme:dark;
}
:root[data-hwp-appearance="light"] :is(.logical-root,.stage-layout,.stage-screen,.program-frame) .template-banner {
  color:#f3f1ec;
}
.hwp-service-create{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0 16px}
.hwp-service-create input{flex:1;min-width:170px}
.hwp-service-create .btn{white-space:nowrap}
.hwp-service-list{display:flex;flex-direction:column;gap:6px}
.hwp-service-entry{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:9px 10px}
.hwp-service-entry>strong{flex:1;overflow-wrap:anywhere}
.hwp-service-entry .btn{flex-shrink:0}
.hwp-stage-format-row{display:flex;flex-wrap:wrap;gap:6px}
.hwp-stage-format-row .btn{min-width:37px}
.hwp-stage-inspector .grid-2{min-width:0}
.hwp-stage-inspector .field input[type=range]{width:100%}
/* The signed-out experience intentionally follows the supplied sermon login reference. */
.hwp-access-shell{
  position:fixed;inset:0;z-index:2147483000;overflow:hidden;
  color:#f4f8f4;background:linear-gradient(132deg,#04170e 0%,#082b1a 51%,#0c3923 100%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  display:grid;grid-template-rows:auto minmax(0,1fr);isolation:isolate;
}
.hwp-access-shell::after{
  content:"";position:absolute;left:-12%;bottom:-24%;width:125%;height:38%;
  border-top:1.5px solid #f2b934;border-radius:50% 50% 0 0;
  box-shadow:0 -10px 34px #d3a82529;transform:rotate(-3deg);pointer-events:none;z-index:-1;
}
.hwp-access-shell::before{
  content:"";position:absolute;left:-10%;bottom:-29%;width:130%;height:37%;
  border-top:1px solid #36745f88;border-radius:50% 50% 0 0;
  transform:rotate(3deg);pointer-events:none;z-index:-1;
}
.hwp-access-header{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:16px;padding:12px clamp(25px,3.6vw,54px);height:168px;box-sizing:border-box;
}
.hwp-access-header img{
  width:clamp(194px,19vw,282px);height:auto;max-height:158px;object-fit:contain;
  object-position:top left;flex:none;display:block;
}
.hwp-access-connect{display:flex;align-items:center;gap:14px;margin-top:16px;color:#90e7cd;font-size:13px;font-weight:550;white-space:nowrap}
.hwp-access-dot{display:inline-block;background:#39c89a;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 3px #39c89a28;margin-right:7px}
.hwp-access-link{color:#fff;text-decoration:none;border:1px solid #81a89a;border-radius:10px;padding:13px 16px;font-size:15px;font-weight:750;background:#0b281e;white-space:nowrap}
.hwp-access-link:hover{background:#16422d}
.hwp-access-main{min-height:0;display:flex;align-items:flex-start;justify-content:center;padding:16px 18px 18px;box-sizing:border-box}
.hwp-access-card{width:min(615px,100%);border:2px solid #efb53d;border-radius:22px;background:#061b14f2;padding:29px 24px 23px;box-sizing:border-box;box-shadow:0 14px 42px #0004;max-height:calc(100dvh - 200px);overflow:auto}
.hwp-access-form{display:flex;flex-direction:column;gap:18px}
.hwp-access-field{display:flex;flex-direction:column;gap:12px;font-size:16px;font-weight:750;color:#f9fcf7}
.hwp-access-field>span{display:flex;align-items:center;gap:14px}
.hwp-access-glyph{font-size:20px;color:#f2ba3b;width:20px;text-align:center}
.hwp-access-input{
  appearance:none;display:block;box-sizing:border-box;width:100%;height:57px;
  border:1.5px solid #9ebcb5;border-radius:11px;background:#e8f0ff;
  color:#102630!important;font-size:16px;font-weight:550;padding:0 18px;
}
.hwp-access-input::placeholder{color:#62798a}
.hwp-access-input:focus{outline:2px solid #e6ad31;outline-offset:2px}
.hwp-password-wrap{position:relative}
.hwp-password-wrap .hwp-access-input{padding-right:60px}
.hwp-password-toggle{position:absolute;right:8px;top:0;bottom:0;min-width:49px;border:0;background:transparent;color:#385c70;font-size:15px;cursor:pointer}
.hwp-access-submit{
  background:linear-gradient(#ffdf76,#e8aa27);border:1px solid #ffe39b;color:#082c31;
  font-size:23px;font-weight:800;border-radius:11px;width:100%;height:63px;
  cursor:pointer;margin-top:9px;text-align:center;
}
.hwp-access-submit:hover:not(:disabled){filter:brightness(1.07)}
.hwp-access-submit:disabled{opacity:.7;cursor:wait}
.hwp-access-reset{display:block;align-self:center;min-width:52%;max-width:100%;height:52px;border:1px solid #93b4ab;border-radius:11px;background:#0c281e;color:#fff;font-weight:700;font-size:15px;cursor:pointer;padding:0 18px}
.hwp-access-reset:hover{background:#184030}
.hwp-access-note{font-size:13px;line-height:1.5;color:#d6e4db;text-align:center;margin:3px 0 0}
.hwp-access-error{font-size:14px;line-height:1.5;color:#fff2d5;background:#533019aa;border:1px solid #f1b346;border-radius:10px;padding:11px 13px;margin:0}
.hwp-access-message{text-align:center;line-height:1.6;color:#e3f0e7}
.hwp-access-message h2{font-size:23px;margin:0 0 12px;color:#fff}
.hwp-access-message p{margin:0 0 17px}
.hwp-access-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.hwp-access-actions .hwp-access-reset{height:48px;min-width:150px}
@media(max-height:790px){.hwp-access-header{height:120px;padding-top:6px}.hwp-access-header img{max-height:106px;width:min(228px,25vw)}.hwp-access-card{padding:18px 22px;max-height:calc(100dvh - 130px)}.hwp-access-form{gap:12px}.hwp-access-input{height:49px}.hwp-access-submit{height:55px;margin-top:2px}.hwp-access-reset{height:45px}}
@media(max-width:700px){.hwp-access-header{height:105px;padding:9px 15px}.hwp-access-header img{width:130px;max-height:95px}.hwp-access-connect{margin-top:5px;flex-wrap:wrap;justify-content:flex-end;white-space:normal;font-size:11px;gap:5px}.hwp-access-link{padding:7px 9px;font-size:11px}.hwp-access-card{border-radius:16px;padding:20px 16px}.hwp-access-field{font-size:14px}.hwp-access-input{height:49px}.hwp-access-submit{height:55px;font-size:20px}}

/* Extended stage layout editor controls */
.hwp-stage-background-choice{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:var(--dim)}
.hwp-stage-background-choice input[type=color]{width:32px;height:29px;padding:0;border-radius:6px;cursor:pointer}
.hwp-stage-toolbar{gap:9px;flex-wrap:wrap}
.hwp-stage-object{touch-action:none}
.hwp-stage-inspector-body .check{padding:6px 0}
.hwp-stage-inspector-body .grid-2 input{width:100%;min-width:0;box-sizing:border-box}
.hwp-stage-inspector-body .field input[type=range]{accent-color:#e5ad42}
.hwp-stage-inspector-body select{width:100%;min-width:0}

/* The sign-in form keeps the reference's pale inputs even if the saved operator theme is light. */
:root[data-hwp-appearance] .hwp-access-input{background:#e8f0ff!important;color:#102630!important;border-color:#9ebcb5!important}
:root[data-hwp-appearance] .hwp-access-input::placeholder{color:#62798a!important}

/* Separate stage edit handles, matching the slide editor's direct manipulation. */
.hwp-stage-object .hwp-stage-rotate{position:absolute;left:50%;top:-26px;transform:translateX(-50%);width:13px;height:13px;border-radius:50%;background:#f0b638;border:2px solid #fff;box-shadow:0 0 0 2px #102e36;cursor:grab;z-index:20;touch-action:none}
.hwp-stage-object .hwp-stage-rotate:active{cursor:grabbing}
.hwp-stage-object .hwp-stage-resize{z-index:20;touch-action:none}


/* HWS-matched login controls and logo scale (2026-11-22). */
/* Match the reference's larger top-left logo while retaining room for the login card. */
.hwp-access-header{height:196px;padding-top:10px}
.hwp-access-header img{width:clamp(260px,22.5vw,348px);max-height:185px}
.hwp-access-main{padding-top:12px}
.hwp-access-card{max-height:calc(100dvh - 217px)}

/* Outline email and padlock icons: 22px, the same visual scale as HWS. */
.hwp-access-glyph{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;
  width:22px;height:22px;font-size:0!important;line-height:0;
}
.hwp-access-glyph::after{
  content:"";display:block;flex:none;width:22px;height:22px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f5bf3b%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.8%22%20y%3D%225%22%20width%3D%2218.4%22%20height%3D%2214%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m3.4%206.5%208.6%206.6%208.6-6.6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
}
.hwp-access-field:has(.hwp-password-wrap) .hwp-access-glyph::after,
.hwp-access-form>.hwp-access-field:nth-child(2) .hwp-access-glyph::after{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23f5bf3b%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2215%22%20r%3D%221%22%20fill%3D%22%23f5bf3b%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E");
}
.hwp-access-field>span{gap:12px}

/* Keep the existing working password-visibility action; render its label as a
   properly sized eye (or crossed-out eye while the password is visible). */
.hwp-password-toggle{
  display:flex;align-items:center;justify-content:center;
  width:48px;min-width:48px;height:100%;padding:0;
  font-size:0!important;line-height:0;color:transparent;
  border-radius:8px;touch-action:manipulation;
}
.hwp-password-toggle::before{
  content:"";display:block;width:23px;height:23px;flex:none;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23385f7e%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.7-6.5%2010-6.5S22%2012%2022%2012s-3.7%206.5-10%206.5S2%2012%202%2012Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
}
.hwp-password-wrap:has(input[type="text"]) .hwp-password-toggle::before{
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23385f7e%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203l18%2018M10.6%205.6A10.5%2010.5%200%200%201%2012%205.5c6.3%200%2010%206.5%2010%206.5a15%2015%200%200%201-3.2%203.9M6.2%206.9C3.5%208.6%202%2012%202%2012s3.7%206.5%2010%206.5c1.2%200%202.3-.2%203.3-.7M10%2010a3%203%200%200%200%204%204%22%2F%3E%3C%2Fsvg%3E");
}
.hwp-password-toggle:hover{background:#d6e2f278}
.hwp-password-toggle:focus-visible{outline:2px solid #d6a32e;outline-offset:-3px}

/* The short-screen and phone layouts must still show the whole form. */
@media(max-height:790px){
  .hwp-access-header{height:148px;padding-top:6px}
  .hwp-access-header img{width:min(276px,26vw);max-height:140px}
  .hwp-access-main{padding-top:8px}
  .hwp-access-card{max-height:calc(100dvh - 159px)}
}
@media(max-width:700px){
  .hwp-access-header{height:134px;padding:8px 15px}
  .hwp-access-header img{width:171px;max-height:125px}
  .hwp-access-card{max-height:calc(100dvh - 152px)}
}
@media(max-width:380px){
  .hwp-access-header img{width:150px}
}

/* Media editing controls and larger Settings cog: 2026-11-22 */
.toolbar .iconbtn.settings-gear{
  width:44px!important;height:42px!important;min-width:44px!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  border-radius:9px;flex:none;
}
.toolbar .iconbtn.settings-gear svg{width:25px!important;height:25px!important;flex:none}
.toolbar .iconbtn.settings-gear:hover,.toolbar .iconbtn.settings-gear:focus-visible{
  background:var(--bg-3,#262e2c);color:var(--text,#fff)
}
.settings-pane .help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:18px;margin-top:14px}
.settings-pane .help-grid section{min-width:0;border:1px solid var(--line,#454a49);border-radius:10px;padding:14px}
.settings-pane .help-grid h3{color:var(--amber,#e2a04a);margin:0 0 10px;font-size:13px}
.settings-pane .help-grid .shortcut{grid-template-columns:minmax(95px,38%) minmax(0,1fr);gap:9px}
.hwp-media-controls{margin-top:10px;border-top:1px solid var(--line,#434643);padding-top:12px}
.hwp-media-controls>.hint{margin:0 0 6px}
.hwp-media-controls .grid-2{min-width:0;gap:10px}
.hwp-media-controls .grid-2>*{min-width:0}
.hwp-media-controls select{min-width:0;max-width:100%;width:100%}
.hwp-media-controls .check{font-size:12px}

.hwp-media-frame-actions{display:grid;gap:8px;margin:10px 0}
.hwp-media-frame-actions .btn{width:100%;text-align:center;white-space:normal;line-height:1.35;padding:8px 12px}

/* HWP light-mode accessibility pass — November 22, 2026. */
/* Operator UI only. Never apply these rules to projected slides, slide thumbnails,
   stage artboards, presentation banners or authored content. */
:root[data-hwp-appearance="light"] {
  --faint:#486781; /* Small labels must have readable contrast on pale surfaces. */
}
:root[data-hwp-appearance="light"] :is(
  .library,.slides,.preview,.bin,.inspector,.editor,.film,
  .reflow,.bible,.bible-side,.bible-books,.lookup,
  .modal,.menu,.popover,.templates-panel,.toast,
  .hwp-library-window,.hwp-search-window,.hwp-stage-sidebar,
  .hwp-stage-inspector,.hwp-stage-toolbar,.settings-pane
) {
  color:var(--text);
}
/* Header, mode switcher and toolbar actions. Keep icon and label contrast
   consistent on the light toolbar instead of retaining pale dark-mode text. */
:root[data-hwp-appearance="light"] .toolbar .brand-name {
  color:#143b5d;
}
:root[data-hwp-appearance="light"] .toolbar :is(.brand,.modes button,.textbtn,.iconbtn,.screen-btn) {
  color:#244764;
}
:root[data-hwp-appearance="light"] .toolbar :is(.brand,.modes button,.textbtn,.iconbtn,.screen-btn):hover:not(:disabled) {
  color:#103959;background:#d9eaf7;border-color:#9bbdd6;
}
:root[data-hwp-appearance="light"] .toolbar :is(.modes button,.textbtn,.iconbtn).active {
  color:#fff;background:#15548c;border-color:#15548c;
}
:root[data-hwp-appearance="light"] .toolbar .screen-btn.on {
  color:#714700;background:#fff1c7;border-color:#ce9b22;
}
:root[data-hwp-appearance="light"] :is(.toolbar,.modal,.settings-modal) :is(button,input,select,textarea):focus-visible,
:root[data-hwp-appearance="light"] :is(.library,.slides,.editor,.bin,.bible,.hwp-library-window) button:focus-visible {
  outline:2px solid #135c9b;outline-offset:2px;
}
/* Service lists and selected presentations: the old active state used a navy
   fill while inheriting dark-blue light-theme text. The BG row is exempt. */
:root[data-hwp-appearance="light"] .service-row:not(.background-row):hover,
:root[data-hwp-appearance="light"] :is(.outline-item,.pres-row,.layer-row,.folder-col button,.book-list button):hover {
  color:#123e69;background:#e4f0fa;
}
:root[data-hwp-appearance="light"] .service-row:not(.background-row).active,
:root[data-hwp-appearance="light"] :is(.outline-item,.pres-row,.layer-row,.folder-col button,.book-list button).active {
  color:#103b61;background:#cfe5f7;
}
:root[data-hwp-appearance="light"] :is(.service-row:not(.background-row),.pres-row,.outline-item,.layer-row).active :is(strong,em,small,.service-num) {
  color:#214d70;
}
:root[data-hwp-appearance="light"] .service-row:not(.background-row).active strong {
  color:#0d3454;
}
:root[data-hwp-appearance="light"] :is(.service-row:not(.background-row),.pres-row,.outline-item,.layer-row):focus-visible {
  outline:2px solid #176ba8;outline-offset:-2px;
}
:root[data-hwp-appearance="light"] :is(.pill,.chip,.easy-card) {
  color:#244764;background:#e8f3fb;border-color:#b8d0e3;
}
:root[data-hwp-appearance="light"] .chip.ghost:hover {
  color:#123e69;background:#d6eaf8;
}
/* Inputs across settings, searching, Bible and presentation editors.
   Do not style editable text *on a slide* (.inline-text) here. */
:root[data-hwp-appearance="light"] :is(.detail-search,.lookup-field,.settings-search) {
  color:#163c5d;background:#fff;border-color:#a8c4da;
}
:root[data-hwp-appearance="light"] :is(.detail-search input,.lookup-field input,.library .panel-head select,
  .hwp-lib-toolbar input,.hwp-lib-toolbar select,.label-custom input,
  .settings-pane input:not([type=checkbox]):not([type=color]):not([type=range]),
  .settings-pane select,.settings-pane textarea,
  .hwp-stage-toolbar select,.hwp-stage-inspector select,
  .hwp-stage-inspector input:not([type=range]):not([type=color]),
  .hwp-stage-inspector textarea) {
  background:#fff;color:#102e4c;border-color:#a8c4da;
}
:root[data-hwp-appearance="light"] :is(input,textarea)::placeholder {
  color:#536d85;opacity:1;
}
:root[data-hwp-appearance="light"] :is(input,select,textarea):disabled {
  color:#596f84;opacity:1;background:#edf3f8;
}
:root[data-hwp-appearance="light"] .hwp-stage-inspector input[type=range] {
  accent-color:#1267a1;background:transparent;
}
:root[data-hwp-appearance="light"] :is(.hwp-stage-inspector,.settings-pane) input[type=checkbox] {
  accent-color:#1267a1;
}
/* Library folders, media picker, file previews and search-results labels. */
:root[data-hwp-appearance="light"] :is(.hwp-lib-sidebar,.hwp-media-content nav) {
  background:#eaf3fa;border-color:#b9d1e4;
}
:root[data-hwp-appearance="light"] :is(.hwp-lib-sidebar button,.hwp-media-content nav button) {
  color:#214763;
}
:root[data-hwp-appearance="light"] :is(.hwp-lib-sidebar button,.hwp-media-content nav button):hover,
:root[data-hwp-appearance="light"] .hwp-lib-item:hover {
  color:#143b5d;background:#daeafa;
}
:root[data-hwp-appearance="light"] :is(.hwp-lib-sidebar button,.hwp-media-content nav button).active,
:root[data-hwp-appearance="light"] .hwp-lib-item.selected {
  color:#103b61;background:#cbe3f6;
}
:root[data-hwp-appearance="light"] .hwp-lib-preview {
  color:#102e4c;background:#fff;border-color:#abc7dc;
}
:root[data-hwp-appearance="light"] .hwp-lib-preview :is(header,footer) {
  border-color:#c5d8e9;
}
:root[data-hwp-appearance="light"] :is(
  .hwp-lib-caption,.hwp-lib-item small,.hwp-lib-sidebar small,
  .hwp-lib-arrow,.hwp-lib-preview header small,.hwp-lib-preview footer span,
  .hwp-lib-preview-cell small) {
  color:#486781;
}
:root[data-hwp-appearance="light"] .hwp-lib-file-icon {
  color:#245783;
}
:root[data-hwp-appearance="light"] .hwp-lib-item {
  border-color:#c4d8e9;
}
:root[data-hwp-appearance="light"] :is(.hwp-media-card,.media-card,.cue-card,.live-sources button,.hits button) {
  color:#173e5d;background:#fff;border-color:#bfd4e5;
}
:root[data-hwp-appearance="light"] :is(.media-card,.cue-card,.hwp-media-card,.hits button):hover {
  background:#e8f3fb;
}
/* Stage-layout inspector UI only: the artboard stays in its authored colors. */
:root[data-hwp-appearance="light"] .hwp-stage-workspace {
  background:#e5f0f9;
}
:root[data-hwp-appearance="light"] :is(.hwp-stage-section-head,.hwp-stage-toolbar,
  .hwp-stage-layout-list button,.hwp-stage-layer-list button,
  .hwp-stage-inspector-body small,.hwp-stage-inspector-empty,.hwp-stage-hint,
  .hwp-stage-tabs button) {
  color:#244764;
}
:root[data-hwp-appearance="light"] .hwp-stage-tabs button.active {
  color:#104f84;border-bottom-color:#98620e;
}
:root[data-hwp-appearance="light"] :is(.hwp-stage-layout-list button,.hwp-stage-layer-list button):hover {
  color:#103b61;background:#dcecf8;
}
:root[data-hwp-appearance="light"] :is(.hwp-stage-layout-list button,.hwp-stage-layer-list button).active {
  color:#103b61;background:#cbe3f6;
}
:root[data-hwp-appearance="light"] .hwp-stage-toolbar {
  background:#e7f2fb;border-color:#bdcfdf;
}
/* Settings panels, selection states, Bible annotations and auxiliary tools. */
:root[data-hwp-appearance="light"] .settings-body nav button {
  color:#315875;
}
:root[data-hwp-appearance="light"] .settings-body nav button:hover {
  color:#103b61;background:#e1effa;
}
:root[data-hwp-appearance="light"] .settings-body nav button.active {
  color:#103b61;background:#cbe3f6;
}
:root[data-hwp-appearance="light"] .settings-nav-heading,
:root[data-hwp-appearance="light"] :is(.panel-head span,.section-label,.lbl,.popover-label) {
  color:#466480;
}
:root[data-hwp-appearance="light"] .settings-pane .help-grid h3,
:root[data-hwp-appearance="light"] .bible-read .verses sup {
  color:#805209;
}
:root[data-hwp-appearance="light"] .settings-pane .help-grid section,
:root[data-hwp-appearance="light"] .settings-pane .service-defaults {
  background:#fbfdff;border-color:#c4d8e9;
}
:root[data-hwp-appearance="light"] :is(.num-spin button,.arr-row button) {
  color:#244764;background:#e8f3fb;border-color:#abc6d9;
}
:root[data-hwp-appearance="light"] :is(.num-spin button,.arr-row button):hover {
  color:#103b61;background:#d3e8f7;
}
:root[data-hwp-appearance="light"] .toggle i {
  background:#9ab5cb;
}
:root[data-hwp-appearance="light"] .toggle i:after {
  background:#fff;
}
:root[data-hwp-appearance="light"] .toggle.on i {
  background:#1267a1;
}
:root[data-hwp-appearance="light"] .color-drag-handle:is(:hover,:focus-visible) {
  color:#173e5d;background:#dcecf8;
}
:root[data-hwp-appearance="light"] .color-delete {
  color:#a3293a;
}
:root[data-hwp-appearance="light"] .color-delete:is(:hover,:focus-visible) {
  color:#8a1c2c;background:#fbe9eb;
}
:root[data-hwp-appearance="light"] .hwp-bulk-scripture [role=alert] {
  color:#9a1f2e;
}
:root[data-hwp-appearance="light"] :is(.menu-item.danger,.popover-item.danger) {
  color:#922b36;
}
:root[data-hwp-appearance="light"] :is(.menu-item,.popover-item):focus-visible {
  outline:2px solid #14639b;outline-offset:-2px;
}

/* Additional light-only accent contrast: the default amber is deliberately
   retained for dark mode and projected content, so recolor text locally. */
:root[data-hwp-appearance="light"] :is(
  .bg-heading,.help h3,.templates-panel h3,.template-meta em,
  .chapter-nums button.active,.mobile-nav button.active,
  .live-sources button.active
) {
  color:#805209;
}
:root[data-hwp-appearance="light"] .chapter-nums button.active {
  background:#fff1cd;border-color:#be9444;
}
:root[data-hwp-appearance="light"] .mobile-nav button.active {
  background:#d6eaf8;border-top:2px solid #855b11;
}
:root[data-hwp-appearance="light"] .templates-panel :is(h3,.template-meta em) {
  color:#805209;
}
