/* Connected BlinkClicks Master Life and Master Business — light, mobile-first UI. */
.master-skip{position:absolute;left:-1000px;top:0;padding:9px;background:white;z-index:40}.master-skip:focus{left:10px}
.master-sidebar button.bc-nav-link{width:100%;text-align:left;background:transparent;border:0;cursor:pointer;font-size:13px;font-weight:700;color:#526176}
.master-sidebar button.bc-nav-link.active{background:var(--accentSoft);color:#315caa}
body[data-master="business"] .master-sidebar button.bc-nav-link.active{background:var(--businessSoft);color:#19815a}
.master-sidebar-note{font-size:11px;color:var(--muted);line-height:1.6}
.master-top-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.master-pill{background:#eaf1fc;color:#355c9e;font-size:11px;font-weight:750;padding:7px 10px;border-radius:100px}
.master-pill.warn{background:#fff2de;color:#88591d}
.master-page{max-width:1320px;width:100%;margin:0 auto}
.master-intro{padding:17px 0 20px;max-width:920px}
.master-intro h1{font-size:clamp(31px,3.8vw,45px);line-height:1.12;max-width:840px;margin:8px 0 12px}
.master-intro p{max-width:800px;color:var(--muted);line-height:1.6}
.master-intro-actions,.master-form-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
.master-disclaimer{font-size:12px!important;color:#755a2c!important;background:#fff8ec;border:1px solid #f2e1b9;padding:12px;border-radius:11px}
.master-notice{min-height:22px;font-size:12px;color:#456288;margin:4px 0 16px;padding:6px 0}
.master-notice.warn{color:#985a18}.master-notice.error{color:#9e342a}
.master-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 12px}
.master-section-head h2{font-size:22px;letter-spacing:-.04em;margin:5px 0 6px}
.master-section-head p{font-size:13px;color:var(--muted);margin:0;max-width:740px}
.master-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.master-stat{background:white;border:1px solid var(--border);border-radius:15px;padding:18px;min-width:0}
.master-stat small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#60728b}
.master-stat strong{display:block;font-size:25px;line-height:1.3;letter-spacing:-.04em;margin-top:5px;overflow-wrap:anywhere}
.master-due-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:stretch}
.master-due-row,.master-row{background:white;border:1px solid #e1e7f0;border-radius:13px;padding:13px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
.master-due-row .master-row-copy,.master-row-copy{min-width:0;display:grid;gap:2px}
.master-row-copy strong{font-size:13px;overflow-wrap:anywhere}
.master-row-copy small{font-size:11px;color:#647690;overflow-wrap:anywhere}
.master-due-row button,.master-row button{flex:0 0 auto;font-size:12px;font-weight:750;color:#325fa4;background:#f0f5fd;border:1px solid #d9e5f6;border-radius:9px;padding:8px 10px;min-height:36px}
.master-row .master-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.master-chip{border-radius:20px;background:#ecf3fd;color:#315d9c;font-size:11px;font-weight:800;padding:5px 8px;white-space:nowrap}
.master-chip.warn{background:#fff1dd;color:#925b1d}
.master-feature-strip{margin:18px 0;background:#eaf1fb;border:1px solid #dce7f8;border-radius:16px;padding:22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.master-feature-strip h3{font-size:19px;margin:0 0 7px}.master-feature-strip p{font-size:13px;color:#446287;max-width:620px;margin:0}
.master-workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.master-panel{background:white;border:1px solid var(--border);border-radius:16px;padding:19px;min-width:0}
.master-panel h3{font-size:17px;margin:0 0 7px}.master-panel>p{font-size:12px;color:var(--muted);margin:0 0 15px;line-height:1.6}
.master-workflow-list{display:grid;gap:8px}
.master-row{padding:10px 11px;background:#f9fbfd;min-height:58px}
.master-empty{padding:19px;border:1px dashed #c7d4e6;border-radius:12px;font-size:13px;color:#63738a;background:#f9fbfd;line-height:1.5}
.master-invoice-draft{margin-top:16px;background:#f8fbff;border-color:#d6e4f6}
.master-invoice-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.master-invoice-form label,.master-app-search{font-size:12px;font-weight:800;color:#405672;display:grid;gap:6px}
.master-invoice-form input,.master-invoice-form select,.master-app-search input{width:100%;min-height:43px;border:1px solid #ccd9eb;border-radius:10px;background:white;padding:10px 11px;color:#1d304d}
.master-invoice-form .master-confirm{grid-column:1/-1;display:flex;align-items:start;font-size:12px;font-weight:600;line-height:1.55}
.master-confirm input{width:18px;height:18px;min-height:18px;flex:0 0 auto;margin:2px 6px 0 0}
.master-form-actions{grid-column:1/-1}
.master-app-search{max-width:530px;margin:14px 0}
.master-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.master-module-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;background:white;border:1px solid var(--border);border-radius:13px;padding:14px;cursor:pointer;min-height:130px;color:inherit}
.master-module-card:hover,.master-module-card:focus-visible{border-color:#7eaaec;background:#f9fbff}
.master-module-card strong{font-size:14px}.master-module-card p{font-size:12px;color:#5b6e87;line-height:1.45;margin:0;flex:1}.master-module-card small{font-size:10px;color:#426cad;font-weight:800}
.master-module-card[hidden]{display:none!important}
.master-app-frame{margin-top:17px;padding:13px;scroll-margin-top:82px}
.master-module-bar{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;padding:7px 8px 13px}
.master-module-bar h3{margin:0 0 3px}.master-module-bar p{font-size:12px;color:#5b6b83;margin:0}
.master-module-actions{display:flex;gap:7px;flex-wrap:wrap}
#master-module-frame{display:block;border:1px solid #d9e2ef;border-radius:11px;width:100%;height:min(75vh,850px);background:#f6f8fc}
.master-frame-note{font-size:11px;color:#687991;margin:8px}
.master-footer{display:flex;gap:15px;flex-wrap:wrap;border-top:1px solid var(--border);font-size:11px;color:#67768c;margin-top:30px;padding-top:18px}.master-footer a{font-weight:700;color:#456eaf}
.master-bottom-nav button{flex:1;border:0;background:transparent;font-size:12px;font-weight:750;color:#4f6685;min-height:46px}.master-bottom-nav button.active{color:#315caa;border-top:2px solid #4674c9}
body[data-master="business"] .master-feature-strip{background:#edf8f2;border-color:#daefe2}
body[data-master="business"] .master-pill{background:#e7f5ec;color:#216944}
@media(max-width:1120px){.master-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.master-workflow-grid,.master-due-grid{grid-template-columns:1fr}.master-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-page{padding-bottom:72px}}
@media(max-width:560px){.master-stat-grid{gap:8px}.master-stat{padding:13px}.master-stat strong{font-size:21px}.master-module-grid{grid-template-columns:1fr 1fr;gap:8px}.master-module-card{padding:11px;min-height:135px}.master-module-card p{font-size:11px}.master-invoice-form{grid-template-columns:1fr}.master-invoice-form .master-confirm,.master-form-actions{grid-column:1}.master-row{align-items:start;flex-wrap:wrap}.master-row .master-row-actions{justify-content:flex-start}.master-feature-strip{padding:17px}.master-topbar{padding:9px 13px}.master-pill{font-size:10px}.master-top-actions button{padding:8px 10px}.master-intro{padding-top:10px}}
/* Embedding a mini-app keeps its actual form and account storage, while removing duplicate chrome. */
.bc-embedded .bc-sidebar,.bc-embedded .bc-topbar,.bc-embedded .bc-mobile-nav,.bc-embedded .bc-footer{display:none!important}
.bc-embedded .bc-shell{display:block;min-height:unset}.bc-embedded .bc-content-shell{width:100%;display:block}
.bc-embedded .bc-page{max-width:none!important;padding:12px!important}
.bc-embedded .tool-intro{display:none}.bc-embedded .tool-layout{margin-top:10px}
.bc-embedded .lb-page{padding:12px!important}
@media(max-width:750px){.bc-embedded .tool-layout{grid-template-columns:1fr}.bc-embedded .tool-panel{padding:13px}}
