/* Copyright (c) 2026 Bang Technology. All rights reserved.
Part of Vineyard Console, built by Bang Technology for Vineyard Church Greenwood. See NOTICE. */
#vc-frame{flex:none;color:var(--fg);font:400 14px/1.45 var(--font-ui);z-index:40}
body.vc-app > header,body.vc-app #phead,body.vc-app #segments,body.vc-app #sheetgrab,body.vc-app #sheetpeek{display:none!important}
body.vc-app #panel{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;border:0!important;transform:none!important;animation:none!important;border-radius:0!important;flex:1}
body.vc-app #stage{display:flex!important;min-height:0;flex:1;width:100%;padding:0!important;max-width:none!important}
body.vc-app:not(.vc-selah) #log,body.vc-app:not(.vc-selah) #jump,body.vc-app:not(.vc-selah) #composer,body.vc-app:not(.vc-selah) > footer{display:none!important}
body.vc-app #clips{width:100%;padding:0!important}
body.vc-app #clips .cl-root{max-width:none}
body.vc-app #clips .home{max-width:var(--page-max);margin:auto;padding:24px var(--gutter) 40px}
body.vc-app #clips :is(.top-acts,.act-nav,.home-chat,.b6-cosmos-nav){display:none!important}
body.vc-app #clips :is(.home > .top,.hn-home > .top){margin-bottom:0}
body.vc-app[data-vc-role="pastor"] #clips .cl-ops,body.vc-app[data-vc-role="marketing"] #clips .cl-ops,body.vc-app:not([data-vc-role="operator"]) #clips :is([data-ops-slot],.hn-health){display:none!important}
body.vc-app #clips .ops{display:none!important}
body.vc-app[data-vc-role="operator"] #clips .ops{display:block!important}
body.vc-app:not([data-vc-role="operator"]) :is(#meter,#ctxtap,#pwr,#model,#models){display:none!important}
#vc-frame .shell{position:relative;padding-top:env(safe-area-inset-top);height:calc(var(--shell-h) + env(safe-area-inset-top));gap:12px}
#vc-frame .shell__nav a{padding:0 10px}#vc-frame .shell__nav .ic{display:none}
#vc-frame .shell__brand{font-size:13px;letter-spacing:.04em}
#vc-frame .shell__title{display:none}
#vc-frame .vc-more{position:relative;flex:none}
#vc-frame summary{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;cursor:pointer;list-style:none;font-weight:700;font-size:13px}
#vc-frame summary::-webkit-details-marker{display:none}
#vc-frame .vc-menu{position:absolute;right:0;top:46px;z-index:75;width:240px;padding:8px;background:var(--surface-pop);border:1px solid var(--line-2);border-radius:var(--r-lg);box-shadow:var(--e-2)}
#vc-frame .vc-menu :is(a,button){display:flex;align-items:center;min-height:44px;padding:0 12px;width:100%;border:0;background:none;color:var(--fg);text-decoration:none;text-align:left;font:600 14px var(--font-ui);border-radius:6px;cursor:pointer}
#vc-frame .vc-menu :is(a,button):hover{background:var(--surface-3)}#vc-frame .vc-menu .meta{display:block;padding:8px 12px;overflow-wrap:anywhere}
body.vc-app .vc-ui{font:400 14px/1.45 var(--font-ui)}
body.vc-app #clips .vc-ui :is(button,a,input,textarea,select){font-size:max(12px,1em)}
body.vc-app #clips .vc-ui :is(input,textarea,select){font-size:16px}
body.vc-app #clips .vc-ui .page{padding:24px var(--gutter) 64px}
body.vc-app #clips .vc-ui .card{max-width:1200px}
body.vc-app #clips .vc-ui .pagehead{margin-bottom:24px}
body.vc-app #clips .vc-ui :is(.pagehead__crumbs a,.list__row,.menu__item){min-height:44px}
body.vc-app #clips .vc-ui .stack{display:grid;gap:16px}
body.vc-app #clips .vc-ui .sty-section{margin-bottom:32px}
body.vc-app #clips .vc-ui .sty-section h2{margin-bottom:12px}
body.vc-app #clips .vc-ui .sty-swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
body.vc-app #clips .vc-ui .sty-swatch{padding:16px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
body.vc-app #clips .vc-ui .sty-swatch i{display:block;height:48px;margin-bottom:8px;border-radius:6px;background:var(--swatch)}
@media(min-width:761px) and (max-width:1279px){#vc-frame .shell__brand span{display:none}#vc-frame .shell__nav{margin-left:0}}
/* Between the phone layout and a full laptop (761 to 1023 wide) the bar keeps the five places, Views and More as they
   are, but all of it with the full gutters did not fit: the owner's bar ran past the screen up to 885 wide and
   touched its edge up to 917, and the operator's Admin pages (which add Back) up to 990. Here the gutters and the
   places' padding are tighter, and "Add a sermon" and Back show their icon only, 44px, with the words kept for a
   screen reader. (#vc-frame.vc-ui: components.css is nested under #vc-frame, so a plain #vc-frame rule loses to it.) */
@media(min-width:761px) and (max-width:1023px){
 #vc-frame.vc-ui .shell{padding-left:16px;padding-right:16px;gap:12px}
 #vc-frame.vc-ui .shell__nav a{padding:0 6px}#vc-frame.vc-ui .shell__nav a.is-on::after{left:6px;right:6px}
 #vc-frame.vc-ui .shell__right > .btn{min-height:44px;min-width:44px}
 #vc-frame.vc-ui .shell__add,#vc-frame.vc-ui .shell__right > [data-shell-back]{position:relative;width:44px;padding:0}
 #vc-frame.vc-ui .shell__add span,#vc-frame.vc-ui .shell__right > [data-shell-back] span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media(max-width:760px){
 #vc-frame .shell{padding-left:16px;padding-right:12px;gap:8px}#vc-frame .shell__title{display:block;font:800 16px var(--font-head);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #vc-frame .shell__brand span,#vc-frame .shell__nav{display:none}#vc-frame .shell__right{gap:2px}#vc-frame .shell__views span,#vc-frame .shell__add span{display:none}
 #vc-frame .shell__views,#vc-frame .shell__add{min-width:44px;min-height:44px}
 #vc-frame .tabbar{display:flex;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
 #vc-frame .tabbar a{font-size:12px;min-height:44px}
 body.vc-app #stage{margin-bottom:calc(64px + env(safe-area-inset-bottom))}
 body.vc-app[data-vc-chrome="focus"] #vc-frame .tabbar{display:none}body.vc-app[data-vc-chrome="focus"] #stage{margin-bottom:0}
 body.vc-app #clips input,body.vc-app #clips select,body.vc-app #clips textarea{font-size:16px!important}
 body.vc-app #clips .home{padding:16px 16px 24px}
 body.vc-app #clips .vc-ui .page{padding:16px 16px 32px}
}
@media(min-width:2200px){body.vc-app #clips .hn-zones{max-width:2400px;margin:auto}body.vc-app #clips .hn-left{max-width:720px}}
@media(prefers-reduced-motion:reduce){#vc-frame *,#clips .vc-ui *{animation:none!important;transition:none!important}}
/* The old desktop console re-parents its pane to body; both placements share the same frame. */
body.vc-app{display:flex!important;flex-direction:column;height:100dvh;min-height:0;overflow:hidden}
body.vc-app:has(> #panel:not([hidden])) #stage{display:none!important}
body.vc-app > #panel{height:auto!important;min-height:0!important}
#vc-frame{width:100%;min-width:0}
#vc-frame .shell{flex-direction:row;flex-wrap:nowrap;position:relative;align-items:center;padding-bottom:0;min-width:0;backdrop-filter:none;background:#121211}
#vc-frame .shell__brand img{max-width:28px}
body.vc-app #clips .home-top > :is(a,button){display:none!important}
body.vc-app:not([data-vc-role="operator"]) :is(#cmodel,#cmodelpay,#think,#ctxtap,#pwr){display:none!important}
body.vc-app.vc-selah > footer{display:block!important}
body.vc-app.vc-selah #say{font-size:16px}
@media(max-width:760px){body.vc-app.vc-selah > footer{margin-bottom:calc(64px + env(safe-area-inset-bottom))}body.vc-app.vc-selah #stage{margin-bottom:0}}
body.vc-app:not([data-vc-role="operator"]) #clips :is(.cl-ops,[data-health]){display:none!important}
@media(min-width:1101px) and (max-width:2199px){body.vc-app #clips .hn-left .q-player{max-height:200px}body.vc-app #clips .hn-left .q-facts{gap:4px}}
/* Display only: the server capability table remains the authority (integrity lane). */
body.vc-app[data-vc-role="marketing"] #clips .btn-approve{display:none!important}
body.vc-app[data-vc-role="marketing"] #clips [data-k="approve-clip"],body.vc-app[data-vc-role="marketing"] #clips [data-k="approve-pkg"]{display:none!important}
body.vc-app #clips .vc-back{display:inline-flex;align-items:center;gap:6px;min-width:44px;min-height:44px;width:auto;white-space:normal;font-size:13px;color:var(--fg-3);text-decoration:none}
body.vc-app #clips .vc-back .ic{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;flex:none}
body.vc-app #clips .rv-chat{display:none!important}
body.vc-app[data-vc-chrome="bare"] #vc-frame{display:none}
body.vc-app[data-vc-chrome="bare"] #stage{margin-bottom:0}
/* Shared page headers must not inherit the old console's global header chrome. */
body.vc-app #clips .vc-ui .pagehead{position:static;flex-direction:row;background:none;backdrop-filter:none;border:0;padding:0;grid-area:auto;height:auto;min-width:0;box-shadow:none}
@media(max-width:760px){body.vc-app #clips .vc-ui .pagehead{flex-direction:column;align-items:stretch}}
/* Old dialogs live in Clips. Keep the pane out of a stacking context so they cover fixed tabs. */
body.vc-app #panel{z-index:auto!important;backdrop-filter:none!important}

/* Every shell link, including brand/More, needs an authored keyboard focus ring. */
#vc-frame.vc-ui :focus-visible{outline:2px solid var(--accent);outline-offset:3px}

#vc-frame.vc-ui .shell__add{min-height:44px;min-width:44px}
@media(max-width:760px){#vc-frame.vc-ui .shell__views{min-height:44px;min-width:44px}}

#vc-frame.vc-ui .shell__brand{color:var(--fg)}
@media(max-width:760px){#vc-frame.vc-ui .shell__right > .btn{min-height:44px;min-width:44px}}

/* The unified frame owns navigation; retired pop-out chrome cannot cover it. */
body.vc-app #rpctl{display:none!important}
#vc-frame .shell__ops{border-top:1px solid var(--line);color:var(--warn)}
#vc-frame .shell__ops[hidden]{display:none}
body.vc-app.vc-selah > footer{--ap-chrome:calc(var(--shell-h) + 150px)}
@media(max-width:760px){body.vc-app.vc-selah > footer{--ap-chrome:calc(var(--shell-h) + 214px)}}

/* A short screen keeps answers separate from the composer; only command text scrolls. */
body.vc-app.vc-selah > footer{flex:none}
@media(max-height:480px){
 body.vc-app.vc-selah > footer{padding-top:6px;padding-bottom:6px;--ap-chrome:calc(var(--shell-h) + 112px)}
 body.vc-app.vc-selah #approvalcard{min-height:0}
 body.vc-app.vc-selah #approvalcard > .apcmd{min-height:1.4em}
}

#vc-frame summary[data-ops-attention="true"]::after{content:"";width:7px;height:7px;margin-left:6px;border-radius:50%;background:var(--warn)}

@media(max-height:480px){
 body.vc-app.vc-selah #approvalcard{padding-top:4px;padding-bottom:4px}
 body.vc-app.vc-selah #approvalcard > .apcmd{min-height:32px}
 body.vc-app.vc-selah #approvalcard :is(.apwhere,.apwarn){margin-top:0}
}
/* On a phone "Add a sermon" and "Views" are icons. Their words were taken out with display:none, which also left the
   two controls with no name for a screen reader. The words stay in the page, out of sight; nothing moves. */
@media(max-width:760px){
 #vc-frame.vc-ui .shell__add,#vc-frame.vc-ui .shell__views{position:relative}
 #vc-frame.vc-ui .shell__add span,#vc-frame.vc-ui .shell__views span{display:inline;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
