/* Portal-only Watch Pro theme: red throughout setup, overview and dashboard.
   Source module styles and standalone shortcode styling remain unchanged. */
#standardshero-portal .shw-app{--shw-accent:#b13938!important;}
#standardshero-portal .shw-app .shw-setup-start{background:#faf1f1!important;border:1px solid #b13938!important;}
#standardshero-portal .shw-app .shw-spec-price{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-spec-price-rule{background:#ebd8d8!important;}
#standardshero-portal .shw-app .shw-spec-section{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-spec-scope-item{border-left:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-setup-guide-list li{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-setup-guide-list li::before{background:rgba(177,57,56,.07)!important;border:1px solid rgba(177,57,56,.17)!important;}
#standardshero-portal .shw-app .shw-spec-important{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-spec-next{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-edit-banner{background:#faf1f1!important;}
#standardshero-portal .shw-app .shw-journey{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-journey-step{--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-journey-step:nth-child(2){--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-journey-step:nth-child(3){--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-journey-step:nth-child(4){--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-journey-step:nth-child(5){--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-faq{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-faq-item summary::after{background:#faf1f1!important;}
#standardshero-portal .shw-app button.shw-btn:not(.shw-btn-primary):hover,#standardshero-portal .shw-app button.shw-btn:not(.shw-btn-primary):focus-visible,#standardshero-portal .shw-app a.shw-btn:not(.shw-btn-primary):hover,#standardshero-portal .shw-app a.shw-btn:not(.shw-btn-primary):focus-visible{color:#802a29!important;background-color:#f6e4e4!important;border-color:#b13938!important;}
#standardshero-portal .shw-app .shw-choice-card.is-selected{background:#faf1f1!important;}
#standardshero-portal .shw-app .shw-selection-summary{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-scope-note{border:1px solid #e2c6c6!important;background:#faf1f1!important;}
#standardshero-portal .shw-app .shw-chip button:hover,#standardshero-portal .shw-app .shw-chip button:focus-visible{color:#802a29!important;background:#f6e4e4!important;}
#standardshero-portal .shw-app .shw-progress{border:1px solid #e2c6c6!important;background:#fcf7f7!important;}
#standardshero-portal .shw-app .shw-progress-track{background:#ebd8d8!important;}
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button{border:1px solid #dfbebe!important;}
#standardshero-portal .shw-app .shw-progress .shw-step-index{border:1px solid #dfbebe!important;background:#faf1f1!important;}
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button:hover{color:#802a29!important;background:#f6e4e4!important;}
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button:focus-visible{outline:3px solid #802a29!important;}
#standardshero-portal .shw-app .shw-start-sections > .shw-start-box{border:1px solid #e2c6c6!important;background:#faf1f1!important;}
#standardshero-portal .shw-app .shw-goals-optional{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app button.shw-goal-card{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app button.shw-goal-card:hover{background:#fcf7f7!important;color:#802a29!important;}
#standardshero-portal .shw-app button.shw-goal-card:focus-visible{outline:3px solid #802a29!important;background:#fcf7f7!important;}
#standardshero-portal .shw-app .shw-goal-link{border-top:1px solid #ebd8d8!important;}
#standardshero-portal .shw-app .shw-journey-focused .shw-journey-step:hover{background:#fcf7f7!important;}
#standardshero-portal .shw-app .shw-journey-focused .shw-journey-step:nth-child(3){--shw-step-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-journey-action{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-goal-filter-note{background:#faf1f1!important;border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-goal-selection{border:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app button.shw-goal-card.is-selected,#standardshero-portal .shw-app button.shw-goal-card.is-selected:hover{background:#f6e4e4!important;color:#802a29!important;}
#standardshero-portal .shw-app .shw-final-review{border-top:1px solid #e2c6c6!important;}
#standardshero-portal .shw-app .shw-goal-check{border:1px solid #cf9c9c!important;}
#standardshero-portal .shw-app button.shw-goal-filter-chip{border:1px solid #cf9c9c!important;color:#802a29!important;}
#standardshero-portal .shw-app button.shw-goal-filter-chip:hover{background:#f6e4e4!important;color:#802a29!important;}
#standardshero-portal .shw-app button.shw-goal-filter-chip:focus-visible{outline:3px solid #802a29!important;}
/* Keep meaningful borders and selected/focus states above inherited shorthand. */
#standardshero-portal .shw-app .shw-progress{border-top:3px solid var(--shp-red)!important;}
#standardshero-portal .shw-app button.shw-goal-card{border-top:3px solid var(--shp-red)!important;}
#standardshero-portal .shw-app button.shw-goal-card.is-selected{border-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button.is-current,
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button.is-current:hover,
#standardshero-portal .shw-app .shw-progress .shw-steps button.shw-step-button.is-current:focus-visible{background:var(--shp-red)!important;color:#fff!important;border-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-progress .shw-step-button.is-current .shw-step-index{color:#fff!important;background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.5)!important;}
#standardshero-portal .shw-app .shw-goal-card.is-selected .shw-goal-check{color:#fff!important;background:var(--shp-red)!important;border-color:var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-spec-price{border-top:4px solid var(--shp-red)!important;}
#standardshero-portal .shw-app .shw-edit-banner,#standardshero-portal .shw-app .shw-goal-filter-note,#standardshero-portal .shw-app .shw-scope-note{border-left:3px solid var(--shp-red)!important;}

/* Compact, readable development feed and private archived email reports. */
#standardshero-portal .shw-development-filters {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 12px;padding:16px;background:#f7f8f9;border:1px solid #dce3e7;border-radius:5px;}
#standardshero-portal .shw-development-filters label {display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;margin:0;min-width:0;}
#standardshero-portal .shw-development-filters select,#standardshero-portal .shw-development-filters input {background:#fff;color:#303030;font:inherit;font-size:13px;line-height:1.4;width:100%;min-width:0;height:42px;min-height:42px;border:1px solid #c7d2db;border-radius:5px;padding:8px 10px;}
#standardshero-portal .shw-development-search {grid-column:1/-1;}
#standardshero-portal .shw-development-search-row {display:flex;gap:8px;}
#standardshero-portal .shw-development-search-row input {flex:1;}
#standardshero-portal .shw-development-resultbar {display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#46575e;margin:8px 0 12px;}
/* Portal-only card grid: preserve chronological DOM order, with each month
   spanning both columns. Email renderers and their saved copies are untouched. */
#standardshero-portal .shw-events-compact {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;}
#standardshero-portal .shw-events-compact > .shw-month-heading {grid-column:1 / -1;}
#standardshero-portal .shw-events-compact > .shw-event {min-width:0;margin:0;}
#standardshero-portal .shw-events-compact .shw-event-top {flex-wrap:wrap;gap:7px 10px;}
#standardshero-portal .shw-events-compact .shw-event-top .shw-muted {white-space:normal;}
#standardshero-portal .shw-events-compact :is(.shw-event-headline,.shw-event-standard-title,.shw-event-technical) {overflow-wrap:anywhere;}
@container shp-main (max-width:600px){#standardshero-portal .shw-events-compact {grid-template-columns:minmax(0,1fr);}}
@media(max-width:600px){#standardshero-portal .shw-events-compact {grid-template-columns:minmax(0,1fr);}}

#standardshero-portal .shw-month-heading {margin:16px 0 0!important;font-size:14px;font-weight:700;color:#46575e;}
#standardshero-portal .shw-events-compact .shw-event {padding:14px 16px;}
#standardshero-portal .shw-events-compact .shw-event-headline {font-size:16px!important;line-height:1.4!important;margin:9px 0 4px;}
#standardshero-portal .shw-events-compact .shw-event-standard-title {font-size:14px!important;line-height:1.5;color:#46575e;margin:0 0 9px;}
#standardshero-portal .shw-event-glance {display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;font-size:11px;color:#46575e;}
#standardshero-portal .shw-stage-badge {background:#f8eded;color:#9b302f;border:1px solid #e4c4c4;border-radius:5px;padding:3px 8px;font-weight:600;}
#standardshero-portal .shw-event-details {margin-top:11px;border-top:1px solid #e6e9eb;padding-top:9px;}
#standardshero-portal .shw-event-details summary {font-size:12px;font-weight:600;color:var(--shp-red);cursor:pointer;padding:3px 0;min-height:24px;}
#standardshero-portal .shw-event-details summary:focus-visible {outline:2px solid var(--shp-red);outline-offset:3px;border-radius:5px;}
#standardshero-portal .shw-event-details>div {padding-top:10px;}
#standardshero-portal .shw-empty-updates {padding:25px 16px!important;border:1px solid #dce3e7;border-radius:5px;background:#f7f8f9;font-size:14px;}
#standardshero-portal .shw-load-events {display:flex;justify-content:center;margin:20px 0;}
#standardshero-portal .shw-report-list {display:grid;gap:12px;margin:18px 0;}
#standardshero-portal .shw-report-row {display:flex;justify-content:space-between;gap:16px;align-items:center;padding:17px 18px;border:1px solid #dce3e7;border-left:3px solid var(--shp-red);border-radius:5px;background:#fff;}
#standardshero-portal .shw-report-row h4 {font-size:15px;margin:6px 0;}
#standardshero-portal .shw-report-row p {font-size:12px;color:#46575e;margin:0;}
#standardshero-portal .shw-report-frequency {color:var(--shp-red);font-size:11px;font-weight:700;}
#standardshero-portal .shw-report-row-action {flex-shrink:0;}
@container shp-main (max-width:460px){#standardshero-portal .shw-development-filters{grid-template-columns:1fr;padding:12px;}#standardshero-portal .shw-report-row{align-items:flex-start;flex-direction:column;}#standardshero-portal .shw-event-top{align-items:flex-start;flex-direction:column;gap:7px;}}

/* 1.0.5 — two-column setup/edit choices; full summaries belong in final review.
   The main container width, not the viewport alone, controls the mobile stack.
   Existing selections, scope matching, and automatic saving are unchanged. */
#standardshero-portal .shw-wizard :is(.shw-area-grid,.shw-goal-grid,.shw-choice-stack) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;
}
#standardshero-portal .shw-wizard :is(.shw-area-item,.shw-goal-card,.shw-choice-card) {
  min-width:0;max-width:100%;border-radius:5px;
}
#standardshero-portal .shw-wizard :is(.shw-area-item,.shw-choice-card) {padding:17px 15px;gap:11px;}
#standardshero-portal .shw-wizard .shw-choice-reference {font-size:.9rem;overflow-wrap:anywhere;}
#standardshero-portal .shw-wizard .shw-choice-title {font-size:.85rem;}
#standardshero-portal .shw-wizard .shw-choice-content {gap:6px;}
#standardshero-portal .shw-wizard .shw-record-fields {overflow-wrap:anywhere;}
#standardshero-portal .shw-wizard .shw-choice-stack > :is(.shw-hint,.shw-load-more,.shw-list-empty) {grid-column:1/-1;}
#standardshero-portal .shw-wizard .shw-library-list {padding:2px;}
#standardshero-portal .shw-wizard .shw-toolbar-content {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}
#standardshero-portal .shw-wizard .shw-toolbar-content > div:first-child {grid-column:1/-1;}
#standardshero-portal .shw-wizard .shw-selected-count {color:var(--shp-red);font-weight:650;}
#standardshero-portal .shw-wizard .shw-selection-controls {gap:10px 14px;}
#standardshero-portal .shw-wizard .shw-selection-controls .shw-selection-bulk {margin-left:0;}
#standardshero-portal .shw-wizard .shw-final-layout {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;
}
#standardshero-portal .shw-final-layout > :is(.shw-final-alerts,.shw-final-review) {
  min-width:0;margin:0;padding:16px;border:1px solid #e5d3d3;border-radius:5px;background:#fff;
}
#standardshero-portal .shw-final-layout .shw-final-preferences {grid-template-columns:1fr;gap:18px;}
#standardshero-portal .shw-final-layout .shw-final-preferences .shw-choice-grid {grid-template-columns:1fr;}
#standardshero-portal .shw-final-layout .shw-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#standardshero-portal .shw-final-layout .shw-radio {padding:12px 10px;gap:8px;min-width:0;}
#standardshero-portal .shw-final-layout .shw-radio span {min-width:0;}
#standardshero-portal .shw-final-layout .shw-summary-grid {gap:7px;margin:14px 0;}
#standardshero-portal .shw-final-layout .shw-summary-grid > div {padding:10px 8px;min-width:0;}
#standardshero-portal .shw-final-layout .shw-summary-grid span {overflow-wrap:anywhere;font-size:12px;}
#standardshero-portal .shw-final-layout .shw-checkout {padding:14px;min-width:0;}
#standardshero-portal .shw-final-layout .shw-checkout p {overflow-wrap:anywhere;}
#standardshero-portal .shw-final-layout .shw-checkout form {width:100%;max-width:none;}
#standardshero-portal .shw-final-layout .shw-review-row-heading {gap:10px;}
#standardshero-portal .shw-final-layout .shw-review-row-heading h4 {font-size:15px;}
#standardshero-portal .shw-final-layout .shw-chip {max-width:100%;}
@container shp-main (max-width:600px) {
  #standardshero-portal .shw-wizard :is(.shw-area-grid,.shw-goal-grid,.shw-choice-stack,.shw-toolbar-content,.shw-final-layout) {grid-template-columns:minmax(0,1fr);}
  #standardshero-portal .shw-final-layout > :is(.shw-final-alerts,.shw-final-review) {padding:14px;}
}
@media(max-width:600px) {
  #standardshero-portal .shw-wizard :is(.shw-area-grid,.shw-goal-grid,.shw-choice-stack,.shw-toolbar-content,.shw-final-layout) {grid-template-columns:minmax(0,1fr);}
}

/* Compact unboxed setup navigation; keep the original Watch state and events. */
#standardshero-portal .shp-setup-progress-slot .shw-progress{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-heading{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-intro>strong{font-size:16px;line-height:1.4;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-intro>span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-position{display:block;flex:0 0 auto;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-position>strong{display:none!important;}
#standardshero-portal .shp-setup-progress-slot .shw-progress-track{height:4px;margin-bottom:18px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps{gap:10px;}
#standardshero-portal .shp-setup-progress-slot .shw-progress .shw-steps button.shw-step-button{min-height:64px;padding:12px 14px;align-items:center;}
/* 1.1.1 — concise library-style development cards. Portal only; emails unchanged. */
#standardshero-portal .shw-events-compact {align-items:stretch;gap:16px;}
#standardshero-portal .shw-app .shw-event.shw-event-library {
  display:flex;flex-direction:column;min-width:0;margin:0;padding:18px 20px;
  border:1px solid #dce3e7;border-left:3px solid var(--shp-red);border-radius:5px;background:#fff;box-shadow:none;
  color:var(--shp-ink);font-family:inherit;line-height:1.55;
}
#standardshero-portal .shw-event-library .shw-development-status {
  align-self:flex-start;max-width:100%;margin:0 0 13px;padding:5px 8px;border:1px solid #e4c4c4;border-radius:5px;
  background:#fbf3f3;color:#902f2e;font-size:12px;line-height:1.5;overflow-wrap:anywhere;
}
#standardshero-portal .shw-development-status span {font-weight:500;}
#standardshero-portal .shw-development-status strong {font-weight:650;}
#standardshero-portal .shw-event-library .shw-development-reference {
  font-family:inherit;font-size:15px!important;line-height:1.45!important;font-weight:700;letter-spacing:0;color:#303030;margin:0 0 6px;overflow-wrap:anywhere;
}
#standardshero-portal .shw-event-library .shw-development-title {font-size:15px;line-height:1.55;font-weight:500;color:#303030;margin:0 0 14px;overflow-wrap:anywhere;}
#standardshero-portal .shw-event-library .shw-development-committee {font-size:13px;line-height:1.6;color:#46575e;margin:0 0 10px;overflow-wrap:anywhere;}
#standardshero-portal .shw-development-committee span {font-weight:650;}
#standardshero-portal .shw-event-library .shw-development-description {font-size:14px;line-height:1.65;color:#46575e;margin:0 0 18px;overflow-wrap:anywhere;}
#standardshero-portal .shw-development-actions {margin-top:auto;padding-top:14px;border-top:1px solid #e4e8eb;}
#standardshero-portal .shw-app .shw-event-library a.shw-development-source {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:9px 13px;
  border:1px solid var(--shp-red);border-radius:5px;background:var(--shp-red)!important;color:#fff!important;
  font-family:inherit;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none!important;box-shadow:none;
}
#standardshero-portal .shw-app .shw-event-library a.shw-development-source:hover {background:#902f2e!important;color:#fff!important;border-color:#902f2e;}
#standardshero-portal .shw-app .shw-event-library a.shw-development-source:focus-visible {outline:3px solid var(--shp-red);outline-offset:3px;}
#standardshero-portal .shw-development-source svg {width:15px;height:15px;color:inherit;}
#standardshero-portal .shw-sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
@container shp-main (max-width:480px){#standardshero-portal .shw-app .shw-event.shw-event-library{padding:16px 15px;}}

/* 1.1.2 — three brief, visible explanations; no nested panels or extra accordions. */
#standardshero-portal .shw-event-library .shw-development-status {margin-bottom:10px;}
#standardshero-portal .shw-event-library .shw-development-title {margin-bottom:10px;}
#standardshero-portal .shw-event-library .shw-development-committee {margin-bottom:8px;}
#standardshero-portal .shw-event-library .shw-development-brief {
  display:block;width:100%;padding:0;margin:2px 0 12px;
  color:#46575e;font-family:inherit;font-size:13px;line-height:1.6;
}
#standardshero-portal .shw-event-library .shw-development-brief > div {
  display:block;padding:8px 0;margin:0;border:0;border-top:1px solid #e4e8eb;
  background:transparent;box-shadow:none;min-width:0;
}
#standardshero-portal .shw-event-library .shw-development-brief dt,
#standardshero-portal .shw-event-library .shw-development-brief dd {
  display:inline;padding:0;margin:0;border:0;background:transparent;
  font-family:inherit;font-size:13px;line-height:1.6;letter-spacing:normal;
  text-transform:none;overflow-wrap:anywhere;
}
#standardshero-portal .shw-event-library .shw-development-brief dt {
  color:#303030;font-weight:700;margin-right:4px;
}
#standardshero-portal .shw-event-library .shw-development-brief dd {color:#46575e;font-weight:400;}
#standardshero-portal .shw-event-library .shw-development-actions {padding-top:10px;}

#standardshero-portal .shw-saved-watches {display:grid;gap:.75rem;margin:0 0 1.5rem;}
#standardshero-portal .shw-saved-watches label {display:grid;gap:.35rem;font-weight:600;}
#standardshero-portal .shw-saved-watches :is(select,input) {width:100%;max-width:32rem;font:inherit;}
#standardshero-portal .shw-saved-watches summary {cursor:pointer;text-decoration:underline;text-underline-offset:.2em;}
#standardshero-portal .shw-saved-watches form {display:flex;flex-wrap:wrap;align-items:end;gap:.75rem;margin:.75rem 0;}
