/* Product layout consumes the canonical IFX foundation; no independent palette. */
body{margin:0}a{text-underline-offset:3px}nav{display:flex;flex-wrap:wrap;gap:12px;align-items:center}nav form{margin:0}
.site-header{position:sticky;top:0;z-index:100;background:var(--ifx-color-brand);color:var(--ifx-color-on-brand)}.site-header-inner{max-width:1000px;margin:auto;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:8px 16px;min-height:48px}.site-header a,.site-header button.link{color:var(--ifx-color-on-brand);text-decoration:none;display:inline-flex;align-items:center;min-height:32px}.site-header a:hover{text-decoration:underline}.site-header :focus-visible{outline-color:var(--ifx-color-on-brand)}.site-header .brand{font-size:20px;font-weight:700;flex-shrink:0}[data-ifx-application-layout] .site-header button.link{background:transparent;border-color:transparent;padding:0;font:inherit;text-transform:none}
.page{max-width:1000px;margin:auto;padding:12px 16px 24px}.community-scope-toolbar{justify-content:flex-end;margin-bottom:12px;min-height:32px}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}h1{font-size:24px;line-height:1.35;margin-bottom:6px!important}h2{font-size:18px;margin-bottom:8px!important}p{line-height:1.6;overflow-wrap:anywhere}.muted,.post-meta,.eyebrow{color:var(--ifx-color-text-muted)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.button,.filter{display:inline-flex;align-items:center;justify-content:center;min-height:var(--ifx-control-height);padding:4px 10px;border:1px solid var(--ifx-color-control-border);border-radius:var(--ifx-radius-control);text-decoration:none}.button{background:var(--ifx-color-action);color:var(--ifx-color-on-brand)!important;border-color:var(--ifx-color-action)}.filter[aria-pressed=true]{background:var(--ifx-color-surface-selected)}.filter-summary{display:flex;justify-content:space-between;gap:12px;margin:12px 0!important}
.post-list,.detail,.editor{background:var(--ifx-color-surface);border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel)}.post-row{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-bottom:1px solid var(--ifx-color-border)}.post-row:last-child{border:0}.post-content{min-width:0;flex:1}.post-title{font-size:16px;font-weight:650;color:var(--ifx-color-text)!important;text-decoration:none;overflow-wrap:anywhere}.post-title:hover{text-decoration:underline}.post-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}.status{display:inline-flex;white-space:nowrap;border:1px solid var(--ifx-color-border-strong);background:var(--ifx-color-surface-muted);border-radius:var(--ifx-radius-control);padding:3px 6px;color:var(--ifx-color-text-muted)}.empty{padding:24px}.pagination{justify-content:center;margin:16px 0}.back{display:inline-block;margin-bottom:12px}.detail{padding:16px;min-width:0}.detail h1{overflow-wrap:anywhere;min-width:0}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin-top:16px}.editor{max-width:680px;padding:16px;margin:auto}label{display:block;margin-bottom:4px}input:not([type=checkbox]):not([type=radio]),textarea{width:100%;margin:0 0 12px}textarea{min-height:120px;resize:vertical}.error{color:var(--ifx-color-danger);overflow-wrap:anywhere;margin:8px 0!important}.error:empty{display:none}
[data-ifx-application-layout] main button{background:var(--ifx-color-action);color:var(--ifx-color-on-brand);border-color:var(--ifx-color-action);text-transform:none;font:inherit}[data-ifx-application-layout] main button.danger{background:var(--ifx-color-danger);border-color:var(--ifx-color-danger)}.post-tools{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-top:16px;border-top:1px solid var(--ifx-color-border);padding-top:12px}summary{cursor:pointer;color:var(--ifx-color-action);min-height:32px;padding:4px 0}.replies{max-width:800px;margin:24px auto}.reply{padding:12px 0;border-bottom:1px solid var(--ifx-color-border)}.reply .post-body{margin:8px 0}.reply form{max-width:650px}.reply-form{margin-top:16px}.latest{background:var(--ifx-color-surface-muted);padding:12px;border:1px solid var(--ifx-color-border);margin-bottom:12px}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}.toolbar>div{min-width:150px}select{max-width:100%;margin:0}.check{display:flex;align-items:center;gap:6px;padding:6px 0}.check input{width:auto;margin:0}
[data-ifx-application-layout] .e-input-group.community-field,[data-ifx-application-layout] .e-float-input.community-field{border:1px solid var(--ifx-color-control-border);border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface);margin-bottom:12px;min-height:var(--ifx-control-height);font:inherit}[data-ifx-application-layout] .community-field input,[data-ifx-application-layout] .community-field textarea{margin:0;font:inherit;color:var(--ifx-color-text);padding:4px 8px}[data-ifx-application-layout] .community-field.e-input-focus{border-color:var(--ifx-color-focus);outline:var(--ifx-focus-ring);outline-offset:2px}.community-field.e-popup{font:inherit}.community-field.e-popup .e-list-item.e-active{background:var(--ifx-color-surface-selected);color:var(--ifx-color-text)}[hidden]{display:none!important}
/* Native fields and EJ2 wrappers share one foreground contract. EJ2 paints
   disabled text with text-fill-color and inherits wrapper color in its inputs. */
[data-ifx-application-layout] .community-field{
 --color-sf-content-text-color:var(--ifx-color-text);
 --color-sf-content-text-color-disabled:var(--ifx-color-text-muted);
 --color-sf-placeholder-text-color:var(--ifx-color-text-muted);
 --color-sf-content-bg-color-alt1:var(--ifx-color-surface);
 color:var(--ifx-color-text);
 -webkit-text-fill-color:currentColor;
}
[data-ifx-application-layout] :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select){
 color:var(--ifx-color-text);
 -webkit-text-fill-color:currentColor;
 caret-color:currentColor;
}
[data-ifx-application-layout] :where(input,textarea)::placeholder{
 color:var(--ifx-color-text-muted);
 -webkit-text-fill-color:currentColor;
 opacity:1;
}
[data-ifx-application-layout] :where(input):is(:autofill,:-webkit-autofill),
[data-ifx-application-layout] :where(input,textarea)[readonly]{
 color:var(--ifx-color-text);
 -webkit-text-fill-color:currentColor;
}
[data-ifx-application-layout] .community-field.e-disabled{
 --color-sf-content-bg-color-alt1:var(--ifx-color-surface-muted);
 color:var(--ifx-color-text-muted);
 -webkit-text-fill-color:currentColor;
 opacity:1;
}
[data-ifx-application-layout] :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select):disabled{
 color:var(--ifx-color-text-muted);
 -webkit-text-fill-color:currentColor;
 background:var(--ifx-color-surface-muted);
 opacity:1;
}
@media(max-width:600px){.site-header-inner{align-items:flex-start;gap:12px;padding:8px 12px}.site-header nav{justify-content:flex-end;gap:4px 12px}.page{padding:12px}.heading,.filter-summary{flex-wrap:wrap}.post-row,.detail,.editor{padding:12px}body{--ifx-control-height:40px}.site-header a,.site-header button.link{min-height:40px}}@media print{.site-header{position:static}}
html{scroll-padding-top:calc(var(--community-header-height,88px) + 12px)}main :is(a,button,input,textarea,select,summary),#replies{scroll-margin-top:calc(var(--community-header-height,88px) + 12px)}
/* Community paper/wood theme requested by the product owner; IFX skeleton retained. */
[data-ifx-application-layout][data-ifx-theme="dnw-light"]{--ifx-color-canvas:#f4f0e7;--ifx-color-surface:#fffdf8;--ifx-color-surface-muted:#f7f3eb;--ifx-color-surface-selected:#eae5da;--ifx-color-text:#383129;--ifx-color-text-muted:#70665a;--community-feed-quote-meta:#685e52;--ifx-color-border:#dad3c6;--ifx-color-border-strong:#b5aa99;--ifx-color-control-border:#9d907e;--ifx-color-brand:#776d60;--ifx-color-on-brand:#fdfcf8;--ifx-color-action:#776858;--ifx-color-action-hover:#655646;--ifx-color-focus:#785b3f;--ifx-color-success:#496347;--ifx-color-danger:#914e46;--ifx-color-info:#4e6579;--ifx-color-warning:#80602f;color-scheme:light}
.optional-profile{border:0;border-top:1px solid var(--ifx-color-border);padding:12px 0;margin:12px 0}.optional-profile legend{color:var(--ifx-color-text-muted);padding-right:8px}
.google-signin{max-width:680px;margin:12px auto;padding:12px 16px}.google-signin p{margin-top:6px!important}
.media-editor{border:0;border-top:1px solid var(--ifx-color-border);margin:12px 0;padding:12px 0}.media-editor legend{font-weight:650}.media-editor p{margin-bottom:8px!important}.media-previews,.retained-media,.post-media{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.media-preview,.retained-item{min-width:0;max-width:100%;flex:1 1 220px;background:var(--ifx-color-surface-muted);border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);padding:8px}.media-preview img,.retained-item img{width:100%;max-height:240px;object-fit:contain}.media-preview video,.retained-item video{width:100%;max-height:300px}.media-preview p{overflow-wrap:anywhere}.post-media>a,.post-media>div{flex:1 1 320px;min-width:0;max-width:100%}.post-media img,.post-media video{display:block;width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:var(--ifx-radius-panel)}[data-community-media]{padding:8px!important}.draft-status{padding:8px 0}.draft-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}
.media-picker[data-media-enhanced="true"]{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin-bottom:12px}.media-picker[data-media-enhanced="true"] .media-picker-control{position:relative;flex:none;max-width:100%}.media-picker-trigger{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;margin:0;padding:8px 12px;border:1px solid var(--ifx-color-control-border);border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface-muted);color:var(--ifx-color-action);font:inherit;cursor:pointer}.media-picker[data-media-enhanced="true"] input[data-community-media]{position:absolute;inset:0;opacity:0;box-sizing:border-box;width:100%;height:100%;min-height:44px;margin:0!important;padding:0!important;cursor:pointer}.media-picker-control:focus-within .media-picker-trigger{outline:var(--ifx-focus-ring);outline-offset:2px}.media-selection{flex:1 1 180px;min-width:0;color:var(--ifx-color-text-muted);overflow-wrap:anywhere}
/* Video input keeps preview, key facts, state and the next action in one attachment frame. */
.media-editor .media-video-requirement{color:var(--ifx-color-text)}
.media-editor .media-previews{container:community-media / inline-size}
.media-editor .media-preview.media-preview-video{display:grid;grid-template-columns:minmax(0,1fr) minmax(8.5rem,.75fr);align-items:start;gap:var(--ifx-space-3);flex-basis:100%;width:100%}
.media-editor .media-preview-video>video{display:block;min-width:0;width:100%;aspect-ratio:16/9;max-height:15rem;object-fit:contain;border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface)}
.media-editor .media-video-info{display:grid;align-content:start;gap:var(--ifx-space-2);min-width:0}
.media-editor .media-video-info>p{margin:0!important;overflow-wrap:anywhere}
.media-editor .media-video-facts{display:flex;flex-wrap:wrap;gap:var(--ifx-space-1) var(--ifx-space-2);min-width:0;color:var(--ifx-color-text-muted);font-variant-numeric:tabular-nums}
.media-editor .media-video-facts>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.media-editor .media-video-status{padding:var(--ifx-space-1) var(--ifx-space-2);border-left:3px solid currentColor;border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface);color:var(--ifx-color-text-muted)}
.media-editor .media-video-status[data-state="pending"]{color:var(--ifx-color-warning)}
.media-editor .media-video-status[data-state="working"]{color:var(--ifx-color-action)}
.media-editor .media-video-status[data-state="error"]{color:var(--ifx-color-danger)}
.media-editor .media-video-status[data-state="done"]{color:var(--ifx-color-success)}
.media-editor .media-video-info progress{display:block;width:100%;height:.75rem;accent-color:var(--ifx-color-action)}
.media-editor .media-video-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ifx-space-1)}
.media-editor .media-video-diagnostics{min-width:0;max-width:100%}
.media-editor .media-video-diagnostics pre{max-height:16rem;max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:var(--ifx-space-2);background:var(--ifx-color-surface);color:var(--ifx-color-text);font-size:inherit}
.media-editor .media-video-diagnostics button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
[data-ifx-application-layout] .media-editor .media-video-actions button{min-height:44px;max-width:100%;padding-inline:var(--ifx-space-2);white-space:normal;overflow-wrap:anywhere}
@container community-media (max-width:21rem){.media-editor .media-preview.media-preview-video{grid-template-columns:minmax(0,1fr)}.media-editor .media-preview-video>video{max-height:12rem}}
/* One semantic link covers the card; management actions retain their own hit area. */
.post-row--linked{position:relative;cursor:pointer}.post-row--linked .post-title::after{content:"";position:absolute;inset:0}.post-row--linked:hover{background:var(--ifx-color-surface-muted)}.post-row--linked:focus-within{outline:var(--ifx-focus-ring);outline-offset:-3px}.post-row--linked>details{position:relative;z-index:1;cursor:auto}
.channel-member-list>.post-row,.channel-directory>.post-row{display:block;overflow-wrap:anywhere}.channel-member-list details{margin-top:8px}.channel-member-list form{max-width:560px}

[data-feed-chunk]{display:contents}.feed-loading{display:flex;flex-direction:column;align-items:center;gap:8px;margin:16px 0}.feed-loading p{margin:0;text-align:center}
.local-services{margin:12px 0 20px;padding:12px;background:var(--ifx-color-surface);border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel)}.local-services h2{margin:0 0 8px}.fuel-service{display:block;padding:12px 0;border-bottom:1px solid var(--ifx-color-border);text-decoration:none;color:inherit;overflow-wrap:anywhere}.fuel-service:last-child{border-bottom:0}.fuel-service>strong{margin-right:8px}.fuel-service:hover{background:var(--ifx-color-surface-muted)}.fuel-service:focus-visible{outline:var(--ifx-focus-ring)}.fuel-values{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0}.fuel-values>span{display:inline-flex;align-items:center;gap:5px}.fuel-values svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.fuel-summary p{margin:6px 0}.fuel-log{padding:14px 0;border-bottom:1px solid var(--ifx-color-border);overflow-wrap:anywhere}.fuel-log:target{background:var(--ifx-color-surface-muted)}
.service-dimension{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}.service-dimension>span{flex-basis:100%;padding-left:28px}.service-dimension svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.service-kind{display:inline-block;margin-right:8px;padding:1px 6px;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);font-size:inherit}.local-services .fuel-service{overflow-wrap:anywhere}

.product-editor{border:1px solid var(--community-border,#d6c5ae);padding:1rem;margin-bottom:1rem;min-width:0}.product-offer{padding:1rem 0;border-block:1px solid #decfbf;margin-block:1rem}.product-offer form{max-width:28rem}.product-price{margin:.4rem 0}.product-offer input{width:100%;min-width:0}

.order-maintenance{display:flex;flex-direction:column;gap:1rem}.order-maintenance form{padding:1rem;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel)}

.order-state{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.order-state svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}

.product-variant-row{border-top:1px solid var(--community-border,#dfcfb5);padding:.4rem 0}.product-variant-row[hidden]{display:none}.product-variant-values{display:flex;gap:.6rem}.product-variant-values>div{flex:1;min-width:0}.product-variants-editor summary{cursor:pointer;font-weight:600}.product-variants-editor{margin:.5rem 0}.whatsapp-contact{display:inline-flex;align-items:center;gap:.35rem}.whatsapp-glyph{width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.6}.post-share{margin:.5rem 0}.post-share summary{cursor:pointer}
/* Product facts remain separate from reading text; money is never line-clamped. */
.product-prices{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:7px;min-width:0;margin:4px 0;color:var(--ifx-color-text)}
.product-price-icon{width:18px;height:18px;margin-top:6px;fill:none;stroke:var(--community-color-price,var(--ifx-color-info));stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-price-list{width:100%;table-layout:fixed;border-collapse:collapse;margin:0;font:inherit}
.product-price-list th,.product-price-list td{padding:4px 0;vertical-align:top;border:0;border-bottom:1px solid var(--ifx-color-border);line-height:1.45;overflow-wrap:anywhere}
.product-price-list tr:last-child th,.product-price-list tr:last-child td{border-bottom:0}
.product-price-list th{width:45%;text-align:start;font-weight:500;padding-inline-end:10px}
.product-price-list td{text-align:end}
.product-price-value{color:var(--community-color-price,var(--ifx-color-info));font-weight:700;white-space:nowrap}
.product-price-value[data-price-kind=quoted]{color:var(--ifx-color-text-muted);font-weight:550;white-space:normal}
.product-price-unit{display:inline-block;color:var(--ifx-color-text-muted);max-width:100%;overflow-wrap:anywhere}
.feed-product-offer{grid-column:1/-1;min-width:0;margin-top:2px;padding-top:4px;border-top:1px solid var(--ifx-color-border)}
.product-sale-line{display:flex;align-items:center;justify-content:space-between;gap:4px 10px;flex-wrap:wrap;min-width:0}
.product-sale-line .product-quick-state-form{margin:0!important}
.product-stock-entry{display:flex;align-items:center;gap:6px;max-width:22rem;min-width:0}.product-stock-entry input{flex:1;min-width:0;margin:0!important}.product-stock-entry button{flex:none;min-width:44px;min-height:44px;font-size:1.15em}
.product-stock-state{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:3px 0;color:var(--ifx-color-text-muted);overflow-wrap:anywhere;line-height:1.45}
.product-stock-state svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;flex:none}
.product-stock-state.is-empty{padding:2px 6px;border:1px solid var(--ifx-color-warning);border-radius:var(--ifx-radius-control);color:var(--ifx-color-warning);font-weight:650}

.post-share{position:relative;width:max-content;max-width:100%}.post-share-trigger{display:inline-flex;align-items:center;gap:.35rem;min-height:36px;padding:3px 8px;border:1px solid var(--ifx-color-control-border);border-radius:var(--ifx-radius-control);list-style:none}.post-share-trigger::-webkit-details-marker{display:none}.post-share-trigger:hover,.post-share-menu>a:hover,.post-share-menu>button:hover{background:var(--ifx-color-surface-muted)}.post-share-trigger:focus-visible,.post-share-menu>a:focus-visible,.post-share-menu>button:focus-visible{outline:var(--ifx-focus-ring);outline-offset:2px}.share-glyph,.facebook-glyph{width:1.2em;height:1.2em;flex:none}.share-glyph{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.facebook-glyph{fill:currentColor}.post-share-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:30;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:180px;max-width:calc(100vw - 40px);padding:5px;background:var(--ifx-color-surface);border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);box-shadow:0 4px 16px rgba(58,43,27,.16)}.post-share--upwards .post-share-menu{top:auto;bottom:calc(100% + 4px)}.post-share-menu>a,.post-share-menu>button{display:flex;align-items:center;justify-content:flex-start;gap:.55rem;min-height:38px;margin:0;padding:5px 9px;border:0;border-radius:var(--ifx-radius-control);background:transparent;color:var(--ifx-color-text);font:inherit;text-align:left;text-decoration:none;white-space:nowrap}.post-share-menu>[data-share-status]{margin:2px 9px;font-size:inherit}.post-share-menu>[data-share-status]:empty{display:none}

.post-share:not([open])>.post-share-menu{display:none}

/* Familiar brands keep their hue; a deeper warm paper tint integrates them with the theme.
   Only the glyph is tinted, never the label, photograph, or entire button. */
[data-community-shell]{--community-brand-paper:#957b59;--community-brand-whatsapp:#468550;--community-brand-facebook:#5079ad}
@supports(color:color-mix(in srgb,red,white)){
    [data-community-shell]{--community-brand-whatsapp:color-mix(in srgb,#128c4a 60%,var(--community-brand-paper));--community-brand-facebook:color-mix(in srgb,#1877f2 55%,var(--community-brand-paper))}
}
.whatsapp-glyph{color:var(--community-brand-whatsapp)}
.facebook-glyph{color:var(--community-brand-facebook)}
@media(forced-colors:active){.whatsapp-glyph,.facebook-glyph{color:LinkText}}

[data-ifx-application-layout] main button.whatsapp-contact{background:var(--ifx-color-surface);color:var(--ifx-color-text);border-color:var(--ifx-color-control-border)}
[data-ifx-application-layout] main button.whatsapp-contact:hover:not(:disabled){background:var(--ifx-color-surface-selected)}
[data-ifx-application-layout] main button.whatsapp-contact:disabled{opacity:1;cursor:not-allowed;background:var(--ifx-color-surface-muted);color:var(--ifx-color-text-muted);border-color:var(--ifx-color-border);box-shadow:none}
[data-ifx-application-layout] main button.whatsapp-contact:disabled .whatsapp-glyph{color:var(--community-brand-whatsapp)}
/* Navigation state is distinct from a filled submit button. */
[data-ifx-application-layout] main .ifx-task-tabs [role=tab]{background:var(--ifx-color-surface);color:var(--ifx-color-text);border-color:var(--ifx-color-border);border-bottom:2px solid transparent}
[data-ifx-application-layout] main .ifx-task-tabs [role=tab][aria-selected=true]{background:var(--ifx-color-surface-selected);color:var(--ifx-color-text);border-bottom-color:var(--ifx-color-action);font-weight:700}
[data-ifx-application-layout] main .ifx-task-tabs [role=tab]:focus-visible{outline:var(--ifx-focus-ring);outline-offset:-3px}
[data-ifx-application-layout] main .ifx-task-tabs [role=tab]:disabled{background:var(--ifx-color-surface-muted);color:var(--ifx-color-text-muted);cursor:not-allowed}

/* Thin sheets sit on the canvas; cutouts sit inside a sheet. Depth does not add layout space. */
body[data-community-shell]{
    --ifx-radius-panel:2px;
    --ifx-radius-control:2px;
    --community-paper-edge:#c5b9a7;
    --community-paper-shadow:inset 0 1px 0 #ffffffb3,0 1px 0 var(--community-paper-edge),0 3px 5px #40342612;
    --community-paper-cut:inset 0 1px 2px #493e2c26,inset 0 -1px 0 #ffffffa6;
}
[data-community-shell] :is(.post-list .feed-post,.detail,.editor,.reply-card,.reply-editor,.local-services){
    border-color:var(--community-paper-edge);
    box-shadow:var(--community-paper-shadow);
}
[data-community-shell] :is(.post-share-menu,.community-language-select.e-popup){
    box-shadow:inset 0 1px 0 #ffffffb3,0 1px 0 var(--community-paper-edge),0 4px 8px #40342624;
}
[data-community-shell] :is(.feed-post-quote blockquote,.reply-parent-preview,.reply-card .post-body){
    box-shadow:inset 0 1px 0 #ffffffb3,0 1px 0 #b8aa9133;
}
[data-community-shell] :is(.community-field.e-input-group,.community-field.e-float-input,.community-language .e-control-wrapper){
    box-shadow:var(--community-paper-cut);
}
[data-community-shell] :is(input:not(.e-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),textarea:not(.e-input),select:not([hidden])){
    box-shadow:var(--community-paper-cut);
    background:var(--ifx-color-surface);
}
[data-community-shell] .community-field :is(input,textarea){box-shadow:none;background:transparent}
[data-community-shell] :is(.site-header,.user-dock,.post-action-bar,.reply-composer){box-shadow:inset 0 1px 0 #ffffff40,0 1px 2px #40342618}
@media(forced-colors:active){
    [data-community-shell] :is(.feed-post,.detail,.editor,.reply-card,.reply-editor,.local-services,.community-field,.post-share-menu){box-shadow:none;border-color:CanvasText}
}

.post-editor-workspace{margin-top:8px;border-top:1px solid var(--ifx-color-border);min-width:0}
.post-editor-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding-top:8px}
.post-editor-panel[hidden]{display:none}
.post-editor-notes{min-width:0}.post-editor-notes p{margin:0 0 4px;padding:0}.post-editor-notes p:empty{display:none}
.post-editor-buttons{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;max-width:170px}
.post-editor-buttons button{margin:0;white-space:normal}.post-editor-buttons>a{align-self:end;min-height:32px;display:flex;align-items:center}
[data-ifx-application-layout] .post-editor-workspace [data-ifx-tab]{background:transparent;color:var(--ifx-color-action);border:0;border-bottom:2px solid transparent;min-height:36px}
[data-ifx-application-layout] .post-editor-workspace [data-ifx-tab][aria-selected=true]{background:var(--ifx-color-surface-selected);color:var(--ifx-color-text);border-bottom-color:var(--ifx-color-action)}

/* R15: a short purchase task, grouped by product rather than form fields. */
.cart-tray{border:1px solid var(--paper-edge,#c5b9a7);background:var(--surface,#fffdf8);padding:8px;margin:8px 0}.cart-tray[hidden]{display:none}.cart-tray header,.cart-total,.cart-line,.cart-confirm-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.cart-tray header strong{display:inline-flex;align-items:center;gap:4px}.cart-tray svg,.cart-product-select svg,[data-cart-add] svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.cart-tray p{margin:6px 0}.cart-line{padding:7px 0;border-bottom:1px solid var(--paper-edge,#c5b9a7);align-items:flex-start}.cart-line>div:first-child{min-width:0;overflow-wrap:anywhere}.cart-line-amount{text-align:right;flex-shrink:0}.cart-line-controls{display:flex;gap:2px;align-items:center}.cart-line-controls input{width:58px;min-height:32px;padding:2px 4px;margin:0}.cart-line-controls button{min-width:32px;min-height:32px;padding:2px;background:transparent;color:inherit}.cart-product-select{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:5px 0}.cart-product-select select{width:auto;min-width:0;flex:1}.cart-product-select input[type=number]{width:64px;margin:0}.cart-product-select button{display:inline-flex;align-items:center;gap:4px}.cart-product-select [data-cart-feedback]{width:100%}.cart-product-select [data-cart-feedback]:empty{display:none}.cart-tray form{text-align:right}.cart-confirm-actions{align-items:flex-end}.cart-confirm-actions button{flex-shrink:0}.shop-publish{position:relative;margin:0}.shop-publish summary{list-style:none;cursor:pointer}.shop-publish nav{position:absolute;right:0;top:100%;z-index:8;min-width:120px;background:#fffdf8;border:1px solid #c5b9a7;box-shadow:0 2px 4px #38312922}.shop-publish nav a{display:block;padding:8px 12px}.product-pricing [hidden]{display:none!important}.product-pricing .ifx-task-tabs button{background:transparent;color:inherit;border:0}.product-pricing .ifx-task-tabs button[aria-selected=true]{background:#ece5d9;border-bottom:2px solid #776858}.product-pricing .product-variants-editor>summary,.product-pricing .product-variants-editor>p{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:380px){.cart-line{flex-wrap:wrap}.cart-line-amount{margin-left:auto}.cart-confirm-actions{flex-wrap:wrap}.cart-confirm-actions button{margin-left:auto}}

.cart-product-select>.e-input-group{width:64px!important;flex:0 0 64px}.cart-product-select>.e-input-group.e-ddl{width:auto!important;flex:1 1 140px}

.feed-post .cart-product-select{position:relative;z-index:2;cursor:auto}.cart-jump{background:transparent!important;color:inherit!important;padding:2px 4px;text-decoration:underline}

[data-shop-panel][hidden]{display:none!important}.shop-tabs{margin:6px 0}.shop-tabs button{background:transparent!important;color:inherit!important}.shop-tabs button[aria-selected=true]{background:var(--ifx-color-surface-muted)!important;border-bottom:2px solid var(--ifx-color-brand,#776858)}

.order-feed-card{position:relative;margin:12px 0 8px;padding:10px 12px 8px;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);background:var(--ifx-color-surface)}
.order-feed-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:-20px 0 5px;font-size:.82rem}.order-feed-heading>*{background:var(--ifx-color-surface);padding:0 4px}.order-feed-heading time{color:var(--ifx-color-text-muted)}
.order-feed-card p{margin:4px 0!important}.order-feed-card .post-meta{justify-content:flex-end;gap:8px;margin-top:4px}.order-feed-card .post-title{font-weight:700}
.edit-task-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px;padding:6px 0;border-bottom:1px solid var(--ifx-color-border)}.edit-task-summary strong{flex:1;min-width:120px;overflow-wrap:anywhere}.edit-task-summary .error{margin:0!important}.editor [data-content-tabs]{margin:6px 0}.editor [data-content-panel]{padding-top:6px}.editor [data-content-panel] fieldset{margin:0}.member-confirm{padding:4px 0;border-top:1px solid var(--ifx-color-border)}.member-confirm p{margin:4px 0}.channel-member-list .post-row{display:block}[data-settings-dirty]{font-size:12px;color:var(--ifx-color-text-muted)}[data-task-errors]:empty{display:none}
.product-pricing .ifx-task-tabs button{white-space:normal;overflow-wrap:anywhere}

/* Read titles retain font size and click targets; content, prices and dates stay unchanged. */
[data-community-shell]{--community-read-title:#766c60}

/* Reading trial: only full post/reply text, including its paired original.
   Keep each fragment's measure independent of the UI or neighbouring translation. */
[data-community-shell] :is(
    .detail[data-read-detail] > .post-body,
    .detail[data-read-detail] > .translation-original > .post-body,
    .reply-discussion .reply-card > .post-body,
    .reply-discussion .reply-card > .translation-original > .post-body
){
    --community-reading-font-size:16px;
    --community-reading-measure:40em;
    font-size:var(--community-reading-font-size);
    max-inline-size:min(100%,var(--community-reading-measure));
}
[data-community-shell] :is(
    .detail[data-read-detail] > .post-body,
    .detail[data-read-detail] > .translation-original > .post-body,
    .reply-discussion .reply-card > .post-body,
    .reply-discussion .reply-card > .translation-original > .post-body
):is([lang="en"],[lang="ms"]){
    --community-reading-measure:68ch;
}
.post-title--read{color:var(--community-read-title,var(--ifx-color-text-muted))!important}

/* ATM dimensions share compact readonly summaries across home, directory and detail. */
.atm-summary p.service-dimension{margin:3px 0;gap:3px 8px;min-width:0}.atm-summary .service-dimension>span{flex-basis:auto;padding-left:0;overflow-wrap:anywhere}.atm-summary .service-dimension>.atm-banknote-reason{flex-basis:100%;padding-left:28px}.atm-summary .service-dimension>strong{font-weight:650}

/* Inline external images keep prose and media within their reading container. */
.post-external-image{display:block;box-sizing:border-box;max-width:100%;margin:8px 0;white-space:normal}.post-external-image img{display:block;box-sizing:border-box;width:100%;height:auto;max-width:100%;max-height:min(65vh,600px);object-fit:contain;border-radius:var(--ifx-radius-panel)}.post-external-image img[hidden]{display:none}.post-external-image.is-failed{padding:12px;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);background:var(--ifx-color-surface-muted);color:var(--ifx-color-text-muted);overflow-wrap:anywhere}.post-external-image [data-external-image-error][hidden]{display:none}.feed-image-stack>.post-external-image{margin:0;min-width:0;width:100%;height:100%}.feed-image-stack>.post-external-image>a{display:block;width:100%;height:100%}.feed-image-stack>.post-external-image img{width:100%;height:100%;max-height:220px;object-fit:contain}.feed-image-stack>.post-external-image.is-failed{height:auto;align-self:center}

.feed-image-stack:has(>.post-external-image.is-failed){aspect-ratio:auto;max-height:none}.feed-image-stack [data-external-image-error]{position:relative;z-index:2;pointer-events:auto}

.post-external-image>[hidden]{display:none!important}
.post-body a.post-body-link{text-decoration:underline;text-underline-offset:.16em;overflow-wrap:anywhere}.post-body a.post-body-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
