/* V6 owner compact food views; loaded after historical showcase styles. */
#view .cc-branch-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#view .cc-branch-panel{min-width:0;border:1px solid var(--line,#d4d9df);border-radius:12px;overflow:hidden;background:var(--panel,var(--bg))}
#view .cc-branch-panel>header{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:color-mix(in srgb,var(--branch) 30%,var(--bg,#fff))}
#view .cc-branch-panel h2{font-size:16px;margin:0;color:var(--text)}
#view .cc-branch-date{font-size:12px;padding:0 16px}
#view .cc-branch-labels,#view .cc-branch-row{display:grid;grid-template-columns:minmax(130px,1fr) 78px 55px 90px;gap:8px;padding:10px 16px;font-size:12px;align-items:center}
#view .cc-branch-labels{color:var(--muted);font-weight:600}
#view .cc-branch-row{color:var(--text);border-top:1px solid var(--line,#d4d9df);text-decoration:none}
#view .cc-branch-row>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
#view .cc-branch-row b{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
#view .cc-branch-row small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
#view .cc-show-more>summary{cursor:pointer;padding:12px 16px;font-size:13px;color:var(--text)}
#view .cc-report-note{font-size:12px;line-height:1.5}
#view .cc-top{display:flex!important;gap:12px;overflow-x:auto;align-items:stretch;grid-template-columns:none!important;padding-bottom:8px}
#view .cc-top .cc-ti{display:flex!important;flex-direction:column!important;flex:0 0 180px;width:180px;min-width:180px;gap:8px;padding:12px;align-items:flex-start;white-space:normal}
#view .cc-top .cc-ti .ph{width:36px;height:36px;flex:none}
#view .cc-top .cc-ti b{font-size:13px;line-height:1.35;word-break:normal;overflow-wrap:normal;width:100%}
#view .cc-top .cc-ti small{font-size:12px;line-height:1.4;white-space:normal}
#view .v6-category-items a,#view .v6-category-items b,#view .v6-category{color:var(--text);font-size:13px}
#view .v6-category[aria-expanded=true]{background:color-mix(in srgb,#82b6ee 18%,var(--bg));border-color:#82b6ee}
#view .cc-owner-compact .cc-sum{margin-bottom:14px}
@media(max-width:900px){#view .cc-branch-panels{grid-template-columns:1fr}}
@media(max-width:480px){#view .cc-branch-labels,#view .cc-branch-row{grid-template-columns:minmax(105px,1fr) 58px 38px 68px;gap:5px;padding:10px}#view .cc-branch-row b{font-size:12px}#view .cc-top .cc-ti{flex-basis:160px;width:160px;min-width:160px}}

/* Selected single-property panels use the available dashboard width. */
#view .cc-branch-panels>.cc-branch-panel:only-child{grid-column:1/-1}


/* Daily52: one complete responsive report, no horizontal scroll workspace. */
#view .v6-daily-fit{width:100%;max-width:100%;overflow:visible}
#view .v6-daily-fit table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed}
#view .v6-daily-fit :is(th,td){white-space:normal!important;overflow-wrap:anywhere;padding:10px 6px;font-size:12px!important;vertical-align:top}
#view .v6-daily-fit th:nth-child(3){width:20%}
#view .v6-daily-fit caption{text-align:left;font-size:12px;line-height:1.5;padding:8px 0;color:var(--text)}
#view .v6-daily-fit .subtotal{font-weight:700;background:var(--raised)}
#view .v6-daily-fit .n{font-variant-numeric:tabular-nums}
@media(max-width:900px){
 #view .v6-daily-fit :is(table,tbody,tr){display:block;width:100%!important}
 #view .v6-daily-fit thead{display:none}
 #view .v6-daily-fit tr{padding:10px 0;border-bottom:1px solid var(--line)}
 #view .v6-daily-fit td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px;text-align:right!important;border:0;padding:4px 10px;font-size:13px!important}
 #view .v6-daily-fit td::before{content:attr(data-label);font-size:12px;text-align:left;font-weight:500;color:var(--text)}
}
/* Timeline56 uses the outer page for vertical movement; retain horizontal day pan. */
.v6-clean-timeline{max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important}
.v6-clean-show>i{opacity:1}

/* V6-63: a block table needs a full-width caption on phone. */
@media(max-width:900px){#view .v6-daily-fit caption{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}}
