/* A self-contained, accessible workspace for the Grupo Bioingenia portal. */
/* Official website typeface and palette; the logo is the unmodified corporate asset. */
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url("manrope-latin-variable.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.bgp-root{--bgp-forest:#07513d;--bgp-forest-deep:#043d2f;--bgp-green:#07513d;--bgp-teal:#07513d;--bgp-cream:#fcfdf8;--bgp-paper:#fcfdf8;--bgp-ink:#07513d;--bgp-body:#33413d;--bgp-lime:#a5d52b;--bgp-lime-strong:#8fbd1e;--bgp-lime-soft:#e6f3bc;--bgp-muted:#33413d;--bgp-line:#dce8df;--bgp-error:#c8233b;--bgp-radius:18px;font:15px/1.55 Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--bgp-body);background:var(--bgp-paper);min-height:100vh;isolation:isolate;-webkit-font-smoothing:antialiased}
.bgp-root *,.bgp-root *::before,.bgp-root *::after{box-sizing:border-box}
.bgp-root h1,.bgp-root h2,.bgp-root h3,.bgp-root p,.bgp-root dl,.bgp-root dd{margin:0;font-family:inherit;color:inherit}
.bgp-root h1,.bgp-root h2,.bgp-root h3{font-weight:650;line-height:1.2;text-wrap:balance;color:var(--bgp-ink)}
.bgp-root button,.bgp-root input,.bgp-root textarea,.bgp-root select{font:inherit;letter-spacing:normal}
.bgp-root button,.bgp-root a,.bgp-root input,.bgp-root textarea,.bgp-root select{-webkit-tap-highlight-color:transparent}
.bgp-root button{cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;box-shadow:none;text-transform:none}
.bgp-root a{color:var(--bgp-green);text-decoration:none}
.bgp-root button:disabled{cursor:wait;opacity:.58}
.bgp-root :focus-visible{outline:3px solid #07513d;outline-offset:3px}
.bgp-root [hidden]{display:none!important}
.bgp-root h1[tabindex]:focus,.bgp-root main[tabindex]:focus{outline:none}
.bgp-root .bgp-icon{display:block;width:21px;height:21px;flex:0 0 auto}
.bgp-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.bgp-sidebar{position:sticky;top:0;height:100vh;padding:36px 20px 20px;background:#fff;border-right:1px solid var(--bgp-line);display:flex;flex-direction:column;min-width:0}
.bgp-brand{display:flex;flex-direction:column;gap:9px;align-items:flex-start;padding:0 4px;color:var(--bgp-forest)!important;max-width:100%}
.bgp-brand-logo{display:block;width:208px;max-width:100%;height:auto;object-fit:contain}
.bgp-brand small{font-size:12px;font-weight:600;color:var(--bgp-ink);display:block;margin:0 0 0 9px;letter-spacing:.02em}
.bgp-nav-caption{font-size:10px;font-weight:750;letter-spacing:1.6px;color:#33413d!important;margin:45px 14px 13px!important}
.bgp-navigation{display:flex;flex-direction:column;gap:6px}
.bgp-nav-item{display:flex;align-items:center;gap:13px;background:transparent;border:0;border-radius:10px;padding:13px 15px;min-height:48px;color:#33413d;text-align:left;font-size:14px!important;font-weight:550}
.bgp-nav-item:hover{background:#e6f3bc;color:var(--bgp-forest)}
.bgp-nav-item.is-active{background:#e6f3bc;color:var(--bgp-forest);font-weight:700}
.bgp-nav-item.is-active .bgp-icon{stroke-width:2}
.bgp-sidebar-note{margin:auto 14px 24px;padding-top:30px;color:var(--bgp-muted);font-size:12px;line-height:1.8}
.bgp-account{display:flex;align-items:center;gap:9px;border-top:1px solid var(--bgp-line);padding-top:18px;min-width:0}
.bgp-account-avatar{width:34px;height:34px;border-radius:50%;background:#e6f3bc;display:grid;place-items:center;font-weight:700;color:var(--bgp-green);flex-shrink:0}
.bgp-account>div{min-width:0;flex:1}
.bgp-account strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bgp-account small{display:block;color:var(--bgp-muted);font-size:11px}
.bgp-logout{padding:10px 4px;font-size:12px;font-weight:600}
.bgp-logout:hover{text-decoration:underline}
.bgp-workspace{min-width:0;display:flex;flex-direction:column}
.bgp-topbar{min-height:68px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce8df;color:#33413d;font-size:10px;letter-spacing:1.2px;font-weight:650;background:rgba(255,255,255,.55)}
.bgp-session-label{display:flex;align-items:center;gap:7px;letter-spacing:0;color:var(--bgp-muted);font-size:12px;font-weight:450}
.bgp-session-dot{width:6px;height:6px;border-radius:50%;background:#07513d}
.bgp-main{width:100%;max-width:1260px;margin:0 auto;padding:36px 44px 46px;flex:1}
.bgp-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.bgp-root .bgp-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;line-height:1.6;color:var(--bgp-teal);margin-bottom:9px;text-transform:uppercase}
.bgp-page-heading h1{font-size:32px;letter-spacing:-1.15px}
.bgp-root .bgp-description{color:var(--bgp-muted);font-size:14px;max-width:680px;margin-top:9px;line-height:1.6}
.bgp-heading-action{flex-shrink:0}
.bgp-button{min-height:46px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:11px 17px;font-size:13px!important;font-weight:650;line-height:1.4;white-space:normal;text-align:center;max-width:100%;text-decoration:none!important}
.bgp-button--primary{background:var(--bgp-forest);color:#fff}
.bgp-button--primary:hover:not(:disabled){background:var(--bgp-forest-deep);box-shadow:0 3px 10px #07513d18}
.bgp-button--secondary{background:#fff;border-color:var(--bgp-forest);color:var(--bgp-forest)}
.bgp-button--secondary:hover:not(:disabled){background:#e6f3bc;border-color:#dce8df}
.bgp-button--cream{background:#e6f3bc;color:var(--bgp-forest)}
.bgp-button--cream:hover:not(:disabled){background:var(--bgp-lime-strong);color:var(--bgp-forest-deep)}
.bgp-button--text{background:transparent;padding:8px 0;color:var(--bgp-green);border:0;min-height:44px}
.bgp-button--text:hover:not(:disabled){color:#07513d;text-decoration:underline!important;text-underline-offset:4px}
.bgp-button--text .bgp-icon{width:18px;height:18px}
.bgp-button--icon{background:transparent;color:var(--bgp-muted);width:44px;height:44px;padding:10px;flex-shrink:0}
.bgp-button--icon>span{display:none}
.bgp-button--icon:hover{background:#e6f3bc}
.bgp-hero{background:#fff;color:var(--bgp-body);border:1px solid var(--bgp-line);border-top:5px solid var(--bgp-lime);min-height:255px;border-radius:var(--bgp-radius);padding:32px 35px;display:flex;margin-bottom:25px}
.bgp-hero-copy{max-width:720px}
.bgp-hero-label{display:block;font-size:10px;font-weight:750;letter-spacing:1.6px;color:var(--bgp-ink)}
.bgp-hero h2{font-size:32px;line-height:1.18;letter-spacing:-.7px;margin:15px 0 13px;max-width:640px}
.bgp-hero p{font-size:14px;color:var(--bgp-body);line-height:1.75;max-width:640px}
.bgp-hero .bgp-button{margin-top:23px}
.bgp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:30px}
.bgp-stat{border:1px solid var(--bgp-line);border-radius:13px;padding:19px 20px;background:#fff;display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;color:var(--bgp-ink);position:relative}
.bgp-stat:hover{border-color:#dce8df;background:#fcfdf8}
.bgp-stat strong{font-size:29px;line-height:1.15;font-weight:650;grid-column:1;grid-row:1}
.bgp-stat>span:last-child{font-size:12px;color:var(--bgp-muted);grid-column:1/-1;margin-top:8px}
.bgp-stat-icon{grid-column:2;grid-row:1;background:#fcfdf8;color:#07513d;width:34px;height:34px;display:grid;place-items:center;border-radius:10px}
.bgp-stat-icon .bgp-icon{width:18px;height:18px}
.bgp-panel{background:#fff;border:1px solid var(--bgp-line);border-radius:var(--bgp-radius);overflow:hidden}
.bgp-section-heading{padding:23px 25px;display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid #dce8df}
.bgp-section-heading h2{font-size:18px;letter-spacing:-.3px}
.bgp-section-heading p{font-size:12px;color:var(--bgp-muted);margin-top:6px}
.bgp-section-heading .bgp-button{flex-shrink:0;font-size:12px!important}
.bgp-empty{text-align:center;padding:48px 22px;max-width:540px;margin:0 auto}
.bgp-empty-icon{width:58px;height:58px;background:#e6f3bc;border-radius:20px;display:grid;place-items:center;margin:0 auto 17px;color:#07513d}
.bgp-empty-icon .bgp-icon{width:26px;height:26px}
.bgp-empty h3{font-size:18px;letter-spacing:-.3px;margin-bottom:8px}
.bgp-empty p{font-size:13px;color:var(--bgp-muted);line-height:1.7}
.bgp-empty .bgp-button{margin-top:20px}
.bgp-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:0 0 23px}
.bgp-search{position:relative;max-width:490px;flex:1;min-width:0}
.bgp-search>.bgp-icon{position:absolute;left:14px;top:14px;width:18px;height:18px;color:#33413d;pointer-events:none}
.bgp-search input,.bgp-filter{width:100%;min-height:46px;border:1px solid var(--bgp-forest);border-radius:10px;background:#fff;color:var(--bgp-ink);padding:11px 13px;font-size:13px!important;box-shadow:none}
.bgp-search input{padding-left:42px}
.bgp-search input::placeholder{color:#33413d;opacity:1}
.bgp-filter{width:220px;max-width:45%;padding-right:28px}
.bgp-result-count{font-size:12px;color:var(--bgp-muted);flex-shrink:0}
.bgp-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bgp-client-card,.bgp-project-card{border:1px solid var(--bgp-line);border-radius:15px;background:#fff;padding:23px;overflow-wrap:anywhere;min-width:0}
.bgp-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:19px}
.bgp-avatar{width:44px;height:44px;background:#e6f3bc;color:#07513d;font-size:14px;letter-spacing:.5px;font-weight:650;border-radius:13px;display:grid;place-items:center;flex-shrink:0}
.bgp-tag{display:inline-block;background:#fcfdf8;border-radius:5px;padding:4px 8px;color:#07513d;font-size:10px;font-weight:600;line-height:1.5;text-transform:none}
.bgp-client-card h2,.bgp-project-card h2{font-size:19px;line-height:1.3;letter-spacing:-.4px}
.bgp-document{font-size:11px;color:var(--bgp-muted)!important;margin-top:5px!important}
.bgp-contact-list{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px 12px;font-size:12px;margin-top:20px!important;padding-top:17px;border-top:1px solid #dce8df}
.bgp-contact-list dt{color:#33413d}
.bgp-contact-list dd{overflow-wrap:anywhere}
.bgp-client-card>.bgp-button{margin-top:15px}
.bgp-service-icon{display:grid;place-items:center;color:#07513d;background:#e6f3bc;width:42px;height:42px;border-radius:12px}
.bgp-project-card .bgp-eyebrow{font-size:9px;letter-spacing:1px}
.bgp-project-address{font-size:12px;color:var(--bgp-muted)!important;margin-top:8px!important;min-height:19px}
.bgp-project-count{font-size:11px;color:var(--bgp-muted)!important;margin:20px 0 15px!important;padding-top:15px;border-top:1px solid #dce8df}
.bgp-project-card>.bgp-button--text{margin-left:16px}
.bgp-visit-card{display:flex;align-items:center;gap:24px;padding:22px 25px;border-bottom:1px solid #dce8df;min-width:0}
.bgp-visit-card:last-child{border-bottom:0}
.bgp-visit-date{width:99px;flex-shrink:0;color:var(--bgp-muted);font-size:11px;line-height:1.6}
.bgp-visit-date .bgp-icon{margin-bottom:7px;color:#07513d;width:19px;height:19px}
.bgp-visit-body{flex:1;min-width:0}
.bgp-visit-body .bgp-eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:6px;overflow-wrap:anywhere}
.bgp-visit-body h3{font-size:15px;line-height:1.4;letter-spacing:-.2px;overflow-wrap:anywhere}
.bgp-visit-body>p:last-child{color:var(--bgp-muted);font-size:11px;margin-top:5px;overflow-wrap:anywhere}
.bgp-visit-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.bgp-visit-actions .bgp-button{font-size:12px!important;min-height:38px;padding:6px 0}
.bgp-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:650;white-space:nowrap;background:#fcfdf8;color:#33413d}
.bgp-badge--draft{background:#fcfdf8;color:#33413d}
.bgp-badge--submitted{background:#e6f3bc;color:#07513d}
.bgp-badge--approved{background:#e6f3bc;color:#07513d}
.bgp-form-section{background:#fff;border:1px solid var(--bgp-line);border-radius:15px;padding:25px 28px;margin-bottom:20px}
.bgp-form-section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #dce8df}
.bgp-step{font-size:10px;font-weight:700;letter-spacing:.5px;background:#e6f3bc;color:#07513d;width:30px;height:30px;display:grid;place-items:center;border-radius:10px;flex-shrink:0}
.bgp-form-section-title h2{font-size:18px;letter-spacing:-.35px;margin-top:1px}
.bgp-form-section-title p{font-size:12px;color:var(--bgp-muted);margin-top:6px}
.bgp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bgp-field--wide{grid-column:1/-1}
.bgp-field{min-width:0}
.bgp-field label{display:flex;align-items:baseline;gap:10px;font-size:12px;font-weight:650;margin-bottom:8px;color:var(--bgp-ink);line-height:1.6}
.bgp-optional{font-size:10px;color:#33413d;font-weight:450}
.bgp-field input,.bgp-field select,.bgp-field textarea{display:block;width:100%;max-width:100%;border:1px solid var(--bgp-forest);border-radius:8px;background:#fff;color:var(--bgp-ink);min-height:47px;padding:11px 12px;font-size:14px;box-shadow:none;line-height:1.6;appearance:auto}
.bgp-field select{padding-right:25px}
.bgp-field textarea{resize:vertical;min-height:125px}
.bgp-field input:hover,.bgp-field select:hover,.bgp-field textarea:hover{border-color:#07513d}
.bgp-field input:disabled,.bgp-field select:disabled,.bgp-field textarea:disabled{background:#fcfdf8;color:#33413d;cursor:default}
.bgp-field input[aria-invalid=true],.bgp-field select[aria-invalid=true],.bgp-field textarea[aria-invalid=true]{border-color:#c8233b;background:#fcfdf8}
.bgp-field .bgp-field-hint{font-size:11px;color:#33413d;line-height:1.6;margin-top:6px}
.bgp-field .bgp-field-error{font-size:12px;color:var(--bgp-error);line-height:1.6;margin-top:6px}
.bgp-field-group>.bgp-button{font-size:11px!important;min-height:39px;justify-content:flex-start;text-align:left;line-height:1.5}
.bgp-field-group>.bgp-button .bgp-icon{width:15px;height:15px}
.bgp-project-preview{padding:16px 19px;background:#fcfdf8;border:1px solid #dce8df;border-radius:10px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center;font-size:12px}
.bgp-project-preview .bgp-tag{grid-column:1;grid-row:1/3}
.bgp-project-preview p{color:var(--bgp-muted);font-size:11px;grid-column:2}
.bgp-editor-actions{position:sticky;bottom:16px;z-index:5;background:rgba(255,255,255,.97);border:1px solid #dce8df;border-radius:13px;box-shadow:0 6px 28px #043d2f15;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;backdrop-filter:blur(10px)}
.bgp-save-indicator{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--bgp-muted)}
.bgp-status-dot{background:#8fbd1e;width:6px;height:6px;border-radius:50%;flex-shrink:0}
.bgp-action-group{display:flex;gap:10px;align-items:center}
.bgp-editor-actions>p{font-size:12px;color:var(--bgp-muted);max-width:400px}
.bgp-validation{padding:17px 20px;border:1px solid #c8233b;background:#fcfdf8;border-radius:11px;margin-bottom:22px;font-size:13px;color:#c8233b}
.bgp-validation strong{font-size:13px}
.bgp-validation ul{margin:8px 0 0;padding-left:19px}
.bgp-validation li{margin:5px 0}
.bgp-validation button{border:0;padding:0;background:none;color:inherit;text-align:left;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.bgp-notice{display:flex;align-items:flex-start;gap:12px;padding:17px 20px;border-radius:12px;background:#e6f3bc;border:1px solid #dce8df;margin-bottom:20px;font-size:12px;color:#07513d}
.bgp-notice .bgp-icon{width:19px;height:19px;margin-top:1px}
.bgp-notice strong{font-size:12px}
.bgp-notice p{font-size:12px;margin-top:4px;line-height:1.6}
.bgp-notice--error{background:#fcfdf8;border-color:#c8233b;color:#c8233b}
.bgp-readonly-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.bgp-reading-block{min-width:0}
.bgp-reading-block h3{font-size:11px;font-weight:650;color:#33413d;margin-bottom:7px}
.bgp-reading-block p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.bgp-readonly-content{display:grid;gap:26px}
.bgp-readonly-content .bgp-reading-block{padding-bottom:22px;border-bottom:1px solid #dce8df}
.bgp-readonly-content .bgp-reading-block:last-child{padding-bottom:0;border:0}
.bgp-footer{padding:20px 44px;border-top:1px solid #dce8df;display:flex;justify-content:space-between;gap:25px;align-items:center;color:#33413d;font-size:10px;background:#fcfdf8}
.bgp-footer>div{display:flex;gap:10px;align-items:baseline;max-width:680px;line-height:1.8}
.bgp-footer strong{white-space:nowrap;color:#07513d;font-size:10px}
.bgp-footer a{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;color:#07513d;font-size:10px;min-height:36px}
.bgp-footer a:hover{text-decoration:underline}
.bgp-footer .bgp-icon{width:13px;height:13px}
.bgp-toast{position:fixed;bottom:26px;left:calc(50% + 124px);transform:translateX(-50%);z-index:10005;width:max-content;max-width:min(620px,calc(100vw - 300px));border:1px solid #07513d;border-radius:12px;box-shadow:0 8px 32px #043d2f30;background:var(--bgp-forest);color:#fff;padding:15px 12px 15px 18px;display:flex;align-items:center;gap:12px}
.bgp-toast p{font-size:13px;line-height:1.6}
.bgp-toast>.bgp-icon{color:#e6f3bc}
.bgp-toast--error{background:#fcfdf8;color:#c8233b;border-color:#dce8df}
.bgp-toast--error>.bgp-icon{color:#c8233b}
.bgp-icon-button{border:0;background:transparent;color:inherit;width:40px;height:40px;display:grid;place-items:center;border-radius:7px;flex-shrink:0}
.bgp-icon-button:hover{background:#ffffff15}
.bgp-busy{position:fixed;top:16px;left:calc(50% + 124px);transform:translateX(-50%);z-index:10006;background:var(--bgp-forest);color:#fff;border:1px solid #07513d;box-shadow:0 5px 24px #043d2f33;padding:12px 20px;border-radius:10px;font-size:13px;max-width:calc(100vw - 40px);text-align:center}
.bgp-modal-open{overflow:hidden}
.bgp-modal-backdrop{position:fixed;inset:0;background:#043d2f83;backdrop-filter:blur(3px);z-index:10000;display:flex;align-items:center;justify-content:center;padding:25px;overflow-y:auto}
.bgp-modal{max-width:650px;width:100%;max-height:calc(100dvh - 50px);background:#fff;border-radius:18px;box-shadow:0 18px 80px #043d2f50;overflow:auto;overscroll-behavior:contain}
.bgp-modal-header{padding:24px 28px 20px;display:flex;gap:20px;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #dce8df;position:sticky;top:0;background:#fff;z-index:1}
.bgp-modal-header .bgp-eyebrow{font-size:9px;margin-bottom:8px}
.bgp-modal-header h2{font-size:24px;letter-spacing:-.6px}
.bgp-modal-body{padding:23px 28px 27px}
.bgp-modal-intro{font-size:12px!important;color:var(--bgp-muted)!important;line-height:1.8!important;margin-bottom:22px!important}
.bgp-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px;background:#fcfdf8;border-top:1px solid #dce8df;position:sticky;bottom:0}
.bgp-loading,.bgp-startup{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70vh;text-align:center;padding:40px 24px;gap:18px;color:var(--bgp-muted)}
.bgp-loading-logo{display:block;width:300px;max-width:85vw;height:auto;object-fit:contain;margin-bottom:7px}
.bgp-startup h1{font-size:26px;color:var(--bgp-forest);letter-spacing:-.6px}
.bgp-startup p{max-width:520px;font-size:14px}
.bgp-noscript{text-align:center;padding:20px;color:var(--bgp-error)}
.bgp-skip-link{position:fixed;left:12px;top:-150px;z-index:10010;background:#fff;border:2px solid var(--bgp-forest);padding:12px 20px;border-radius:6px;font-weight:600}
.bgp-skip-link:focus{top:12px}
@media(min-width:1600px){.bgp-main{padding-top:46px}.bgp-hero{min-height:280px}.bgp-hero h2{font-size:36px;max-width:680px}.bgp-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.bgp-shell{grid-template-columns:214px minmax(0,1fr)}.bgp-sidebar{padding-left:14px;padding-right:14px}.bgp-brand{padding:0 3px;gap:8px}.bgp-main{padding:30px 26px 38px}.bgp-topbar{padding:0 26px}.bgp-footer{padding:18px 26px;flex-direction:column;align-items:flex-start;gap:5px}.bgp-footer>div{gap:9px}.bgp-hero{padding:28px}.bgp-hero-copy{max-width:100%}.bgp-stats{gap:10px}.bgp-stat{padding:17px 14px}.bgp-stat-icon{width:29px;height:29px}.bgp-visit-card{gap:16px;padding:20px}.bgp-editor-actions{align-items:stretch;flex-direction:column;gap:10px}.bgp-action-group{justify-content:flex-end}.bgp-toast,.bgp-busy{left:calc(50% + 107px)}.bgp-toast{max-width:calc(100vw - 260px)}}
@media(max-width:800px){.bgp-shell{display:block;padding-bottom:78px}.bgp-sidebar{position:relative;top:auto;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--bgp-line);padding:18px 22px;flex-direction:row;justify-content:space-between;gap:15px}.bgp-brand small{font-size:11px}.bgp-nav-caption,.bgp-sidebar-note{display:none}.bgp-navigation{position:fixed;bottom:0;left:0;right:0;height:74px;padding:7px max(12px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce8df;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;z-index:500;box-shadow:0 -4px 20px #043d2f07}.bgp-nav-item{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;padding:6px 9px;min-height:0;border-radius:8px;font-size:10px!important;line-height:1.2}.bgp-nav-item .bgp-icon{width:20px;height:20px}.bgp-account{padding:0;border:0;gap:7px}.bgp-account-avatar{display:none}.bgp-account>div{display:none}.bgp-logout{font-size:12px;padding:10px}.bgp-topbar{min-height:43px;padding:0 22px;font-size:9px}.bgp-session-label{font-size:10px}.bgp-main{padding:28px 22px 34px}.bgp-page-heading h1{font-size:29px}.bgp-page-heading{margin-bottom:23px;gap:15px}.bgp-hero h2{font-size:27px}.bgp-hero-copy{max-width:100%}.bgp-editor-actions{bottom:86px}.bgp-toast{left:50%;bottom:88px;max-width:calc(100vw - 28px);width:max-content}.bgp-busy{left:50%;top:12px}.bgp-footer{padding:17px 22px}.bgp-form-section{padding:23px}.bgp-modal-backdrop{padding:16px}.bgp-modal{max-height:calc(100dvh - 32px)}}
@media(max-width:560px){.bgp-sidebar{padding:15px 17px}.bgp-main{padding:24px 17px 30px}.bgp-topbar{padding:0 18px}.bgp-page-heading{align-items:flex-start;flex-direction:column;gap:16px}.bgp-page-heading .bgp-description{font-size:12px;margin-top:8px}.bgp-page-heading .bgp-eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:7px}.bgp-page-heading h1{font-size:27px;letter-spacing:-.85px}.bgp-heading-action .bgp-button{min-height:43px;font-size:12px!important;padding:10px 14px}.bgp-heading-action:has(>.bgp-badge){margin-top:-5px}.bgp-hero{padding:25px 22px;border-radius:14px;min-height:275px}.bgp-hero h2{font-size:28px;max-width:100%;margin-top:14px}.bgp-hero-copy{max-width:100%}.bgp-hero p{font-size:12px;max-width:95%}.bgp-hero .bgp-button{margin-top:22px}.bgp-hero-label{font-size:8px}.bgp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:23px}.bgp-stat{padding:17px 18px}.bgp-stat strong{font-size:29px}.bgp-stat>span:last-child{font-size:11px}.bgp-stat-icon{width:32px;height:32px}.bgp-section-heading{padding:19px 17px;gap:12px}.bgp-section-heading h2{font-size:16px}.bgp-section-heading p{font-size:11px;max-width:170px}.bgp-section-heading .bgp-button{font-size:11px!important}.bgp-empty{padding:36px 19px}.bgp-empty h3{font-size:17px}.bgp-empty p{font-size:12px}.bgp-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:18px}.bgp-search{flex:1 1 100%;max-width:none}.bgp-filter{max-width:none;width:100%;font-size:13px!important}.bgp-card-grid{grid-template-columns:1fr;gap:15px}.bgp-client-card,.bgp-project-card{padding:21px}.bgp-visit-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:19px 17px}.bgp-visit-date{grid-column:1/-1;display:flex;gap:7px;align-items:center;width:auto;font-size:10px}.bgp-visit-date .bgp-icon{margin:0;width:13px;height:13px}.bgp-visit-body h3{font-size:14px}.bgp-visit-body .bgp-eyebrow{font-size:8px;letter-spacing:.8px;margin-bottom:5px}.bgp-visit-body>p:last-child{font-size:10px}.bgp-visit-actions .bgp-badge{font-size:9px;padding:4px 7px}.bgp-visit-actions .bgp-button{font-size:11px!important}.bgp-visit-actions{align-self:center;gap:3px}.bgp-form-grid{grid-template-columns:1fr;gap:18px}.bgp-form-section{padding:20px 17px;border-radius:13px;margin-bottom:16px}.bgp-form-section-title{gap:10px;margin-bottom:20px;padding-bottom:17px}.bgp-form-section-title h2{font-size:17px}.bgp-form-section-title p{font-size:11px;line-height:1.7}.bgp-step{width:27px;height:27px;font-size:9px}.bgp-field input,.bgp-field select,.bgp-field textarea{font-size:16px;min-height:49px}.bgp-field textarea{min-height:130px}.bgp-field label{font-size:12px}.bgp-field-group>.bgp-button{font-size:12px!important;min-height:44px}.bgp-project-preview{display:block;padding:15px}.bgp-project-preview .bgp-tag{display:inline-block;margin-bottom:8px}.bgp-project-preview strong{display:block;margin-bottom:4px}.bgp-editor-actions{padding:12px 11px;gap:9px;bottom:82px;border-radius:11px}.bgp-action-group{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bgp-action-group .bgp-button{font-size:11px!important;padding:11px 8px;min-height:48px;gap:6px}.bgp-action-group .bgp-icon{width:17px;height:17px}.bgp-save-indicator{font-size:10px;padding:0 3px}.bgp-notice{padding:15px;gap:10px}.bgp-notice p{font-size:11px}.bgp-readonly-grid{grid-template-columns:1fr;gap:20px}.bgp-reading-block p{font-size:13px}.bgp-footer{padding:18px;gap:9px}.bgp-footer>div{display:block}.bgp-footer strong{display:block;margin-bottom:4px}.bgp-footer a{font-size:11px}.bgp-toast{padding:12px 7px 12px 14px;gap:9px;bottom:87px}.bgp-toast p{font-size:12px}.bgp-toast>.bgp-icon{width:19px;height:19px}.bgp-toast .bgp-icon-button{width:36px;height:36px}.bgp-modal-backdrop{align-items:flex-end;padding:0}.bgp-modal{border-radius:17px 17px 0 0;max-height:95dvh}.bgp-modal-header{padding:21px 20px 17px}.bgp-modal-header h2{font-size:23px}.bgp-modal-body{padding:20px}.bgp-modal-footer{padding:15px 20px max(15px,env(safe-area-inset-bottom))}.bgp-modal-footer .bgp-button{flex:1}.bgp-validation{padding:15px}.bgp-validation button{font-size:12px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.bgp-root *{scroll-behavior:auto!important;transition:none!important}}
@media print{.bgp-sidebar,.bgp-topbar,.bgp-footer,.bgp-editor-actions,.bgp-toast,.bgp-busy,.bgp-button{display:none!important}.bgp-shell{display:block;padding:0}.bgp-main{padding:0;max-width:none}.bgp-root{background:#fff}.bgp-form-section{break-inside:avoid;border-color:#dce8df}.bgp-page-heading h1{font-size:26px}}
/* Keep the provider's consent control accessible above the portal's mobile navigation. */
@media(max-width:800px){
  body.bgp-page .cookieadmin_re_consent{bottom:calc(88px + env(safe-area-inset-bottom, 0px))!important}
  body.bgp-page:has(.bgp-editor-actions) .cookieadmin_re_consent{bottom:calc(194px + env(safe-area-inset-bottom, 0px))!important}
}
