/* Agent scope only; approved client and seller styles stay authoritative. */
body.agentScreen{--ag-bg:#f7f5ee;--ag-ink:#18392b;--ag-muted:#647268;--ag-line:#e2e7df;--ag-green:#176440;--ag-soft:#eaf3e9;background:var(--ag-bg);color:var(--ag-ink);font:16px/1.45 Arial,Helvetica,sans-serif;margin:0;padding:0 0 88px}
.agentScreen *{box-sizing:border-box}.agentScreen main,.agentScreen>header{max-width:760px;margin:auto;padding:18px}.agentScreen h1{font:750 28px/1.14 Arial;letter-spacing:-.8px;margin:8px 0 12px}.agentScreen h2{font:700 22px/1.22 Arial;letter-spacing:-.5px;margin:0 0 12px}.agentScreen h3{font:700 17px/1.3 Arial;margin:0 0 6px}.agentScreen p{margin:8px 0}.agentScreen a{color:var(--ag-green)}.agentScreen svg{width:21px;height:21px;flex-shrink:0}.agentScreen [hidden]{display:none!important}.agentScreen .agentMuted{color:var(--ag-muted);font-size:15px}.agentScreen .agentSmall{font-size:13px;color:var(--ag-muted)}
.agentScreen .agentButton{display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;width:100%;padding:12px 14px;border:1px solid var(--ag-line);border-radius:14px;background:white;color:var(--ag-ink);font:600 16px/1.3 Arial;white-space:normal;text-decoration:none;cursor:pointer}.agentScreen .agentButton.primary{background:var(--ag-green);color:white;border-color:transparent}.agentScreen .agentButton:disabled{opacity:.5;cursor:default}.agentScreen .agentButton+.agentButton{margin-top:9px}.agentScreen :focus-visible{outline:3px solid #9a6514;outline-offset:3px}
.agentScreen .agentHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.agentScreen .agentHeader a{display:flex;gap:6px;align-items:center;min-height:44px;font-size:14px;text-decoration:none}.agentScreen .agentKicker{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:var(--ag-muted);margin:8px 0}.agentScreen .agentCard,.agentScreen .agentPanel,.agentScreen .agentProposal{background:white;border:1px solid var(--ag-line);border-radius:18px;padding:16px;margin:14px 0;overflow-wrap:anywhere}.agentScreen .agentCardHeader{display:flex;gap:12px;align-items:center}.agentScreen .agentMark{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:15px;background:var(--ag-green);color:white}.agentScreen .agentEntry{display:flex;gap:10px;align-items:center;text-decoration:none;min-height:70px;color:var(--ag-ink)}.agentScreen .agentEntry>div{flex:1;min-width:0}.agentScreen .agentEntry strong{display:block;font-size:18px}.agentScreen .agentBadge{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--ag-green)}.agentScreen .agentBadge.pending{color:#785310}.agentScreen .agentBadge.rejected{color:#a14231}.agentScreen .agentNotice{padding:12px;border-radius:13px;background:var(--ag-soft);color:var(--ag-green);font-size:14px;overflow-wrap:anywhere}.agentScreen .agentNotice.error{background:#fff0c9;color:#785310}.agentScreen .agentStatusSymbol{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:#fff0c9;color:#785310;margin:20px 0}.agentScreen .agentStatusSymbol svg{width:30px;height:30px}
.agentScreen #notice:empty{display:none}.agentScreen .agentActions{display:grid;gap:9px;margin:18px 0}.agentScreen .agentActions .agentButton{margin:0}.agentScreen .agentTools{display:flex;flex-wrap:wrap;gap:8px}.agentScreen .agentTools a,.agentScreen .agentTools button{min-height:44px;font:14px Arial;padding:10px 12px;border:1px solid var(--ag-line);border-radius:12px;background:white;text-decoration:none;color:var(--ag-green)}
.agentScreen .agentMenuItem{display:flex;align-items:center;gap:12px;margin:16px 0;min-width:0}.agentScreen .agentMenuItem img,.agentScreen .agentPlaceholder{width:65px;height:65px;flex-shrink:0;border-radius:12px;object-fit:cover;background:var(--ag-soft)}.agentScreen .agentPlaceholder{display:grid;place-items:center;color:var(--ag-muted)}.agentScreen .agentMenuItem>div{flex:1;min-width:0}.agentScreen .agentMenuItem .agentPrice{font-size:18px;font-weight:700;overflow-wrap:normal;word-break:normal;min-width:0}.agentScreen .agentMenuItem h3{overflow-wrap:anywhere}
.agentScreen #editor{padding:0;background:none;border:0}.agentScreen details.agentFormSection{padding:14px;background:white;border:1px solid var(--ag-line);border-radius:16px;margin:12px 0}.agentScreen summary{min-height:44px;cursor:pointer;font-weight:600}.agentScreen label{display:block;font:600 14px/1.4 Arial;margin:14px 0 7px}.agentScreen input,.agentScreen select{display:block;width:100%;min-height:50px;padding:13px;border:1px solid var(--ag-line);border-radius:12px;background:white;color:var(--ag-ink);font:16px Arial;margin-top:7px;max-width:100%;min-width:0}.agentScreen .dish{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.65fr);gap:10px;margin:16px 0;padding-bottom:12px;border-bottom:1px solid var(--ag-line)}.agentScreen .dish label{margin:0}.agentScreen .dish p{grid-column:1/-1;margin:0}.agentScreen #form button{min-height:50px}.agentScreen .agentDifferences>article{background:white;border:1px solid var(--ag-line);border-radius:16px;padding:16px;margin:14px 0}.agentScreen .agentDifference dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px;margin:12px 0 0;font-size:14px}.agentScreen .agentDifference dt{color:var(--ag-muted)}.agentScreen .agentDifference dd{margin:0;overflow-wrap:anywhere;font-weight:600}.agentScreen .agentDifference dd:last-child{color:var(--ag-green)}
.agentScreen .agentNavigation{position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;background:white;border-top:1px solid var(--ag-line)}.agentScreen .agentNavigation a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:61px;border-radius:12px;color:var(--ag-muted);font:12px Arial;text-decoration:none}.agentScreen .agentNavigation a[aria-current]{background:var(--ag-soft);color:var(--ag-green);font-weight:600}.agentScreen .omqLegalFooter{font:12px/1.5 Arial;padding:12px 18px 20px;max-width:760px;margin:auto}.agentScreen .omqLegalFooter a{display:inline-block;padding:6px}.agentScreen .omqLegalFooter p{margin:4px 0}
.agentScreen input[type=checkbox]{display:inline-block;width:22px;min-height:22px;height:22px;margin:0 8px 0 0;vertical-align:middle}.agentScreen #agent-owner-consent{background:#fff0c9;padding:14px;border-radius:14px}.agentScreen button[type=submit]{font:600 16px Arial}
@media(max-width:360px){.agentScreen main,.agentScreen>header{padding:13px}.agentScreen .agentMenuItem{flex-wrap:wrap;gap:10px}.agentScreen .agentMenuItem .agentPrice{flex-basis:100%;padding-left:75px}.agentScreen .dish{grid-template-columns:minmax(0,1fr) minmax(85px,.65fr)}}
@media(min-width:1024px){body.agentScreen{padding-bottom:0}.agentScreen main{max-width:980px;padding:24px}.agentScreen #commerces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agentScreen #commerces>article{margin:0}.agentScreen .agentNavigation{position:sticky;bottom:auto;max-width:980px;margin:24px auto}.agentScreen .agentActions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.agentScreen .agentHeader .agentButton{width:auto;border:0;background:transparent;padding:0;font-weight:400;text-align:left;justify-content:flex-start}
.agentScreen #form button{border-radius:14px;background:var(--ag-green);color:white;padding:12px 14px}
.agentScreen .agentSubmit{background:transparent!important}
.agentScreen #agent-current h2{font-size:17px;letter-spacing:0}
.agentScreen .agentNotice svg{width:18px;height:18px;vertical-align:middle;margin-right:7px}
.agentScreen .agentActions .agentTextAction{background:transparent;border:0;min-height:44px;font-size:14px;font-weight:400;color:var(--ag-green)}
.agentScreen .agentErrorView .agentStatusSymbol{margin:24px auto 18px}
.agentScreen .agentErrorView #agent-title,.agentScreen .agentErrorView #agent-content{text-align:center}
.agentScreen .agentErrorView .agentActions{margin-top:24px}
.agentScreen h1{overflow-wrap:anywhere}
.agentScreen .agentLegalDetails summary{font-size:12px;font-weight:400;min-height:44px;display:flex;align-items:center;justify-content:center;text-decoration:underline}
.agentScreen .dish .agentStock{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-height:44px;font-weight:400;color:var(--ag-muted)}
.agentScreen>header{padding:8px 18px}.agentScreen>header .agentHeader{margin-bottom:0}
.agentScreen .agentMenuItem.wideAmount{flex-wrap:wrap}.agentScreen .agentMenuItem.wideAmount .agentPrice{flex-basis:100%;padding-left:77px}
.agentScreen .agentDifference dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agentScreen .agentDifference dl>div{display:grid;gap:7px;align-content:start}.agentScreen .agentDifference dt{font-size:12px}.agentScreen .agentDifference dd{font-size:16px;font-weight:400;color:var(--ag-ink)}.agentScreen .agentDifference dl>div:last-child dd{color:var(--ag-green);font-weight:700}
.agentScreen .agentTools .agentButton{width:auto;min-height:44px;padding:10px 12px;font-size:14px;font-weight:400;border-radius:12px}
.agentScreen .agentDifference dl>div:first-child dd{color:var(--ag-ink);font-weight:400}
