/* Editorial Minimalist — fresh Android runtime stylesheet (v3.10)
   Shared foundation, navigation, Home, dialogs, controls, and Appearance entry.
   Monochrome warm ivory, charcoal type, thin rules, restrained motion. */

body.editorial-minimalist{
  color-scheme:light;
  --bg:#f7f5f0;
  --bg-mid:#f2efe9;
  --panel:#fbfaf7;
  --panel-deep:#efebe4;
  --gold:#333333;
  --gold-bright:#1a1a1a;
  --gold-dark:#6f6a62;
  --text:#1a1a1a;
  --muted:#64615b;
  --subtle:#8a857d;
  --line:#bdb8af;
  --line-soft:#ded9d1;
  --danger:#1a1a1a;
  --success:#333333;
  --purple:#555555;
  --radius-frame:4px;
  --radius-inner:2px;
  --radius-control:2px;
  --font-display:"Bodoni 72","Didot","Times New Roman",Georgia,serif;
  --font-body:"Segoe UI",Arial,sans-serif;
  background:#f7f5f0;
  color:var(--text);
}
body.editorial-minimalist::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.42;
  background:
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.88),transparent 27rem),
    repeating-linear-gradient(0deg,rgba(26,26,26,.012) 0 1px,transparent 1px 4px),
    linear-gradient(180deg,#fbfaf7 0%,#f3f0ea 100%);
}
body.editorial-minimalist::after{display:none!important}
body.editorial-minimalist .app-shell{width:min(100%,900px);padding-top:calc(22px + var(--safe-top));padding-bottom:calc(46px + var(--safe-bottom))}

/* Remove ornamental Black & Gold layers. */
body.editorial-minimalist :is(.lux-frame,.connected-menu,.page-panel,.card,.metric,.settings-row,.notice,.empty-state,.dialog)::before,
body.editorial-minimalist :is(.lux-frame,.connected-menu,.page-panel,.card,.metric,.settings-row,.notice,.empty-state,.dialog)::after{display:none!important}

/* Brand */
body.editorial-minimalist .brand{padding:10px 0 28px;text-align:center}
body.editorial-minimalist .brand-medallion{
  width:72px;height:72px;margin:0 auto 18px;border:1px solid #c9c4bc;border-radius:3px;
  background:#fbfaf7;box-shadow:0 8px 18px rgba(31,29,25,.08);overflow:hidden
}
body.editorial-minimalist .brand-medallion::before{display:none}
body.editorial-minimalist .brand-medallion svg{width:42px;height:42px}
body.editorial-minimalist .brand-medallion svg circle:first-child,
body.editorial-minimalist .brand-medallion svg path:first-of-type{fill:#1a1a1a!important}
body.editorial-minimalist .brand-medallion svg circle:not(:first-child),
body.editorial-minimalist .brand-medallion svg path:not(:first-of-type){fill:#77736c!important}
body.editorial-minimalist .brand h1{
  margin:0;color:#171717;text-shadow:none;text-transform:none;white-space:normal;
  font-family:var(--font-display);font-weight:400;font-size:clamp(2.2rem,10vw,4.6rem);line-height:.98;letter-spacing:.01em
}
body.editorial-minimalist .scripture{margin:16px auto 0;color:#35322f;font-family:var(--font-display)}
body.editorial-minimalist .scripture em{color:#34312d;font-size:clamp(1rem,4vw,1.25rem)}
body.editorial-minimalist .scripture strong{margin-top:10px;color:#1a1a1a;font-size:.84rem;letter-spacing:.13em;text-transform:uppercase;font-family:var(--font-body);font-weight:600}
body.editorial-minimalist .scripture strong::before,
body.editorial-minimalist .scripture strong::after{width:44px;background:#858078;box-shadow:none}

/* Navigation */
body.editorial-minimalist .connected-menu{
  display:grid;border:1px solid #c9c4bc;border-radius:4px;background:rgba(251,250,247,.96);
  box-shadow:0 7px 18px rgba(31,29,25,.06);overflow:hidden;margin-bottom:14px
}
body.editorial-minimalist .menu-button{
  min-height:72px;padding:10px 5px;border:0;border-right:1px solid #d7d2ca;border-radius:0;
  background:transparent;color:#34312e;gap:7px;font-family:var(--font-body);transition:transform .11s ease,background .14s ease,color .14s ease
}
body.editorial-minimalist .menu-button:last-child{border-right:0}
body.editorial-minimalist .menu-button svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.45}
body.editorial-minimalist .menu-button span{font-size:.72rem;font-weight:600;letter-spacing:.05em;line-height:1.18}
body.editorial-minimalist .menu-button.active{
  color:#faf8f5;background:#1b1b1b;box-shadow:none
}
body.editorial-minimalist .menu-button.active::before,
body.editorial-minimalist .menu-button.active::after{display:none}
body.editorial-minimalist .sub-menu{margin-bottom:24px}
body.editorial-minimalist .sub-menu .menu-button{min-height:64px}
body.editorial-minimalist .nav-dock.is-docked{
  background:rgba(247,245,240,.97)!important;box-shadow:0 1px 0 #cbc6be,0 8px 18px rgba(31,29,25,.06)!important;
  backdrop-filter:blur(12px)
}
body.editorial-minimalist.ui2-nav-docked::after{background:#f7f5f0!important;box-shadow:none!important}
body.editorial-minimalist .nav-dock.is-docked .connected-menu{box-shadow:none}

/* Shared panels */
body.editorial-minimalist :is(.page-panel,.card,.metric,.notice,.empty-state,.dialog,.settings-row){
  position:relative;border:1px solid #cbc6be;border-radius:4px;background:rgba(251,250,247,.96);
  box-shadow:none;color:#1a1a1a;overflow:hidden
}
body.editorial-minimalist .page-panel{padding:24px;margin-bottom:20px}
body.editorial-minimalist .page-heading{gap:14px;margin-bottom:7px}
body.editorial-minimalist .heading-icon{
  width:42px;height:42px;border:1px solid #bdb8af;border-radius:2px;background:transparent;color:#1a1a1a
}
body.editorial-minimalist .heading-icon svg{width:23px;height:23px;stroke-width:1.4}
body.editorial-minimalist .page-heading h2,
body.editorial-minimalist .section-heading h3,
body.editorial-minimalist .settings-detail h3{
  color:#171717;font-family:var(--font-display);font-weight:400;letter-spacing:0;line-height:1.02
}
body.editorial-minimalist .page-heading h2{font-size:clamp(2rem,8vw,3.25rem)}
body.editorial-minimalist .section-heading{padding-bottom:11px;border-bottom:1px solid #d5d0c8;margin-bottom:16px}
body.editorial-minimalist .section-heading h3{font-size:clamp(1.45rem,6vw,2.15rem)}
body.editorial-minimalist .page-sub{margin:0 0 24px;color:#625f59;font-family:var(--font-body);font-size:.96rem;line-height:1.55}

/* Home dashboard */
body.editorial-minimalist .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.editorial-minimalist .metric{
  min-height:126px;padding:16px;gap:12px;align-items:stretch;justify-content:center;text-align:left;
  border-color:#d0cbc3;background:#fbfaf7
}
body.editorial-minimalist .metric.wide{width:min(100%,380px)}
body.editorial-minimalist .metric-heading{gap:10px}
body.editorial-minimalist .metric-icon{
  width:36px;height:36px;flex:0 0 36px;border:1px solid #bbb6ae;border-radius:2px;background:transparent;color:#1b1b1b
}
body.editorial-minimalist .metric-icon svg{width:20px;height:20px;stroke-width:1.4}
body.editorial-minimalist .metric-label{color:#55514c;font-size:.71rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;font-family:var(--font-body)}
body.editorial-minimalist .metric-value{
  color:#171717;text-align:center;font-family:var(--font-display);font-weight:400;font-size:2.7rem;line-height:1
}
body.editorial-minimalist .quick-grid{gap:9px}
body.editorial-minimalist .card-list{gap:10px}
body.editorial-minimalist .card{padding:17px}
body.editorial-minimalist .card-title{margin:0 0 5px;color:#1a1a1a;font-family:var(--font-display);font-weight:400;font-size:1.45rem}
body.editorial-minimalist .card-kicker{margin:0 0 8px;color:#55514c;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-family:var(--font-body);font-weight:700}
body.editorial-minimalist .card p{color:#65615b;line-height:1.5}
body.editorial-minimalist .card-actions{gap:8px;margin-top:15px}
body.editorial-minimalist .progress-row{color:#5f5b55;font-size:.86rem}
body.editorial-minimalist .progress-row strong{color:#1a1a1a}
body.editorial-minimalist .progress-track{height:6px;border:1px solid #bbb6ae;border-radius:0;background:#efebe5;box-shadow:none}
body.editorial-minimalist .progress-fill{background:#1a1a1a;box-shadow:none}

/* Buttons */
body.editorial-minimalist .action{
  min-height:50px;border:1px solid #a9a49c;border-radius:2px;background:#fbfaf7;color:#1b1b1b;
  box-shadow:none;font-family:var(--font-body);font-size:.85rem;font-weight:650;letter-spacing:.035em
}
body.editorial-minimalist .action svg{stroke-width:1.45}
body.editorial-minimalist .action.primary,
body.editorial-minimalist .action.active{
  color:#faf8f5;border-color:#1a1a1a;background:#1a1a1a;box-shadow:none
}
body.editorial-minimalist .action.danger{color:#faf8f5;border-color:#1a1a1a;background:#1a1a1a}
body.editorial-minimalist .action:disabled{color:#99948c;border-color:#d4cfc7;background:#eeeae4}
body.editorial-minimalist .action:hover{filter:none}

/* Forms and shared controls */
body.editorial-minimalist :is(.form-control,.detail-row,.choice-button){
  color:#1a1a1a;border:1px solid #c2bdb5;border-radius:2px;background:#fbfaf7;box-shadow:none
}
body.editorial-minimalist .form-control{color-scheme:light;min-height:50px}
body.editorial-minimalist textarea.form-control{line-height:1.5}
body.editorial-minimalist .form-control:focus{border-color:#1a1a1a;box-shadow:0 0 0 1px #1a1a1a;outline:0}
body.editorial-minimalist :is(.form-field,.form-field legend,.detail-row strong){color:#383530}
body.editorial-minimalist .choice-button.active{color:#faf8f5;border-color:#1a1a1a;background:#1a1a1a}
body.editorial-minimalist .notice{padding:16px;color:#5f5b55;line-height:1.5}
body.editorial-minimalist .notice strong{color:#1a1a1a}
body.editorial-minimalist .empty-state{padding:30px 20px;color:#65615b}
body.editorial-minimalist .empty-state svg{width:32px;height:32px;stroke:#1a1a1a;stroke-width:1.35}

/* Dialogs */
body.editorial-minimalist .dialog-layer.open{background:rgba(27,26,24,.40);backdrop-filter:blur(7px)}
body.editorial-minimalist .dialog{border-radius:4px;background:#faf8f5;box-shadow:0 22px 60px rgba(25,23,20,.20)}
body.editorial-minimalist .dialog-head{border-bottom:1px solid #d1ccc4}
body.editorial-minimalist .dialog-head h3{color:#171717;font-family:var(--font-display);font-weight:400;font-size:1.7rem}
body.editorial-minimalist .dialog-close{border:1px solid #bbb6ae;border-radius:2px;background:#faf8f5;color:#1a1a1a;box-shadow:none}
body.editorial-minimalist .dialog-body{color:#57534d}
body.editorial-minimalist .dialog-actions{border-top:1px solid #d1ccc4}
body.editorial-minimalist .toast{background:#1a1a1a;color:#faf8f5;border:1px solid #1a1a1a;border-radius:2px;box-shadow:0 10px 24px rgba(25,23,20,.20)}

/* Settings compatibility and Appearance */
body.editorial-minimalist .settings-page{background:transparent;padding-bottom:30px}
body.editorial-minimalist :is(.settings-hero,.settings-block,.settings-status-card,.settings-toggle-row,.settings-stat,.appearance-choice,.settings-note,.settings-danger-zone,.settings-help-list details){
  border:1px solid #cbc6be!important;border-radius:3px!important;background:#fbfaf7!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .settings-hero{padding:20px}
body.editorial-minimalist .settings-hero h3,
body.editorial-minimalist .settings-block-head h4,
body.editorial-minimalist .settings-status-card strong,
body.editorial-minimalist .settings-toggle-copy strong,
body.editorial-minimalist .settings-stat strong,
body.editorial-minimalist .appearance-copy strong,
body.editorial-minimalist .settings-help-list summary{color:#1a1a1a!important}
body.editorial-minimalist .settings-hero h3,
body.editorial-minimalist .settings-block-head h4{font-family:var(--font-display)!important;font-weight:400!important}
body.editorial-minimalist :is(.settings-eyebrow,.settings-block-head p,.settings-status-card small,.settings-status-card span,.settings-toggle-copy span,.settings-stat>span:last-child,.appearance-copy span){color:#6a665f!important}
body.editorial-minimalist .settings-eyebrow{letter-spacing:.12em;text-transform:uppercase}
body.editorial-minimalist .appearance-grid{gap:10px}
body.editorial-minimalist .appearance-choice.active{border-color:#1a1a1a!important;box-shadow:inset 0 0 0 1px #1a1a1a!important}
body.editorial-minimalist .appearance-active-label{color:#faf8f5!important;background:#1a1a1a!important;border-color:#1a1a1a!important;border-radius:1px!important}
body.editorial-minimalist .settings-toggle-switch{border-color:#aaa59d!important;background:#ddd8d0!important}
body.editorial-minimalist .settings-toggle-row.active .settings-toggle-switch{background:#1a1a1a!important}
body.editorial-minimalist .settings-segmented{border:1px solid #c7c2ba!important;border-radius:2px!important;background:#f3f0ea!important}
body.editorial-minimalist .settings-segmented button{color:#5e5a54!important;background:transparent!important}
body.editorial-minimalist .settings-segmented button.active{color:#faf8f5!important;background:#1a1a1a!important}

/* Theme swatch, visible from every interface. */
.editorial-minimalist-swatch{
  position:relative;overflow:hidden;border:1px solid #aaa59d!important;border-radius:2px!important;
  background:
    linear-gradient(90deg,transparent 0 14%,rgba(26,26,26,.12) 14% 15%,transparent 15% 100%),
    linear-gradient(180deg,#fbfaf7 0 65%,#ece8e1 65% 100%)!important;
  box-shadow:inset 0 0 0 4px #f7f5f0!important
}
.editorial-minimalist-swatch::before{
  content:"Aa";position:absolute;left:10px;top:9px;color:#1a1a1a;font-family:Georgia,serif;font-size:21px;line-height:1
}
.editorial-minimalist-swatch::after{
  content:"";position:absolute;left:10px;right:10px;bottom:12px;height:1px;background:#1a1a1a;box-shadow:0 -8px 0 rgba(26,26,26,.38)
}

/* Understated immediate interaction: compress, return, no ripple and no action delay. */
body.editorial-minimalist .ui2-tap-shimmer{display:none!important}
body.editorial-minimalist :is(button,.action,.menu-button,.settings-row,.settings-toggle-row,.dialog-close,.time-inline-action,.time-scope-option,.time-month-shift,.time-year-shift,.time-goal-option){
  transform-origin:center;will-change:transform
}
body.editorial-minimalist .ui2-pressing{transform:scale(.975)!important;transition:transform .07s ease!important}
body.editorial-minimalist .ui2-editorial-release{animation:editorialSettle .18s cubic-bezier(.2,.8,.2,1) both!important}
body.editorial-minimalist .ui2-activated{animation:none!important}
@keyframes editorialSettle{0%{transform:scale(.975)}55%{transform:scale(1.012)}100%{transform:scale(1)}}

@media(max-width:520px){
  body.editorial-minimalist .brand{padding-bottom:22px}
  body.editorial-minimalist .brand-medallion{width:64px;height:64px;margin-bottom:14px}
  body.editorial-minimalist .brand h1{font-size:clamp(2.15rem,12vw,3.35rem)}
  body.editorial-minimalist .connected-menu{margin-bottom:11px}
  body.editorial-minimalist .menu-button{min-height:68px}
  body.editorial-minimalist .sub-menu .menu-button{min-height:60px}
  body.editorial-minimalist .page-panel{padding:18px}
  body.editorial-minimalist .metrics-grid{gap:8px}
  body.editorial-minimalist .metric{min-height:116px;padding:13px}
  body.editorial-minimalist .metric-value{font-size:2.35rem}
  body.editorial-minimalist .metric-label{font-size:.66rem}
  body.editorial-minimalist .card-actions{grid-template-columns:1fr}
}



/* =========================================================
   Editorial Minimalist — Phase 2 (v3.07)
   Contacts, contact details, Follow-ups, visit logging,
   scheduling, sharing/import, duplicate review, and studies.
   ========================================================= */
body.editorial-minimalist :is(.contacts-page,.visits-page){overflow:visible}

/* Purpose-built editorial interaction surfaces. */
body.editorial-minimalist :is(
  .contact-action,.contact-filter,.contact-reset,.contact-card,.contact-bottom-actions .action,
  .form-picker,.form-picker-option,.history-action,.share-option,.share-method,
  .share-outcome-button,.duplicate-value-choice,.visit-tab,.visit-choice,.picker-choice,
  .visit-card,.visit-contact-choice,.visit-resource-choice,.study-lesson-list-choice
){
  position:relative;isolation:isolate;-webkit-tap-highlight-color:transparent;touch-action:manipulation
}

/* Contacts command strip. */
body.editorial-minimalist .contact-action-panel{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px;overflow:hidden;
  border:1px solid #bdb8af!important;border-radius:3px;background:#fbfaf7!important;box-shadow:none!important
}
body.editorial-minimalist .contact-action-panel::before,
body.editorial-minimalist .contact-action-panel::after{display:none!important}
body.editorial-minimalist .contact-action{
  min-width:0;min-height:64px;padding:8px 4px;border:0;border-right:1px solid #d5d0c8;border-radius:0;
  background:transparent;color:#4f4b45;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;font-family:var(--font-body);font-size:.69rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase
}
body.editorial-minimalist .contact-action:last-child{border-right:0}
body.editorial-minimalist .contact-action svg{width:22px;height:22px;stroke-width:1.45}
body.editorial-minimalist .contact-action.active{background:#1a1a1a;color:#faf8f5;box-shadow:none}
body.editorial-minimalist .contact-action.danger-tone{color:#1a1a1a}
body.editorial-minimalist .contact-action.danger-tone.active{background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .contact-mode-note{
  display:none;margin:-3px 0 14px;padding:12px 14px;border:1px solid #cbc6be;border-radius:2px;
  background:#f1eee8;color:#5e5a54;font-size:.82rem;line-height:1.45
}
body.editorial-minimalist .contact-mode-note.show{display:block}

/* Contact search and filters. */
body.editorial-minimalist .contact-search-panel{
  display:grid;grid-template-columns:minmax(0,1fr) 58px;margin-bottom:12px;overflow:hidden;
  border:1px solid #bdb8af;border-radius:3px;background:#fbfaf7;box-shadow:none
}
body.editorial-minimalist .contact-search-panel::before,
body.editorial-minimalist .contact-search-panel::after{display:none!important}
body.editorial-minimalist .contact-search-wrap{position:relative;min-height:56px;border-right:1px solid #d5d0c8;display:flex;align-items:center}
body.editorial-minimalist .contact-search-wrap>svg{position:absolute;left:16px;width:21px;height:21px;color:#1a1a1a;stroke-width:1.4;pointer-events:none}
body.editorial-minimalist .contact-search-wrap input{
  width:100%;height:56px;padding:0 12px 0 47px;border:0!important;outline:0;background:transparent!important;
  box-shadow:none!important;color:#1a1a1a!important;font-size:.92rem
}
body.editorial-minimalist .contact-search-wrap input::placeholder{color:#817c74;opacity:1}
body.editorial-minimalist .contact-reset{border:0;background:#f1eee8;color:#1a1a1a;display:grid;place-items:center}
body.editorial-minimalist .contact-reset svg{width:24px;height:24px;stroke-width:1.45}
body.editorial-minimalist .contact-filter-row{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-bottom:17px;overflow:visible!important
}
body.editorial-minimalist .contact-filter{
  min-width:0!important;min-height:44px;padding:7px 4px!important;border:1px solid #c5c0b8;border-radius:2px;
  background:#fbfaf7;color:#5d5953;font-family:var(--font-body);font-size:.64rem!important;font-weight:700;
  letter-spacing:.035em;line-height:1.12;text-transform:uppercase;white-space:normal!important;box-shadow:none
}
body.editorial-minimalist .contact-filter.active{border-color:#1a1a1a;background:#1a1a1a;color:#faf8f5}

/* Contact cards use a restrained status rule rather than decorative color blocks. */
body.editorial-minimalist .contact-list{display:grid;gap:10px}
body.editorial-minimalist .contact-card{
  width:100%;min-height:112px;padding:15px 14px;display:grid;grid-template-columns:50px minmax(0,1fr) 20px;gap:12px;
  align-items:center;overflow:hidden;border:1px solid #c9c4bc!important;border-left:4px solid #55514c!important;border-radius:3px;
  background:#fbfaf7!important;color:#1a1a1a!important;text-align:left;box-shadow:none!important
}
body.editorial-minimalist .contact-card::before,
body.editorial-minimalist .contact-card::after{display:none!important}
body.editorial-minimalist .contact-card.status-study{border-left-color:#373737!important}
body.editorial-minimalist .contact-card.status-followup{border-left-color:#66615a!important}
body.editorial-minimalist .contact-card.status-contact{border-left-color:#918b82!important}
body.editorial-minimalist .contact-card.status-paused{border-left-color:#b3ada4!important}
body.editorial-minimalist .contact-card.status-transferred{border-left-color:#77726b!important}
body.editorial-minimalist .contact-card.status-dnc{border-left-color:#1a1a1a!important}
body.editorial-minimalist .contact-crest{display:none!important}
body.editorial-minimalist .contact-avatar{
  width:48px;height:48px;border:1px solid #aaa59d;border-radius:2px;background:#f1eee8;color:#1a1a1a;
  display:grid;place-items:center;box-shadow:none
}
body.editorial-minimalist .contact-avatar svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.4}
body.editorial-minimalist .contact-card-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
body.editorial-minimalist .contact-name{
  margin-bottom:4px;color:#171717!important;font-family:var(--font-display);font-size:1.28rem;font-weight:400;line-height:1.05
}
body.editorial-minimalist .contact-type{
  display:inline-flex;margin-bottom:6px;padding:3px 7px;border:1px solid #c4bfb7;border-radius:1px;background:#f3f0ea;
  color:#4f4b45;font-size:.61rem;font-weight:700;letter-spacing:.065em;line-height:1;text-transform:uppercase
}
body.editorial-minimalist .contact-meta{display:block;color:#6d6861!important;font-size:.77rem;line-height:1.35;margin-top:2px}
body.editorial-minimalist .contact-emphasis{color:#2e2c29!important;font-weight:700}
body.editorial-minimalist .contact-chevron{color:#1a1a1a}
body.editorial-minimalist .contact-chevron svg{width:21px;height:21px;stroke-width:1.4}
body.editorial-minimalist .swipe-hint,
body.editorial-minimalist .visit-swipe-hint{color:#827d75;font-size:.68rem;letter-spacing:.04em}

/* Contact form, details and history. */
body.editorial-minimalist .contact-form,
body.editorial-minimalist .visit-form,
body.editorial-minimalist .time-entry-form{display:grid;gap:13px}
body.editorial-minimalist .contact-details{display:grid;gap:9px}
body.editorial-minimalist .contact-detail-grid,
body.editorial-minimalist .detail-grid{display:grid;gap:8px}
body.editorial-minimalist .contact-detail-row,
body.editorial-minimalist .detail-row{
  padding:12px 13px;border:1px solid #d0cbc3;border-radius:2px;background:#fbfaf7;color:#59554f;box-shadow:none
}
body.editorial-minimalist .contact-detail-row strong,
body.editorial-minimalist .detail-row strong{display:block;margin-bottom:4px;color:#1a1a1a;font-size:.68rem;letter-spacing:.075em;text-transform:uppercase}
body.editorial-minimalist .contact-detail-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 18px
}
body.editorial-minimalist .contact-detail-actions .primary{grid-column:1/-1}
body.editorial-minimalist .contact-bottom-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.editorial-minimalist .contact-next-notice{
  padding:13px;border:1px solid #c9c4bc;border-left:4px solid #1a1a1a;border-radius:2px;background:#f1eee8;color:#57534d
}
body.editorial-minimalist .history-section{margin-top:18px;padding-top:18px;border-top:1px solid #d4cfc7}
body.editorial-minimalist .history-list{display:grid;gap:10px}
body.editorial-minimalist .history-card{
  padding:15px;border:1px solid #c9c4bc!important;border-radius:3px;background:#fbfaf7!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .history-card::before,
body.editorial-minimalist .history-card::after{display:none!important}
body.editorial-minimalist .history-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.editorial-minimalist .history-card h4{margin:0;color:#171717!important;font-family:var(--font-display);font-size:1.3rem;font-weight:400}
body.editorial-minimalist .history-card p{margin:5px 0 0;color:#65615b!important;line-height:1.45}
body.editorial-minimalist .history-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}
body.editorial-minimalist .history-action{
  min-height:39px;padding:7px 11px;border:1px solid #bdb8af;border-radius:2px;background:#fbfaf7;color:#1a1a1a;font-weight:650
}
body.editorial-minimalist .history-empty-action{margin-top:12px}

/* Pickers, sharing, import and duplicate review. */
body.editorial-minimalist .form-picker{
  min-height:50px;padding:11px 12px;border:1px solid #c2bdb5;border-radius:2px;background:#fbfaf7;color:#1a1a1a;box-shadow:none
}
body.editorial-minimalist .form-picker-options{display:grid;gap:7px;margin-top:7px}
body.editorial-minimalist .form-picker-option,
body.editorial-minimalist .picker-choice,
body.editorial-minimalist .share-option,
body.editorial-minimalist .share-method,
body.editorial-minimalist .share-outcome-button{
  border:1px solid #c9c4bc;border-radius:2px;background:#fbfaf7;color:#1a1a1a;box-shadow:none
}
body.editorial-minimalist .form-picker-option.active,
body.editorial-minimalist .picker-choice.active,
body.editorial-minimalist .share-option.active{border-color:#1a1a1a;background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .share-option-list,
body.editorial-minimalist .share-method-list,
body.editorial-minimalist .share-outcome-list{display:grid;gap:8px}
body.editorial-minimalist .share-option{min-height:54px;padding:10px 12px;text-align:left}
body.editorial-minimalist .share-method{
  min-height:68px;padding:10px 12px;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;gap:11px;align-items:center;text-align:left
}
body.editorial-minimalist .share-method-icon{
  width:42px;height:42px;border:1px solid #aaa59d;border-radius:2px;background:#f1eee8;color:#1a1a1a;display:grid;place-items:center
}
body.editorial-minimalist .share-method-icon svg{width:23px;height:23px;stroke-width:1.4}
body.editorial-minimalist .share-method-copy strong{display:block;color:#1a1a1a;margin-bottom:3px}
body.editorial-minimalist .share-method-copy span{display:block;color:#706b64;font-size:.78rem;line-height:1.32}
body.editorial-minimalist .share-preview,
body.editorial-minimalist .share-review-section{
  padding:13px;border:1px solid #cbc6be;border-radius:2px;background:#f3f0ea;color:#56524c
}
body.editorial-minimalist .share-status.success,
body.editorial-minimalist .share-status.danger{border-color:#aaa59d!important;background:#f1eee8!important;color:#1a1a1a!important}
body.editorial-minimalist .share-outcome-button{
  min-height:58px;padding:10px 12px;display:grid;grid-template-columns:27px minmax(0,1fr);gap:10px;align-items:center;text-align:left
}
body.editorial-minimalist .import-confirmation{
  display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;padding:13px;
  border:1px solid #aaa59d;border-radius:2px;background:#f1eee8
}
body.editorial-minimalist .import-confirmation-check{
  width:48px;height:48px;border:1px solid #1a1a1a;border-radius:2px;background:#1a1a1a;color:#faf8f5
}
body.editorial-minimalist .duplicate-alert{
  display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:13px;padding:13px;
  border:1px solid #aaa59d;border-left:4px solid #1a1a1a;border-radius:2px;background:#f1eee8;color:#1a1a1a
}
body.editorial-minimalist .duplicate-alert-icon{
  width:46px;height:46px;border:1px solid #aaa59d;border-radius:2px;background:#fbfaf7;color:#1a1a1a;display:grid;place-items:center
}
body.editorial-minimalist .duplicate-alert strong{display:block;color:#1a1a1a;font-family:var(--font-display);font-size:1.2rem;font-weight:400;margin-bottom:3px}
body.editorial-minimalist .duplicate-alert p{margin:0;color:#65615b;line-height:1.42}
body.editorial-minimalist .duplicate-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}
body.editorial-minimalist .duplicate-summary-card,
body.editorial-minimalist .duplicate-merge-field{
  padding:12px;border:1px solid #cbc6be;border-radius:2px;background:#fbfaf7;color:#1a1a1a
}
body.editorial-minimalist .duplicate-summary-card small,
body.editorial-minimalist .duplicate-merge-field>strong{color:#514d47;font-size:.65rem;font-weight:700;letter-spacing:.065em;text-transform:uppercase}
body.editorial-minimalist .duplicate-summary-card strong{display:block;color:#1a1a1a;margin:4px 0;overflow-wrap:anywhere}
body.editorial-minimalist .duplicate-summary-card span{color:#6d6861;font-size:.78rem;overflow-wrap:anywhere}
body.editorial-minimalist .duplicate-help{color:#65615b;line-height:1.45}
body.editorial-minimalist .duplicate-merge-list{display:grid;gap:8px}
body.editorial-minimalist .duplicate-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}
body.editorial-minimalist .duplicate-value-choice{
  min-height:58px;padding:9px;border:1px solid #c9c4bc;border-radius:2px;background:#fbfaf7;color:#1a1a1a;text-align:left
}
body.editorial-minimalist .duplicate-value-choice small{display:block;color:#716c65;font-size:.62rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase}
body.editorial-minimalist .duplicate-value-choice span{font-size:.77rem;line-height:1.25;overflow-wrap:anywhere}
body.editorial-minimalist .duplicate-value-choice.active{border-color:#1a1a1a;background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .duplicate-value-choice.active small{color:#ded9d1}
body.editorial-minimalist .duplicate-value-choice.combine{grid-column:1/-1;text-align:center}

/* Follow-up tabs and attention controls. */
body.editorial-minimalist .visit-tab-row{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:14px;overflow:hidden;
  border:1px solid #bdb8af;border-radius:3px;background:#fbfaf7;box-shadow:none
}
body.editorial-minimalist .visit-tab-row::before,
body.editorial-minimalist .visit-tab-row::after{display:none!important}
body.editorial-minimalist .visit-tab{
  min-width:0;min-height:64px;padding:8px 4px;border:0;border-right:1px solid #d5d0c8;border-radius:0;background:transparent;
  color:#55514c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  font-family:var(--font-body);font-size:.7rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase
}
body.editorial-minimalist .visit-tab:last-child{border-right:0}
body.editorial-minimalist .visit-tab svg{width:22px;height:22px;stroke-width:1.45}
body.editorial-minimalist .visit-tab.active{background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .visit-attention-controls{
  margin-bottom:13px;padding:14px;border:1px solid #c9c4bc;border-radius:3px;background:#f1eee8;box-shadow:none
}
body.editorial-minimalist .visit-attention-controls h3{
  margin:0 0 11px;color:#171717;font-family:var(--font-display);font-size:1.35rem;font-weight:400
}
body.editorial-minimalist .visit-days-row,
body.editorial-minimalist .visit-reason-row{display:grid;gap:7px}
body.editorial-minimalist .visit-days-row{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:8px}
body.editorial-minimalist .visit-reason-row{grid-template-columns:repeat(4,minmax(0,1fr))}
body.editorial-minimalist .visit-choice{
  min-width:0;min-height:43px;padding:7px 4px;border:1px solid #c2bdb5;border-radius:2px;background:#fbfaf7;color:#55514c;
  font-family:var(--font-body);font-size:.65rem;font-weight:700;line-height:1.12;text-transform:uppercase
}
body.editorial-minimalist .visit-choice.active{border-color:#1a1a1a;background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .visit-summary{
  margin-bottom:11px;padding:11px 13px;border:1px solid #cbc6be;border-radius:2px;background:#fbfaf7;color:#5e5a54;line-height:1.45
}
body.editorial-minimalist .visit-reset-wrap,
body.editorial-minimalist .visit-primary-action{display:flex;justify-content:center;margin-bottom:13px}
body.editorial-minimalist .visit-reset-wrap .action{width:min(100%,310px)}
body.editorial-minimalist .visit-primary-action .action{width:min(100%,360px)}

/* Follow-up and schedule cards. */
body.editorial-minimalist .visit-list{display:grid;gap:10px}
body.editorial-minimalist .visit-card{
  padding:15px;overflow:hidden;border:1px solid #c9c4bc!important;border-radius:3px;background:#fbfaf7!important;
  color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .visit-card::before,
body.editorial-minimalist .visit-card::after{display:none!important}
body.editorial-minimalist .visit-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:11px}
body.editorial-minimalist .visit-card-top h3{margin:0 0 4px;color:#171717!important;font-family:var(--font-display);font-size:1.35rem;font-weight:400}
body.editorial-minimalist .visit-card-top p{margin:4px 0;color:#66615b!important;line-height:1.42}
body.editorial-minimalist .visit-status{color:#1a1a1a!important;font-weight:700}
body.editorial-minimalist .visit-badge{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 8px;
  border:1px solid #aaa59d;border-radius:1px;background:#f1eee8;color:#1a1a1a;font-size:.62rem;font-weight:700;
  letter-spacing:.055em;text-align:center;text-transform:uppercase
}
body.editorial-minimalist .visit-badge.danger,
body.editorial-minimalist .visit-badge.today,
body.editorial-minimalist .visit-badge.soon{color:#1a1a1a;border-color:#aaa59d;background:#f1eee8}
body.editorial-minimalist .visit-reasons{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
body.editorial-minimalist .visit-reasons span{
  display:inline-flex;padding:4px 7px;border:1px solid #cbc6be;border-radius:1px;background:#f3f0ea;color:#5e5a54;
  font-size:.64rem;line-height:1.2
}
body.editorial-minimalist .visit-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
body.editorial-minimalist .visit-date-grid>div{min-height:76px;padding:10px;border:1px solid #d0cbc3;border-radius:2px;background:#f7f5f0}
body.editorial-minimalist .visit-date-grid small{
  display:block;color:#6a665f;font-size:.63rem;font-weight:700;letter-spacing:.055em;text-transform:uppercase;margin-bottom:5px
}
body.editorial-minimalist .visit-date-grid strong{display:block;color:#1a1a1a;font-size:.9rem;line-height:1.28;overflow-wrap:anywhere}
body.editorial-minimalist .visit-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}
body.editorial-minimalist .visit-card-actions .action{min-height:47px;padding-inline:7px;font-size:.76rem}
body.editorial-minimalist .visit-remove-schedule{grid-column:1/-1;width:min(100%,310px);justify-self:center}

/* Visit/contact/resource pickers and study controls. */
body.editorial-minimalist .visit-contact-picker,
body.editorial-minimalist .visit-resource-grid,
body.editorial-minimalist .study-publication-list,
body.editorial-minimalist .study-lesson-list{display:grid;gap:8px;max-height:min(56vh,520px);overflow:auto;padding:2px;overscroll-behavior:contain}
body.editorial-minimalist .visit-contact-choice,
body.editorial-minimalist .visit-resource-choice,
body.editorial-minimalist .study-lesson-list-choice{
  width:100%;min-height:64px;padding:10px 11px;border:1px solid #c9c4bc;border-radius:2px;background:#fbfaf7;color:#1a1a1a;text-align:left
}
body.editorial-minimalist .visit-contact-choice{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;gap:10px;align-items:center}
body.editorial-minimalist .visit-contact-avatar,
body.editorial-minimalist .toolbox-resource-icon{
  width:42px;height:42px;border:1px solid #aaa59d;border-radius:2px;background:#f1eee8;color:#1a1a1a;display:grid;place-items:center
}
body.editorial-minimalist .visit-contact-avatar svg,
body.editorial-minimalist .toolbox-resource-icon svg{width:23px;height:23px;stroke-width:1.4}
body.editorial-minimalist .visit-contact-copy strong{display:block;color:#1a1a1a;margin-bottom:3px}
body.editorial-minimalist .visit-contact-copy span{display:block;color:#706b64;font-size:.76rem;line-height:1.3}
body.editorial-minimalist .visit-resource-choice.active,
body.editorial-minimalist .study-lesson-list-choice.active{border-color:#1a1a1a;background:#1a1a1a;color:#faf8f5}
body.editorial-minimalist .visit-resource-empty,
body.editorial-minimalist .study-lesson-empty{
  padding:18px;border:1px solid #cbc6be;border-radius:2px;background:#f3f0ea;color:#69645e;text-align:center
}
body.editorial-minimalist .visit-toolbox-link{color:#1a1a1a;text-decoration:underline;text-underline-offset:3px}
body.editorial-minimalist .schedule-mode-row,
body.editorial-minimalist .date-grid,
body.editorial-minimalist .weekday-grid{display:grid;gap:8px}
body.editorial-minimalist .schedule-mode-row{grid-template-columns:repeat(3,minmax(0,1fr))}
body.editorial-minimalist .date-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.editorial-minimalist .weekday-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
body.editorial-minimalist .recurring-card{
  padding:13px;border:1px solid #cbc6be!important;border-radius:2px;background:#f3f0ea!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .study-lesson-section{padding-top:12px;border-top:1px solid #d4cfc7}
body.editorial-minimalist .study-other-lesson{margin-top:9px}

@media(max-width:520px){
  body.editorial-minimalist .contact-action{min-height:60px;font-size:.61rem}
  body.editorial-minimalist .contact-action svg{width:20px;height:20px}
  body.editorial-minimalist .contact-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.editorial-minimalist .contact-card{grid-template-columns:44px minmax(0,1fr) 18px;min-height:104px;padding:13px 11px;gap:10px}
  body.editorial-minimalist .contact-avatar{width:42px;height:42px}
  body.editorial-minimalist .contact-avatar svg{width:24px;height:24px}
  body.editorial-minimalist .contact-name{font-size:1.16rem}
  body.editorial-minimalist .contact-detail-actions{grid-template-columns:1fr 1fr}
  body.editorial-minimalist .visit-tab{min-height:60px;font-size:.62rem}
  body.editorial-minimalist .visit-days-row,
  body.editorial-minimalist .visit-reason-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.editorial-minimalist .visit-card{padding:13px}
  body.editorial-minimalist .visit-card-top h3{font-size:1.2rem}
  body.editorial-minimalist .visit-card-actions{grid-template-columns:1fr}
  body.editorial-minimalist .visit-remove-schedule{grid-column:auto;width:100%}
  body.editorial-minimalist .duplicate-summary-grid,
  body.editorial-minimalist .duplicate-choice-grid{grid-template-columns:1fr}
  body.editorial-minimalist .duplicate-value-choice.combine{grid-column:auto}
  body.editorial-minimalist .schedule-mode-row{grid-template-columns:1fr}
  body.editorial-minimalist .date-grid{grid-template-columns:1fr}
}

/* v3.06 — Editorial whole-button color flash. */
body.editorial-minimalist .ui2-tap-shimmer{display:none!important}
body.editorial-minimalist .ui2-pressing{
  animation:none!important;
  transform:translateZ(0) scale(.965)!important;
  background:#b84c38!important;
  border-color:#933626!important;
  color:#fffaf5!important;
  filter:none!important;
  box-shadow:0 4px 10px rgba(113,44,31,.16)!important;
  transition:transform .075s ease,background .075s ease,color .075s ease,border-color .075s ease,box-shadow .075s ease!important
}
body.editorial-minimalist .ui2-pressing :is(span,strong,small){color:#fffaf5!important}
body.editorial-minimalist .ui2-pressing svg{color:#fffaf5!important;stroke:currentColor!important}
body.editorial-minimalist .ui2-color-release{filter:none!important}

/* =========================================================
   Editorial Minimalist — Phase 3 (v3.08)
   Contact action correction + Ministry Time and Service at a Glance.
   ========================================================= */

/* Contact actions: remove inherited Black & Gold treatments. */
body.editorial-minimalist :is(
  button[data-contact-add],
  button[form="ui2ContactForm"],
  [data-visit-add-contact],
  [data-contact-detail-action="visit"]
){
  color:#fffaf5!important;
  border:1px solid #1a1a1a!important;
  border-radius:2px!important;
  background:#1a1a1a!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body.editorial-minimalist :is(
  [data-contact-detail-action="edit"],
  [data-map-edit-contact]
){
  color:#2a2723!important;
  border:1px solid #9d978e!important;
  border-radius:2px!important;
  background:#fbfaf7!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body.editorial-minimalist :is(
  [data-contact-detail-action="delete"],
  [data-delete-contact]
){
  color:#1a1a1a!important;
  border:1px solid #8f8a82!important;
  border-radius:2px!important;
  background:#fbfaf7!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body.editorial-minimalist :is(
  button[data-contact-add],button[form="ui2ContactForm"],
  [data-contact-detail-action="edit"],[data-contact-detail-action="delete"],
  [data-delete-contact],[data-map-edit-contact],[data-visit-add-contact]
)::before,
body.editorial-minimalist :is(
  button[data-contact-add],button[form="ui2ContactForm"],
  [data-contact-detail-action="edit"],[data-contact-detail-action="delete"],
  [data-delete-contact],[data-map-edit-contact],[data-visit-add-contact]
)::after{display:none!important}
body.editorial-minimalist :is(
  button[data-contact-add],button[form="ui2ContactForm"],
  [data-contact-detail-action="edit"],[data-contact-detail-action="delete"],
  [data-delete-contact],[data-map-edit-contact],[data-visit-add-contact]
) svg{stroke:currentColor!important;color:currentColor!important;fill:none!important}
body.editorial-minimalist .contact-bottom-actions .action{
  min-height:54px!important;border-radius:2px!important;box-shadow:none!important
}
body.editorial-minimalist .contact-detail-actions .action{
  min-height:49px!important;border-radius:2px!important;font-family:var(--font-body)!important;
  font-weight:650!important;letter-spacing:.025em!important;box-shadow:none!important
}

/* Time page foundation. */
body.editorial-minimalist .time-page{
  overflow:visible;
  background:#fbfaf7!important;
}
body.editorial-minimalist .time-page>.page-heading{margin-bottom:6px}
body.editorial-minimalist .time-page>.page-sub{max-width:680px;margin-bottom:17px}

/* Month and service-year controls. */
body.editorial-minimalist .time-month-controls,
body.editorial-minimalist .time-year-controls{
  position:relative;z-index:2;display:grid;grid-template-columns:50px minmax(0,1fr) 50px;
  gap:8px;align-items:stretch;margin:2px 0 13px
}
body.editorial-minimalist .time-month-shift,
body.editorial-minimalist .time-year-shift{
  min-height:56px;border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#f1eee8!important;color:#1a1a1a!important;box-shadow:none!important;
  font-family:var(--font-display);font-size:1.75rem;font-weight:400;line-height:1
}
body.editorial-minimalist .time-month-picker,
body.editorial-minimalist .time-year-controls>strong{
  min-height:56px;border:1px solid #bdb8af!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .time-month-picker{
  grid-template-columns:38px minmax(0,1fr);padding:7px 10px
}
body.editorial-minimalist .time-month-picker .native-picker-icon{
  width:35px;height:35px;border:1px solid #aaa49b;border-radius:2px;
  color:#1a1a1a;background:#f1eee8;box-shadow:none
}
body.editorial-minimalist .time-year-controls>strong{
  display:grid;place-items:center;padding:8px 10px;text-align:center;
  font-family:var(--font-body);font-size:.88rem;font-weight:700;letter-spacing:.035em
}

/* Selected period summary. */
body.editorial-minimalist .time-month-focus,
body.editorial-minimalist .time-year-position{
  position:relative;overflow:hidden;display:grid;grid-template-columns:46px minmax(0,1fr) auto;
  gap:11px;align-items:center;min-height:70px;margin:0 0 12px;padding:11px 12px;
  border:1px solid #c6c1b9!important;border-left:4px solid #1a1a1a!important;border-radius:2px!important;
  background:#f7f4ef!important;box-shadow:none!important
}
body.editorial-minimalist .time-month-focus::before,
body.editorial-minimalist .time-month-focus::after,
body.editorial-minimalist .time-year-position::before,
body.editorial-minimalist .time-year-position::after{display:none!important}
body.editorial-minimalist .time-focus-icon,
body.editorial-minimalist .time-year-position>span{
  width:44px;height:44px;display:grid;place-items:center;border:1px solid #b9b3aa;
  border-radius:2px;color:#1a1a1a;background:#fbfaf7;box-shadow:none
}
body.editorial-minimalist .time-focus-icon svg,
body.editorial-minimalist .time-year-position>span svg{
  width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;
  stroke:currentColor!important;fill:none!important;stroke-width:1.45
}
body.editorial-minimalist .time-month-focus small,
body.editorial-minimalist .time-year-position small{
  display:block;color:#6b665f;font-size:.62rem;font-weight:700;letter-spacing:.075em;text-transform:uppercase
}
body.editorial-minimalist .time-month-focus strong,
body.editorial-minimalist .time-year-position strong{
  display:block;margin-top:3px;color:#171717;font-family:var(--font-display);font-size:1.15rem;font-weight:400;line-height:1.16
}
body.editorial-minimalist .time-focus-total{
  max-width:130px;padding:8px 10px;border:1px solid #bdb8af;border-radius:2px;
  background:#fbfaf7;color:#1a1a1a;font-size:.86rem;font-weight:750;text-align:center;box-shadow:none
}
body.editorial-minimalist .time-year-position{grid-template-columns:46px minmax(0,1fr);margin-bottom:13px}

/* Compact centered metrics. */
body.editorial-minimalist .time-metrics,
body.editorial-minimalist .time-service-metrics{display:grid;gap:8px}
body.editorial-minimalist .time-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
body.editorial-minimalist .time-service-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
body.editorial-minimalist .time-page .metric{
  position:relative;overflow:hidden;min-height:112px;padding:11px;border:1px solid #cbc6be!important;
  border-radius:2px!important;background:#fbfaf7!important;box-shadow:none!important
}
body.editorial-minimalist .time-page .metric::before,
body.editorial-minimalist .time-page .metric::after{display:none!important}
body.editorial-minimalist .time-page .metric-heading{
  position:relative;z-index:1;display:flex;align-items:center;gap:7px
}
body.editorial-minimalist .time-page .metric-icon{
  width:35px;height:35px;flex:0 0 35px;border:1px solid #b8b2aa;border-radius:2px;
  color:#1a1a1a;background:#f1eee8;box-shadow:none
}
body.editorial-minimalist .time-page .metric-icon svg{
  width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;
  stroke:currentColor!important;fill:none!important;stroke-width:1.45
}
body.editorial-minimalist .time-page .metric-label{
  color:#56514b;font-size:.58rem;font-weight:700;line-height:1.15;text-transform:uppercase;letter-spacing:.045em
}
body.editorial-minimalist .time-page .metric-value{
  position:relative;z-index:1;display:block;width:100%;margin-top:13px;color:#171717!important;
  text-align:center;font-family:var(--font-display);font-size:1.75rem;font-weight:400;line-height:1
}
body.editorial-minimalist .time-service-metrics .metric{min-height:104px}

/* Goal, actions, and list heading. */
body.editorial-minimalist .time-goal-card,
body.editorial-minimalist .time-chart-panel{
  position:relative;overflow:hidden;z-index:1;margin:13px 0;padding:15px;
  border:1px solid #c8c3bb!important;border-radius:3px!important;
  background:#f7f4ef!important;color:#272420!important;box-shadow:none!important
}
body.editorial-minimalist .time-goal-card::before,
body.editorial-minimalist .time-goal-card::after,
body.editorial-minimalist .time-chart-panel::before,
body.editorial-minimalist .time-chart-panel::after{display:none!important}
body.editorial-minimalist .time-card-kicker{
  display:block;color:#1a1a1a;font-size:.63rem;font-weight:750;text-transform:uppercase;letter-spacing:.075em;margin-bottom:4px
}
body.editorial-minimalist .time-goal-card strong{
  display:block;color:#171717!important;font-family:var(--font-display);font-size:1.18rem;font-weight:400
}
body.editorial-minimalist .time-goal-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px
}
body.editorial-minimalist .time-goal-header>span{
  max-width:155px;color:#5f5a54;font-size:.73rem;font-weight:650;text-align:right;line-height:1.35
}
body.editorial-minimalist .time-goal-card .progress-track{
  height:7px;border:1px solid #bcb6ae;border-radius:0;background:#e7e2da;overflow:hidden;box-shadow:none
}
body.editorial-minimalist .time-goal-card .progress-fill{
  height:100%;border-radius:0;background:#1a1a1a;box-shadow:none
}
body.editorial-minimalist .time-goal-footer{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;color:#625d57!important;font-size:.73rem
}
body.editorial-minimalist .time-goal-footer .action,
body.editorial-minimalist .time-goal-card>.row-between .action{
  width:auto;min-height:41px;padding:8px 11px
}
body.editorial-minimalist .time-primary-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0
}
body.editorial-minimalist .time-primary-actions .action{min-height:54px;border-radius:2px!important}
body.editorial-minimalist .time-study-note{margin:12px 0}
body.editorial-minimalist .time-list-heading{margin:18px 0 10px}
body.editorial-minimalist .time-list-heading>span{color:#716c65;font-size:.69rem;text-align:right}

/* Time entry cards. */
body.editorial-minimalist .time-entry-list{display:grid;gap:9px}
body.editorial-minimalist .time-entry-card{
  position:relative;overflow:hidden;padding:13px;border:1px solid #c9c4bc!important;
  border-left:4px solid #1a1a1a!important;border-radius:2px!important;background:#fbfaf7!important;
  color:#1a1a1a!important;display:grid;grid-template-columns:44px minmax(0,1fr) auto;
  gap:11px;align-items:center;box-shadow:none!important
}
body.editorial-minimalist .time-entry-card.monthly{border-left-color:#44403b!important;background:#f5f2ed!important}
body.editorial-minimalist .time-entry-card::before,
body.editorial-minimalist .time-entry-card::after{display:none!important}
body.editorial-minimalist .time-entry-icon{
  width:42px;height:42px;display:grid;place-items:center;border:1px solid #b9b3aa;border-radius:2px;
  color:#1a1a1a;background:#f1eee8
}
body.editorial-minimalist .time-entry-card.monthly .time-entry-icon{color:#292622;background:#ece8e1}
body.editorial-minimalist .time-entry-icon svg{
  width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;
  stroke:currentColor!important;fill:none!important;stroke-width:1.45
}
body.editorial-minimalist .time-entry-copy,
body.editorial-minimalist .time-entry-actions{position:relative;z-index:1}
body.editorial-minimalist .time-entry-type{
  display:inline-block;color:#716b64;font-size:.60rem;font-weight:700;text-transform:uppercase;letter-spacing:.065em
}
body.editorial-minimalist .time-entry-copy h3{
  margin:3px 0 4px;color:#171717!important;font-family:var(--font-display);font-size:1.08rem;font-weight:400;line-height:1.2
}
body.editorial-minimalist .time-entry-copy p{margin:0;color:#1a1a1a!important;font-size:.78rem;font-weight:750}
body.editorial-minimalist .time-entry-card.monthly .time-entry-copy p{color:#393632!important}
body.editorial-minimalist .time-entry-actions{display:flex;gap:7px}
body.editorial-minimalist .time-inline-action{
  min-height:40px;padding:7px 9px;border:1px solid #b9b3aa!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#292622!important;display:inline-flex;align-items:center;justify-content:center;
  gap:6px;font-family:var(--font-body);font-size:.70rem;font-weight:650;box-shadow:none!important
}
body.editorial-minimalist .time-inline-action svg{
  width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.45
}
body.editorial-minimalist .time-inline-action.danger{
  color:#1a1a1a!important;border-color:#8f8a82!important;background:#fbfaf7!important
}

/* Add/edit time and goal dialogs. */
body.editorial-minimalist .time-entry-form,
body.editorial-minimalist .time-goal-form{display:grid;gap:12px}
body.editorial-minimalist .time-scope-row{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
body.editorial-minimalist .time-scope-option{
  min-height:47px;border:1px solid #bdb8af!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#3c3935!important;font-family:var(--font-body);font-weight:650;box-shadow:none!important
}
body.editorial-minimalist .time-scope-option.active{
  color:#fffaf5!important;border-color:#1a1a1a!important;background:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .time-duration-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
}
body.editorial-minimalist .time-duration-grid label,
body.editorial-minimalist .time-custom-goal,
body.editorial-minimalist .time-service-year-input{
  display:grid;gap:6px;color:#413d38;font-size:.76rem;font-weight:700
}
body.editorial-minimalist .time-duration-grid input,
body.editorial-minimalist .time-custom-goal input,
body.editorial-minimalist .time-service-year-input input{
  width:100%;min-height:48px;border:1px solid #bdb8af!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#1a1a1a!important;padding:9px 11px;font-size:1rem;outline:0;box-shadow:none!important
}
body.editorial-minimalist .time-duration-grid input:focus,
body.editorial-minimalist .time-custom-goal input:focus,
body.editorial-minimalist .time-service-year-input input:focus{
  border-color:#1a1a1a!important;box-shadow:0 0 0 2px rgba(26,26,26,.10)!important
}
body.editorial-minimalist .time-quick-row{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px
}
body.editorial-minimalist .time-quick-row button{
  min-height:42px;border:1px solid #bdb8af!important;border-radius:2px!important;
  background:#f1eee8!important;color:#373430!important;font-size:.69rem;font-weight:700;box-shadow:none!important
}
body.editorial-minimalist .time-goal-options{display:grid;gap:8px}
body.editorial-minimalist .time-goal-option{
  min-height:65px;padding:10px 12px;border:1px solid #c5c0b8!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#4f4b45!important;text-align:left;display:grid;gap:3px;box-shadow:none!important
}
body.editorial-minimalist .time-goal-option strong{
  color:#171717!important;font-family:var(--font-display);font-size:1rem;font-weight:400
}
body.editorial-minimalist .time-goal-option span{color:#6d6861!important;font-size:.70rem}
body.editorial-minimalist .time-goal-option.active{
  border-color:#1a1a1a!important;border-left:4px solid #1a1a1a!important;background:#efebe4!important;box-shadow:none!important
}
body.editorial-minimalist .time-goal-option.active strong{color:#1a1a1a!important}
body.editorial-minimalist .time-service-year-input small{color:#706b64;font-weight:500;font-size:.68rem}

/* Service-year milestone, chart, and month cards. */
body.editorial-minimalist .time-midyear-card{
  position:relative;overflow:hidden;margin:13px 0;padding:16px;border:1px solid #c6c1b9!important;
  border-left:4px solid #1a1a1a!important;border-radius:2px!important;background:#f7f4ef!important;box-shadow:none!important
}
body.editorial-minimalist .time-midyear-card::before,
body.editorial-minimalist .time-midyear-card::after{display:none!important}
body.editorial-minimalist .time-midyear-card>span{
  color:#1a1a1a;font-size:.63rem;font-weight:750;text-transform:uppercase;letter-spacing:.075em
}
body.editorial-minimalist .time-midyear-card h3{
  margin:6px 0;color:#171717;font-family:var(--font-display);font-size:1.4rem;font-weight:400
}
body.editorial-minimalist .time-midyear-card p{margin:0;color:#5f5a54;line-height:1.48}
body.editorial-minimalist .time-midyear-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px
}
body.editorial-minimalist .time-midyear-stats>div{
  padding:10px;border:1px solid #cbc6be;border-radius:2px;background:#fbfaf7;text-align:center
}
body.editorial-minimalist .time-midyear-stats small{display:block;color:#6d6861;font-size:.60rem}
body.editorial-minimalist .time-midyear-stats strong{
  display:block;margin-top:4px;color:#171717;font-family:var(--font-display);font-size:.94rem;font-weight:400
}
body.editorial-minimalist .time-chart-panel .section-heading{margin-bottom:4px}
body.editorial-minimalist .time-chart-panel .section-heading h3{color:#171717}
body.editorial-minimalist .time-trend-chart{
  height:215px;display:grid;grid-template-columns:repeat(12,minmax(30px,1fr));gap:5px;
  align-items:end;padding:18px 2px 0;overflow-x:auto;overscroll-behavior:contain
}
body.editorial-minimalist .time-trend-column{
  min-width:30px;height:100%;display:grid;grid-template-rows:18px minmax(0,1fr) 18px;
  gap:4px;align-items:end;text-align:center
}
body.editorial-minimalist .time-trend-value{color:#716c65;font-size:.51rem}
body.editorial-minimalist .time-trend-bar-wrap{
  height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #c9c4bc
}
body.editorial-minimalist .time-trend-bar{
  width:70%;min-height:3px;border:0;border-radius:0;background:#1a1a1a;box-shadow:none
}
body.editorial-minimalist .time-trend-column:nth-child(even) .time-trend-bar{background:#34312e}
body.editorial-minimalist .time-trend-column>span{color:#5f5a54;font-size:.57rem;font-weight:650}
body.editorial-minimalist .service-month-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
body.editorial-minimalist .service-month-card{
  position:relative;overflow:hidden;min-height:148px;padding:12px;border:1px solid #c9c4bc!important;
  border-radius:2px!important;background:#fbfaf7!important;color:#1a1a1a!important;text-align:left;
  display:grid;gap:7px;align-content:start;box-shadow:none!important
}
body.editorial-minimalist .service-month-card::before,
body.editorial-minimalist .service-month-card::after{display:none!important}
body.editorial-minimalist .service-month-card.current{
  border-color:#1a1a1a!important;border-left:4px solid #1a1a1a!important;background:#efebe4!important;box-shadow:none!important
}
body.editorial-minimalist .service-month-top{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px
}
body.editorial-minimalist .service-month-card .service-month-top>span{
  color:#171717!important;font-family:var(--font-display);font-size:1.08rem;font-weight:400
}
body.editorial-minimalist .service-month-card .service-month-top>small{color:#716c65;font-size:.63rem}
body.editorial-minimalist .service-month-current{
  justify-self:start;padding:3px 6px;border:1px solid #8f8a82;border-radius:1px;
  background:#fbfaf7;color:#1a1a1a;font-size:.57rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em
}
body.editorial-minimalist .service-month-card>strong{
  color:#1a1a1a;font-family:var(--font-display);font-size:1.25rem;font-weight:400
}
body.editorial-minimalist .service-month-card>p{
  margin:0;color:#625d57!important;font-size:.68rem;line-height:1.32
}
body.editorial-minimalist .mini-goal-track{
  height:5px;border:0;border-radius:0;background:#ddd8d0;overflow:hidden
}
body.editorial-minimalist .mini-goal-fill{height:100%;border-radius:0;background:#1a1a1a;box-shadow:none}
body.editorial-minimalist .service-month-open{
  display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:auto;
  color:#1a1a1a;font-size:.64rem;font-weight:750
}
body.editorial-minimalist .service-month-open svg{
  width:15px!important;height:15px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.45
}

/* Prevent any old oversized Time artwork from escaping its controls. */
body.editorial-minimalist :is(
  .time-page,.time-month-focus,.time-year-position,.time-goal-card,.time-chart-panel,
  .time-entry-card,.time-midyear-card,.service-month-card
)>svg{display:none!important}
body.editorial-minimalist :is(
  .time-focus-icon,.time-year-position>span,.time-entry-icon,.time-page .metric-icon
) svg{max-width:24px!important;max-height:24px!important}

@media(max-width:620px){
  body.editorial-minimalist .time-entry-card{grid-template-columns:42px minmax(0,1fr)}
  body.editorial-minimalist .time-entry-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.editorial-minimalist .time-inline-action{width:100%}
  body.editorial-minimalist .time-goal-header,
  body.editorial-minimalist .time-goal-footer{align-items:flex-start;flex-direction:column}
  body.editorial-minimalist .time-goal-footer .action{width:100%}
  body.editorial-minimalist .time-primary-actions{grid-template-columns:1fr}
  body.editorial-minimalist .time-midyear-stats{grid-template-columns:1fr}
}
@media(max-width:520px){
  body.editorial-minimalist .time-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.editorial-minimalist .time-page .metric{min-height:105px;padding:8px}
  body.editorial-minimalist .time-page .metric-icon{width:32px;height:32px;flex-basis:32px}
  body.editorial-minimalist .time-page .metric-icon svg{width:17px!important;height:17px!important}
  body.editorial-minimalist .time-page .metric-label{font-size:.50rem;letter-spacing:.02em}
  body.editorial-minimalist .time-page .metric-value{font-size:1.48rem;margin-top:11px}
  body.editorial-minimalist .time-service-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.editorial-minimalist .service-month-grid{grid-template-columns:1fr}
  body.editorial-minimalist .time-month-focus{grid-template-columns:43px minmax(0,1fr)}
  body.editorial-minimalist .time-focus-total{grid-column:1/-1;max-width:none;width:100%}
}
@media(max-width:390px){
  body.editorial-minimalist .time-month-controls,
  body.editorial-minimalist .time-year-controls{grid-template-columns:45px minmax(0,1fr) 45px}
  body.editorial-minimalist .time-month-shift,
  body.editorial-minimalist .time-year-shift{font-size:1.55rem}
  body.editorial-minimalist .time-duration-grid,
  body.editorial-minimalist .time-scope-row,
  body.editorial-minimalist .time-quick-row{grid-template-columns:1fr}
}



/* =========================================================
   Editorial Minimalist — Color + nested-menu repair (v3.09)
   Terracotta is interaction-only. Persistent surfaces remain monochrome.
   ========================================================= */

/* Persistent controls and data visualization stay ivory, charcoal, and gray. */
body.editorial-minimalist :is(
  button[data-contact-add],button[form="ui2ContactForm"],
  [data-visit-add-contact],[data-contact-detail-action="visit"],
  .time-scope-option.active,.time-goal-option.active
){
  color:#faf8f5!important;
  border-color:#1a1a1a!important;
  background:#1a1a1a!important;
}
body.editorial-minimalist :is(
  [data-contact-detail-action="delete"],[data-delete-contact]
){
  color:#1a1a1a!important;
  border-color:#8f8a82!important;
  background:#fbfaf7!important;
}
body.editorial-minimalist :is(
  .time-month-picker .native-picker-icon,.time-focus-icon,.time-year-position>span,
  .time-page .metric-icon,.time-entry-icon
){
  color:#1a1a1a!important;
  border-color:#aaa49b!important;
  background:#f1eee8!important;
}
body.editorial-minimalist :is(.time-month-focus,.time-year-position,.time-midyear-card){
  border-left-color:#34312e!important;
  background:#f7f4ef!important;
}
body.editorial-minimalist :is(.time-focus-total,.time-page .metric-value,.time-entry-total,
  .time-goal-card strong,.time-midyear-card>span,.service-month-card>strong,
  .service-month-open,.service-month-current){color:#1a1a1a!important}
body.editorial-minimalist :is(.time-goal-fill,.mini-goal-fill,.time-trend-bar){
  background:#34312e!important;
}
body.editorial-minimalist .time-trend-column:nth-child(even) .time-trend-bar{background:#858078!important}
body.editorial-minimalist .service-month-card.current{
  border-color:#77726b!important;
  border-left-color:#34312e!important;
  background:#efebe4!important;
}
body.editorial-minimalist .service-month-current{
  border-color:#9d978e!important;
  background:#f3f0ea!important;
}
body.editorial-minimalist :is(.time-duration-grid input,.time-custom-goal input,.time-service-year-input input):focus{
  border-color:#1a1a1a!important;
  box-shadow:0 0 0 2px rgba(26,26,26,.10)!important;
}

/* The map and its nested controls were originally global Black & Gold rules.
   These scoped rules fully reset them for Editorial Minimalist. */
body.editorial-minimalist .map-page{overflow:visible;background:#fbfaf7!important}
body.editorial-minimalist .map-page :is(button,input){font-family:var(--font-body)}
body.editorial-minimalist .map-search-panel{
  position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 58px;
  margin:2px 0 12px;border:1px solid #bdb8af!important;border-radius:3px!important;
  overflow:hidden;background:#fbfaf7!important;box-shadow:none!important
}
body.editorial-minimalist .map-search-panel::before{display:none!important}
body.editorial-minimalist .map-search-wrap{
  position:relative;min-height:56px;border-right:1px solid #d2cdc5!important;
  display:flex;align-items:center;background:#fbfaf7!important
}
body.editorial-minimalist .map-search-wrap>svg{
  position:absolute;left:15px;width:23px;height:23px;stroke:#34312e!important;fill:none!important;
  stroke-width:1.5;pointer-events:none
}
body.editorial-minimalist .map-search-wrap input{
  width:100%;height:56px;border:0!important;outline:0;background:transparent!important;
  color:#1a1a1a!important;padding:0 12px 0 48px;font-size:.92rem
}
body.editorial-minimalist .map-search-wrap input::placeholder{color:#77726b!important;opacity:1}
body.editorial-minimalist .map-search-reset{
  border:0!important;background:#f3f0ea!important;color:#34312e!important;display:grid;place-items:center
}
body.editorial-minimalist .map-search-reset svg{width:22px;height:22px;stroke:currentColor!important;fill:none!important;stroke-width:1.55}
body.editorial-minimalist .map-filter-row{
  position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:12px
}
body.editorial-minimalist .map-filter{
  min-width:0;min-height:46px;padding:7px 4px;border:1px solid #bdb8af!important;border-radius:2px!important;
  color:#4d4944!important;background:#fbfaf7!important;font-family:var(--font-body)!important;
  font-size:.61rem;font-weight:700;text-transform:uppercase;line-height:1.08;box-shadow:none!important
}
body.editorial-minimalist .map-filter.active{
  color:#faf8f5!important;border-color:#1a1a1a!important;background:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .map-summary-bar{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 11px;margin-bottom:12px;border:1px solid #c9c4bc!important;border-radius:3px!important;
  background:#f3f0ea!important;color:#5f5a54!important;font-size:.75rem;line-height:1.3;box-shadow:none!important
}
body.editorial-minimalist .map-summary-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.editorial-minimalist .map-small-action{
  min-height:36px;padding:6px 9px;border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#fbfaf7!important;color:#1a1a1a!important;display:inline-flex;align-items:center;justify-content:center;
  gap:5px;font-family:var(--font-body)!important;font-size:.67rem;font-weight:700;box-shadow:none!important
}
body.editorial-minimalist .map-small-action svg{width:17px;height:17px;stroke:currentColor!important;fill:none!important;stroke-width:1.55}
body.editorial-minimalist .map-small-action:disabled{opacity:.44}

body.editorial-minimalist .ui2-map-shell{
  position:relative;z-index:1;min-height:365px;border:1px solid #aaa49b!important;border-radius:3px!important;
  overflow:hidden;background:#e8e5df!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-shell::before{display:none!important}
body.editorial-minimalist .ui2-map-canvas{width:100%;height:365px;background:#e8e5df!important}
body.editorial-minimalist .ui2-map-canvas.leaflet-container{font-family:var(--font-body);background:#e8e5df!important}
body.editorial-minimalist .ui2-map-canvas .leaflet-tile-pane{filter:saturate(.45) brightness(1.04) contrast(.96)!important}
body.editorial-minimalist .ui2-map-canvas .leaflet-control-zoom{
  border:1px solid #8f8a82!important;border-radius:2px!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-canvas .leaflet-control-zoom a{
  background:#fbfaf7!important;color:#1a1a1a!important;border-bottom-color:#d2cdc5!important
}
body.editorial-minimalist .ui2-map-canvas .leaflet-tooltip{
  background:#fbfaf7!important;color:#1a1a1a!important;border:1px solid #8f8a82!important;
  box-shadow:0 5px 12px rgba(31,29,25,.12)!important;font-family:var(--font-body)!important;font-weight:650
}
body.editorial-minimalist .ui2-map-canvas .leaflet-tooltip-top::before{border-top-color:#8f8a82!important}
body.editorial-minimalist .ui2-map-overlay{
  position:absolute;inset:0;z-index:540;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;padding:22px;text-align:center;background:rgba(247,245,240,.92)!important;color:#34312e!important;
  backdrop-filter:blur(3px)
}
body.editorial-minimalist .ui2-map-overlay.is-hidden{display:none}
body.editorial-minimalist .ui2-map-overlay>svg{width:32px;height:32px;stroke:#34312e!important;fill:none!important;stroke-width:1.5}
body.editorial-minimalist .map-loader{border-color:#d2cdc5!important;border-top-color:#1a1a1a!important}
body.editorial-minimalist .ui2-map-legend{
  position:absolute;z-index:530;left:12px;right:12px;bottom:11px;display:flex;gap:8px;flex-wrap:wrap;
  justify-content:center;padding:7px 9px;border:1px solid #aaa49b!important;border-radius:2px!important;
  background:rgba(251,250,247,.94)!important;backdrop-filter:blur(4px);font-size:.63rem;color:#4d4944!important
}
body.editorial-minimalist .ui2-map-legend span{display:inline-flex;align-items:center;gap:5px}
body.editorial-minimalist :is(.ui2-map-legend i,.map-contact-group h4 i){
  width:8px;height:8px;border-radius:50%;box-shadow:none!important
}
body.editorial-minimalist :is(.ui2-map-legend i.study,.map-contact-group h4 i.study){background:#202020!important;color:#202020!important}
body.editorial-minimalist :is(.ui2-map-legend i.followup,.map-contact-group h4 i.followup){background:#66625c!important;color:#66625c!important}
body.editorial-minimalist :is(.ui2-map-legend i.contact,.map-contact-group h4 i.contact){background:#98938b!important;color:#98938b!important}
body.editorial-minimalist :is(.ui2-map-legend i.paused,.map-contact-group h4 i.paused){background:#c2bdb5!important;color:#c2bdb5!important}

body.editorial-minimalist .ui2-map-pin-wrap{background:transparent!important;border:0!important}
body.editorial-minimalist .ui2-map-pin{
  position:relative;width:30px;height:30px;border:2px solid #1a1a1a!important;border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);background:#fbfaf7!important;box-shadow:0 3px 8px rgba(31,29,25,.28)!important
}
body.editorial-minimalist .ui2-map-pin::after{
  content:"";position:absolute;inset:7px;border-radius:50%;background:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-pin.followup{border-color:#66625c!important}
body.editorial-minimalist .ui2-map-pin.followup::after{background:#66625c!important}
body.editorial-minimalist .ui2-map-pin.contact{border-color:#98938b!important}
body.editorial-minimalist .ui2-map-pin.contact::after{background:#98938b!important}
body.editorial-minimalist .ui2-map-pin.paused{border-color:#b6b0a8!important}
body.editorial-minimalist .ui2-map-pin.paused::after{background:#b6b0a8!important}
body.editorial-minimalist .ui2-map-pin.selected{
  transform:rotate(-45deg) scale(1.16);filter:none!important;box-shadow:0 0 0 4px rgba(26,26,26,.14),0 4px 10px rgba(31,29,25,.30)!important
}

body.editorial-minimalist .map-preview-slot:empty{display:none}
body.editorial-minimalist .map-contact-preview,
body.editorial-minimalist .map-contact-card,
body.editorial-minimalist .map-location-card{
  position:relative;overflow:hidden;border:1px solid #c9c4bc!important;border-radius:3px!important;
  background:#fbfaf7!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist :is(.map-contact-preview,.map-contact-card,.map-location-card)::before,
body.editorial-minimalist :is(.map-contact-preview,.map-contact-card,.map-location-card)::after{display:none!important}
body.editorial-minimalist .map-contact-preview{margin-bottom:16px;padding:15px}
body.editorial-minimalist .map-preview-top{position:relative;z-index:1;display:flex;align-items:center;gap:11px}
body.editorial-minimalist :is(.map-preview-pin,.map-card-pin){
  border:1px solid #aaa49b!important;border-radius:2px!important;display:grid;place-items:center;
  color:#1a1a1a!important;background:#f1eee8!important;box-shadow:none!important
}
body.editorial-minimalist .map-preview-pin{width:46px;height:46px}
body.editorial-minimalist .map-card-pin{width:42px;height:42px}
body.editorial-minimalist .map-preview-pin svg{width:25px;height:25px;stroke:currentColor!important;fill:none!important;stroke-width:1.55}
body.editorial-minimalist .map-card-pin svg{width:22px;height:22px;stroke:currentColor!important;fill:none!important;stroke-width:1.55}
body.editorial-minimalist .map-preview-top h3{
  margin:0 0 4px;color:#171717!important;font-family:var(--font-display);font-size:1.28rem;font-weight:400
}
body.editorial-minimalist .map-type-badge{
  display:inline-flex;padding:3px 7px;border:1px solid #bdb8af!important;border-radius:1px!important;
  color:#4d4944!important;background:#f3f0ea!important;font-size:.66rem
}
body.editorial-minimalist .map-preview-details{position:relative;z-index:1;margin:11px 0;color:#5f5a54!important;line-height:1.4}
body.editorial-minimalist .map-preview-details p{margin:4px 0;color:#5f5a54!important}
body.editorial-minimalist .map-preview-actions{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.editorial-minimalist .map-preview-actions .action:last-child{grid-column:1/-1;width:min(100%,300px);justify-self:center}
body.editorial-minimalist .map-list-section{position:relative;margin-top:18px}
body.editorial-minimalist .map-list-section>.section-heading{margin-bottom:9px}
body.editorial-minimalist .map-list-section>.section-heading h3{font-size:1.25rem;color:#171717!important}
body.editorial-minimalist .map-section-copy{margin:-3px 0 10px;color:#66615b!important;font-size:.78rem;line-height:1.4}
body.editorial-minimalist .map-contact-groups,
body.editorial-minimalist .map-location-list{display:grid;gap:14px}
body.editorial-minimalist .map-contact-group{display:grid;gap:8px}
body.editorial-minimalist .map-contact-group h4{
  display:flex;align-items:center;gap:8px;margin:0;padding:0 3px;color:#34312e!important;
  font-family:var(--font-body)!important;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.055em
}
body.editorial-minimalist .map-contact-group h4 span{margin-left:auto;color:#77726b!important}
body.editorial-minimalist .map-contact-list{display:grid;gap:9px}
body.editorial-minimalist .map-contact-main{
  width:100%;border:0!important;background:transparent!important;color:#1a1a1a!important;display:grid;
  grid-template-columns:42px minmax(0,1fr) 20px;gap:10px;align-items:center;padding:12px;text-align:left
}
body.editorial-minimalist .map-card-copy{min-width:0}
body.editorial-minimalist .map-card-copy strong{
  display:block;color:#171717!important;font-family:var(--font-display);font-size:1rem;font-weight:400;margin-bottom:3px
}
body.editorial-minimalist .map-card-copy small{display:block;color:#66615b!important;font-size:.72rem;line-height:1.3;overflow-wrap:anywhere}
body.editorial-minimalist .map-card-copy .map-card-date{color:#77726b!important;margin-top:3px}
body.editorial-minimalist .map-card-chevron{color:#34312e!important}
body.editorial-minimalist .map-card-chevron svg{width:20px;height:20px;stroke:currentColor!important;fill:none!important;stroke-width:1.55}
body.editorial-minimalist .map-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d2cdc5!important}
body.editorial-minimalist .map-inline-action{
  min-height:40px;border:0!important;border-right:1px solid #d2cdc5!important;background:#f3f0ea!important;
  color:#1a1a1a!important;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-body)!important;font-size:.72rem;font-weight:700
}
body.editorial-minimalist .map-inline-action:last-child{border-right:0!important}
body.editorial-minimalist .map-location-warning-section{padding-top:4px}
body.editorial-minimalist .map-location-card{padding:13px;display:grid;gap:11px}
body.editorial-minimalist .map-location-copy strong{display:block;color:#171717!important;font-family:var(--font-display);font-size:1rem;font-weight:400}
body.editorial-minimalist .map-location-copy>span{display:inline-block;margin-top:3px;color:#66615b!important;font-size:.72rem}
body.editorial-minimalist .map-location-copy p{margin:8px 0 3px;color:#34312e!important;font-size:.78rem;line-height:1.4}
body.editorial-minimalist .map-location-copy small{color:#66615b!important;line-height:1.35}
body.editorial-minimalist .map-location-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.editorial-minimalist .map-location-actions .action{min-height:46px;padding:8px;font-size:.75rem}
body.editorial-minimalist .map-page .empty-state{background:#fbfaf7!important;color:#5f5a54!important;border-color:#c9c4bc!important}
body.editorial-minimalist .map-page .empty-state>svg{width:30px!important;height:30px!important;stroke:#34312e!important;fill:none!important}

/* Nested controls are neutral until pressed; the existing .ui2-pressing rule supplies the temporary terracotta flash. */
body.editorial-minimalist :is(
  .map-filter,.map-search-reset,.map-small-action,.map-contact-main,.map-inline-action,
  .map-contact-card,.map-location-card
){
  position:relative;overflow:hidden;isolation:isolate;transform:translateZ(0);
  transition:transform .09s ease,background .09s ease,color .09s ease,border-color .09s ease;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation
}
body.editorial-minimalist :is(
  .map-filter,.map-search-reset,.map-small-action,.map-contact-main,.map-inline-action,
  .map-contact-card,.map-location-card
).ui2-activated{animation:none!important}

@media(max-width:430px){
  body.editorial-minimalist .map-summary-bar{align-items:flex-start;flex-direction:column}
  body.editorial-minimalist .map-summary-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.editorial-minimalist .map-small-action{width:100%}
  body.editorial-minimalist .ui2-map-shell,
  body.editorial-minimalist .ui2-map-canvas{height:340px;min-height:340px}
  body.editorial-minimalist .map-filter{font-size:.56rem;padding-inline:3px}
  body.editorial-minimalist .map-preview-actions{grid-template-columns:1fr 1fr}
  body.editorial-minimalist .map-location-actions{grid-template-columns:1fr}
  body.editorial-minimalist .ui2-map-legend{gap:6px;font-size:.56rem}
}
@media(max-width:370px){
  body.editorial-minimalist .map-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.editorial-minimalist .map-preview-actions{grid-template-columns:1fr}
  body.editorial-minimalist .map-preview-actions .action:last-child{grid-column:auto;width:100%}
  body.editorial-minimalist .map-search-panel{grid-template-columns:minmax(0,1fr) 52px}
}


/* =========================================================
   v3.10 Android WebView runtime guard
   Fresh asset filename prevents stale cached Editorial CSS.
   Terracotta exists only on .ui2-pressing.
   ========================================================= */
body.editorial-minimalist .connected-menu{
  background:#fbfaf7!important;border-color:#c9c4bc!important;box-shadow:0 7px 18px rgba(31,29,25,.06)!important
}
body.editorial-minimalist .menu-button:not(.active):not(.ui2-pressing){
  background:transparent!important;color:#34312e!important;border-color:#d7d2ca!important;box-shadow:none!important
}
body.editorial-minimalist .menu-button.active:not(.ui2-pressing){
  background:#1b1b1b!important;color:#faf8f5!important;border-color:#d7d2ca!important;box-shadow:none!important
}

/* Time is permanently monochrome. */
body.editorial-minimalist :is(
  .time-page,.time-goal-card,.time-chart-panel,.time-entry-card,.time-midyear-card,
  .service-month-card,.time-month-focus,.time-year-position
){
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#c9c4bc!important;box-shadow:none!important
}
body.editorial-minimalist :is(
  .time-month-shift,.time-year-shift,.time-month-picker,.time-year-controls>strong,
  .time-scope-option,.time-goal-option,.time-quick-row button,.time-inline-action
):not(.ui2-pressing){
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#aaa49b!important;box-shadow:none!important
}
body.editorial-minimalist :is(.time-scope-option.active,.time-goal-option.active):not(.ui2-pressing){
  background:#1a1a1a!important;color:#faf8f5!important;border-color:#1a1a1a!important
}
body.editorial-minimalist :is(
  .time-page .metric-value,.time-focus-total,.time-goal-card strong,.time-entry-copy p,
  .time-midyear-card>span,.time-midyear-stats strong,.service-month-card>strong,
  .service-month-open,.service-month-current
){color:#1a1a1a!important}
body.editorial-minimalist :is(.progress-fill,.mini-goal-fill,.time-trend-bar){
  background:#1a1a1a!important;border-color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .time-trend-column:nth-child(even) .time-trend-bar{
  background:#858078!important;border-color:#858078!important
}
body.editorial-minimalist .service-month-card.current{
  background:#efebe4!important;border-color:#77726b!important;box-shadow:none!important
}

/* Map nested controls cannot inherit Black & Gold. */
body.editorial-minimalist :is(
  .map-search-panel,.map-search-wrap,.map-summary-bar,.ui2-map-shell,.map-contact-preview,
  .map-contact-card,.map-location-card,.map-page .empty-state
){
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#bdb8af!important;box-shadow:none!important
}
body.editorial-minimalist .map-summary-bar{background:#f3f0ea!important}
body.editorial-minimalist :is(
  .map-search-reset,.map-filter,.map-small-action,.map-contact-main,.map-inline-action,
  .map-location-actions .action,.map-preview-actions .action
):not(.active):not(.ui2-pressing){
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#aaa49b!important;box-shadow:none!important
}
body.editorial-minimalist .map-filter.active:not(.ui2-pressing){
  background:#1a1a1a!important;color:#faf8f5!important;border-color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .map-search-wrap input{
  background:transparent!important;color:#1a1a1a!important
}
body.editorial-minimalist .map-search-wrap input::placeholder{color:#77726b!important}
body.editorial-minimalist .ui2-map-canvas,
body.editorial-minimalist .ui2-map-canvas.leaflet-container{background:#e8e5df!important}
body.editorial-minimalist .ui2-map-canvas .leaflet-control-zoom a{
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#c9c4bc!important
}
body.editorial-minimalist :is(.map-card-copy strong,.map-preview-top h3,.map-location-copy strong){color:#171717!important}
body.editorial-minimalist :is(.map-card-copy small,.map-preview-details,.map-preview-details p,.map-location-copy span,.map-location-copy p,.map-location-copy small){color:#5f5a54!important}
body.editorial-minimalist .map-inline-action:not(.ui2-pressing){background:#f3f0ea!important;color:#1a1a1a!important}

/* Contact actions remain Editorial. */
body.editorial-minimalist :is(button[data-contact-add],button[form="ui2ContactForm"],[data-visit-add-contact],[data-contact-detail-action="visit"]):not(.ui2-pressing){
  background:#1a1a1a!important;color:#faf8f5!important;border-color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist :is([data-contact-detail-action="edit"],[data-map-edit-contact],[data-contact-detail-action="delete"],[data-delete-contact]):not(.ui2-pressing){
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#8f8a82!important;box-shadow:none!important
}

/* =========================================================
   v3.11 exact active-control repair
   Black & Gold is loaded globally in the legacy bundle. Its
   active contact/visit pseudo-elements must be explicitly
   removed for Editorial Minimalist.
   ========================================================= */
body.editorial-minimalist :is(
  .contact-action-panel,.contact-action,.visit-tab-row,.visit-tab
){
  background-image:none!important;
  text-shadow:none!important;
  filter:none!important;
}

body.editorial-minimalist :is(
  .contact-action-panel,.contact-action,.visit-tab-row,.visit-tab
)::before,
body.editorial-minimalist :is(
  .contact-action-panel,.contact-action,.visit-tab-row,.visit-tab
)::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  opacity:0!important;
}

body.editorial-minimalist .contact-action:not(.active):not(.ui2-pressing),
body.editorial-minimalist .visit-tab:not(.active):not(.ui2-pressing){
  background:#fbfaf7!important;
  background-image:none!important;
  color:#34312e!important;
  border-color:#d2cdc5!important;
  box-shadow:none!important;
}

body.editorial-minimalist .contact-action.active:not(.ui2-pressing),
body.editorial-minimalist .visit-tab.active:not(.ui2-pressing){
  background:#1b1b1b!important;
  background-image:none!important;
  color:#faf8f5!important;
  border-color:#1b1b1b!important;
  box-shadow:none!important;
  outline:0!important;
}

body.editorial-minimalist .contact-action.danger-tone:not(.active):not(.ui2-pressing){
  background:#fbfaf7!important;
  background-image:none!important;
  color:#34312e!important;
  border-color:#d2cdc5!important;
  box-shadow:none!important;
}

/* Keep terracotta exclusively in the actual press state. */
body.editorial-minimalist :is(.contact-action,.visit-tab).ui2-pressing{
  background:#b94d38!important;
  background-image:none!important;
  color:#fffaf5!important;
  border-color:#b94d38!important;
  box-shadow:none!important;
  transform:scale(.975)!important;
}
body.editorial-minimalist :is(.contact-action,.visit-tab).ui2-pressing svg{
  color:#fffaf5!important;
  stroke:currentColor!important;
}
body.editorial-minimalist :is(.contact-action,.visit-tab).ui2-activated{
  animation:none!important;
}

/* =========================================================
   Editorial Minimalist — Phase 4 (v3.12)
   Ministry Map + Teaching Toolbox
   Permanent surfaces stay ivory, charcoal, and gray.
   Terracotta remains reserved for .ui2-pressing only.
   ========================================================= */

/* ---------- Map: finished Editorial treatment ---------- */
body.editorial-minimalist :is(
  .map-search-panel,.map-search-wrap,.map-filter-row,.map-summary-bar,
  .ui2-map-shell,.ui2-map-legend,.map-contact-preview,.map-contact-card,
  .map-location-card,.map-preview-pin,.map-card-pin
)::before,
body.editorial-minimalist :is(
  .map-search-panel,.map-search-wrap,.map-filter-row,.map-summary-bar,
  .ui2-map-shell,.ui2-map-legend,.map-contact-preview,.map-contact-card,
  .map-location-card,.map-preview-pin,.map-card-pin
)::after{
  content:none!important;display:none!important;background:none!important;
  border:0!important;box-shadow:none!important;opacity:0!important
}
body.editorial-minimalist .map-search-panel{
  border:1px solid #bdb8af!important;border-radius:2px!important;
  background:#fbfaf7!important;box-shadow:none!important
}
body.editorial-minimalist .map-search-wrap{border-right:1px solid #d2cdc5!important;background:#fbfaf7!important}
body.editorial-minimalist .map-search-wrap>svg{color:#34312e!important;stroke:currentColor!important}
body.editorial-minimalist .map-search-reset:not(.ui2-pressing){background:#f3f0ea!important;color:#34312e!important}
body.editorial-minimalist .map-filter-row{gap:7px}
body.editorial-minimalist .map-filter:not(.active):not(.ui2-pressing){
  background:#fbfaf7!important;background-image:none!important;color:#4c4944!important;
  border:1px solid #c9c4bc!important;border-radius:2px!important;box-shadow:none!important
}
body.editorial-minimalist .map-filter.active:not(.ui2-pressing){
  background:#1b1b1b!important;background-image:none!important;color:#faf8f5!important;
  border-color:#1b1b1b!important;box-shadow:none!important
}
body.editorial-minimalist .map-summary-bar{
  border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#f3f0ea!important;color:#5f5a54!important;box-shadow:none!important
}
body.editorial-minimalist .map-small-action:not(.ui2-pressing),
body.editorial-minimalist .map-inline-action:not(.ui2-pressing),
body.editorial-minimalist .map-preview-actions .action:not(.ui2-pressing),
body.editorial-minimalist .map-location-actions .action:not(.ui2-pressing){
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  border-color:#aaa49b!important;border-radius:2px!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-shell{
  border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#e8e5df!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-canvas .leaflet-tile-pane{
  filter:grayscale(.78) saturate(.22) brightness(1.07) contrast(.94)!important
}
body.editorial-minimalist .ui2-map-canvas .leaflet-control-zoom{
  border:1px solid #aaa49b!important;border-radius:1px!important;box-shadow:none!important
}
body.editorial-minimalist .ui2-map-canvas .leaflet-control-zoom a{
  background:#fbfaf7!important;color:#1a1a1a!important;border-color:#d2cdc5!important;
  box-shadow:none!important
}
body.editorial-minimalist .ui2-map-legend{
  border:1px solid #aaa49b!important;border-radius:2px!important;
  background:rgba(251,250,247,.94)!important;color:#34312e!important;
  box-shadow:none!important;backdrop-filter:blur(4px)
}
body.editorial-minimalist .ui2-map-pin{
  background:#fbfaf7!important;border-color:#1b1b1b!important;
  box-shadow:0 2px 5px rgba(0,0,0,.20)!important
}
body.editorial-minimalist .ui2-map-pin::after{background:#1b1b1b!important;box-shadow:none!important}
body.editorial-minimalist .ui2-map-pin.followup{border-color:#5e5a54!important}
body.editorial-minimalist .ui2-map-pin.followup::after{background:#5e5a54!important}
body.editorial-minimalist .ui2-map-pin.contact{border-color:#8f8a82!important}
body.editorial-minimalist .ui2-map-pin.contact::after{background:#8f8a82!important}
body.editorial-minimalist .ui2-map-pin.paused{border-color:#b7b1a9!important}
body.editorial-minimalist .ui2-map-pin.paused::after{background:#b7b1a9!important}
body.editorial-minimalist .ui2-map-pin.selected{
  filter:none!important;box-shadow:0 0 0 4px rgba(26,26,26,.15),0 3px 7px rgba(0,0,0,.24)!important
}
body.editorial-minimalist :is(.map-contact-preview,.map-contact-card,.map-location-card){
  border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;box-shadow:none!important
}
body.editorial-minimalist :is(.map-preview-pin,.map-card-pin){
  border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#f1eee8!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .map-type-badge{
  border:1px solid #aaa49b!important;border-radius:1px!important;
  background:#f3f0ea!important;color:#34312e!important
}
body.editorial-minimalist .map-contact-group h4{
  color:#34312e!important;border-bottom:1px solid #d2cdc5;padding-bottom:6px
}
body.editorial-minimalist .map-contact-main:not(.ui2-pressing){background:#fbfaf7!important;color:#1a1a1a!important}
body.editorial-minimalist .map-card-actions{border-top-color:#d2cdc5!important}
body.editorial-minimalist .map-inline-action+ .map-inline-action{border-left:1px solid #d2cdc5!important}

/* ---------- Teaching Toolbox: management + visit picker ---------- */
body.editorial-minimalist :is(
  .settings-toolbox-dropdown,.visit-resource-dropdown,.toolbox-summary-chip,
  .toolbox-type-group,.toolbox-manage-row,.toolbox-resource-icon,
  .toolbox-manage-actions button,.visit-resource-choice,.visit-resource-empty,
  .visit-toolbox-link .action
)::before,
body.editorial-minimalist :is(
  .settings-toolbox-dropdown,.visit-resource-dropdown,.toolbox-summary-chip,
  .toolbox-type-group,.toolbox-manage-row,.toolbox-resource-icon,
  .toolbox-manage-actions button,.visit-resource-choice,.visit-resource-empty,
  .visit-toolbox-link .action
)::after{
  content:none!important;display:none!important;background:none!important;
  border:0!important;box-shadow:none!important;opacity:0!important
}
body.editorial-minimalist .toolbox-summary-strip{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px
}
body.editorial-minimalist .toolbox-summary-chip{
  min-height:88px;padding:12px 8px;border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;text-align:center;display:flex;flex-direction:column;justify-content:center
}
body.editorial-minimalist .toolbox-summary-chip strong{
  display:block;color:#171717!important;font-family:var(--font-display);font-size:1.65rem;font-weight:400;line-height:1
}
body.editorial-minimalist .toolbox-summary-chip span{
  display:block;margin-top:7px;color:#5f5a54!important;font-size:.62rem;font-weight:700;
  letter-spacing:.055em;text-transform:uppercase
}
body.editorial-minimalist .settings-toolbox-dropdown,
body.editorial-minimalist .visit-resource-dropdown{
  border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;overflow:hidden
}
body.editorial-minimalist .settings-toolbox-dropdown>summary,
body.editorial-minimalist .visit-resource-dropdown>summary{
  min-height:54px;padding:12px 14px;background:#fbfaf7!important;background-image:none!important;
  color:#1a1a1a!important;font-family:var(--font-body);font-weight:700;letter-spacing:.015em
}
body.editorial-minimalist .settings-toolbox-dropdown>summary svg,
body.editorial-minimalist .visit-resource-dropdown>summary svg{
  color:#34312e!important;stroke:currentColor!important;fill:none!important
}
body.editorial-minimalist .settings-toolbox-dropdown[open]>summary,
body.editorial-minimalist .visit-resource-dropdown[open]>summary{
  border-bottom:1px solid #d2cdc5!important;background:#f3f0ea!important;background-image:none!important
}
body.editorial-minimalist .toolbox-manage-list,
body.editorial-minimalist .visit-resource-menu{display:grid;gap:8px;padding:9px;background:#f7f5f0!important}
body.editorial-minimalist .toolbox-type-group{background:transparent!important;border:0!important;box-shadow:none!important}
body.editorial-minimalist .toolbox-type-group+ .toolbox-type-group{margin-top:13px;padding-top:12px;border-top:1px solid #d2cdc5!important}
body.editorial-minimalist .toolbox-type-heading{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 2px 8px;
  color:#1a1a1a!important;font-family:var(--font-display);font-size:1.05rem;font-weight:400
}
body.editorial-minimalist .toolbox-type-heading span{
  color:#66615b!important;font-family:var(--font-body);font-size:.66rem;font-weight:700
}
body.editorial-minimalist .toolbox-manage-row{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px;align-items:center;
  padding:10px;border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .toolbox-resource-icon{
  width:42px;height:42px;border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#f1eee8!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .toolbox-manage-copy strong{
  display:block;color:#171717!important;font-family:var(--font-body);font-size:.88rem;font-weight:700;overflow-wrap:anywhere
}
body.editorial-minimalist .toolbox-manage-copy span{
  display:block;margin-top:3px;color:#66615b!important;font-size:.72rem;line-height:1.3
}
body.editorial-minimalist .toolbox-manage-actions{display:flex;gap:7px}
body.editorial-minimalist .toolbox-manage-actions button:not(.ui2-pressing){
  width:42px;height:42px;border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;display:grid;place-items:center
}
body.editorial-minimalist .toolbox-manage-actions button.danger:not(.ui2-pressing){
  color:#1a1a1a!important;border-color:#8f8a82!important;background:#fbfaf7!important
}
body.editorial-minimalist .toolbox-manage-actions button svg{
  width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.55
}
body.editorial-minimalist .visit-resource-choice{
  min-height:62px;padding:10px 11px;border:1px solid #c9c4bc!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;text-align:left
}
body.editorial-minimalist .visit-resource-choice strong{color:#171717!important;font-family:var(--font-body);font-size:.85rem}
body.editorial-minimalist .visit-resource-choice span{color:#66615b!important;font-size:.7rem}
body.editorial-minimalist .visit-resource-choice.active:not(.ui2-pressing){
  background:#1b1b1b!important;background-image:none!important;color:#faf8f5!important;
  border-color:#1b1b1b!important;box-shadow:none!important
}
body.editorial-minimalist .visit-resource-choice.active:not(.ui2-pressing) :is(strong,span){color:#faf8f5!important}
body.editorial-minimalist .visit-resource-empty{
  padding:16px;border:1px dashed #aaa49b!important;border-radius:2px!important;
  background:#f3f0ea!important;color:#5f5a54!important;box-shadow:none!important
}
body.editorial-minimalist .visit-resource-empty strong{color:#1a1a1a!important;font-family:var(--font-body)}
body.editorial-minimalist .visit-resource-empty span{color:#66615b!important}
body.editorial-minimalist .visit-toolbox-link{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;
  color:#5f5a54!important;text-decoration:none!important
}
body.editorial-minimalist .visit-toolbox-link .action:not(.ui2-pressing){
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  border-color:#aaa49b!important;border-radius:2px!important;box-shadow:none!important
}

/* Black & Gold's globally loaded press/release animations must not survive here. */
body.editorial-minimalist :is(
  .map-filter,.map-search-reset,.map-small-action,.map-contact-main,.map-inline-action,
  .map-preview-actions .action,.map-location-actions .action,
  .settings-toolbox-dropdown>summary,.visit-resource-dropdown>summary,
  .toolbox-manage-actions button,.visit-resource-choice,.visit-toolbox-link .action
).ui2-activated{animation:none!important}

/* All Phase 4 controls use only the shared terracotta physical press state. */
body.editorial-minimalist :is(
  .map-filter,.map-search-reset,.map-small-action,.map-contact-main,.map-inline-action,
  .map-preview-actions .action,.map-location-actions .action,
  .settings-toolbox-dropdown>summary,.visit-resource-dropdown>summary,
  .toolbox-manage-actions button,.visit-resource-choice,.visit-toolbox-link .action
).ui2-pressing{
  background:#b94d38!important;background-image:none!important;color:#fffaf5!important;
  border-color:#b94d38!important;box-shadow:none!important;filter:none!important;transform:scale(.975)!important
}
body.editorial-minimalist :is(
  .map-filter,.map-search-reset,.map-small-action,.map-contact-main,.map-inline-action,
  .map-preview-actions .action,.map-location-actions .action,
  .settings-toolbox-dropdown>summary,.visit-resource-dropdown>summary,
  .toolbox-manage-actions button,.visit-resource-choice,.visit-toolbox-link .action
).ui2-pressing :is(strong,span,svg){color:#fffaf5!important;stroke:currentColor!important}

@media(max-width:560px){
  body.editorial-minimalist .toolbox-manage-row{grid-template-columns:42px minmax(0,1fr)!important}
  body.editorial-minimalist .toolbox-manage-actions{grid-column:1/-1;justify-content:flex-end}
}
@media(max-width:430px){
  body.editorial-minimalist .toolbox-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body.editorial-minimalist .toolbox-summary-chip{min-height:78px;padding:9px 4px}
  body.editorial-minimalist .toolbox-summary-chip strong{font-size:1.35rem}
  body.editorial-minimalist .toolbox-summary-chip span{font-size:.53rem;letter-spacing:.03em}
  body.editorial-minimalist .visit-toolbox-link{align-items:stretch;flex-direction:column}
  body.editorial-minimalist .visit-toolbox-link .action{width:100%}
}

/* =========================================================
   Editorial Minimalist — Final Settings & Wrap-Up (v3.13)
   Backup, Appearance, Home Layout, Ministry Setup,
   Data & Privacy, About, Help, and all settings dialogs.
   Permanent surfaces remain ivory, charcoal, and gray.
   Terracotta is reserved exclusively for .ui2-pressing.
   ========================================================= */

/* Eliminate every globally inherited Black & Gold ornament layer. */
body.editorial-minimalist :is(
  .settings-sub-menu,.settings-menu-button,.settings-page,.settings-hero,.settings-block,
  .settings-status-card,.settings-action-grid .action,.settings-footer-action .action,
  .settings-toggle-row,.settings-segmented,.settings-segmented button,.settings-stat,
  .appearance-choice,.appearance-active-label,.settings-note,.settings-danger-zone,
  .settings-help-list details,.settings-help-list summary,.settings-toolbox-dropdown,
  .settings-toolbox-dropdown>summary,.toolbox-summary-chip,.toolbox-type-group,
  .toolbox-manage-row,.toolbox-manage-actions button,.dialog .action
)::before,
body.editorial-minimalist :is(
  .settings-sub-menu,.settings-menu-button,.settings-page,.settings-hero,.settings-block,
  .settings-status-card,.settings-action-grid .action,.settings-footer-action .action,
  .settings-toggle-row,.settings-segmented,.settings-segmented button,.settings-stat,
  .appearance-choice,.appearance-active-label,.settings-note,.settings-danger-zone,
  .settings-help-list details,.settings-help-list summary,.settings-toolbox-dropdown,
  .settings-toolbox-dropdown>summary,.toolbox-summary-chip,.toolbox-type-group,
  .toolbox-manage-row,.toolbox-manage-actions button,.dialog .action
)::after{
  content:none!important;display:none!important;background:none!important;background-image:none!important;
  border:0!important;box-shadow:none!important;opacity:0!important
}

/* Settings category dock. */
body.editorial-minimalist .settings-sub-menu{
  grid-auto-columns:calc(100% / 3)!important;
  background:#fbfaf7!important;background-image:none!important;
  border:1px solid #c9c4bc!important;border-radius:4px!important;
  box-shadow:0 7px 18px rgba(31,29,25,.06)!important;
  overflow-x:auto!important;overflow-y:hidden!important
}
body.editorial-minimalist .settings-sub-menu .settings-menu-button:not(.active):not(.ui2-pressing){
  background:#fbfaf7!important;background-image:none!important;color:#34312e!important;
  border-color:#d7d2ca!important;box-shadow:none!important;text-shadow:none!important;filter:none!important
}
body.editorial-minimalist .settings-sub-menu .settings-menu-button.active:not(.ui2-pressing){
  background:#1b1b1b!important;background-image:none!important;color:#faf8f5!important;
  border-color:#1b1b1b!important;box-shadow:none!important;text-shadow:none!important;filter:none!important
}
body.editorial-minimalist .settings-sub-menu .settings-menu-button svg{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;stroke:currentColor!important;fill:none!important}
body.editorial-minimalist .settings-sub-menu .settings-menu-button span{font-size:.66rem!important;line-height:1.13!important;letter-spacing:.025em!important}

/* Page structure. */
body.editorial-minimalist .settings-page{
  padding:20px!important;margin-bottom:0!important;overflow:visible!important;
  background:rgba(251,250,247,.96)!important;background-image:none!important;
  border:1px solid #cbc6be!important;border-radius:4px!important;box-shadow:none!important
}
body.editorial-minimalist .settings-detail{display:grid!important;gap:14px!important}
body.editorial-minimalist .settings-scroll-end{height:calc(76px + var(--safe-bottom))!important}
body.editorial-minimalist .settings-hero{
  margin:0!important;padding:20px 20px 19px 23px!important;
  border:1px solid #c9c4bc!important;border-left:5px solid #1b1b1b!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;box-shadow:none!important
}
body.editorial-minimalist .settings-eyebrow{
  display:block!important;margin:0 0 7px!important;color:#6a665f!important;
  font-family:var(--font-body)!important;font-size:.66rem!important;font-weight:700!important;
  letter-spacing:.15em!important;text-transform:uppercase!important
}
body.editorial-minimalist .settings-hero h3{
  margin:0!important;color:#171717!important;font-family:var(--font-display)!important;
  font-size:clamp(1.75rem,7vw,2.55rem)!important;font-weight:400!important;line-height:1!important;letter-spacing:0!important
}
body.editorial-minimalist .settings-hero p{
  margin:9px 0 0!important;color:#625f59!important;font-family:var(--font-body)!important;
  font-size:.86rem!important;line-height:1.5!important
}

/* Section blocks. */
body.editorial-minimalist .settings-block{
  margin:0!important;padding:18px!important;
  border:1px solid #cbc6be!important;border-radius:3px!important;
  background:#fbfaf7!important;background-image:none!important;box-shadow:none!important;color:#1a1a1a!important
}
body.editorial-minimalist .settings-block-head{
  margin:0 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid #d5d0c8!important
}
body.editorial-minimalist .settings-block-head h4{
  margin:0!important;color:#171717!important;font-family:var(--font-display)!important;
  font-size:1.35rem!important;font-weight:400!important;line-height:1.08!important;letter-spacing:0!important
}
body.editorial-minimalist .settings-block-head p{
  margin:6px 0 0!important;color:#66615b!important;font-size:.78rem!important;line-height:1.45!important
}

/* Backup status and notes. */
body.editorial-minimalist .settings-status-card{
  display:block!important;margin:0 0 10px!important;padding:15px 16px!important;
  border:1px solid #c9c4bc!important;border-left:4px solid #1b1b1b!important;border-radius:2px!important;
  background:#f3f0ea!important;background-image:none!important;box-shadow:none!important
}
body.editorial-minimalist .settings-status-card small{
  display:block!important;color:#6b675f!important;font-size:.62rem!important;font-weight:750!important;
  letter-spacing:.12em!important;text-transform:uppercase!important
}
body.editorial-minimalist .settings-status-card strong{
  display:block!important;margin-top:5px!important;color:#171717!important;font-family:var(--font-display)!important;
  font-size:1.2rem!important;font-weight:400!important;line-height:1.15!important;overflow-wrap:anywhere!important
}
body.editorial-minimalist .settings-status-card div>span{
  display:block!important;margin-top:5px!important;color:#67625c!important;font-size:.75rem!important;line-height:1.4!important
}
body.editorial-minimalist .settings-note{
  margin-top:12px!important;padding:12px 13px!important;
  border:1px solid #d1ccc4!important;border-radius:2px!important;
  background:#f3f0ea!important;background-image:none!important;color:#5f5b55!important;
  font-size:.77rem!important;line-height:1.45!important;box-shadow:none!important
}
body.editorial-minimalist .settings-note strong{color:#1a1a1a!important}

/* All Settings actions are neutral until physically pressed. */
body.editorial-minimalist .settings-action-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;margin-top:9px!important
}
body.editorial-minimalist .settings-action-grid-primary{grid-template-columns:1fr!important}
body.editorial-minimalist .settings-footer-action{margin-top:0!important}
body.editorial-minimalist :is(.settings-action-grid .action,.settings-footer-action .action,.dialog .action):not(.ui2-pressing){
  width:100%!important;min-height:52px!important;padding:9px 11px!important;
  border:1px solid #aaa49b!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;text-shadow:none!important;filter:none!important
}
body.editorial-minimalist :is(.settings-action-grid .action.primary,.dialog .action.primary):not(.ui2-pressing){
  border-color:#1b1b1b!important;background:#1b1b1b!important;color:#faf8f5!important
}
body.editorial-minimalist :is(.settings-action-grid .action.danger,.settings-danger-zone .action.danger,.dialog .action.danger):not(.ui2-pressing){
  border:2px solid #1b1b1b!important;background:#fbfaf7!important;color:#1b1b1b!important
}
body.editorial-minimalist :is(.settings-action-grid .action,.settings-footer-action .action,.dialog .action) svg{
  width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important;stroke:currentColor!important;fill:none!important
}

/* Home Layout switches. */
body.editorial-minimalist .settings-toggle-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.editorial-minimalist .settings-toggle-row:not(.ui2-pressing){
  width:100%!important;min-height:70px!important;padding:12px 13px!important;
  border:1px solid #d0cbc3!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  box-shadow:none!important;text-shadow:none!important;filter:none!important
}
body.editorial-minimalist .settings-toggle-row.active:not(.ui2-pressing){
  border-color:#858078!important;border-left:4px solid #1b1b1b!important;background:#f0ede7!important
}
body.editorial-minimalist .settings-toggle-copy{min-width:0!important;display:grid!important;gap:3px!important}
body.editorial-minimalist .settings-toggle-copy strong{
  color:#1a1a1a!important;font-family:var(--font-body)!important;font-size:.78rem!important;
  font-weight:700!important;line-height:1.2!important
}
body.editorial-minimalist .settings-toggle-copy span{color:#6a665f!important;font-size:.67rem!important;line-height:1.3!important}
body.editorial-minimalist .settings-toggle-switch{
  width:44px!important;height:24px!important;flex:0 0 44px!important;padding:3px!important;
  border:1px solid #aaa59d!important;border-radius:999px!important;background:#ddd8d0!important;box-shadow:none!important
}
body.editorial-minimalist .settings-toggle-switch span{
  width:16px!important;height:16px!important;border-radius:50%!important;background:#fbfaf7!important;box-shadow:0 1px 3px rgba(31,29,25,.16)!important
}
body.editorial-minimalist .settings-toggle-row.active .settings-toggle-switch{background:#1b1b1b!important;border-color:#1b1b1b!important}
body.editorial-minimalist .settings-toggle-row.active .settings-toggle-switch span{transform:translateX(19px)!important;background:#fbfaf7!important}

/* Ministry setup statistics and projection controls. */
body.editorial-minimalist .settings-stat-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important
}
body.editorial-minimalist .settings-stat-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.editorial-minimalist .settings-stat{
  min-width:0!important;min-height:112px!important;padding:12px 8px!important;
  border:1px solid #d0cbc3!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;
  display:grid!important;justify-items:center!important;align-content:center!important;gap:6px!important;text-align:center!important;box-shadow:none!important
}
body.editorial-minimalist .settings-stat-icon{
  width:36px!important;height:36px!important;border:1px solid #bbb6ae!important;border-radius:2px!important;
  background:#f3f0ea!important;color:#1a1a1a!important;display:grid!important;place-items:center!important
}
body.editorial-minimalist .settings-stat-icon svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;stroke:currentColor!important;fill:none!important}
body.editorial-minimalist .settings-stat strong{
  max-width:100%!important;color:#171717!important;font-family:var(--font-display)!important;
  font-size:1.12rem!important;font-weight:400!important;line-height:1.12!important;overflow-wrap:anywhere!important
}
body.editorial-minimalist .settings-stat>span:last-child{
  color:#65615b!important;font-size:.63rem!important;font-weight:700!important;letter-spacing:.05em!important;text-transform:uppercase!important;line-height:1.25!important
}
body.editorial-minimalist .settings-segmented{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin:0!important;border:1px solid #c7c2ba!important;border-radius:2px!important;
  background:#f3f0ea!important;background-image:none!important;overflow:hidden!important;box-shadow:none!important
}
body.editorial-minimalist .settings-segmented button:not(.active):not(.ui2-pressing){
  min-height:50px!important;border:0!important;border-right:1px solid #d2cdc5!important;
  background:transparent!important;background-image:none!important;color:#5e5a54!important;box-shadow:none!important
}
body.editorial-minimalist .settings-segmented button:last-child{border-right:0!important}
body.editorial-minimalist .settings-segmented button.active:not(.ui2-pressing){
  background:#1b1b1b!important;background-image:none!important;color:#faf8f5!important;border-color:#1b1b1b!important;box-shadow:none!important
}

/* Appearance cards; theme swatches retain their own mini-preview artwork. */
body.editorial-minimalist .appearance-grid{display:grid!important;gap:9px!important}
body.editorial-minimalist .appearance-choice{
  display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;
  margin:0!important;padding:12px!important;border:1px solid #d0cbc3!important;border-radius:2px!important;
  background:#fbfaf7!important;background-image:none!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .appearance-choice.active{
  border-color:#1b1b1b!important;border-left:5px solid #1b1b1b!important;background:#f0ede7!important;box-shadow:none!important
}
body.editorial-minimalist .appearance-swatch{width:54px!important;height:54px!important;min-width:54px!important;display:block!important}
body.editorial-minimalist .appearance-copy{min-width:0!important}
body.editorial-minimalist .appearance-copy strong{
  display:block!important;color:#171717!important;font-family:var(--font-display)!important;font-size:1.05rem!important;font-weight:400!important;line-height:1.1!important
}
body.editorial-minimalist .appearance-copy span{display:block!important;margin-top:4px!important;color:#67625c!important;font-size:.7rem!important;line-height:1.35!important}
body.editorial-minimalist .appearance-active-label{
  justify-self:end!important;padding:7px 9px!important;border:1px solid #1b1b1b!important;border-radius:1px!important;
  background:#1b1b1b!important;background-image:none!important;color:#faf8f5!important;
  font-size:.62rem!important;font-weight:750!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:none!important
}
body.editorial-minimalist .appearance-choice>.action:not(.ui2-pressing){min-height:42px!important;padding:7px 9px!important;font-size:.67rem!important}

/* Data and deletion. */
body.editorial-minimalist .settings-danger-zone{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;
  margin-top:12px!important;padding:14px!important;border:1px solid #858078!important;border-radius:2px!important;
  background:#f3f0ea!important;background-image:none!important;color:#1a1a1a!important;box-shadow:none!important
}
body.editorial-minimalist .settings-danger-zone>div{min-width:0!important}
body.editorial-minimalist .settings-danger-zone strong{display:block!important;color:#171717!important;font-family:var(--font-display)!important;font-size:1.03rem!important;font-weight:400!important}
body.editorial-minimalist .settings-danger-zone span{display:block!important;margin-top:5px!important;color:#625f59!important;font-size:.72rem!important;line-height:1.4!important}

/* Help and About. */
body.editorial-minimalist .settings-help-list{display:grid!important;gap:8px!important}
body.editorial-minimalist .settings-help-list details{
  border:1px solid #d0cbc3!important;border-radius:2px!important;background:#fbfaf7!important;background-image:none!important;overflow:hidden!important;box-shadow:none!important
}
body.editorial-minimalist .settings-help-list summary{
  min-height:54px!important;padding:12px 14px!important;display:flex!important;align-items:center!important;
  color:#1a1a1a!important;font-family:var(--font-body)!important;font-size:.82rem!important;font-weight:700!important;
  cursor:pointer!important;list-style:none!important;background:#fbfaf7!important;background-image:none!important
}
body.editorial-minimalist .settings-help-list summary::-webkit-details-marker{display:none!important}
body.editorial-minimalist .settings-help-list summary::after{
  content:'+'!important;display:block!important;margin-left:auto!important;color:#1a1a1a!important;
  font-family:var(--font-body)!important;font-size:1.2rem!important;font-weight:400!important;transform:none!important;opacity:1!important
}
body.editorial-minimalist .settings-help-list details[open] summary{border-bottom:1px solid #d5d0c8!important;background:#f3f0ea!important}
body.editorial-minimalist .settings-help-list details[open] summary::after{content:'−'!important;transform:none!important}
body.editorial-minimalist .settings-help-list p{margin:0!important;padding:13px 14px 15px!important;color:#625f59!important;font-size:.78rem!important;line-height:1.5!important}
body.editorial-minimalist .about-copy{margin:16px 0 0!important;color:#5f5b55!important;font-size:.82rem!important;line-height:1.55!important}
body.editorial-minimalist .about-feature-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:13px!important}
body.editorial-minimalist .about-feature-row span{
  padding:6px 8px!important;border:1px solid #cbc6be!important;border-radius:1px!important;
  background:#f3f0ea!important;color:#34312e!important;font-size:.64rem!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important
}
body.editorial-minimalist .about-map-credit{
  margin-top:18px!important;padding-top:12px!important;border-top:1px solid #d5d0c8!important;
  color:#77726b!important;font-size:.68rem!important;text-align:center!important
}

/* Settings-contained Teaching Toolbox gets the same neutral frame. */
body.editorial-minimalist .settings-block:has(.settings-toolbox-dropdown){background:#fbfaf7!important}
body.editorial-minimalist .settings-toolbox-dropdown{
  border:1px solid #c9c4bc!important;border-radius:2px!important;background:#fbfaf7!important;background-image:none!important;box-shadow:none!important
}
body.editorial-minimalist .settings-toolbox-dropdown>summary:not(.ui2-pressing){background:#f3f0ea!important;color:#1a1a1a!important;border-color:#c9c4bc!important;box-shadow:none!important}
body.editorial-minimalist .toolbox-summary-chip{background:#f3f0ea!important;border-color:#d0cbc3!important;box-shadow:none!important}
body.editorial-minimalist .toolbox-manage-row{background:#fbfaf7!important;border-color:#d0cbc3!important;box-shadow:none!important}
body.editorial-minimalist .toolbox-manage-actions button:not(.ui2-pressing){background:#fbfaf7!important;color:#1a1a1a!important;border-color:#aaa49b!important;box-shadow:none!important}

/* Settings dialogs cannot fall back to gold. */
body.editorial-minimalist .dialog :is(.detail-grid,.detail-row,.notice,.settings-warning){background:#f3f0ea!important;color:#1a1a1a!important;border-color:#c9c4bc!important;box-shadow:none!important}
body.editorial-minimalist .dialog .detail-row strong{color:#1a1a1a!important}
body.editorial-minimalist .dialog .detail-row span{color:#5f5b55!important}

/* Release classes from Black & Gold never add a delayed shine. */
body.editorial-minimalist :is(
  .settings-menu-button,.settings-action-grid .action,.settings-footer-action .action,
  .settings-toggle-row,.settings-segmented button,.appearance-choice>.action,
  .toolbox-manage-actions button,.settings-help-list summary,.dialog .action
).ui2-activated{animation:none!important;filter:none!important}

@media(max-width:620px){
  body.editorial-minimalist .settings-page{padding:14px!important}
  body.editorial-minimalist .settings-hero{padding:17px 16px 16px 19px!important}
  body.editorial-minimalist .settings-block{padding:14px!important}
  body.editorial-minimalist .settings-toggle-list{grid-template-columns:1fr!important}
  body.editorial-minimalist .settings-action-grid{grid-template-columns:1fr!important}
  body.editorial-minimalist .settings-stat-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.editorial-minimalist .settings-danger-zone{grid-template-columns:1fr!important}
  body.editorial-minimalist .settings-danger-zone .action{width:100%!important}
  body.editorial-minimalist .appearance-choice{grid-template-columns:52px minmax(0,1fr)!important}
  body.editorial-minimalist .appearance-swatch{width:48px!important;height:48px!important;min-width:48px!important}
  body.editorial-minimalist .appearance-choice>.action,
  body.editorial-minimalist .appearance-active-label{grid-column:1/-1!important;width:100%!important;justify-self:stretch!important;text-align:center!important}
}
@media(max-width:420px){
  body.editorial-minimalist .settings-sub-menu .settings-menu-button span{font-size:.59rem!important}
  body.editorial-minimalist .settings-hero h3{font-size:1.8rem!important}
  body.editorial-minimalist .settings-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.editorial-minimalist .settings-stat-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  body.editorial-minimalist .settings-stat-grid-three .settings-stat{min-height:102px!important;padding:9px 4px!important}
  body.editorial-minimalist .settings-stat-grid-three .settings-stat strong{font-size:.88rem!important}
  body.editorial-minimalist .settings-stat-grid-three .settings-stat>span:last-child{font-size:.54rem!important;letter-spacing:.025em!important}
}

/* =========================================================
   v3.14 — Editorial Minimalist mobile contact-detail repair
   Keeps history date/type readable and prevents inherited
   mobile button widths from crushing the history heading.
   ========================================================= */
body.editorial-minimalist .history-card-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
body.editorial-minimalist .history-card-header>h4{
  min-width:0!important;
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.25!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.editorial-minimalist .history-card-actions{
  width:auto!important;
  min-width:0!important;
  display:flex!important;
  flex:0 0 auto!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
body.editorial-minimalist .history-action{
  width:auto!important;
  min-width:68px!important;
  min-height:36px!important;
  padding:6px 9px!important;
  gap:5px!important;
  font-family:var(--font-body)!important;
  font-size:.72rem!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.editorial-minimalist .history-action svg{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}
body.editorial-minimalist .history-section>h3{
  font-size:1.42rem!important;
  line-height:1.15!important;
  margin:0 0 12px!important;
}
body.editorial-minimalist .history-card{
  overflow:hidden!important;
}
body.editorial-minimalist .history-card p{
  overflow-wrap:anywhere!important;
}

@media(max-width:430px){
  body.editorial-minimalist .dialog{
    width:100%!important;
    padding:14px!important;
  }
  body.editorial-minimalist .dialog-head{
    gap:10px!important;
    padding-bottom:11px!important;
  }
  body.editorial-minimalist .dialog-head h3{
    min-width:0!important;
    font-size:1.48rem!important;
    line-height:1.1!important;
    overflow-wrap:anywhere!important;
  }
  body.editorial-minimalist .dialog-body{
    padding:14px 1px 12px 0!important;
  }
  body.editorial-minimalist .contact-detail-actions{
    gap:7px!important;
    margin:12px 0 16px!important;
  }
  body.editorial-minimalist .contact-detail-actions .action{
    min-height:44px!important;
    padding:8px 9px!important;
    font-size:.78rem!important;
  }
  body.editorial-minimalist .history-section{
    margin-top:16px!important;
    padding-top:16px!important;
  }
  body.editorial-minimalist .history-card{
    padding:13px!important;
  }
  body.editorial-minimalist .history-card-header{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
  }
  body.editorial-minimalist .history-card-header>h4{
    font-size:1rem!important;
  }
  body.editorial-minimalist .history-action{
    min-width:62px!important;
    min-height:34px!important;
    padding:5px 7px!important;
    font-size:.68rem!important;
  }
  body.editorial-minimalist .history-action svg{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
  }
}

@media(max-width:360px){
  body.editorial-minimalist .history-card-header{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  body.editorial-minimalist .history-card-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.editorial-minimalist .history-action{
    width:100%!important;
  }
}
