/* Approved six-screen update, isolated from unapproved screens. */
body[data-update-scope] .operational-summary{box-shadow:0 5px 14px #673b2514;outline:1px solid #b79b7d}
body[data-update-scope] .operational-summary .summary-label{background:#faf8f5;color:#553f32}
body[data-update-scope] .operational-grid button{background:#fffefd;box-shadow:0 3px 8px #63371d16,inset 0 1px 0 #fff;border-color:#d5c5b4}
body[data-update-scope] .operational-grid button.primary{background:linear-gradient(145deg,#a7593e,#88402c);box-shadow:0 4px 9px #63371d25,inset 0 1px 0 #c78061}
body[data-update-scope] .operational-grid svg{color:#994831}
body[data-update-scope] .operational-grid .primary svg{color:#fff}
body[data-update-scope] .cashbook-shortcut{background:#fffefd;box-shadow:0 3px 9px #63371d12}
body[data-screen="orders"],body[data-screen="agenda"]{background:#f5f0e9}
body[data-screen="orders"] main,body[data-screen="agenda"] main{background:#f5f0e9}
body[data-update-scope] .operational-title{align-items:center;margin:20px 0 16px}
body[data-update-scope] .operational-title h1{font-size:1.7rem;letter-spacing:-.5px}
body[data-update-scope] .operational-title .primary{border-radius:12px;box-shadow:0 3px 7px #99483120}
body[data-update-scope] .order-filters{display:grid!important;grid-template-columns:1fr 110px!important;gap:10px!important;background:transparent!important;padding:0!important}
body[data-update-scope] .order-filters #search{grid-column:1!important;min-width:0!important;width:100%!important;height:48px;border-radius:12px}
body[data-update-scope] .order-filters label{grid-column:2!important}
body[data-update-scope] .order-filters label select{border-radius:12px}
body[data-update-scope] .update-period{background:#fffdf9;border:1px solid #deccba;border-radius:16px;padding:14px;margin:16px 0 12px;box-shadow:0 3px 9px #63371d09}
body[data-update-scope] .period-label{font-size:12px;color:#785f4d;font-weight:700;margin-bottom:10px}
body[data-update-scope] .period-modes{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#f2e8dc;border-radius:10px;padding:4px}
body[data-update-scope] .period-modes button{min-height:38px;padding:5px;border:0;border-radius:8px;background:transparent;font-size:13px;color:#765642;box-shadow:none}
body[data-update-scope] .period-modes button.chosen{background:#994831;color:#fff;font-weight:700}
body[data-update-scope] .date-navigation{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-weight:700;font-size:14px;color:#4d3629}
body[data-update-scope] .date-navigation button{min-height:36px;width:36px;padding:0;border-radius:9px;font-size:24px;background:#f8f0e7;border-color:#ead9c8}
body[data-update-scope] .update-count{color:#806853;font-size:13px;margin:14px 2px!important}
body[data-update-scope] .compact-order{background:#fffdf9!important;border:1px solid #e0cdbb!important;border-left:4px solid #a86647!important;border-radius:16px!important;box-shadow:0 4px 12px #63371d0c!important;padding:15px!important;margin-bottom:12px!important}
body[data-update-scope] .compact-order header strong{font-size:16px}
body[data-update-scope] .compact-order .order-when{color:#806853;font-size:13px}
body[data-update-scope] .compact-order .order-items-summary{color:#5b4a3e;font-size:14px}
body[data-update-scope] .compact-order .order-amounts{border-top:1px solid #eee1d3;padding-top:10px;margin-top:10px}
body[data-update-scope] .compact-order>button{background:#f6ece0;color:#8c432e;border:1px solid #dfc3ab;border-radius:10px;min-height:40px;font-weight:700}
body[data-update-scope] .badge{border-radius:6px;font-size:11px;padding:5px 7px}
body[data-update-scope] .agenda-entry{gap:10px}
body[data-update-scope] .agenda-entry time{color:#994831;font-weight:800;font-size:16px;padding-top:16px}
body[data-update-scope] .agenda-entry .compact-order{flex:1;min-width:0}
body[data-screen="orders"] main,body[data-screen="agenda"] main{background:#f4eee7}
body[data-update-scope] .operational-title{margin:18px 0 14px!important;gap:12px}
body[data-update-scope] .operational-title h1{font-size:28px!important;line-height:1.2;font-weight:800;color:#352a23}
body[data-update-scope] .operational-title .primary{min-height:44px!important;padding:10px 14px!important;font-size:14px!important;border-radius:12px!important;background:#994831}
body[data-update-scope] .order-filters{display:block!important;margin:0!important}
body[data-update-scope] .order-filters #search{height:46px!important;background:#fffefd;border:1px solid #d7c8b8;padding:12px 14px!important;font-size:14px!important;box-sizing:border-box;border-radius:12px}
body[data-update-scope] .order-filters>label{display:none!important}
body[data-update-scope] .update-period{background:#fffefd;border-color:#dfd3c6;padding:12px;margin:12px 0!important;border-radius:16px;box-shadow:0 2px 6px #63371d08}
body[data-update-scope] .period-label{font-size:12px;color:#604b3d;margin-bottom:9px}
body[data-update-scope] .period-modes{background:#f3efea;gap:3px;padding:3px;border-radius:10px}
body[data-update-scope] .period-modes button{min-height:38px;color:#604b3d;font-weight:650}
body[data-update-scope] .period-modes button.chosen{box-shadow:0 2px 4px #99483120}
body[data-update-scope] .date-navigation{margin-top:9px;font-size:14px}
body[data-update-scope] .date-navigation button{background:#fffefd;border-color:#dfd3c6}
body[data-update-scope] .update-list-header{display:flex;justify-content:space-between;align-items:center;margin:17px 0 10px;color:#5f4a3a;font-size:13px;gap:10px}
body[data-update-scope] .update-list-header strong{font-size:14px;color:#382c25}
body[data-update-scope] .update-stage{min-height:36px!important;width:155px!important;padding:6px 10px!important;font-size:12px!important;background:#fffefd;border:1px solid #dac8b7;border-radius:9px!important}
body[data-update-scope] .compact-order{background:#fffefd!important;border:1px solid #dfd3c6!important;border-left:1px solid #dfd3c6!important;padding:14px!important;box-shadow:0 3px 8px #63371d0b!important;margin-bottom:12px!important;border-radius:15px!important}
body[data-update-scope] .compact-order header{display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:8px!important;margin-bottom:7px!important}
body[data-update-scope] .compact-order header strong{font-size:15px;line-height:1.4;flex:1;min-width:0}
body[data-update-scope] .compact-order .badge{flex-shrink:0!important;font-size:10px!important;white-space:nowrap;background:#f2e5d8;border:0;color:#79452b;padding:5px 7px;border-radius:6px}
body[data-update-scope] .compact-order[data-stage="produção"] .badge{background:#fbe9d2;color:#825411}
body[data-update-scope] .compact-order[data-stage="confirmado"] .badge{background:#eee6dd;color:#655344}
body[data-update-scope] .compact-order .order-when{font-size:12px!important;color:#645143;margin:4px 0 9px!important}
body[data-update-scope] .compact-order .order-items-summary p{font-size:13px!important;margin:4px 0!important;color:#51443a}
body[data-update-scope] .compact-order .order-amounts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #eee6dd}
body[data-update-scope] .compact-order .order-amounts>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px}
body[data-update-scope] .compact-order .order-amounts span{font-size:11px;color:#6e5b4c}
body[data-update-scope] .compact-order .order-amounts strong{font-size:16px;color:#362c24}
body[data-update-scope] .compact-order .order-amounts>div:last-child strong{color:#994831}
body[data-update-scope] .compact-order>button{background:#fffefd!important;color:#994831!important;border:1px solid #d9bdab!important;min-height:38px!important;border-radius:9px!important;font-size:13px!important;margin-top:12px!important;width:100%!important}
body[data-update-scope] .agenda-counts{display:none!important}
body[data-update-scope] .agenda-timeline{position:relative;margin-top:4px}
body[data-update-scope] .agenda-entry{position:relative;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important}
body[data-update-scope] .agenda-entry:not(:last-child)::before{content:'';position:absolute;left:22px;top:44px;bottom:-4px;width:2px;background:#d6b9a5}
body[data-update-scope] .agenda-entry time{position:relative;z-index:1;padding:7px 0!important;margin-top:12px;background:#f4eee7;color:#994831;font-size:13px!important;text-align:center;align-self:start;line-height:1.2}
body[data-update-scope] .agenda-entry .compact-order{margin-bottom:14px!important}
body[data-screen],body[data-screen] main{background:#ded0bd!important}
body[data-update-scope] .operational-grid button,body[data-update-scope] .cashbook-shortcut{background:linear-gradient(180deg,#ffffff 0%,#fffefd 65%,#faf8f5 100%)!important;box-shadow:0 3px 0 #b7a48e,0 5px 10px #543c2418,inset 0 1px 0 #ffffff!important;border-color:#d7c9b8!important}
body[data-update-scope] .operational-grid button.primary,body[data-update-scope] .operational-title .primary{background:linear-gradient(180deg,#ad5c40 0%,#994831 60%,#8c402b 100%)!important;border-color:#a75b40!important;box-shadow:0 3px 0 #703320,0 5px 10px #543c2420,inset 0 1px 0 #ce8968!important}
body[data-update-scope] .update-period,body[data-update-scope] .compact-order{background:#fffefd!important;box-shadow:0 3px 9px #543c2412!important;border-color:#cdbca7!important}
body[data-update-scope] .compact-order>button,body[data-update-scope] .date-navigation button{background:linear-gradient(180deg,#ffffff,#faf8f5)!important;box-shadow:0 2px 0 #d1c1ad,0 3px 5px #543c2410,inset 0 1px 0 #fff!important;border-color:#d5c2b0!important}
body[data-update-scope] .period-modes button.chosen{background:linear-gradient(180deg,#ad5c40,#994831 65%,#8c402b)!important;box-shadow:0 2px 0 #743622,inset 0 1px 0 #ca8362!important}
body[data-update-scope] .agenda-entry time{background:#ded0bd!important}
body[data-update-scope] .operational-grid button:active,body[data-update-scope] .compact-order>button:active,body[data-update-scope] .operational-title .primary:active{transform:translateY(2px);box-shadow:0 1px 0 #b7a48e!important}
body[data-screen] .app-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body[data-screen] .platform-brand{flex:0 0 142px!important;min-width:0!important;width:142px!important;max-width:142px!important;align-self:center!important}
body[data-screen] .platform-brand img{width:142px!important;max-width:100%!important;height:auto!important;object-fit:contain}
body[data-update-scope] .update-account{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex:1}
body[data-update-scope] .update-company{color:#fff9f2!important;font-size:12px!important;font-weight:650!important;text-align:right;line-height:1.4;max-width:145px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-update-scope] .update-account .profile-button{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:8px!important;border:1px solid #ffffff66!important;border-radius:50%!important;background:#ffffff08!important}
body[data-update-scope] .operational-grid button,body[data-update-scope] .cashbook-shortcut{background:linear-gradient(165deg,#ffffff 0%,#fffefd 75%,#fbf9f6 100%)!important;border-color:#d9ccbd!important;box-shadow:0 4px 10px #50321d16,0 1px 2px #50321d0c,inset 0 1px 0 #ffffff!important}
body[data-update-scope] .operational-grid button.primary,body[data-update-scope] .operational-title .primary{background:linear-gradient(165deg,#a9553b 0%,#994831 65%,#91412d 100%)!important;border-color:#a25a42!important;box-shadow:0 4px 10px #68311f24,0 1px 2px #68311f14,inset 0 1px 0 #c7806266!important}
body[data-update-scope] .compact-order>button,body[data-update-scope] .date-navigation button{background:linear-gradient(165deg,#ffffff,#fcfaf7)!important;border-color:#ddcabb!important;box-shadow:0 2px 6px #50321d12,inset 0 1px 0 #ffffff!important}
body[data-update-scope] .period-modes button.chosen{background:linear-gradient(165deg,#a9553b,#994831)!important;box-shadow:0 2px 5px #68311f20,inset 0 1px 0 #c7806250!important}
body[data-update-scope] .operational-grid button:active,body[data-update-scope] .compact-order>button:active,body[data-update-scope] .operational-title .primary:active{transform:translateY(1px);box-shadow:0 1px 3px #50321d16!important}
body[data-update-scope] .update-block2 .operational-title{display:flex!important;justify-content:space-between;align-items:center!important;gap:10px!important}
body[data-update-scope] .update-block2 .operational-title h1{font-size:25px!important;line-height:1.2;margin:0!important}
body[data-update-scope] .update-block2 .operational-title>div{min-width:0}
body[data-update-scope] .update-block2 .operational-title>button.primary{flex-shrink:0}
body[data-update-scope] .update-block2 .catalog-heading .info-button{display:none}
body[data-update-scope] .update-search{display:block!important;background:none!important;border:0!important;padding:0!important;margin:14px 0!important}
body[data-update-scope] .update-search input{width:100%!important;box-sizing:border-box;background:#fffefd;border:1px solid #cdbca7;border-radius:12px;padding:12px!important;height:46px!important;font-size:14px!important}
body[data-update-scope] .update-block2 .quote-cards,body[data-update-scope] .update-block2 .client-cards{display:grid;grid-template-columns:1fr!important;gap:14px!important}
body[data-update-scope] .update-block2 .quote-card,body[data-update-scope] .update-block2 .client-card,body[data-update-scope] .update-block2 .product-card{background:#fffefd!important;border:1px solid #cdbca7!important;border-radius:16px!important;padding:15px!important;box-shadow:0 3px 9px #543c2412!important;margin:0!important}
body[data-update-scope] .update-block2 .quote-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
body[data-update-scope] .update-block2 .quote-card h2,body[data-update-scope] .update-block2 .client-card h2,body[data-update-scope] .update-block2 .product-card h2{font-size:16px!important;line-height:1.4;margin:0!important}
body[data-update-scope] .update-block2 .quote-card header strong{font-size:18px;color:#994831;white-space:nowrap}
body[data-update-scope] .update-block2 .quote-card p{font-size:12px;color:#695341;margin:10px 0}
body[data-update-scope] .update-block2 .quote-card .badge{background:#f2e5d4;color:#71451e;border:0;font-size:11px}
body[data-update-scope] .update-quote-meta{display:flex;justify-content:space-between;gap:12px;color:#6f5946;font-size:12px;border-top:1px solid #eee2d6;margin-top:12px;padding-top:12px}
body[data-update-scope] .update-block2 .quote-card footer{display:grid;grid-template-columns:1fr 44px;gap:8px;margin:12px 0 0!important}
body[data-update-scope] .update-block2 .client-card-heading{display:flex;align-items:center;gap:12px}
body[data-update-scope] .update-block2 .client-card-photo{width:44px!important;height:44px!important;min-width:44px;background:#f4ece2!important;color:#994831;border-radius:14px!important}
body[data-update-scope] .update-block2 .client-card p{font-size:12px!important;color:#695341;margin:5px 0!important}
body[data-update-scope] .update-block2 .client-card>button{width:100%;margin-top:14px}
body[data-update-scope] .update-block2 .quote-card footer button,body[data-update-scope] .update-block2 .client-card>button,body[data-update-scope] .update-block2 .product-card footer button,body[data-update-scope] .update-block2 .catalog-actions button,body[data-update-scope] .update-block2 .catalog-kind-tabs button{background:linear-gradient(170deg,#fff 0%,#fff 40%,#fdfaf6 44%,#f2ece3 100%)!important;border:1px solid #cdb49d!important;border-radius:10px!important;box-shadow:0 3px 0 #c3ae97,0 5px 8px #57391f1c,inset 0 2px 0 #fff!important;color:#994831;font-weight:700;min-height:40px!important;padding:8px 12px!important;font-size:13px!important}
body[data-update-scope] .update-block2 .catalog-kind-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0!important}
body[data-update-scope] .update-block2 .catalog-kind-tabs .primary{background:linear-gradient(165deg,#c37653,#a45437 40%,#994831)!important;color:#fff;border-color:#8e432d!important;box-shadow:0 3px 0 #7a3b26,0 4px 6px #57391f20,inset 0 1px 0 #e0a37c!important}
body[data-update-scope] .update-block2 .catalog-actions{display:flex;gap:8px;margin:12px 0!important}
body[data-update-scope] .update-block2 .catalog-actions button{flex:1;font-size:12px!important;padding:8px!important}
body[data-update-scope] .update-block2 .product-grid{display:grid;grid-template-columns:1fr!important;gap:14px}
body[data-update-scope] .update-block2 .product-category{font-size:11px!important;color:#8b5e3d;letter-spacing:.5px}
body[data-update-scope] .update-block2 .product-prices{background:#f7f2ec!important;padding:10px!important;border:0!important;border-radius:10px;margin:12px 0 8px!important}
body[data-update-scope] .update-block2 .product-prices h3{font-size:12px!important;margin:0 0 8px!important;color:#695341}
body[data-update-scope] .update-block2 .product-prices span{font-size:12px!important}
body[data-update-scope] .update-block2 .product-prices strong{font-size:17px!important}
body[data-update-scope] .update-block2 .product-cost-status{display:inline-block!important;font-size:11px!important;padding:4px 7px!important;background:#fcebd5;color:#785122;border-radius:6px;margin:4px 0 8px!important}
body[data-update-scope] .update-sales{border-top:1px solid #eee2d6;padding-top:8px;margin:8px 0;font-size:12px;color:#695341}
body[data-update-scope] .update-sales summary{cursor:pointer;min-height:28px}
body[data-update-scope] .update-sales label{display:block;margin:8px 0}
body[data-update-scope] .update-block2 .product-card footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 0!important}
body[data-update-scope] .update-block2 .client-directory .topbar{flex-direction:row!important;text-align:left!important;align-items:center!important;margin-bottom:16px!important}
body[data-update-scope] .update-block2 .client-directory .topbar>div{flex:1;text-align:left!important}
body[data-update-scope] .update-block2 .product-card-title{order:0!important}
body[data-update-scope] .update-block2 .product-prices{order:1!important}
body[data-update-scope] .update-block2 .product-cost-status{order:2!important}
body[data-update-scope] .update-block2 .update-sales{order:3!important}
body[data-update-scope] .update-block2 .product-card footer{order:4!important}
body[data-update-scope] .update-block2 .product-prices>div>span{background:#fffefd!important;border:1px solid #e0d3c3!important;border-radius:9px!important;padding:9px!important;color:#66503f!important}
body[data-update-scope] .operational-grid button,body[data-update-scope] .cashbook-shortcut{
 background:linear-gradient(170deg,#ffffff 0%,#ffffff 38%,#fffefd 42%,#f5f1ec 100%)!important;
 border-color:#c3ae97!important;
 box-shadow:0 5px 0 #bba58d,0 8px 12px #57391f26,inset 0 2px 0 #ffffff,inset 0 -2px 0 #e8dfd3!important;
}
body[data-update-scope] .operational-grid button.primary,body[data-update-scope] .operational-title .primary{
 background:linear-gradient(165deg,#c37653 0%,#b56343 36%,#a45437 39%,#994831 70%,#893a26 100%)!important;
 border-color:#82402b!important;
 box-shadow:0 5px 0 #713320,0 8px 12px #57391f30,inset 0 2px 0 #e0a37c,inset 0 -2px 0 #88432d!important;
}
body[data-update-scope] .compact-order>button,body[data-update-scope] .date-navigation button{
 background:linear-gradient(170deg,#ffffff 0%,#ffffff 40%,#fdfaf6 44%,#f2ece3 100%)!important;
 border-color:#cdb49d!important;
 box-shadow:0 3px 0 #c3ae97,0 5px 8px #57391f1c,inset 0 2px 0 #ffffff!important;
}
body[data-update-scope] .period-modes button.chosen{
 background:linear-gradient(165deg,#c37653 0%,#b56343 35%,#a45437 40%,#994831 100%)!important;
 border:1px solid #8e432d!important;
 box-shadow:0 3px 0 #7a3b26,0 4px 6px #57391f20,inset 0 1px 0 #e0a37c!important;
}
body[data-update-scope] .operational-grid button:active,body[data-update-scope] .compact-order>button:active,body[data-update-scope] .operational-title .primary:active{transform:translateY(3px);box-shadow:0 2px 0 #bba58d,0 3px 5px #57391f18!important}
body[data-update-scope] .update-block2 .product-card{padding:12px!important;gap:0!important;min-height:0!important}
body[data-update-scope] .update-block2 .product-card-title{margin:0 0 7px!important;padding:0!important}
body[data-update-scope] .update-block2 .product-prices{margin:0 0 6px!important;padding:8px!important}
body[data-update-scope] .update-block2 .product-prices h3{margin:0 0 5px!important}
body[data-update-scope] .update-block2 .product-prices>div>span{padding:7px 8px!important}
body[data-update-scope] .update-block2 .product-prices strong{font-size:16px!important;margin-top:3px!important}
body[data-update-scope] .update-block2 .product-cost-status{align-self:flex-start!important;width:auto!important;padding:3px 7px!important;margin:2px 0 5px!important;line-height:1.3!important}
body[data-update-scope] .update-block2 .update-sales{margin:3px 0!important;padding-top:6px!important}
body[data-update-scope] .update-block2 .update-sales summary{min-height:24px!important;line-height:24px!important}
body[data-update-scope] .update-block2 .product-card footer{margin:6px 0 0!important;padding:0!important}
body[data-update-scope] .update-block2 .product-card footer button{color:#87432f!important;text-shadow:none!important;opacity:1!important;min-height:44px!important}
body[data-update-scope] .period-inputs{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
body[data-update-scope] .period-inputs label{flex:1;min-width:130px;font-size:12px;color:#604b3d}
body[data-update-scope] .period-inputs input{width:100%;min-height:44px;padding:8px;border:1px solid #d4c2b0;border-radius:9px;box-sizing:border-box;background:#fffefd;font-size:14px}
body[data-update-scope] .update-period-error{color:#8c3025;font-size:13px;margin:8px 0 0}
body[data-update-scope] .update-period .period-all{margin-top:10px;min-height:36px;padding:6px 10px;font-size:12px;background:#fffefd;border:1px solid #d4c2b0;border-radius:8px}
body[data-update-scope] .catalog-heading .info-button{display:block;background:transparent;border:0;min-width:28px;min-height:44px;padding:2px;font-size:20px}
body[data-update-scope] .product-results{margin-top:10px;padding-bottom:10px}
body[data-update-scope] .catalog-actions [hidden]{display:none!important}
