/* Belles & Boots: Owner/transition contributor Discovery.
 * Uses the same .v-outline / .v-knowledge-filters / .v-subgroup /
 * .v-knowledge-entry hierarchy as GM Venue, Staff and Department Discovery.
 * Scoped to the Homestead so the Owner's navigation is unaffected. */
.od-workspace{
 --od-pink:#AF2447;--od-ink:#3D241F;--od-muted:#765F56;--od-line:#CDB8AC;
 color:var(--od-ink);max-width:1360px;width:100%;margin:0 auto;
 font-family:inherit;font-size:13px;min-width:0
}
.od-workspace *, .od-dialog *{box-sizing:border-box}
.od-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 8px}
.od-eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:var(--od-pink,#AF2447)}
.od-head h2{font:700 clamp(23px,2.3vw,29px)/1.16 "Bree Serif",Georgia,serif;margin:3px 0 4px;color:var(--od-ink)}
.od-head p{font-size:12px;line-height:1.45;color:var(--od-muted);margin:0;max-width:840px}
.od-meta{background:#F2E3D9;border:1px solid #DAC2B7;border-radius:30px;font-size:11px;font-weight:700;padding:7px 10px}
.od-dept-bar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:12px 0 8px}
.od-dept-bar>div:first-child{width:min(100%,350px)}
.od-dept-bar label{display:block;margin:0 0 5px;font-weight:700;font-size:11px}
.od-dept-bar select,.od-dialog select,.od-dialog input,.od-dialog textarea{
 width:100%;min-height:40px;background:#FFFCF7;border:1px solid #D8BEB4;
 border-radius:8px;color:#38251F;padding:8px 10px;font:inherit
}
.od-dept-bar .od-count{font-size:11px;color:var(--od-muted);padding-bottom:10px}
.od-stats{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--od-muted);margin:0 0 9px}
.od-next{
 display:flex;align-items:center;gap:12px;flex-wrap:wrap;
 border-left:3px solid var(--od-pink);background:#F7E9E2;
 border-radius:3px 8px 8px 3px;padding:8px 12px;margin:8px 0 12px
}
.od-next>span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#AA2A50;white-space:nowrap}
.od-next-link{
 flex:1;min-width:160px;background:none;border:0;color:#432B23;text-align:left;
 font-size:12px;font-weight:650;line-height:1.45;font-family:inherit;padding:1px 0;cursor:pointer
}
.od-next-link>span{margin-left:8px;color:var(--od-pink)}
.od-next-link:hover{text-decoration:underline;text-underline-offset:3px}
.od-feedback{font-size:11px;font-weight:650;color:#32744F;line-height:1.4;margin:6px 0}
.od-feedback:empty{display:none}.od-feedback[data-error="true"]{color:#B22A4C}
.od-btn{border:1px solid #C8A99C;background:#FFF9F2;color:#422B25;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:700;cursor:pointer}
.od-btn-primary{background:var(--od-pink);border-color:var(--od-pink);color:#fff}
.od-workspace button:focus-visible,.od-dialog button:focus-visible,.od-workspace select:focus-visible,
.od-dialog textarea:focus-visible,.od-dialog input:focus-visible,.od-dialog select:focus-visible{
 outline:2px solid var(--od-pink);outline-offset:3px
}
/* GM's Discovery subject accordion */
.od-workspace .v-outline{border-top:1px solid #BCA69B;margin-top:10px}
.od-workspace .v-outline-section{border-bottom:1px solid #D0B9AD;background:transparent}
.od-workspace .v-section-line{display:flex;align-items:center;gap:8px;padding:0 4px}
.od-workspace .v-section-toggle{
 background:transparent;border:0;color:#39241E;display:flex;align-items:center;
 gap:12px;width:100%;min-width:0;flex:1;text-align:left;padding:13px 0;cursor:pointer
}
.od-workspace .v-section-toggle strong{font-size:14px;font-weight:730;line-height:1.45;flex:1;min-width:0}
.od-workspace .v-section-toggle small{font-size:11px;font-weight:500;line-height:1.4;color:#82685D;white-space:nowrap}
.od-workspace .v-arrow{font-size:21px;line-height:1;width:17px;flex:0 0 17px;text-align:center;color:#AE4765}
.od-workspace .v-section-toggle:hover strong{color:#A81F4C}
.od-workspace .v-knowledge-filters{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
 padding:7px 4px 10px 29px
}
.od-workspace .v-filter-button{
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 border:1px solid #D7BEB2;background:#FFFBF6;color:#785E55;
 border-radius:8px;min-height:44px;padding:9px 12px;cursor:pointer;
 text-align:left;font-size:12px;font-weight:650;line-height:1.4;font-family:inherit
}
.od-workspace .v-filter-button strong{font-size:13px;color:#83645D;font-weight:780;font-variant-numeric:tabular-nums}
.od-workspace .v-filter-button.active{background:#F6DFE6;border-color:#BB718A;color:#9C244D}
.od-workspace .v-filter-button.active strong{color:#922349}
.od-workspace .v-filter-button:hover{border-color:#B35C79;background:#F9E9EC}
/* Subsections collapse exactly like the GM's: an outline, not separate cards */
.od-workspace .v-subgroup{padding:0 4px 5px 29px}
.od-workspace .v-subgroup-head{
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 padding:4px 0;border-bottom:1px solid #E4D0C4
}
.od-workspace .v-subgroup-toggle{
 display:flex;align-items:center;gap:9px;flex:1;min-width:0;
 border:0;background:transparent;color:#39241E;text-align:left;cursor:pointer;padding:9px 0
}
.od-workspace .v-subgroup-toggle>span{font-size:19px;line-height:1;color:#AA5E74;width:14px;flex:0 0 14px}
.od-workspace .v-subgroup-toggle strong{font-size:12px;font-weight:700;line-height:1.5}
.od-workspace .v-subgroup-toggle small{margin-left:auto;color:#866E64;font-size:10px;white-space:nowrap}
.od-workspace .v-subgroup-toggle:hover strong{color:#AF2447}
.od-workspace .v-quiet{
 padding:5px 7px;background:transparent;border:0;color:#9F2A4F;
 white-space:nowrap;font-size:11px;font-weight:670;cursor:pointer
}
.od-workspace .v-quiet:hover{text-decoration:underline;text-underline-offset:3px}
.od-workspace .v-empty-subgroup,.od-workspace .v-knowledge-empty{
 font-size:11px;color:#856F65;line-height:1.5;padding:10px 4px;margin:0 0 5px 29px
}
.od-workspace .v-knowledge-empty{margin:5px 12px 12px 29px}
.od-workspace .v-knowledge-entry{border-bottom:1px solid #E7D8CF}
.od-workspace .v-knowledge-entry:last-child{border-bottom:0}
.od-workspace .v-question-row{display:flex;align-items:center}
.od-workspace .v-question-click{
 display:flex;align-items:center;gap:10px;width:100%;min-width:0;
 padding:10px 0;background:transparent;border:0;color:#402A24;
 text-align:left;cursor:pointer
}
.od-workspace .v-question-click:hover .v-q-label{text-decoration:underline;text-underline-offset:3px}
.od-workspace .v-question-mark{width:16px;flex:0 0 16px;color:#AA4564;font-size:14px;text-align:center}
.od-workspace .v-question-content{display:grid;gap:3px;flex:1;min-width:0;line-height:1.5}
.od-workspace .v-q-label{font-size:12px;font-weight:640;line-height:1.5}
.od-workspace .v-kb-answer{font-size:12px;color:#634D42;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.od-workspace .v-kb-unanswered{font-size:11px;color:#998078}
.od-workspace .v-kb-meta{font-size:10px;color:#806B60}
.od-workspace .v-kb-to-confirm{font-size:10px;color:#AC693C;font-weight:650}
.od-workspace .v-question-status{font-size:10px;color:#84665B;white-space:nowrap;margin-left:9px}
.od-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 0}
.od-foot span{font-size:11px;color:#897066}
/* One-question editor, kept separate from the page scroll */
.od-dialog{
 border:1px solid #CEAD9E;background:#FFF9F1;color:#3D241F;border-radius:14px;
 padding:20px;max-width:min(600px,calc(100vw - 24px));width:100%;
 max-height:calc(100dvh - 25px);overflow-y:auto;box-shadow:0 20px 70px #28101855
}
.od-dialog::backdrop{background:#2214168A}
.od-dialog h3{font:700 clamp(18px,3vw,22px)/1.25 "Bree Serif",Georgia,serif;margin:5px 0 9px}
.od-dialog p{font-size:12px;line-height:1.5;color:#6A544E}
.od-dialog label{display:block;font-size:12px;font-weight:750;margin:12px 0 5px}
.od-dialog textarea{resize:vertical;min-height:124px;max-height:38vh}
.od-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:15px}
@media(max-width:680px){
 .od-head{align-items:flex-start}
 .od-meta{font-size:10px}
 .od-dept-bar{display:block;margin:11px 0}
 .od-dept-bar>div:first-child{width:100%}
 .od-dept-bar .od-count{padding:7px 0 0}
 .od-workspace .v-section-toggle{gap:7px}
 .od-workspace .v-section-toggle strong{font-size:13px}
 .od-workspace .v-section-toggle small{font-size:10px}
 .od-workspace .v-knowledge-filters{padding-left:22px;gap:6px}
 .od-workspace .v-filter-button{padding:9px 7px;font-size:11px;min-height:44px}
 .od-workspace .v-subgroup{padding-left:21px}
 .od-workspace .v-subgroup-toggle{gap:6px}
 .od-workspace .v-subgroup-toggle small{font-size:10px}
 .od-workspace .v-question-status{font-size:9px;max-width:75px;white-space:normal;text-align:right}
 .od-workspace .v-quiet{padding:5px 3px}
 .od-next{padding:8px}
 .od-dialog{padding:16px}
}

/* Ownership Discovery mirrors the GM's large next question and slim outline. */
.od-workspace{max-width:none;font-size:13px}
.od-head{align-items:flex-end;margin-bottom:8px}
.od-head h2{font:700 clamp(26px,2.5vw,34px)/1.16 "Bree Serif",Georgia,serif;margin:4px 0 5px}
.od-head p{font-size:13px;line-height:1.5}
.od-dept-bar{margin:8px 0 14px;gap:12px}
.od-dept-bar>div:first-child{width:min(100%,340px)}
.od-dept-bar select{min-height:43px}
.od-start-panel{background:#F9EAE6;border:1px solid #D9ACAD;border-left:4px solid #AF2447;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 27px;margin:12px 0 22px}
.od-start-copy{min-width:0;flex:1}
.od-start-label{display:block;color:#AF2447;font-weight:800;letter-spacing:.09em;font-size:11px;margin:0 0 10px}
.od-start-copy h3{font:700 clamp(22px,2.4vw,30px)/1.18 "Bree Serif",Georgia,serif;color:#3D241F;margin:0 0 8px}
.od-start-copy p{font-size:14px;line-height:1.55;color:#654A40;margin:0;max-width:560px}
.od-open-question{font:750 13px/1.3 Inter,Arial,sans-serif;background:#AF2447;color:#fff;border:1px solid #AF2447;border-radius:10px;padding:13px 17px;min-height:46px;white-space:nowrap;cursor:pointer}
.od-open-question:hover{background:#971D3D}
.od-discovery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin:0 0 15px;color:var(--od-muted);font-size:12px}
.od-workspace .v-outline{border-top:1px solid #BCA69B;margin-top:0}
.od-workspace .v-section-toggle{padding:14px 0;gap:11px}
.od-workspace .v-section-toggle strong{font-size:15px;line-height:1.4}
.od-workspace .v-section-toggle small{font-size:11px}
.od-workspace .v-knowledge-filters{display:inline-flex;grid-template-columns:none;gap:4px;width:auto;max-width:calc(100% - 30px);border:1px solid #D2BAB0;border-radius:9px;padding:3px;margin:4px 0 12px 29px}
.od-workspace .v-filter-button{display:inline-flex;justify-content:center;min-width:130px;min-height:36px;white-space:nowrap;background:transparent;border:1px solid transparent;border-radius:6px;padding:7px 11px;font-size:12px}
.od-workspace .v-filter-button.active{color:#8F1B3B;border-color:#BE8795;background:#F5E1E6}
.od-workspace .v-subgroup{padding:0 4px 5px 29px}
.od-workspace .v-subgroup-head{padding:8px 0}
.od-workspace .v-subgroup-toggle{min-height:43px}
.od-workspace .v-subgroup-toggle strong{font-size:13px}
.od-workspace .v-question-click{min-height:46px}
@media(max-width:680px){.od-start-panel{padding:15px;align-items:stretch;flex-direction:column;gap:12px}.od-open-question{align-self:flex-start}.od-start-copy h3{font-size:22px}.od-workspace .v-knowledge-filters{margin-left:17px;max-width:calc(100% - 18px)}.od-workspace .v-filter-button{min-width:0;padding:8px 11px}.od-workspace .v-subgroup{padding-left:16px}.od-discovery-toolbar{flex-wrap:wrap}}

/* Owner Front Porch Discovery: one question + scrollable subject list, no page-long layout.
   Native dialogs retain the shared, permission-aware data flow. */
.owner-front-porch-workspace .od-workspace{
 display:flex;flex-direction:column;flex:1 1 auto;width:100%;max-width:none;
 height:100%;min-height:0;min-width:0;overflow:hidden;
 padding:12px 15px 9px;margin:0;gap:0;
}
.owner-front-porch-workspace .od-head{flex:none;gap:6px;margin:0 0 7px}
.owner-front-porch-workspace .od-head h2{font-size:22px;line-height:1.2;margin:0}
.owner-front-porch-workspace .od-head p{display:none}
.owner-front-porch-workspace .od-eyebrow{font-size:9px;letter-spacing:.1em}
.owner-front-porch-workspace .od-meta{font-size:10px;padding:4px 8px}
.owner-front-porch-workspace .od-dept-bar{
 display:flex;align-items:flex-end;flex:none;gap:12px;
 padding:0 0 8px;margin:0 0 6px;
}
.owner-front-porch-workspace .od-dept-bar>div:first-child{width:min(100%,340px)}
.owner-front-porch-workspace .od-dept-bar label{font-size:11px;margin:0 0 4px}
.owner-front-porch-workspace .od-dept-bar select{
 min-height:39px;padding:7px 10px;font-size:14px;
 background:#FFF9F1;color:#3D241F;border:1px solid #CDB8AC;
}
.owner-front-porch-workspace .od-dept-bar .od-count{font-size:11px;padding-bottom:8px}
.owner-front-porch-workspace .od-start-panel{
 flex:none;align-items:center;gap:16px;
 padding:12px 15px;margin:0 0 7px;
 border-radius:9px;box-shadow:none;
}
.owner-front-porch-workspace .od-start-label{font-size:10px;margin:0 0 5px}
.owner-front-porch-workspace .od-start-copy h3{
 font:700 clamp(20px,2vw,24px)/1.26 "Bree Serif",Georgia,serif;
 margin:0;color:#3D241F;
}
.owner-front-porch-workspace .od-start-copy p{display:none}
.owner-front-porch-workspace .od-open-question{min-height:40px;padding:8px 13px;font-size:12px;flex:none}
.owner-front-porch-workspace .od-discovery-toolbar{
 flex:none;min-height:27px;margin:0;padding:2px 1px 5px;font-size:11px;
}
.owner-front-porch-workspace .od-workspace>.v-outline{
 display:block;flex:1 1 auto;min-height:0;
 overflow-y:auto;overscroll-behavior:contain;
 margin:0;border-top:1px solid #CDB8AC;
 scrollbar-width:thin;scrollbar-color:#B6A294 transparent;
}
.owner-front-porch-workspace .v-section-toggle{padding:11px 0}
.owner-front-porch-workspace .v-subgroup-head{padding:2px 0}
.owner-front-porch-workspace .v-subgroup-toggle{min-height:40px;padding:6px 0}
.owner-front-porch-workspace .v-knowledge-filters{margin-top:3px;margin-bottom:8px}
.owner-front-porch-workspace .od-feedback:not(:empty){flex:none;margin:3px 0 6px}
.owner-front-porch-workspace .od-foot{
 flex:none;display:flex;align-items:center;justify-content:space-between;
 margin:0;padding:6px 0 0;min-height:40px;
 background:var(--paper,#FFF9F1);border-top:1px solid #D7C0AD;
}
.owner-front-porch-workspace .od-foot span{font-size:10px;color:#765F56}
.owner-front-porch-workspace .od-foot button{min-height:32px;padding:6px 10px;font-size:11px}
.owner-front-porch-workspace .od-dialog[open]{
 width:min(100% - 20px,640px);max-height:calc(100dvh - 18px);
 overflow-y:auto;padding:16px 18px;border-radius:11px;
}
.owner-front-porch-workspace .od-dialog #od-form{display:flex;flex-direction:column;min-height:0}
.owner-front-porch-workspace .od-dialog h3{font-size:clamp(20px,2.5vw,24px);line-height:1.3;margin:4px 0 5px}
.owner-front-porch-workspace .od-dialog p{margin:0 0 4px;line-height:1.4}
.owner-front-porch-workspace .od-dialog label{margin:9px 0 4px}
.owner-front-porch-workspace .od-dialog textarea{min-height:95px;height:clamp(95px,17dvh,155px);resize:vertical;font-size:16px}
.owner-front-porch-workspace .od-dialog-actions{
 position:sticky;bottom:-16px;z-index:1;display:flex;
 justify-content:flex-end;gap:8px;margin:10px -18px -16px;
 padding:11px 18px 13px;background:#FFF9F1;border-top:1px solid #D7C0AD;
}
.owner-front-porch-workspace .od-dialog-actions button{min-height:40px}
@media(max-width:850px){
 .owner-front-porch-workspace .od-workspace{padding:9px 10px 5px}
 .owner-front-porch-workspace .od-head{margin:0 0 5px}
 .owner-front-porch-workspace .od-head .od-eyebrow,
 .owner-front-porch-workspace .od-head .od-meta{display:none}
 .owner-front-porch-workspace .od-head h2{font-size:18px;margin:0}
 .owner-front-porch-workspace .od-dept-bar{padding:0 0 5px;margin:0 0 4px}
 .owner-front-porch-workspace .od-dept-bar>div:first-child{width:100%}
 .owner-front-porch-workspace .od-dept-bar .od-count{display:none}
 .owner-front-porch-workspace .od-dept-bar select{min-height:41px;font-size:16px;padding:7px 10px}
 .owner-front-porch-workspace .od-start-panel{
  flex-direction:row;align-items:center;gap:8px;
  padding:10px 11px;margin:3px 0 6px;
 }
 .owner-front-porch-workspace .od-start-label{font-size:9px;margin-bottom:4px}
 .owner-front-porch-workspace .od-start-copy h3{font-size:19px;line-height:1.25}
 .owner-front-porch-workspace .od-open-question{font-size:11px;padding:7px 10px;min-height:38px;white-space:normal}
 .owner-front-porch-workspace .od-discovery-toolbar{min-height:25px;padding:2px 0 5px;font-size:11px;gap:6px;margin:0}
 .owner-front-porch-workspace .v-section-toggle{padding:11px 0;gap:7px}
 .owner-front-porch-workspace .v-section-toggle strong{font-size:14px}
 .owner-front-porch-workspace .v-section-toggle small{font-size:10px}
 .owner-front-porch-workspace .v-knowledge-filters{margin-left:12px}
 .owner-front-porch-workspace .v-subgroup{padding-left:12px}
 .owner-front-porch-workspace .od-foot span{display:none}
 .owner-front-porch-workspace .od-foot{min-height:37px}
 .owner-front-porch-workspace .od-dialog[open]{
  width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:12px 14px;
 }
 .owner-front-porch-workspace .od-dialog h3{font-size:21px}
 .owner-front-porch-workspace .od-dialog textarea{height:clamp(95px,14dvh,130px)}
 .owner-front-porch-workspace .od-dialog-actions{
  bottom:-12px;margin:8px -14px -12px;padding:9px 14px 12px;
 }
}
@media(max-width:390px){
 .owner-front-porch-workspace .od-start-panel{align-items:stretch;flex-direction:column;gap:7px}
 .owner-front-porch-workspace .od-open-question{align-self:flex-end}
}
