@font-face{font-family:"MEB Avenir";src:local("Avenir LT Std 55 Roman"),local("AvenirLTStd-Roman");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"MEB Avenir";src:local("Avenir LT Std 65 Medium"),local("AvenirLTStd-Medium");font-style:normal;font-weight:500 700;font-display:swap}
:root{--ink:#2B2B2B;--muted:#68625D;--paper:#F8F6F2;--line:#E8DFD3;--white:#fff;--accent:#FF6A00;--soft:#FFF0E5;--green:#477a58;--rose:#a34d67;--sidebar:264px;--sand:#E8DFD3;--gray:#A6A6A6;--ui-font:"MEB Avenir","Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;font-family:var(--ui-font);color:var(--ink);font-size:14px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);background-image:none}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{outline-offset:4px}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
button,.button{border:1px solid var(--line);background:white;color:var(--ink);padding:10px 15px;border-radius:6px;display:inline-flex;justify-content:center;align-items:center;gap:7px;line-height:1.3}
button:hover,.button:hover{border-color:#9c9789}
.primary{background:var(--accent);color:var(--ink);border-color:var(--accent);font-weight:600}
.primary:hover{background:#F18B35;border-color:#F18B35;color:var(--ink)}
.accent{background:var(--accent);border-color:var(--accent);color:var(--ink);font-weight:600}
.danger{color:#a33b46}
.small{padding:6px 9px;font-size:12px}
.ghost{background:transparent}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);padding:26px 14px;background:var(--ink);color:var(--white);border-right:1px solid var(--ink);overflow-y:auto;z-index:20}
.brand{font-weight:750;font-size:26px;letter-spacing:-1.3px;margin:0 10px 30px}
.brand span{color:var(--accent)}
.brand small{font:10px var(--ui-font);letter-spacing:2px;display:block;margin-top:6px;color:var(--muted)}
.nav-label,.eyebrow,th,label>span,.meta{font:10px var(--ui-font);letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.nav-label{margin:26px 12px 10px}
.nav-link,summary{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:6px;color:#5c5c55;cursor:pointer}
.nav-link:hover,summary:hover{background:#f8f6f0}
.nav-link.active{background:var(--ink);color:#fff;font-weight:600}
.nav-icon{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6;flex-shrink:0}
.nav-sub{padding-left:19px}
.nav-sub .nav-link{font-size:12px;padding:9px 12px}
details>summary{list-style:none}
details>summary:after{content:'›';margin-left:auto}
details[open]>summary:after{transform:rotate(90deg)}
.app{margin-left:var(--sidebar);min-height:100vh}
.topbar{background:var(--white);border-bottom:1px solid var(--line);padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar .account{display:flex;align-items:center;gap:12px}
.topbar form{margin:0}
.avatar{width:30px;height:30px;border-radius:50%;display:inline-grid;place-content:center;background:var(--sand);font-size:10px;font-weight:700;flex-shrink:0}
.workspace{padding:30px;max-width:1680px;margin:auto}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}
.page-head h1{font-size:27px;letter-spacing:-.8px;margin:7px 0 0}
.page-head p{color:var(--muted);margin:8px 0 0}
.actions,.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.filters{padding:16px 20px;border-bottom:1px solid var(--line)}
.filters input,.filters select{max-width:260px}
.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:22px}
.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}
.panel-head h2{font-size:16px;margin:0}
.panel-body{padding:22px}
.panel-foot{padding:16px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.grid{display:grid;gap:20px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{padding:21px;background:white;border:1px solid var(--line);border-radius:9px}
.stat strong{display:block;font-size:28px;font-weight:600;letter-spacing:-.8px;margin:13px 0 4px}
.stat .caption{font-size:11px;color:var(--muted)}
.spaced{margin-bottom:24px}
.project-card{border:1px solid var(--line);padding:15px;border-radius:8px;margin-bottom:12px;display:block}
.project-card:hover{background:#fff8ef;border-color:#edc8a5}
.project-card strong{font-size:14px;font-weight:550}
.project-card .details{display:flex;justify-content:space-between;gap:10px;margin:9px 0;color:var(--muted);font-size:12px}
.progress{height:6px;background:#eee9de;border-radius:20px;overflow:hidden;margin:11px 0}
.progress>span{display:block;height:100%;background:var(--accent)}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:13px}
th{text-align:left;padding:13px 18px;font-weight:400;white-space:nowrap;border-bottom:1px solid var(--line)}
td{padding:15px 18px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fbfaf6}
.table-title{font-weight:550}
.subtle{display:block;margin-top:5px;font-size:11px;color:var(--muted)}
.money{font-family:var(--ui-font);white-space:nowrap}
.badge{display:inline-block;padding:5px 8px;font:10px var(--ui-font);text-transform:uppercase;letter-spacing:.5px;border-radius:20px;background:#eee9df;white-space:nowrap}
.badge.good{background:#e1eee5;color:#3b7650}
.badge.warn{background:#fff0df;color:#a1672b}
.badge.bad{background:#f5e3e9;color:#a34d67}
.empty{padding:55px 22px;text-align:center;color:var(--muted)}
.empty strong{display:block;color:var(--ink);font-size:17px;margin-bottom:9px}
.empty .button{margin-top:17px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fields label{display:block}
.fields label.full,.full{grid-column:1/-1}
label>span{display:block;margin-bottom:8px;line-height:1.5}
input:not([type=checkbox]):not([type=hidden]),select,textarea{display:block;width:100%;border:1px solid #dcd5c7;border-radius:5px;padding:11px 12px;background:white;color:var(--ink);min-width:0}
textarea{min-height:105px;resize:vertical;line-height:1.6}
input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}
.check-label{display:flex!important;align-items:center;gap:10px;font-size:13px}
.check-label span{font:inherit;letter-spacing:0;text-transform:none;color:var(--ink);margin:0}
.help{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 0}
.notice{background:#edf4ec;border:1px solid #cadfc8;padding:14px 18px;border-radius:8px;margin-bottom:22px;line-height:1.6}
.notice.warning{background:#fff4df;border-color:#ead6ae}
.notice.error{background:#fbeaed;border-color:#eac4cb}
.notice ul{margin:6px 0;padding-left:20px}
.record-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.record-details dt{font:10px var(--ui-font);text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:8px}
.record-details dd{margin:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.record-details .wide{grid-column:1/-1}
.row{display:flex;align-items:center;gap:12px}
.between{justify-content:space-between}
.stack>*+*{margin-top:12px}
.check-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.check-item form{margin:0}
.check-item .done{text-decoration:line-through;color:var(--muted)}
.check-item .author{margin-left:auto;font:10px var(--ui-font);color:var(--muted)}
.check-item button{border:0;padding:0;background:none}
.timeline-event{padding:0 0 20px 20px;border-left:1px solid var(--line);position:relative;font-size:13px}
.timeline-event:before{content:'';width:9px;height:9px;background:var(--accent);border-radius:50%;position:absolute;left:-5px;top:3px}
.timeline-event p{line-height:1.6;margin:8px 0;white-space:pre-wrap}
.kanban{display:grid;grid-template-columns:repeat(6,minmax(190px,1fr));gap:12px;padding:18px;overflow-x:auto}
.kanban-column{background:#f8f6f0;border:1px solid var(--line);border-radius:7px;padding:12px;min-height:300px}
.kanban-card{display:block;background:white;border:1px solid #ddd5c7;padding:14px;margin-top:13px;border-radius:6px;cursor:grab;box-shadow:0 2px 0 #00000005}
.kanban-card p{color:var(--muted);font-size:12px;margin:6px 0}
.kanban-card .money{font-size:11px}
.drop-target{outline:2px dashed var(--accent);outline-offset:-3px}
.gantt{min-width:850px}
.gantt-row{display:grid;grid-template-columns:245px 100px 120px minmax(360px,1fr);align-items:center;border-bottom:1px solid var(--line);min-height:62px;padding:9px 20px;gap:12px}
.gantt-track{height:24px;position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(16.666% - 1px),#eee8dc calc(16.666% - 1px),#eee8dc 16.666%)}
.gantt-bar{position:absolute;top:7px;height:10px;min-width:4px;background:#cdbca6;border-radius:2px}
.gantt-bar>span{display:block;height:100%;background:var(--green);border-radius:2px}
.gantt-date{font:10px var(--ui-font);color:var(--muted)}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(135px,1fr));min-width:1000px}
.calendar-day{min-height:220px;padding:12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.calendar-day.today{background:var(--soft)}
.calendar-day .day{font:11px var(--ui-font);margin-bottom:18px;color:var(--muted)}
.calendar-event{display:block;border-left:3px solid var(--accent);background:var(--soft);padding:10px 8px;margin-bottom:9px;font-size:12px;cursor:grab;border-radius:2px}
.calendar-event.stage{background:var(--sand);border-color:var(--ink)}
.calendar-event small{display:block;font-size:10px;color:#666b60;margin-top:5px}
.calendar.mode-dia{grid-template-columns:1fr;min-width:0}
.calendar.mode-mes .calendar-day{min-height:130px}
.calendar.mode-trimestre .calendar-day{min-height:100px}
.chart{display:flex;align-items:flex-end;gap:25px;height:180px;padding:20px 10px 27px}
.chart-point{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}
.chart-point .bar{width:18px;background:#ded8cb;min-height:1px}
.chart-point .bar.actual{background:var(--ink)}
.chart-point small{position:absolute;bottom:-20px;font:10px var(--ui-font);color:var(--muted)}
.legend{font-size:10px;color:var(--muted);display:flex;gap:15px}
.legend i{display:inline-block;width:9px;height:9px;background:#ded8cb;margin-right:5px}
.legend i.actual{background:var(--ink)}
dialog{border:1px solid var(--line);border-radius:12px;max-width:760px;width:calc(100% - 32px);padding:0;box-shadow:0 24px 80px #0003}
dialog::backdrop{background:#171a1755;backdrop-filter:blur(2px)}
dialog header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
dialog h2{margin:0;font-size:18px}
dialog .dialog-body{padding:24px}
dialog footer{border-top:1px solid var(--line);padding:16px 24px;display:flex;justify-content:flex-end;gap:10px}
.quote-line{display:grid;grid-template-columns:2fr .7fr .6fr 1fr .7fr 35px;gap:8px;margin:10px 0}
.quote-line input{padding:9px 7px;font-size:12px}
.quote-line button{padding:4px}
.toast{position:fixed;right:28px;bottom:25px;background:var(--ink);color:#fff;padding:18px 24px;border-radius:9px;box-shadow:0 10px 40px #0003;z-index:100;max-width:420px}
.preview-document{width:100%;height:620px;border:1px solid var(--line);background:#faf9f6;object-fit:contain}
.tabs{display:flex;gap:5px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--line)}
.tabs a{padding:9px 12px;border-radius:5px;font-size:12px}
.tabs a:hover,.tabs a.active{background:var(--soft);color:#994000}
.mobile-menu{display:none}
.text-right{text-align:right}
.nowrap{white-space:nowrap}
.print-only{display:none}
.no-margin{margin:0}
.rounded-image{width:100%;max-height:230px;object-fit:contain;border:1px solid var(--line);border-radius:6px}
.pagination{padding:15px 20px}
.pagination svg{width:16px}
.pagination nav>div:first-child{display:flex;justify-content:space-between}
.pagination nav>div:nth-child(2){display:none}

@media(max-width:1100px){:root{--sidebar:244px}
.workspace{padding:24px}
.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.two{grid-template-columns:1fr}
}

@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s}
.sidebar.visible{transform:none}
.app{margin:0}
.mobile-menu{display:inline-flex}
.topbar{padding:12px 16px}
.topbar .account-name{display:none}
.workspace{padding:20px 14px}
.page-head{align-items:flex-start;flex-direction:column}
.page-head h1{font-size:25px}
.fields,.record-details{grid-template-columns:1fr}
.grid.three,.grid.four{grid-template-columns:1fr 1fr;gap:12px}
.stat{padding:16px}
.stat strong{font-size:23px}
.panel-body{padding:17px}
.quote-line{grid-template-columns:2fr 1fr 1fr}
.quote-line input:first-child{grid-column:1/-1}
td,th{padding:12px}
.preview-document{height:420px}
.chart{gap:6px;padding-left:0;padding-right:0}
.chart-point{min-width:0}
.chart-point .bar{max-width:44%}
.chart-point small{font-size:8px}
}

@media print{body{background:white;font-size:11px}
.sidebar,.topbar,.actions,.filters,.no-print,button,.pagination{display:none!important}
.app{margin:0}
.workspace{padding:0;max-width:none}
.panel{break-inside:avoid;border-radius:0}
.grid.two{display:block}
.panel-head,.panel-body,.panel-foot{padding:12px}
.page-head h1{font-size:22px}
.print-only{display:block}
.record-details{grid-template-columns:1fr 1fr}
.table-wrap{overflow:visible}
a{color:#000}
.preview-document{height:450px}
dialog{display:none!important}
}


/* Menezes & Bellot — shared identity, supplied original logo outlines. */
body{line-height:1.5}h1,h2,h3{font-weight:600}button,.button{transition:background-color .15s,border-color .15s;color:var(--ink)}.primary,.accent{color:var(--ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:2px solid #FF6A0033;outline-offset:1px}input[type=checkbox]{accent-color:var(--accent)}
.mb-brand{display:flex;align-items:center;flex-direction:column;max-width:100%;text-align:center}.mb-brand__logo{display:block;width:100%;height:auto;max-width:300px;filter:none;box-shadow:none;transform:none}.mb-brand__product{font-size:10px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;line-height:1.5;margin-top:-5px;color:var(--muted)}.mb-brand--negative .mb-brand__product{color:var(--sand)}
.brand-link{display:block;margin:0 0 24px}.sidebar .mb-brand__logo{max-width:236px}.sidebar .mb-brand__product{font-size:10px}.sidebar .nav-label{color:var(--gray);letter-spacing:.12em;margin-top:24px}.sidebar .nav-link,.sidebar summary{color:var(--sand);font-weight:400}.sidebar .nav-link:hover,.sidebar summary:hover{background:#FFFFFF0D;color:white}.sidebar .nav-link.active{background:var(--accent);color:var(--ink);font-weight:600}.sidebar .nav-sub{margin:3px 0 8px 18px;padding-left:9px;border-left:1px solid #FFFFFF20}.sidebar .nav-sub .nav-link{font-size:12px;padding:9px 10px}.sidebar .help{color:#CBC6BE}.sidebar .sidebar-footer{border-top:1px solid #FFFFFF20;margin-top:26px;padding-top:4px}.sidebar summary{font-size:14px}
.topbar{min-height:76px}.topbar .subtle{font-size:11px;letter-spacing:.02em}.topbar .avatar{background:var(--sand);border:1px solid #D1C4B4;color:var(--ink)}.topbar .account-name:hover{color:#994000}.workspace{padding-top:32px}.page-head h1{font-size:29px;line-height:1.2;letter-spacing:-.025em}.eyebrow{color:#8D4C1C;font-weight:600;letter-spacing:.13em}.panel,.stat{box-shadow:0 3px 16px #2B2B2B03}.panel{border-radius:12px}.stat{border-top:2px solid var(--accent)}.stat strong{font-weight:500}.money{font-variant-numeric:tabular-nums}.badge{font-weight:600}.project-card:hover{border-color:#F5B078;background:var(--soft)}.project-card .details{line-height:1.5}.notice{font-family:var(--ui-font)}.calendar-day.today .day{font-weight:600;color:#994000}.tabs a.active{font-weight:600}.table-wrap th{font-weight:600;letter-spacing:.08em}.panel-head h2{font-weight:600}.panel-foot .button{flex-shrink:0}
.description,.subtitle,.password-description{color:var(--muted);font-size:14px;line-height:1.7}.role{display:inline-block;padding:5px 9px;border-radius:20px;font-size:12px;background:var(--paper)}.role.admin{background:var(--soft);color:#994000}.legacy-form .field{margin-bottom:20px}.legacy-form label,.profile-page label{display:block;font-size:13px;font-weight:500;margin-bottom:7px}.legacy-form .hint,.profile-page .password-description{color:var(--muted);font-size:12px;line-height:1.7}.legacy-form .hint{margin-top:8px}.legacy-form .button-primary{background:var(--accent);border-color:var(--accent);font-weight:600}.legacy-form .button-secondary{background:var(--sand)}.legacy-form{max-width:760px}.profile-page{max-width:900px;margin-inline:auto}.profile-card{padding:28px}.profile-card h2{margin-top:0;font-size:20px}.profile-card .field{padding:14px 0;border-bottom:1px solid var(--line)}.profile-card .field:first-child{padding-top:0}.profile-card .label{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.profile-card .password-field{margin:20px 0}.profile-card .save-button{background:var(--accent);border-color:var(--accent);font-weight:600;margin-top:20px}.profile-page .error{background:#FBEAED;color:#913347;padding:10px 14px;border-radius:6px;margin-top:8px}.profile-page .back-link{display:inline-block;color:#994000;margin-bottom:24px}
.auth-page{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:32px 18px;background:var(--paper)}.auth-card{width:100%;max-width:490px;background:var(--white);padding:30px 38px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:14px;box-shadow:0 12px 48px #2B2B2B09}.auth-card .mb-brand{margin:0 auto 25px;max-width:310px}.auth-card .mb-brand__product{margin-top:-7px}.auth-card h1{font-size:25px;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px}.auth-card p{line-height:1.7;color:var(--muted)}.auth-card .subtitle,.auth-card .description{margin-bottom:26px}.auth-card label{display:block;font-size:13px;font-weight:500;margin:18px 0 7px}.auth-card button,.auth-card .button{display:flex;width:100%;background:var(--accent);border-color:var(--accent);color:var(--ink);font-weight:600;margin-top:25px;min-height:45px}.auth-card button:hover{background:#F18B35;border-color:#F18B35}.auth-card .back,.auth-card .forgot{display:block;text-align:center;color:#994000;font-size:12px;margin-top:22px}.auth-card .forgot a{color:#994000}.auth-card .error,.auth-card .message,.auth-card .success{background:var(--soft);color:#913A00;border:1px solid #F2C49B;padding:12px 14px;border-radius:7px;font-size:13px;margin:18px 0}.auth-card .success{background:#EDF4EC;color:#346344;border-color:#CADFC8}.auth-card .hint,.auth-card .note{font-size:12px;color:var(--muted)}.auth-card .email{background:var(--paper);padding:14px;border:1px solid var(--line);border-radius:6px;overflow-wrap:anywhere;margin:22px 0}.auth-footer{font-size:11px;color:var(--muted);text-align:center;line-height:1.7;border-top:1px solid var(--line);padding-top:20px;margin-top:30px}.auth-card input[readonly]{background:var(--paper)}
.print-brand{display:none}
@media(max-width:1100px){.page-head h1{font-size:27px}}
@media(max-width:760px){.sidebar{width:244px}.workspace{padding:22px 14px}.topbar{min-height:66px}.profile-card{padding:20px}.auth-card{padding:25px 24px}.page-head h1{font-size:25px}.auth-card h1{font-size:24px}.actions .button{white-space:normal}.profile-card .save-button{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{@page{margin:14mm}body{font-family:var(--ui-font);color:var(--ink);print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-brand{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--accent);margin-bottom:20px;padding-bottom:9px}.print-brand .mb-brand{width:240px}.print-brand .mb-brand__product{font-size:9px}.print-brand>span{font-size:10px;color:var(--muted)}.panel{box-shadow:none}.stat{border-top-color:var(--ink)}.auth-page{display:block;background:white}.auth-card{max-width:none;box-shadow:none}.auth-footer{display:none}}

.auth-card .forgot-password{text-align:right;font-size:12px;margin-top:12px;color:#994000}

.sidebar{scrollbar-width:thin;scrollbar-color:#6A635B var(--ink)}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:var(--ink)}.sidebar::-webkit-scrollbar-thumb{background:#6A635B;border-radius:6px}

.sidebar .meb-main-navigation .nav-link.active{background:#f5863429;color:#fff4e9;box-shadow:inset 3px 0 var(--accent)}
.sidebar .meb-nav-group{border-top:1px solid #ffffff26;margin-top:14px;padding-top:15px}
.meb-main-navigation .nav-label{letter-spacing:.06em}
.meb-mural-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr);gap:16px;align-items:start}
.meb-mural-grid .panel{margin:0}
.meb-mural-grid .panel-head,.meb-mural-heading{align-items:center}
.meb-mural-divider{border-top:1px solid var(--line)}
.meb-mural-items{padding:0 16px}
.meb-mural-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;color:inherit;border-bottom:1px solid var(--line)}
.meb-mural-item:last-child{border-bottom:0}
.meb-mural-item:hover strong,.meb-project-table .table-title:hover{text-decoration:underline}
.meb-mural-item time{font-variant-numeric:tabular-nums;color:var(--muted)}
.meb-mural-item .meb-urgent,.meb-urgent{color:#963a28;font-weight:650}
.meb-mural-summary dl{margin:0;padding:3px 16px 9px}
.meb-mural-summary dl div{display:flex;gap:10px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line)}
.meb-mural-summary dl div:last-child{border-bottom:0}
.meb-mural-summary dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}
.meb-mural-history>summary{display:block;padding:13px 16px;font-weight:600;cursor:pointer}
.meb-progress-value{display:flex;align-items:center;gap:8px;min-width:110px}
.meb-progress-value progress{width:min(140px,100%);height:8px;accent-color:#9c633c}
.meb-date-late{display:inline-block;color:#963a28;background:#fae9e2;font-weight:600;padding:3px 7px;border-radius:5px;white-space:nowrap}
.meb-project-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.meb-project-filters input[name=q]{flex:2 1 230px}
.meb-project-filters select{flex:1 1 155px;min-width:145px}
.meb-project-table{min-width:665px}
.meb-project-table .table-title{font-size:15px;font-weight:650}
.meb-row-actions{position:relative}
.meb-row-actions summary{display:block;list-style:none;border:1px solid var(--line);border-radius:6px;cursor:pointer;font-size:19px;line-height:1;text-align:center;padding:3px;min-width:28px}
.meb-row-actions summary::-webkit-details-marker{display:none}
.meb-row-actions[open]>div{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}
.meb-finance-toolbar,.meb-finance-filters,.meb-finance-views{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.meb-finance-filters{margin-inline-start:auto}
.meb-finance-filters input[type=month]{width:auto;min-width:150px}
.meb-finance-filters select{width:auto;max-width:230px}
.button.meb-tab-active{background:#f6e2d2;color:#743513;border-color:#e8c2a5;font-weight:650}
.meb-finance-stats .stat{border-top:1px solid var(--line)}
.meb-finance-stats .meb-cash-result{border-top:2px solid var(--accent);background:#fff7ee}
.meb-finance-stats .meb-cash-result strong{font-weight:700}
@media(max-width:760px){.meb-mural-grid{grid-template-columns:1fr}.meb-mural-item{grid-template-columns:42px minmax(0,1fr) auto;gap:6px}.meb-finance-filters{margin-inline-start:0}.meb-finance-views{width:100%}}

.meb-icon-library{position:absolute;width:0;height:0;overflow:hidden}
.meb-ui-icon{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.meb-icon-label,.meb-mural-summary dt{display:inline-flex;align-items:center;gap:7px}
.meb-mural-heading h1{font-size:clamp(26px,2.35vw,36px);font-weight:650}
.meb-mural-item{grid-template-columns:24px minmax(46px,65px) minmax(0,1fr) auto;gap:12px}
.meb-mural-item a{min-width:0;color:inherit}
.meb-mural-item .subtle.meb-icon-label{display:flex;margin-top:3px}
.meb-mural-item time{border-right:1px solid var(--line);padding-right:8px}
.meb-mural-late{background:#f5eae35e}
.meb-complete-form{margin:0;text-align:center}
.meb-complete-form input[type=checkbox]{display:block;margin:auto;width:16px;height:16px;cursor:pointer}
.meb-featured-projects{list-style:none;margin:0;padding:4px 16px 13px}
.meb-featured-projects li+li{border-top:1px solid var(--line)}
.meb-featured-projects a{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;color:inherit}
.meb-featured-projects a:hover span{text-decoration:underline}
.meb-featured-projects strong,.meb-progress-value strong{font-variant-numeric:tabular-nums}
.meb-mural-projects{min-width:580px}
.meb-progress-cell{width:35%;min-width:150px}
.meb-progress-value progress{appearance:none;width:100%;max-width:340px;height:13px;border:0;border-radius:8px;overflow:hidden;background:#e8e0d7;accent-color:#d85b18}
.meb-progress-value progress::-webkit-progress-bar{background:#e8e0d7;border-radius:8px}
.meb-progress-value progress::-webkit-progress-value{background:#d85b18;border-radius:8px}
.meb-progress-value progress::-moz-progress-bar{background:#d85b18;border-radius:8px}
.meb-progress-value strong{min-width:40px;text-align:right}
.meb-week-table{min-width:570px}
.meb-week-table :is(th,td):nth-child(-n+2){width:13%}
.meb-week-table :is(th,td):nth-child(3){width:42%}
@media(max-width:500px){.meb-mural-item{gap:7px;grid-template-columns:20px 45px minmax(0,1fr) auto}.meb-mural-item .meb-date-late{font-size:10px}.meb-mural-items{padding:0 11px}}


.meb-project-space{max-width:1460px;margin-inline:auto}
.meb-project-crumb{gap:12px;margin-bottom:14px;flex-wrap:wrap}
.meb-project-crumb nav{color:var(--muted);font-size:13px}
.meb-project-crumb nav a{font-weight:600;color:#8c431d}
.meb-project-hero{display:grid;align-items:center;gap:24px;padding:12px 0 19px}
.meb-project-hero-with-cover{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr)}
.meb-project-hero h1{font:650 clamp(30px,4vw,52px)/1.08 Georgia,serif;letter-spacing:-.025em;margin:0 0 12px}
.meb-project-hero-compact h1{font-size:clamp(26px,3vw,37px)}
.meb-project-cover{display:block;width:100%;height:clamp(170px,22vw,270px);object-fit:cover;border-radius:9px}
.meb-project-hero-compact.meb-project-hero-with-cover{grid-template-columns:minmax(0,1fr) minmax(110px,185px)}
.meb-project-hero-compact .meb-project-cover{height:80px}
.meb-project-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted)}
.meb-project-key{display:grid;gap:9px;margin:16px 0 0}
.meb-project-key div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.meb-project-key dt{color:var(--muted);font-size:13px}.meb-project-key dd{margin:0;font-weight:600}
.meb-project-tabs{display:flex;gap:4px;border-block-end:1px solid var(--line);margin-block:0 18px;overflow-x:auto}
.meb-project-tabs a{padding:11px 13px;border-bottom:3px solid transparent;white-space:nowrap;color:var(--ink)}
.meb-project-tabs a[aria-current=page]{border-color:var(--accent);color:#8c431d;font-weight:650}
.meb-project-overview,.meb-project-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.meb-project-library{grid-template-columns:minmax(0,3fr) minmax(200px,1fr)}
.meb-project-list{padding:3px 16px 10px}
.meb-project-list-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 0;color:inherit;border-bottom:1px solid var(--line)}
.meb-project-list-row:last-child{border-bottom:0}
.meb-project-list-row strong{overflow-wrap:anywhere}
.meb-project-list-row small,.meb-project-progress small{display:block;color:var(--muted);font-size:12px}
.meb-project-list-meta{font-size:12px;white-space:nowrap}
.meb-project-milestone{display:flex;align-items:center;gap:12px;padding:14px;background:#f2e6d9;border-radius:8px;margin:8px 16px 16px}
.meb-project-milestone div>*{display:block}.meb-project-milestone small{color:#6b4c36}
.meb-project-progress{margin-inline-start:auto;text-align:right;font-weight:700}
.meb-library-filters,.meb-library-types{display:flex;gap:8px;flex-wrap:wrap;padding:12px 16px 0}
.meb-library-filters input[type=search]{width:auto;flex:2 1 165px;min-width:145px}
.meb-library-filters select{width:auto;max-width:190px}
.meb-library-types{padding-bottom:12px}
.meb-library-types a{font-size:12px;padding:5px 10px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}
.meb-library-types a[aria-current=true]{background:#f4e5d9;color:#813b1b;font-weight:650}
.meb-library-name{display:flex;align-items:center;gap:9px;font-weight:650;overflow-wrap:anywhere}
.meb-library-name small{display:block;font-weight:400;color:var(--muted)}
.meb-library-actions>summary{cursor:pointer;list-style:none;text-align:center;font-size:20px;min-width:34px}
.meb-library-actions>summary::-webkit-details-marker{display:none}
.meb-library-actions[open]>div{width:240px;text-align:left}
.meb-library-actions .project-file-card{margin-top:7px}
.meb-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:880px){.meb-project-library{grid-template-columns:1fr}}
@media(max-width:620px){.meb-project-overview,.meb-project-hero-with-cover{grid-template-columns:1fr}.meb-project-cover{height:170px}.meb-project-hero-compact.meb-project-hero-with-cover{grid-template-columns:minmax(0,1fr) 90px}.meb-project-hero-compact .meb-project-cover{height:63px}.meb-library-table{min-width:540px}}

.meb-finance-mode{display:flex;gap:12px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.meb-finance-mode a{padding:9px 12px;border-bottom:3px solid transparent;color:var(--ink)}
.meb-finance-mode a[aria-current=page]{border-color:var(--accent);color:#8c431d;font-weight:650}
.meb-ledger-summary{display:flex;gap:8px 26px;flex-wrap:wrap;padding:11px 15px;margin-bottom:15px;background:#f1e7da;border-radius:7px}
.meb-ledger-summary strong{margin-inline-start:4px;font-variant-numeric:tabular-nums}
.meb-ledger-layout{display:grid;gap:15px;align-items:start;grid-template-columns:minmax(0,1fr)}
.meb-ledger-layout.has-detail{grid-template-columns:minmax(0,1fr) minmax(240px,300px)}
.meb-ledger-layout .panel{min-width:0}
.meb-ledger-filters,.meb-ledger-types,.meb-ledger-batch{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:11px 14px}
.meb-ledger-filters label{flex:1 1 100px}.meb-ledger-filters label span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.meb-ledger-filters label.meb-ledger-search{flex:2 1 185px}
.meb-ledger-filters select,.meb-ledger-filters input{width:100%;min-width:0}
.meb-ledger-types{padding-block:0 10px}
.meb-ledger-batch{margin:0 14px 9px;padding:7px 10px;background:#f8eddf;border-radius:6px;align-items:center}
.meb-ledger-batch label{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.meb-ledger-batch input{width:150px}
.meb-ledger-table{min-width:620px}
.meb-ledger-table th{letter-spacing:normal;white-space:nowrap}
.meb-ledger-table td,.meb-ledger-table th{padding:9px 10px}
.meb-ledger-table tbody tr:nth-child(even){background:#f7f3ed66}
.meb-ledger-table tbody tr.meb-ledger-selected,.meb-ledger-table tbody tr:hover{background:#f6e5d3}
.meb-ledger-money{text-align:right}.meb-ledger-money .subtle{text-align:right}
.meb-ledger-detail{position:sticky;top:12px;scroll-margin-top:80px}
.meb-ledger-detail h2,.meb-ledger-notes,.meb-ledger-data dd{overflow-wrap:anywhere}
.meb-ledger-detail h3{font-size:14px;margin-block:13px 6px}
.meb-ledger-data{margin:0;display:grid;gap:7px}
.meb-ledger-data div{display:flex;gap:7px;justify-content:space-between}.meb-ledger-data dt{color:var(--muted)}.meb-ledger-data dd{margin:0;text-align:right}
.meb-ledger-notes{white-space:pre-wrap}.meb-ledger-detail-form{display:flex;gap:6px;align-items:end;flex-wrap:wrap;margin:9px 0}.meb-ledger-detail-form input{display:block}
.meb-ledger-payments{list-style:none;margin:0 0 12px;padding:0}.meb-ledger-payments li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 0;border-bottom:1px solid var(--line)}
@media(max-width:960px){.meb-ledger-layout.has-detail{grid-template-columns:minmax(0,1fr)}.meb-ledger-detail{position:static}.meb-ledger-layout.has-detail .meb-ledger-detail{grid-row:1}}

.rdo-form { display:grid; gap:16px; }
.rdo-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.rdo-field-wide { grid-column:1/-1; }
.rdo-fields textarea { min-height:0; }
.rdo-photo-upload { border:1px dashed currentColor; border-radius:12px; padding:16px; }
.rdo-error { color:#a62732; }
.rdo-gallery { margin-block:20px; }
.rdo-gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr)); gap:14px; }
.rdo-gallery figure { margin:0; break-inside:avoid; }
.rdo-gallery img { width:100%; max-height:280px; aspect-ratio:4/3; object-fit:contain; border-radius:10px; }
.rdo-gallery figcaption { overflow-wrap:anywhere; }
.rdo-preserve { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:650px) { .rdo-fields { grid-template-columns:1fr; } }
@media print {
    .rdo-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .rdo-gallery img { max-height:180px; }
}
