/* AICO-owned page shell styles. Edit directly; no external Frame build is required. */
/* Frame geometry is shared across PWAs. Override colours, not border geometry. */
:root{
  --frame-border-color:#ffd259;
  --frame-border-width:2px;
  --frame-row-controls-height:58px;
  --frame-row-height:calc(var(--frame-row-controls-height) + 2 * var(--frame-border-width));
  --frame-back-width:34px;
  --frame-menu-width:46px;
  --frame-left-helper-width:18px;
  --frame-right-helper-width:32px;
  --frame-helper-gap:10px;
  --frame-helper-step:50px;
  --frame-ink:#12333b;
  --frame-teal:#075161;
  --frame-nav:rgba(7,81,97,.68);
  --pwa-main-navigation-height:62px;
  --pwa-bottom-navigation-clearance:124px;
}
:root{--frame-body-font-size:18px;--frame-nav-font-size:12.3px;--frame-nav-icon-size:26px;--frame-nav-icon-stroke:2.4;--frame-header-height:52px}
@media(max-width:767px){:root{--frame-left-helper-width:18px}}
:root{--frame-desktop-nav-width:152px}

:root{--frame-gutter:4px;--frame-content-left:calc(var(--frame-left-helper-width) + var(--frame-gutter));--frame-content-right:calc(var(--frame-right-helper-width) + var(--frame-gutter))}

/* Frame owns layout and controls. Application adapters own only application content. */
@font-face{font-family:'Open Sans';src:url('./fonts/opensans-regular.woff2?v=6b37da8124dcbe65') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Open Sans';src:url('./fonts/opensans-semibold.woff2?v=6b37da8124dcbe65') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Open Sans';src:url('./fonts/opensans-bold.woff2?v=6b37da8124dcbe65') format('woff2');font-style:normal;font-weight:700;font-display:swap}
body.pwa-frame{margin:0;width:100%;height:var(--app-height,100dvh);display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top);background:#eef7f8 linear-gradient(#349fb7,#b3e6d7);color:var(--frame-ink);font:400 var(--frame-body-font-size)/1.6 'Open Sans',system-ui,sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.pwa-frame *{box-sizing:border-box}
.pwa-frame [hidden]{display:none}
.frame-icon-definitions,.app-icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.pwa-frame .frame-header{position:relative;z-index:20;display:flex;align-items:center;flex:none;height:var(--frame-header-height);min-height:var(--frame-header-height);gap:0;padding:0;border-block:var(--frame-border-width) solid var(--frame-border-color);background:var(--frame-teal)}
.pwa-frame .frame-header .frame-back,.pwa-frame .frame-header .frame-menu{padding:0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none}
.pwa-frame .frame-header .frame-back:hover,.pwa-frame .frame-header .frame-menu:hover{background:transparent}
.pwa-frame .frame-brand{position:relative;display:block;align-self:center;height:27px;padding:0 0 0 13px;color:#fff;font:400 27px/27px 'Patua One',Georgia,serif;text-decoration:none;letter-spacing:0}
.pwa-frame .frame-brand .frame-beta{position:absolute;top:calc(100% - 2px);right:0;padding:1px 4px;border-radius:2px;background:#00d9ae;color:#075161;font:700 10px/1.1 'Open Sans',system-ui,sans-serif;letter-spacing:0}
.frame-back{display:flex;align-items:center;justify-content:center;align-self:stretch;flex:0 0 var(--frame-back-width);width:var(--frame-back-width);min-width:var(--frame-back-width);padding:0;border:0;background:transparent;color:#fff;cursor:pointer}
.frame-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.frame-menu{display:flex;align-items:center;justify-content:center;flex:0 0 var(--frame-menu-width);width:var(--frame-menu-width);height:44px;margin-left:auto;border:0;background:transparent;color:#fff;cursor:pointer}
.frame-menu-bars{display:flex;flex-direction:column;justify-content:center;gap:4px;height:24px}
.frame-menu-bars span{display:block;width:21px;height:2px;flex:none;border-radius:2px;background:currentColor}
.frame-menu>.frame-menu-bars span{width:20px}
.frame-content{padding-left:var(--frame-content-left);padding-right:var(--frame-content-right);display:flex;flex:1;min-height:0;width:100%;margin:0;overflow:hidden}
.frame-bottom{display:grid;grid-template-columns:var(--frame-back-width) minmax(0,1fr) var(--frame-menu-width);width:100%;min-height:calc(var(--frame-row-height) + env(safe-area-inset-bottom,0px));padding:0 0 env(safe-area-inset-bottom,0px);border-block:var(--frame-border-width) solid var(--frame-border-color);background:var(--frame-nav);backdrop-filter:blur(6px);color:rgba(255,255,255,.82)}
.pwa-frame .frame-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:var(--frame-row-controls-height);padding:0 2px;border:0;border-radius:0;background:transparent;color:inherit;font:700 var(--frame-nav-font-size)/1.05 'Open Sans',system-ui,sans-serif;cursor:pointer}
.frame-tab svg{width:var(--frame-nav-icon-size);height:var(--frame-nav-icon-size);fill:none;stroke:currentColor;stroke-width:var(--frame-nav-icon-stroke);stroke-linecap:round;stroke-linejoin:round}
.frame-bottom>.frame-back{grid-column:1;grid-row:1;z-index:1}
.frame-bottom>.frame-tab-menu{grid-column:3;grid-row:1;width:var(--frame-menu-width);z-index:1}
.frame-bottom>.frame-tab.is-active{grid-column:1/-1;grid-row:1;justify-self:center;width:64px;color:#00d9ae}
.frame-tab:disabled{opacity:.5;cursor:default}
.frame-account-actions{display:flex;flex-direction:column;gap:6px}
.frame-account-actions button{min-height:48px;padding:10px 12px;border:0;background:transparent;color:#075161;text-align:left;font:18px/1.5 'Open Sans',system-ui,sans-serif;cursor:pointer}
.pwa-frame .frame-btn-primary,.pwa-frame .frame-btn-ghost{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 16px;border:1px solid #075161;border-radius:8px;font:700 18px/1.3 'Open Sans',system-ui,sans-serif;text-decoration:none;cursor:pointer}
.pwa-frame .frame-btn-primary{background:#00b894;border-color:#00b894;color:#fff}
.pwa-frame .frame-btn-ghost{background:#fff;color:#075161}
.frame-helper,.frame-cohouse{position:fixed;z-index:1000005;display:flex;align-items:center;justify-content:center;height:44px;padding:0;bottom:calc(var(--pwa-bottom-navigation-clearance) + var(--frame-helper-gap));border:var(--frame-border-width) solid var(--frame-border-color);background:#075161;color:white;cursor:pointer;text-decoration:none}
.frame-helper--left,.frame-cohouse{left:0;width:var(--frame-left-helper-width);border-left:0;border-radius:0 9px 9px 0}
.frame-helper--right{right:0;width:var(--frame-right-helper-width);border-right:0;border-radius:9px 0 0 9px}
.frame-helper svg,.frame-cohouse svg{width:calc(var(--frame-left-helper-width) * .7);height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.frame-helper--left::after,.frame-cohouse::after{content:'';position:absolute;left:0;top:0;width:44px;height:100%;background:transparent}
.frame-accessibility{background:#fff;border-color:#1b77e8;color:#1b77e8}
.frame-accessibility svg{fill:currentColor;stroke:none}
.frame-cohouse{bottom:calc(var(--pwa-bottom-navigation-clearance) + var(--frame-helper-gap) + var(--frame-helper-step))}
.frame-feedback{bottom:calc(var(--pwa-bottom-navigation-clearance) + var(--frame-helper-gap) + 2 * var(--frame-helper-step));height:94px;min-height:94px;background:#8c6ac8;border:0;color:#fff}
.frame-feedback span{writing-mode:vertical-rl;transform:rotate(180deg);font:700 12px/1.1 'Open Sans',system-ui,sans-serif}
.cohouse-bugherd-proxy{position:fixed;left:-1px;top:-1px;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
.frame-install{position:fixed;right:0;bottom:calc(var(--pwa-bottom-navigation-clearance) + 10px);z-index:1000005;display:flex}
.pwa-frame .frame-install .chat-app-action-control{width:var(--frame-right-helper-width);height:44px;min-height:44px;max-height:none;padding:0;border:var(--frame-border-width) solid var(--frame-border-color);border-right:0;border-radius:9px 0 0 9px;background:#075161;color:white}
.pwa-frame .frame-install svg{width:calc(var(--frame-right-helper-width) * .6);height:24px;stroke-width:1.8}
.frame-row2{display:flex;align-items:center;gap:10px;min-height:var(--frame-row-height);padding:7px 16px;border-block:var(--frame-border-width) solid var(--frame-border-color);background:var(--frame-nav);backdrop-filter:blur(6px)}
.frame-row2 input{flex:1;min-width:0;min-height:44px;font:18px/1.6 'Open Sans',system-ui,sans-serif;border:0;border-radius:24px;padding:8px 16px;background:white;color:var(--frame-ink)}
.frame-row2 button{min-height:44px;min-width:44px;border:0;background:transparent;color:white}
.pwa-frame:has(.frame-sheet[open])::before{content:'';position:fixed;inset:0;z-index:999;background:#07516180}
.pwa-frame .install-sheet{z-index:1000;left:32px;right:32px;bottom:calc(var(--pwa-bottom-navigation-clearance) + 8px);width:calc(100% - 64px);max-width:540px;max-height:calc(var(--app-height,100dvh) - var(--pwa-bottom-navigation-clearance) - 80px);border:var(--frame-border-width) solid var(--frame-border-color);border-radius:8px}
.pwa-frame:has(.install-sheet[open])::before{content:'';position:fixed;inset:0;z-index:999;background:#07516180}
.frame-sign-in{align-self:center;min-height:48px;margin:16px;padding:10px 20px;border:0;border-radius:8px;background:#00b894;color:white;cursor:pointer}
.pwa-frame button:focus-visible,.pwa-frame a:focus-visible{outline:3px solid #349fb7;outline-offset:-3px}
.pwa-frame.frame-large{font-size:20px}.pwa-frame.frame-contrast{--frame-ink:#000;--frame-nav:#075161}
.pwa-frame.frame-motion *{scroll-behavior:auto;animation:none;transition:none}
@media(min-width:1024px){.pwa-frame .frame-install{display:none}}

/* Shared sheet treatment, also loaded inside component shadow roots. */
.frame-sheet{position:fixed;z-index:1000;left:32px;right:var(--frame-content-right,36px);bottom:calc(var(--pwa-bottom-navigation-clearance,124px) + 8px);width:calc(100% - 32px - var(--frame-content-right,36px));max-width:540px;max-height:calc(var(--frame-layout-height,100dvh) - var(--pwa-bottom-navigation-clearance,124px) - 60px);margin:0 auto;padding:0;border:var(--frame-border-width,2px) solid var(--frame-border-color,#ffd259);border-radius:8px;background:#fff;color:var(--frame-ink,#12333b);font:18px/1.6 'Open Sans',system-ui,sans-serif;overflow:auto}
.frame-sheet header{height:64px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;background:var(--frame-teal,#075161);color:#fff}
.frame-sheet h2{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:700 20px/1.3 'Open Sans',system-ui,sans-serif;margin:0}
.frame-sheet header button{flex:none;height:44px;min-width:44px;border:0;background:transparent;color:#fff;font-size:32px}
.frame-sheet header svg{width:32px;height:32px}
.frame-sheet-body{padding:16px}.frame-sheet footer{padding:10px 16px;display:flex;gap:10px;border-top:1px solid #d9e7ea}
.frame-sheet footer button{min-height:48px;flex:1;border:0;border-radius:8px;background:#00b894;color:white;font:700 18px/1.3 'Open Sans',system-ui,sans-serif}
@media(min-width:1024px){.frame-sheet{top:50%;bottom:auto;transform:translateY(-50%)}}
.frame-sheet[open]{display:flex;flex-direction:column;overflow:hidden}.frame-sheet header,.frame-sheet footer{flex:none}.frame-sheet-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.date-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px}.date-month-nav button{width:44px;min-height:44px;border:0;background:transparent;color:#075161;font-size:28px}
.date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}.date-grid>span{font-size:14px;padding-block:6px}.date-grid button{min-height:44px;min-width:0;padding:4px 0;border:1px solid transparent;border-radius:8px;background:#eef7f8;color:#075161;font:18px/1.4 'Open Sans',system-ui,sans-serif}.date-grid button[aria-pressed=true]{border-color:#075161;background:#d5f7ee}

/* Authoritative rail geometry for Frame and native CoHouse shell consumers.
   Provider loading/actions stay with the owning integration; no per-app rail CSS. */
body:is(.pwa-shell,.pwa-frame) :is(#cohouse-userway-trigger,#cohouse-bugherd-feedback,#open-cohouse){position:fixed;left:0;right:auto;width:var(--frame-left-helper-width);min-width:var(--frame-left-helper-width);max-width:var(--frame-left-helper-width);padding:0;border-radius:0 9px 9px 0;font-family:'Open Sans',system-ui,sans-serif;z-index:1000005}
body:is(.pwa-shell,.pwa-frame) #cohouse-userway-trigger{top:auto;bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap));height:44px;min-height:44px;max-height:44px;border:2px solid #1b77e8;border-left:0;background:#fff;color:#1b77e8;transform:none}
body:is(.pwa-shell,.pwa-frame) #cohouse-userway-trigger svg{display:block;width:calc(var(--frame-left-helper-width) * .7);height:calc(var(--frame-left-helper-width) * .7);flex:0 0 auto;fill:currentColor;stroke:none}
body:is(.pwa-shell,.pwa-frame) #cohouse-bugherd-feedback{top:50%;bottom:auto;transform:translateY(-50%);height:94px;min-height:94px;max-height:94px;background:#8b7fd4;color:#fff;border:0}
body:is(.pwa-shell,.pwa-frame) .cohouse-bugherd-feedback__label{font-size:11px;font-weight:700;writing-mode:vertical-rl;transform:rotate(180deg)}
body:is(.pwa-shell,.pwa-frame) #open-cohouse{top:auto;bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap) + var(--frame-helper-step));height:44px;min-height:44px;border:var(--frame-border-width) solid var(--frame-border-color);border-left:0;background:#00d9ae;color:#075161}
body:is(.pwa-shell,.pwa-frame) #open-cohouse svg{width:calc(var(--frame-left-helper-width) * .7);height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
body:is(.pwa-shell,.pwa-frame) :is(#cohouse-userway-trigger,#cohouse-bugherd-feedback,#open-cohouse)::after{content:'';position:absolute;left:0;top:0;width:44px;height:100%;background:transparent}
body:is(.pwa-shell,.pwa-frame) :is(#chat-fab,#chat-fab-toggle,.pwa-install,.frame-install .chat-app-action-control){width:var(--frame-right-helper-width);min-width:var(--frame-right-helper-width);max-width:var(--frame-right-helper-width);right:0}
body:is(.pwa-shell,.pwa-frame) :is(#cohouse-userway-trigger,#cohouse-bugherd-feedback,#open-cohouse){pointer-events:auto}
/* Preserve legacy provider !important rules while sourcing their values from one file. */
body.pwa-shell #chat-fab,body.pwa-shell #chat-fab-toggle,body.pwa-shell .pwa-install{width:var(--frame-right-helper-width)!important;min-width:var(--frame-right-helper-width)!important;max-width:var(--frame-right-helper-width)!important}
body.pwa-shell #cohouse-userway-trigger,body.pwa-shell #cohouse-bugherd-feedback{width:var(--frame-left-helper-width)!important;min-width:var(--frame-left-helper-width)!important;max-width:var(--frame-left-helper-width)!important}

body:is(.pwa-shell,.pwa-frame) #open-cohouse{background:#00d9ae;color:#075161;font-size:0}

body:is(.pwa-shell,.pwa-frame) #open-cohouse svg{display:block;flex:none;pointer-events:none}

/* Text and Speak are independent Tabkit stations shared by every PWA. */
.frame-support-tab{position:fixed;right:0;bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + var(--frame-helper-step,50px));z-index:1000005;display:grid;place-items:center;width:var(--frame-right-helper-width,32px);height:44px;min-height:44px;padding:0;border:var(--frame-border-width,2px) solid var(--frame-border-color,#ffd259);border-right:0;border-radius:9px 0 0 9px;background:#00d9ae;color:#075161;box-shadow:0 8px 22px #07516133;cursor:pointer}
.frame-support-tab[data-support-mode=call]{bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + 2 * var(--frame-helper-step,50px))}
.frame-support-tab svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.frame-support-tab[hidden]{display:none!important}.frame-support-tab:focus-visible{outline:3px solid #075161;outline-offset:2px}
.frame-support-indicator{position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:var(--frame-border-color,#ffd259)}
.frame-support-sheet{z-index:1000006}.frame-support-sheet .frame-support-options{padding:0}
.frame-support-option{display:flex;align-items:center;gap:16px;width:100%;min-height:64px;padding:12px 20px;border:0;border-bottom:1px solid #d9e7ea;border-radius:0;background:#fff;color:#12333b;text-align:left;font:18px/1.4 'Open Sans',system-ui,sans-serif;cursor:pointer}
.frame-support-option b{display:block;font-size:18px;font-weight:700}.frame-support-option small{display:block;font-size:14px;line-height:1.4;margin-top:3px;color:#4f747e}
.frame-support-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#eaf7f8;color:#075161}.frame-support-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.frame-support-option.is-preferred{background:#e6fbf6;border-top:2px solid var(--frame-border-color,#ffd259)}.frame-support-option.is-preferred .frame-support-icon{background:#00e1ad}
.frame-support-option:disabled{opacity:.45;cursor:not-allowed}.frame-support-option:focus-visible{outline:3px solid #075161;outline-offset:-3px}
body.frame-support-mounted #chat-fab{display:none!important}

/* Final handoff rail order, bottom-up: Text, Speak, Download on the right. */
.frame-support-tab[data-support-mode=text]{bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px))}
.frame-support-tab[data-support-mode=call]{bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + var(--frame-helper-step,50px))}
.frame-support-tab[data-support-mode=text] svg{width:min(29px,calc(var(--frame-right-helper-width,32px) * .9));height:min(29px,calc(var(--frame-right-helper-width,32px) * .9));stroke-width:2.6}
body:is(.pwa-shell,.pwa-frame) :is(.pwa-install,.frame-install){bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + 2 * var(--frame-helper-step,50px))!important}
/* International occupies the first left station; accessibility stays one step up. */
.frame-international-tab{position:fixed;left:0;bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px));z-index:1000005;width:var(--frame-left-helper-width,18px);height:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin:0;padding:0;border:2px solid #349fb7;border-left:0;border-radius:0 9px 9px 0;background:#fff;color:#075161;box-shadow:0 8px 22px #07516133;cursor:pointer}
.frame-international-tab svg{width:13px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.frame-international-tab b{font:700 14px/1 'Open Sans',system-ui,sans-serif}
body.frame-international-mounted #cohouse-userway-trigger{bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + var(--frame-helper-step,50px))!important}
body.frame-international-mounted #open-cohouse{bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + 2 * var(--frame-helper-step,50px))!important}
@media(max-width:1023px){body.frame-international-mounted #cohouse-bugherd-feedback{top:auto!important;transform:none!important;bottom:calc(var(--pwa-bottom-navigation-clearance,62px) + var(--frame-helper-gap,10px) + 3 * var(--frame-helper-step,50px))!important}}
.frame-international-sheet{z-index:1000006}.frame-international-switch{display:flex;gap:6px;padding:4px;margin-bottom:12px;border-radius:10px;background:#e6f1f5}.frame-international-switch button{flex:1;min-height:44px;border:0;border-radius:8px;background:transparent;color:#4f747e;font:700 18px/1.3 'Open Sans',system-ui,sans-serif}.frame-international-switch button[aria-pressed=true]{background:#fff;color:#075161;box-shadow:0 1px 4px #072d3720}
.frame-international-note{font:16px/1.4 'Open Sans',system-ui,sans-serif;color:#4f747e}.frame-international-option{display:flex;align-items:center;gap:11px;width:100%;min-height:50px;padding:8px 4px;border:0;border-bottom:1px solid #eef3f4;background:transparent;text-align:left;color:#12333b;font:18px/1.3 'Open Sans',system-ui,sans-serif}.frame-international-option b{min-width:38px;font-size:14px;color:#4f747e}.frame-international-option>span:first-of-type{flex:1}.frame-international-option:disabled{opacity:.45;cursor:not-allowed}.frame-international-option[aria-pressed=true]{color:#075161;font-weight:700}

.frame-international-tab .frame-language-flag{width:13px;height:10px;stroke:none}

/* Handoff international tab: the flag and mint currency mark turn as one unit. */
.frame-international-current{display:flex;flex-direction:row;align-items:center;gap:5px;transform:rotate(-90deg)}
.frame-international-current b{display:block;line-height:0}
.frame-international-current i{font:700 12px/1 'Open Sans',system-ui,sans-serif;font-style:normal;color:#00b894}
.frame-international-tab .frame-language-flag{display:block;width:14px;height:10px;border-radius:1.5px;box-shadow:0 0 0 .5px #072d3740;stroke:none}
.frame-international-option .frame-language-flag{display:block;width:20px;height:14px;fill:none;stroke:none;border-radius:1.5px;box-shadow:0 0 0 .5px #072d3740}

/* A shared row boundary has one owner: row 1 draws its top/bottom edges;
   rows above it draw only their top edge. Never stack two gold borders. */
.frame-row2,[data-bottom-navigation="secondary"],[data-bottom-navigation="assistant"]{border-bottom-width:0!important}
