/* Receipt tokens for the pages that carry their own styles (Nov 24 2026): the blog, the legal pages, the older docs,
   /vendors, /help, /start and others. Each of those pages names its own classes, so it loads this sheet and not
   receipt.css: the two Receipt faces, the tokens (the same values as receipt.css, held equal by a test), the page
   ground, and the three parts scripts add to any page (the cookie notice, its fallback footer and the help chat).
   Scoped to html.ag-receipt like receipt.css. Warm paper, one ink, square corners, no glow. */
@font-face{font-family:'Besley';font-weight:700;font-style:normal;font-display:swap;src:url(fonts/besley-700.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/ibm-plex-mono-400.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-weight:500;font-style:normal;font-display:swap;src:url(fonts/ibm-plex-mono-500.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/ibm-plex-mono-600.woff2) format('woff2')}

.ag-receipt{
  --ag-paper:#ECE6D9;   /* page ground */
  --ag-slip:#FBF8F1;    /* receipts, terminal, output blocks */
  --ag-ink:#1B1915;     /* text, rules, launched, primary button */
  --ag-ink-2:#595348;   /* labels, secondary text */
  --ag-rule:#B8AF9C;    /* hairlines, card edges, empty cells (1.75 to 1 on paper) */
  --ag-stamp:#B22912;   /* refused, and nothing else (5.25 to 1 on paper, 6.15 on slip) */
  --ag-body:#3A362F;    /* body copy (the design's lede colour) */
  --ag-bar:#D9D2C3;     /* the prompt's placeholder lines (as drawn) */
  --ag-empty:#8A8272;   /* an unsealed ledger cell's dashed edge, a meter's edge (3.06 to 1 on paper, 3.59 on slip) */
  --ag-display:'Besley',Georgia,serif;
  --ag-sans:'DM Sans',system-ui,sans-serif;
  --ag-mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --ag-perf:conic-gradient(from -45deg at 50% 100%,var(--ag-slip) 90deg,transparent 0) 0 0/10px 5px repeat-x;
}

html.ag-receipt,.ag-receipt body{background:var(--ag-paper);color:var(--ag-ink)}
.ag-receipt ::selection{background:var(--ag-ink);color:var(--ag-slip)}
.ag-receipt :focus-visible{outline:2px solid var(--ag-ink);outline-offset:2px}
.ag-receipt h1,.ag-receipt h2{font-family:var(--ag-display);font-weight:700;letter-spacing:-.02em}
.ag-receipt h1 *,.ag-receipt h2 *{font-style:normal}
/* the wordmark: one ink, the display face, no old mark beside it */
.ag-receipt img[src$="agentguard-icon-flat.svg"]{display:none!important}
.ag-receipt a.brand,.ag-receipt a.logo{font-family:var(--ag-display);font-weight:700;letter-spacing:-.01em;color:var(--ag-ink)}
.ag-receipt img[src$="agentguard-icon-flat.svg"]+span,.ag-receipt img[src$="agentguard-icon-flat.svg"]+b,.ag-receipt img[src$="agentguard-icon-flat.svg"]+strong{font-family:var(--ag-display);font-weight:700;letter-spacing:-.01em;color:var(--ag-ink)}
:where(.ag-receipt) a{color:var(--ag-ink)}
:where(.ag-receipt) code,:where(.ag-receipt) pre,:where(.ag-receipt) kbd,:where(.ag-receipt) samp{font-family:var(--ag-mono)}
:where(.ag-receipt) code{overflow-wrap:anywhere}
:where(.ag-receipt) button,:where(.ag-receipt) input,:where(.ag-receipt) select,:where(.ag-receipt) textarea{font-family:inherit}

/* the cookie notice (agentguard-consent.js styles it by #agc) and the footer it adds when a page has none */
.ag-receipt #agc{background:var(--ag-slip);color:var(--ag-ink);border:1px solid var(--ag-ink);border-radius:0;box-shadow:none}
.ag-receipt #agc a,.ag-receipt #agc a:hover{color:var(--ag-ink);text-decoration-color:currentColor}
.ag-receipt #agc .lnk{color:var(--ag-ink-2)}
.ag-receipt #agc .lnk:hover{color:var(--ag-ink)}
.ag-receipt #agc .eq{min-height:44px;border:1px solid var(--ag-ink);border-radius:0;background:transparent;color:var(--ag-ink)}
.ag-receipt #agc .eq:hover{background:var(--ag-ink);color:var(--ag-slip);border-color:var(--ag-ink)}
.ag-receipt #agc .panel{border-top:1px dashed var(--ag-ink)}
.ag-receipt #agc .opt span{color:var(--ag-ink-2)}
.ag-receipt #agc .on{font-family:var(--ag-mono);color:var(--ag-ink)}
.ag-receipt #agc input[type=checkbox]{accent-color:var(--ag-ink)}
/* the legal line on pages that have no footer of their own (the cookie script adds its Cookie settings link beside it) */
.ag-receipt .ag-legal{position:relative;z-index:1;max-width:920px;margin:40px auto 56px;padding:20px 24px 0;border-top:1px solid var(--ag-ink);text-align:center;font:400 13px/1.6 var(--ag-sans);color:var(--ag-ink-2)}
.ag-receipt .ag-legal p{margin:0}
.ag-receipt .ag-legal p.foot{margin-top:4px}
.ag-receipt .ag-legal sup{font-size:.75em;line-height:0;vertical-align:super;color:var(--ag-ink)}
.ag-receipt .ag-legal a{display:inline-block;margin-top:6px;color:var(--ag-body)}
.ag-receipt .agc-fallback-footer{border-top:1px solid var(--ag-ink);color:var(--ag-ink-2);font-family:var(--ag-sans)}
.ag-receipt .agc-fallback-footer a{color:var(--ag-body)}

/* the help chat (widget/help.js styles itself by .agh-*) */
.ag-receipt .agh-launch{border-radius:0;background:var(--ag-ink);box-shadow:none}
.ag-receipt .agh-launch:hover{background:var(--ag-ink)}
.ag-receipt .agh-launch svg{stroke:var(--ag-slip)}
.ag-receipt .agh-panel{background:var(--ag-slip);border:1px solid var(--ag-ink);border-radius:0;box-shadow:none;font-family:var(--ag-sans)}
.ag-receipt .agh-head{background:var(--ag-paper);border-bottom:1px solid var(--ag-ink)}
.ag-receipt .agh-title,.ag-receipt .agh-title b{color:var(--ag-ink)}
.ag-receipt .agh-dot{border-radius:0;background:var(--ag-ink);box-shadow:none}
.ag-receipt .agh-close{color:var(--ag-ink);font-family:var(--ag-sans)}
.ag-receipt .agh-sub{border-bottom:1px dashed var(--ag-ink);color:var(--ag-ink-2);font-family:var(--ag-mono)}
.ag-receipt .agh-msg{border-radius:0}
.ag-receipt .agh-bot{background:var(--ag-paper);border:0;color:var(--ag-ink)}
.ag-receipt .agh-user{background:var(--ag-ink);border:0;color:var(--ag-slip)}
.ag-receipt .agh-bot a{color:var(--ag-ink)}
.ag-receipt .agh-user a{color:var(--ag-slip)}
.ag-receipt .agh-foot{border-top:1px dashed var(--ag-ink)}
.ag-receipt .agh-in{background:var(--ag-paper);border:1px solid var(--ag-ink);border-radius:0;color:var(--ag-ink)}
.ag-receipt .agh-in:focus{border-color:var(--ag-ink);outline:2px solid var(--ag-ink);outline-offset:1px}
.ag-receipt .agh-send{border-radius:0;background:var(--ag-ink);color:var(--ag-slip);font-family:var(--ag-sans)}
.ag-receipt .agh-note,.ag-receipt .agh-note a{color:var(--ag-ink-2);font-family:var(--ag-mono)}
.ag-receipt .agh-human button{border:1px solid var(--ag-ink);border-radius:0;color:var(--ag-ink)}

/* A control's edge is never the hairline (Nov 27 2026, from an outside code check): a field, a select and an outlined
   button carry an ink edge, like the pilot form and the secondary button. These sheets load after a page's own
   styles, so a page that names its border with the hairline is corrected here; a border of no width stays none. */
.ag-receipt input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden])),.ag-receipt select,.ag-receipt textarea,.ag-receipt .btn-ghost,.ag-receipt a.button,.ag-receipt .btn.secondary,.ag-receipt button.option,.ag-receipt button.hamb,.ag-receipt .mini-btn,.ag-receipt .ghost,.ag-receipt .chips button,.ag-receipt .panel button,.ag-receipt .filters button,.ag-receipt .modal button,.ag-receipt .flow-card button{border-color:var(--ag-ink)}
/* A card you choose (the dashboard's team and vertical cards) has an edge that passes for a control; the chosen or hovered one keeps its own ink edge. */
.ag-receipt .vertical-card:not(:hover):not(.selected),.ag-receipt .team-card:not(:hover):not(.active){border-color:var(--ag-empty)}
