/* Identité de la démo appliquée uniquement à l'espace métier. */
body.app-open{--shell-sidebar:215px;background:#f6f7f1;color:#203e35}
body.app-open .app-sidebar{padding:16px 16px 22px;background:#fffef9;border-color:#e0e5d9}
body.app-open .sidebar-brand{margin:0 auto 8px}
body.app-open .sidebar-brand img{width:165px;height:120px}
body.app-open .sidebar-domain{padding:11px 8px;border-radius:6px}
body.app-open .sidebar-label{margin:29px 11px 12px;font-size:10px}
body.app-open .app-nav{gap:5px}
body.app-open .app-nav button{min-height:52px;gap:11px;padding:10px 12px;border-radius:5px;color:#5b6a58;font-size:16px;font-weight:500}
body.app-open .app-nav button span{width:30px;font-size:28px;transform:none}
body.app-open .app-nav button[data-section=vines] span{transform:none}
body.app-open .app-nav button[aria-current=page]{background:#601b30;color:#fffef3}
body.app-open .app-nav button:hover:not([aria-current=page]){background:#e7eddc;color:#203e35}
body.app-open .sidebar-domain-edit,body.app-open .sidebar-team{color:#5b6a58;font-size:12px;font-weight:500}
body.app-open .sidebar-domain-edit svg,body.app-open .sidebar-team svg{width:16px;height:16px}
body.app-open header{height:75px;padding:0 38px;background:#fffef9;border-color:#e0e5d9}
body.app-open .app-header-domain{font-size:18px;font-family:Georgia,serif}
body.app-open .app-header-domain .domain-seal{width:37px;height:37px;border-radius:50%;background:#fff;border:1px solid #a7767e;color:#601b30}
body.app-open .header-vintage{background:#fff;border-color:#dce2d7;color:#203e35}
body.app-open main{min-height:calc(100vh - 160px);padding:32px 38px 45px;background:#f6f7f1}
body.app-open footer{background:#f6f7f1;border-color:#e0e5d9}
body.app-open #screen{max-width:1400px;margin:0 auto}
body.app-open h2,body.app-open h3{color:#203e35}
body.app-open .eyebrow{color:#62765d;font-size:10px;letter-spacing:1.7px}
body.app-open .today-heading{align-items:center;margin:0 0 25px}
body.app-open .today-heading h1{margin:10px 0 0;color:#203e35;font:normal clamp(31px,3.3vw,39px)/1.12 Georgia,serif;letter-spacing:-1px}
body.app-open .today-heading h2{margin:6px 0 0;color:#657060;font:normal 14px/1.5 Arial,sans-serif}
body.app-open .today-trial{padding:9px 12px;border:0;border-radius:4px;background:#e7eddb;color:#4d653d;font-size:11px}
body.app-open .today-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);align-items:center;min-height:270px;padding:33px 38px;border:0;border-radius:11px;background:#203e35;color:#fffef4}
body.app-open .today-hero:after{display:none}
body.app-open .today-hero .eyebrow{color:#e5ead7;font-size:10px}
body.app-open .today-hero h3{margin:12px 0;color:#fffef4;font:normal clamp(30px,3vw,38px)/1.15 Georgia,serif}
body.app-open .today-hero p:last-child{max-width:590px;color:#e3e9d9;font-size:14px;line-height:1.7}
body.app-open .hero-vines{display:flex;flex-direction:column;justify-content:space-between;height:180px;text-align:center;color:#e5ead7;font-size:10px;letter-spacing:2px}
body.app-open .hero-vines i{display:block;height:105px;background:repeating-linear-gradient(145deg,transparent 0 17px,#8d9d70 18px 21px,transparent 22px 36px);border-radius:80% 65% 0 0}
body.app-open .quick-record{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 26px}
body.app-open .quick-record button,body.app-open .today-card-action{min-height:48px;margin:0;padding:12px 16px;border:1px solid #601b30;border-radius:7px;background:#601b30;color:#fff;font:600 14px/1.4 Arial,sans-serif;cursor:pointer}
body.app-open .quick-record button:hover,body.app-open .today-card-action:hover{background:#7a2b41}
body.app-open .today-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;margin:0 0 20px}
body.app-open .today-section{min-width:0;padding:24px;margin:0;border:1px solid #e0e3d8;border-radius:10px;background:#fffefa;box-shadow:none}
body.app-open .today-section h3{margin:0 0 18px;color:#203e35;font:normal 24px/1.2 Georgia,serif}
body.app-open .today-section p{color:#657060;font-size:14px;line-height:1.65}
body.app-open .today-section-head{align-items:start;flex-wrap:wrap}
body.app-open .today-section-head button,body.app-open .today-text-link{min-height:44px;margin:0;padding:11px 0;border:0;background:transparent;color:#601b30;font-size:13px;font-weight:400;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
body.app-open .today-card-action{margin:4px 0 17px}
body.app-open .today-task{padding:15px 0;border-color:#ecece4}
body.app-open .today-task strong{font-size:14px}
body.app-open .today-task-mark{background:#e7eddb;color:#4d653d}
body.app-open .today-event-list{margin:0;padding:0;list-style:none}
body.app-open .today-event-list li{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid #ecece4}
body.app-open .today-event-list li:last-child{border-bottom:0}
body.app-open .today-event-dot{flex:none;width:9px;height:9px;margin-top:6px;border-radius:50%;background:#83976a}
body.app-open .today-event-list li>div{min-width:0}
body.app-open .today-event-list small{display:block;color:#657060;font-size:11px}
body.app-open .today-event-list strong{display:block;margin-top:6px;color:#203e35;font:normal 17px Georgia,serif}
body.app-open .today-event-list p{margin:4px 0;overflow-wrap:anywhere}
body.app-open .today-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.app-open .today-support .today-section{background:#fffefa}
body.app-open .today-support .today-text-link{display:block}
body.app-open .today-alert{color:#601b30!important;font-weight:600}
body.app-open .module-panel,body.app-open .work-card,body.app-open .vine-card,body.app-open .task-card,body.app-open .record-entry-section,body.app-open .parcel-detail,body.app-open .horizontal-history{background:#fffefa;border-color:#e0e3d8;border-radius:10px;box-shadow:none}
body.app-open button.module-primary,body.app-open .module-actions button.module-primary{background:#601b30;border-color:#601b30}
body.app-open .module-heading h2{font-family:Georgia,serif;font-weight:400}
body.app-open .vine-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}
body.app-open .vine-card{min-height:265px;padding:27px 28px;gap:13px;border-color:#dce3d4;box-shadow:none}
body.app-open .vine-card-icon{width:52px;height:52px;margin-bottom:9px;background:#e8efdf;color:#4c6947;font-size:30px}
body.app-open .vine-card strong{font-size:27px}
body.app-open .vine-card-meta{font-size:14px;color:#657060}
body.app-open .vine-card .card-open{margin-top:auto;padding-top:18px;border-top:1px solid #e0e5d9;color:#601b30}
body.app-open .record-notice{padding:28px 30px;background:#eee7e6;border-color:#601b30}
body.app-open .record-notice-icon{background:#fffafa;color:#601b30}
body.app-open .record-card{background:#fffefa;border-color:#e0e3d8;box-shadow:none}
body.app-open .cellar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.app-open .cellar-card{align-items:center;padding:25px 24px;background:#fffefa;border-color:#e0e3d8;box-shadow:none;text-align:center}
body.app-open .cellar-card-heading{display:block;width:100%}
body.app-open .cellar-card .cellar-icon{display:none}
body.app-open .cellar-card h3{font:normal 25px Georgia,serif}
body.app-open .cellar-tank-art{position:relative;display:grid;place-items:center;overflow:hidden;width:110px;height:150px;margin:25px auto;border:2px solid #819083;border-radius:25px 25px 14px 14px;background:#f0f1e9}
body.app-open .cellar-tank-liquid{position:absolute;inset:auto 0 0;height:0;background:#6b2a3e}
body.app-open .cellar-tank-art strong{position:relative;z-index:1;padding:9px;border-radius:8px;background:#fffdf1ef;color:#601b30;font:normal 27px Georgia,serif}
body.app-open .cellar-tank-art small{font:normal 14px Arial,sans-serif}
body.app-open .cellar-card .cellar-level{width:100%;margin-top:0}
body.app-open .cellar-card meter{width:100%}
body.app-open .cellar-card .cellar-lots{width:100%}
body.app-open .cellar-card>button{width:100%;min-height:48px;background:#601b30;border-color:#601b30;color:#fff}
body.app-open .cellar-card>button:hover{background:#7a2b41}
body.app-open .cellar-card-lot{width:100%;min-height:24px;margin:0 0 18px;color:#536256;font-size:13px;line-height:1.5}
body.app-open .cellar-card-readings{display:flex;justify-content:center;gap:28px;width:100%;margin:0 0 10px}
body.app-open .cellar-card-readings span{min-width:0;color:#657060;font-size:11px;line-height:1.45}
body.app-open .cellar-card-readings strong{display:block;margin-bottom:5px;color:#203e35;font-size:18px;font-weight:600;white-space:nowrap}
body.app-open .cellar-card-reading-date{min-height:24px;margin:4px 0 10px;color:#657060;font-size:12px}
body.app-open .cellar-card-capacity{width:100%;margin:0 0 17px;padding-top:14px;border-top:1px solid #e0e5d9;color:#536256;font-size:12px}
body.app-open .cellar-card-actions{display:grid;gap:9px;width:100%;margin-top:auto}
body.app-open .cellar-card-actions button{min-height:48px;padding:10px 14px;border:1px solid #601b30;border-radius:7px;background:#601b30;color:#fff;font:600 13px/1.4 Arial,sans-serif}
body.app-open .cellar-card-actions button:hover{background:#7a2b41}
body.app-open .cellar-card-actions button[data-cellar-container]{border-color:#d7dfcc;background:#fffefa;color:#601b30}
body.app-open .cellar-tools-label{margin:27px 0 0}
body.app-open .cellar-tools-label+.module-actions{margin-top:10px}
body.app-open .cellar-detail-volume{display:flex;flex-direction:column;justify-content:center;background:#fffefa;border-color:#e0e3d8}
body.app-open .cellar-detail-visual{display:flex;align-items:center;gap:32px;min-height:220px}
body.app-open .cellar-detail-visual .cellar-tank-art{flex:none;width:125px;height:175px;margin:0}
body.app-open .cellar-detail-volume-copy{min-width:0}
body.app-open .cellar-detail-volume-copy .eyebrow{margin:0 0 12px}
body.app-open .cellar-detail-volume-copy>p:last-child{margin:0;color:#5f6c62;font-size:14px}
body.app-open .cellar-detail-volume meter{width:100%;margin:9px 0 0}
body.app-open .cellar-detail-side{background:#fffefa;border-color:#e0e3d8}
body.app-open .cellar-detail-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.app-open .cellar-detail-actions button{min-height:52px;white-space:normal}
body.app-open .cellar-detail-actions button.module-primary{grid-column:span 2}
body.app-open .cellar-batch-overview{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(210px,.5fr);align-items:center;gap:22px;margin:18px 0 0;background:#fffefa;border-color:#e0e3d8}
body.app-open .cellar-batch-symbol{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#f0e5e6;color:#641d34;font:normal 40px Georgia,serif}
body.app-open .cellar-batch-overview-white .cellar-batch-symbol{background:#f2efd9;color:#6c5d24}
body.app-open .cellar-batch-overview-rose .cellar-batch-symbol{background:#f3e5e0;color:#8a4052}
body.app-open .cellar-batch-overview-main .eyebrow{margin:0 0 9px}
body.app-open .cellar-batch-overview-main .cellar-detail-value{margin:0}
body.app-open .cellar-batch-overview-main .cellar-detail-value span{display:inline;font-size:18px}
body.app-open .cellar-batch-overview-main>p:last-child{margin:6px 0 0;color:#657060;font-size:13px}
body.app-open .cellar-batch-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding-left:24px;border-left:1px solid #e0e5d9}
body.app-open .cellar-batch-facts dt{color:#657060;font-size:12px}
body.app-open .cellar-batch-facts dd{margin:7px 0 0;color:#203e35;font:normal 21px Georgia,serif}
@media(max-width:1200px){body.app-open .cellar-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){body.app-open .cellar-batch-overview{grid-template-columns:auto minmax(0,1fr)}body.app-open .cellar-batch-facts{grid-column:1/-1;padding:16px 0 0;border-left:0;border-top:1px solid #e0e5d9}}
@media(max-width:900px){body.app-open .cellar-detail-visual{min-height:190px}}
@media(max-width:540px){body.app-open .cellar-detail-visual{gap:18px;min-height:0}body.app-open .cellar-detail-visual .cellar-tank-art{width:92px;height:132px}body.app-open .cellar-detail-visual .cellar-tank-art strong{font-size:22px}body.app-open .cellar-detail-value{font-size:clamp(32px,9vw,46px)}body.app-open .cellar-detail-value span{display:block;font-size:15px}body.app-open .cellar-detail-actions button.module-primary{grid-column:1/-1}}
@media(max-width:540px){body.app-open .cellar-batch-overview{gap:14px}body.app-open .cellar-batch-symbol{width:48px;height:48px;font-size:29px}body.app-open .cellar-batch-facts dd{font-size:18px}}
@media(max-width:380px){body.app-open .cellar-detail-visual{flex-direction:column;align-items:flex-start}body.app-open .cellar-detail-visual .cellar-tank-art{align-self:center}body.app-open .cellar-detail-actions{grid-template-columns:1fr}}
@media(max-width:1250px){body.app-open .vine-cards,body.app-open .cellar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){body.app-open{--shell-sidebar:215px}body.app-open .today-hero{grid-template-columns:1fr}body.app-open .hero-vines{display:none}}
@media(max-width:850px){body.app-open{--shell-sidebar:0px}body.app-open .app-sidebar{padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fffefaf5}body.app-open .sidebar-domain-edit,body.app-open .sidebar-team{display:none!important}body.app-open .app-nav button{min-height:56px;gap:2px;padding:6px 2px;font-size:11px;text-align:center}body.app-open .app-nav button span{font-size:21px}body.app-open header{height:68px;padding:0 18px}body.app-open .app-header-domain{font-family:Arial,sans-serif;font-size:12px}body.app-open main{padding:24px 16px 34px}body.app-open .today-hero{min-height:0;padding:24px}body.app-open .today-hero h3{font-size:29px}body.app-open .today-grid,body.app-open .today-support{grid-template-columns:1fr;gap:16px}body.app-open .quick-record{grid-template-columns:1fr;gap:9px;margin:14px 0 24px}body.app-open .quick-record button{text-align:left;padding:15px 18px}body.app-open .today-heading{display:block;margin-bottom:20px}body.app-open .today-trial{margin-top:13px}body.app-open .today-section{padding:20px}body.app-open .today-support{margin-bottom:12px}body.app-open .vine-cards,body.app-open .cellar-grid{grid-template-columns:1fr;gap:12px}body.app-open .vine-card{min-height:200px;padding:22px}}
@media(max-width:380px){body.app-open main{padding-inline:14px}body.app-open .today-heading h1{font-size:30px}body.app-open .today-hero h3{font-size:27px}body.app-open .app-nav button{font-size:10px}body.app-open .cellar-tools-label+.module-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
