/* Oracle Fusion Cloud Applications, Redwood-themed ADF skin.
   Measurements come from 03-ui-screenshots/video-frames-erpzen-2026 (frame px x 0.75). */

@font-face {
  font-family: "Oracle Sans";
  src: url("https://static.oracle.com/cdn/fnd/gallery/2610.0.0/OracleFont/OracleBrand_VariableFont/WOFF2/OracleBrandVF_Tb_W_WghtWdth.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bar: #182D3D;
  --bar-dark: #101F29;
  --home-bg: #3A4E5B;
  --tile: rgba(255, 255, 255, .11);
  --tile-hover: rgba(255, 255, 255, .18);
  --text: #161513;
  --text-2: #4F4D4B;
  --label: #333231;
  --muted: #6F6C69;
  --border: #CCCCCC;
  --border-soft: #DFDFDF;
  --link: #1F6DB5;
  --link-hover: #0F4F8C;
  --req: #1F6DB5;
  --row-sel: #E1EFFB;
  --row-hover: #F2F7FC;
  --toolbar: #EFF2F2;
  --notice: #FAF9D2;
  --badge: #D24731;
  --pending: #783685;
  --ready: #3E8A3E;
  --saved: #8A8885;
  --error: #D63B25;
  --field-h: 23px;
  --font: "Oracle Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 12px/1.4 var(--font); color: var(--text); background: #fff; font-variant-numeric: tabular-nums; }
a { color: var(--link); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
svg { display: block; }
.hidden { display: none !important; }

/* ---------- Global header ---------- */
.gh { height: 48px; background: var(--bar); display: flex; align-items: center; padding: 0 12px 0 10px; color: #fff; position: relative; z-index: 30; }
.gh.gh-home { height: 74px; }
.gh .nav-btn { width: 34px; height: 34px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 4px; }
.gh .nav-btn:hover, .gh .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.gh .logo { margin-left: 6px; display: flex; align-items: center; cursor: pointer; }
.gh .logo svg { height: 14px; width: auto; }
.gh .search { margin-left: 148px; flex: 0 1 532px; height: 39px; background: var(--bar-dark); border-radius: 4px; display: flex; align-items: center; padding: 0 12px; gap: 10px; color: #A7B1B8; font-size: 13.5px; }
.gh .search input { flex: 1; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; }
.gh .search input::placeholder { color: #8E9BA4; }
.gh .spacer { flex: 1; }
.gh .icons { display: flex; align-items: center; gap: 6px; }
.gh .icon-btn { width: 32px; height: 32px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 4px; position: relative; }
.gh .icon-btn .count { position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; border-radius: 8px; background: var(--badge); color: #fff; font-size: 9px; font-weight: 700; line-height: 15px; text-align: center; padding: 0 3px; }
.gh .avatar { margin-left: 12px; width: 24px; height: 24px; border-radius: 3px; background: #F1F1F1; color: #5D6A73; font-size: 10px; font-weight: 600; display: grid; place-items: center; cursor: pointer; border: 0; }

/* ---------- Page header band (title + buttons) ---------- */
.ph { background: var(--bar); color: #fff; display: flex; align-items: center; min-height: 50px; padding: 0 16px 0 12px; gap: 10px; }
.ph h1 { font: 400 20px/1.2 var(--serif); margin: 0; display: flex; align-items: center; gap: 10px; }
.ph .help { width: 15px; height: 15px; border: 1.3px solid #fff; border-radius: 50%; font: 600 10px/12px var(--font); text-align: center; opacity: .9; cursor: pointer; }
.ph .show-errors { color: var(--error); font: 13px var(--font); }
.ph .actions { margin-left: auto; display: flex; gap: 4px; align-items: center; }

/* Header buttons: white outline on the dark bar */
.hb { height: 23px; border: 1px solid #fff; border-radius: 2px; background: transparent; color: #fff; font: 700 11.5px/21px var(--font); padding: 0 7px; cursor: pointer; white-space: nowrap; }
.hb:hover { background: rgba(255, 255, 255, .12); }
.hb[disabled] { color: #8696A1; border-color: #4B5D69; cursor: default; background: transparent; }
.hb u { text-decoration: underline; }
.split { display: inline-flex; }
.split .hb:first-child { border-right: 0; border-radius: 2px 0 0 2px; }
.split .hb.drop { border-radius: 0 2px 2px 0; padding: 0 5px; border-left: 1px solid #fff; }
.hb.menu-caret::after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top: 5px solid currentColor; vertical-align: -1px; }

/* ---------- Generic light buttons ---------- */
.btn { height: 25px; border: 1px solid #B9B9B9; border-radius: 2px; background: #fff; color: #333; font: 12px var(--font); padding: 0 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { background: #F4F6F7; border-color: #9DA5AA; }
.btn[disabled] { color: #A8A8A8; cursor: default; background: #fff; border-color: #D6D6D6; }
.btn.bold { font-weight: 700; }
.btn.primary { background: #1F1F1F; border-color: #1F1F1F; color: #fff; }
.btn.primary:hover { background: #3A3A3A; }
.btn .plus { color: #121212; font-weight: 700; font-size: 15px; line-height: 1; }
.tb-btn { height: 26px; border: 0; background: transparent; color: #333; font: 12px var(--font); padding: 0 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; border-radius: 2px; }
.tb-btn:hover { background: #E3E8EA; }
.tb-btn[disabled] { color: #A5ABAE; cursor: default; background: transparent; }
.tb-btn.boxed { border: 1px solid #B9B9B9; background: #F7F8F8; font-weight: 700; }
.caret { display: inline-block; width: 0; height: 0; border: 4px solid transparent; border-top: 5px solid currentColor; margin-top: 4px; }
.caret-blue { border-top-color: var(--link); }

/* ---------- Forms (ADF two-column label/field) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 18px 16px 8px; max-width: 1180px; }
.fcol { display: flex; flex-direction: column; gap: 7px; }
.frow { display: grid; grid-template-columns: 170px auto; align-items: center; column-gap: 7px; min-height: var(--field-h); }
.frow.top { align-items: start; }
.frow.top > label { padding-top: 4px; }
.frow > label, .lbl { text-align: right; color: var(--label); font-size: 12px; font-weight: 600; white-space: nowrap; }
.req::before { content: "*"; color: var(--req); margin-right: 3px; font-weight: 700; }
.fval { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ro { color: var(--text-2); font-size: 12px; }
.inp { height: var(--field-h); border: 1px solid var(--border); border-radius: 2px; background: #fff; font: 12px var(--font); color: var(--text); padding: 0 6px; width: 166px; outline: 0; }
.inp:focus { border-color: #2B6CB0; box-shadow: 0 0 0 1px #2B6CB0 inset; }
.inp.num { text-align: right; }
.inp.wide { width: 228px; }
.inp.xwide { width: 300px; }
.inp[readonly], .inp.disabled { background: #F2F2F2; color: #777; }
textarea.inp { height: 41px; padding: 4px 6px; resize: both; line-height: 1.35; }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 22px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23444' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 7px center; }
.inp.cur { width: 55px; }
.inp.amt { width: 106px; }
.field-error .inp, .inp.err { border-color: var(--error); box-shadow: 0 0 0 1px var(--error) inset; }
.err-msg { color: var(--error); font-size: 11px; display: flex; gap: 4px; align-items: center; grid-column: 2; }
.with-btn { display: inline-flex; }
.with-btn .inp { border-radius: 2px 0 0 2px; }
.lov-btn { width: 23px; height: var(--field-h); border: 1px solid var(--border); border-left: 0; background: #F7F7F7; display: grid; place-items: center; cursor: pointer; border-radius: 0 2px 2px 0; }
.lov-btn:hover { background: #ECEFF1; }
.lov-btn::after { content: ""; border: 4px solid transparent; border-top: 5px solid #333; margin-top: 4px; }
.date-wrap { position: relative; display: inline-flex; }
.date-wrap .inp { padding-right: 26px; }
.date-wrap .cal { position: absolute; right: 4px; top: 3px; width: 17px; height: 17px; cursor: pointer; color: #6B6B6B; display: grid; place-items: center; }
.date-wrap input[type=date] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; right: 0; bottom: 0; }
.chk { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); cursor: pointer; font-size: 12px; }
.chk input { width: 14px; height: 14px; margin: 0; accent-color: #2B6CB0; }
.plus-ico { display: inline-grid; place-items: center; width: 15px; height: 15px; color: #8C8C8C; cursor: pointer; font-weight: 800; font-size: 16px; line-height: 1; }
.plus-ico:hover { color: #555; }
.picker-ico { width: 18px; height: 18px; color: var(--link); cursor: pointer; display: grid; place-items: center; }

/* Attachment drop zone */
.dropzone { width: 312px; min-height: 88px; border: 1px dashed #C7C7C7; border-radius: 2px; display: flex; align-items: center; gap: 12px; padding: 10px 26px; cursor: pointer; background: #fff; }
.dropzone.drag { background: #EEF5FC; border-color: var(--link); }
.dropzone img { width: 52px; height: 54px; }
.dropzone .dz-link { color: var(--link); font-size: 11.5px; line-height: 1.5; }
.dropzone .dz-link .chev { display: block; width: 8px; height: 8px; border-right: 1.4px solid #444; border-bottom: 1.4px solid #444; transform: rotate(45deg); margin: 2px 0 0 18px; }
.att-list { width: 312px; margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.att-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 3px 4px; border-bottom: 1px solid #EFEFEF; }
.att-row .name { color: var(--link); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.att-row .size { color: var(--muted); }
.att-row .x { cursor: pointer; color: #777; padding: 0 4px; }
.att-thumb { width: 28px; height: 28px; object-fit: cover; border: 1px solid #DDD; border-radius: 2px; background: #FAFAFA; }

/* ---------- Tables ---------- */
.section-title { font: 400 17px var(--font); color: #333; margin: 0 0 8px; }
.toolbar { display: flex; align-items: center; gap: 2px; background: var(--toolbar); padding: 3px 4px; border-top: 1px solid #E2E5E6; border-bottom: 1px solid #E2E5E6; }
.toolbar .sep { width: 1px; height: 18px; background: #CDD3D6; margin: 0 4px; }
.grid { width: 100%; border-collapse: collapse; font-size: 12px; }
.grid th { text-align: left; font-weight: 700; color: #333; padding: 10px 8px 9px; border-bottom: 1px solid #E6E6E6; white-space: nowrap; }
.grid th .sorter { display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top: 5px solid var(--link); vertical-align: -2px; }
.grid td { padding: 9px 8px; border-bottom: 1px solid #E6E6E6; vertical-align: top; }
.grid tr.sel td { background: var(--row-sel); }
.grid tbody tr:hover td { background: var(--row-hover); }
.grid tbody tr.sel:hover td { background: var(--row-sel); }
.grid .num { text-align: right; white-space: nowrap; }
.amt-big { font-weight: 700; font-size: 14px; }
.cur-sm { font-size: 10.5px; color: var(--muted); margin-left: 2px; }
.sub { color: var(--muted); font-size: 11px; }
.grid .desc-ta { width: 100%; min-height: 34px; border: 1px solid transparent; font: 12px var(--font); color: #777; resize: vertical; padding: 2px 4px; background: transparent; }
.grid .desc-ta:hover, .grid .desc-ta:focus { border-color: #CCC; background: #fff; color: #333; outline: 0; }
.row-error { color: var(--text-2); font-size: 11px; display: flex; align-items: center; gap: 6px; padding: 8px 8px 0; }
.err-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--error); color: #fff; display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.warn-dot { width: 14px; height: 14px; display: inline-grid; place-items: center; flex: none; }

/* Itemization grid */
.itemization { padding: 6px 16px 20px 0; margin-left: 48px; max-width: 1180px; }
.itemization .head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.itemization .head .lbl { width: 108px; }
.itemization .remaining { margin-left: auto; font-weight: 600; color: var(--label); }
.itemization .remaining span { color: #B49A87; font-weight: 400; margin-left: 8px; }
.itemization .remaining.bad span { color: var(--error); }
.itz { margin-left: 116px; width: calc(100% - 116px); border-collapse: collapse; }
.itz th { font-weight: 700; color: #333; text-align: left; padding: 9px 8px; border-bottom: 1px solid #E6E6E6; }
.itz td { padding: 7px 8px; border-bottom: 1px solid #E6E6E6; }
.itz tr.sel td { background: var(--row-sel); }
.itz td.handle { width: 30px; background: #F3F5F6; color: #888; cursor: pointer; text-align: center; }
.itz tr.sel td.handle { background: #B4C5D6; }
.itz .inp { width: 120px; }
.itz .inp.small { width: 104px; }
.itz .x { color: #777; cursor: pointer; font-size: 14px; }
.itz .detail td { background: #fff !important; padding: 10px 8px 14px 30px; }
.itz .detail .frow { grid-template-columns: 96px auto; }

/* ---------- Travel and Expenses work area ---------- */
.wa { display: flex; min-height: calc(100vh - 48px - 64px); }
.wa-title { background: var(--bar); color: #fff; display: flex; align-items: center; height: 64px; padding: 0 30px 0 56px; }
.wa-title h1 { font: 400 24px var(--serif); margin: 0; }
.wa-title .wa-search { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.wa-title .wa-search .box { width: 165px; height: 21px; background: #fff; border: 1px solid #C9C9C9; display: flex; align-items: center; padding: 0 4px; }
.wa-title .wa-search .box input { border: 0; outline: 0; flex: 1; font: 12px var(--font); min-width: 0; }
.rail { width: 44px; background: var(--bar); display: flex; flex-direction: column; align-items: center; padding-top: 2px; gap: 13px; flex: none; }
.rail button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #DDE3E7; display: grid; place-items: center; cursor: pointer; }
.rail button:hover { background: rgba(255, 255, 255, .1); }
.rail button.on { background: #fff; color: #233145; }
.wa-body { flex: 1; padding: 12px 0 40px 16px; min-width: 0; }
.notice { background: var(--notice); display: flex; align-items: center; gap: 14px; padding: 10px 0 10px 20px; margin-bottom: 18px; }
.notice img { width: 30px; height: 40px; }
.notice b { font-size: 15.5px; font-weight: 700; color: #1E1E1E; }
.notice a { font-size: 11px; color: #3F7D7F; white-space: nowrap; overflow: hidden; }
.wa-sec-head { display: flex; align-items: baseline; justify-content: space-between; padding-right: 12px; }
.wa-sec-head h2 { font: 400 17px var(--font); color: #333; margin: 0 0 12px; }
.wa-sec-head a { color: #3F7D7F; font-size: 11px; }
.cards { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.create-card { width: 116px; height: 137px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; cursor: pointer; font-size: 12px; color: #333; }
.create-card .big-plus { font: 300 40px/1 var(--font); color: #121212; font-weight: 700; }
.create-card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.rcard { width: 231px; height: 137px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); border-left: 3px solid var(--pending); padding: 12px 12px 8px 12px; display: flex; flex-direction: column; cursor: pointer; position: relative; }
.rcard:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.rcard .st { color: #555; font-size: 11.5px; }
.rcard .no { color: #777; font-size: 10.5px; margin-top: 4px; }
.rcard .pu { font-weight: 700; font-size: 12px; margin-top: 4px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.rcard .ev { color: #8A8A8A; font-size: 11.5px; margin-top: auto; padding-bottom: 6px; border-bottom: 1px solid #E8E8E8; }
.rcard .ft { display: flex; justify-content: space-between; align-items: baseline; padding-top: 5px; }
.rcard .ft .n { color: #777; font-size: 11px; }
.rcard .ft .a { font-weight: 700; font-size: 14.5px; color: #222; }
.rcard .kebab { position: absolute; top: 8px; right: 8px; width: 22px; height: 18px; border: 0; background: transparent; cursor: pointer; color: #666; font-size: 13px; letter-spacing: 1px; line-height: 10px; border-radius: 2px; }
.rcard .kebab:hover { background: #EEF0F1; }
.rcard.s-pending { border-left-color: var(--pending); }
.rcard.s-ready { border-left-color: var(--ready); }
.rcard.s-paid { border-left-color: #2F6F2F; }
.rcard.s-saved { border-left-color: var(--saved); }
.rcard.s-returned { border-left-color: #C74634; }
.rcard.s-info { border-left-color: #D18A1F; }
.empty { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 46px 0; }
.empty img { width: 62px; }
.empty .t { font-size: 16.5px; color: #333; }
.empty a { font-size: 12.5px; color: #1B6A8A; }

/* ---------- Report header ---------- */
.rep-head { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 16px 8px; max-width: 1180px; column-gap: 24px; }
.rep-head .frow { grid-template-columns: 96px auto; }
.total-panel .disc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #333; margin-bottom: 10px; cursor: pointer; }
.total-panel .disc::before { content: ""; border-left: 5px solid transparent; border-bottom: 5px solid #777; transform: rotate(0deg); width: 0; height: 0; }
.total-panel .frow { grid-template-columns: 118px auto; }
.big-total { font: 300 28px var(--font); color: #222; margin: 4px 0 8px 22px; }
.big-total small { font-size: 16px; color: #555; }
.policy { display: flex; gap: 6px; align-items: flex-start; max-width: 330px; margin-left: 22px; }
.policy input { margin-top: 2px; accent-color: #2B6CB0; }
.policy textarea { flex: 1; height: 56px; border: 0; resize: vertical; font: 10px/1.35 var(--font); color: #555; background: transparent; padding: 0; }

/* ---------- Approval task page ---------- */
.task { background: #fff; padding: 31px 16px 60px; display: flex; justify-content: center; }
.task-inner { width: 551px; }
.summary-box { background: #F2F2F2; border: 1px solid #DCDCDC; padding: 14px 12px 10px; }
.summary-box .k { color: #333; font-size: 15px; }
.summary-box .amt { font-size: 24px; font-weight: 700; color: #222; margin-top: 8px; }
.summary-box .amt small { font-size: 18px; font-weight: 700; }
.summary-box .who { font-size: 20px; font-weight: 700; color: #333; margin-top: 2px; }
.summary-box .meta { color: #777; font-size: 12.5px; margin-top: 10px; line-height: 1.85; }
.task h3 { font-size: 15.5px; font-weight: 700; color: #333; margin: 30px 0 14px; }
.ti { border-top: 1px solid #DCDCDC; }
.ti-parent { display: flex; justify-content: space-between; padding: 8px 6px 20px; font-size: 12.5px; }
.ti-parent b { font-weight: 700; color: #222; }
.ti-parent a { display: block; margin-top: 6px; color: #3D6FA6; }
.ti-line { display: flex; justify-content: space-between; padding: 7px 4px 6px; background: #F2F2F2; border-top: 1px dashed #D4D4D4; color: #6E6E6E; font-size: 12px; line-height: 1.6; }
.ti-line .r { text-align: right; }
.ti-line:first-of-type { border-top: 1px dashed #D4D4D4; }
.att-det { border-top: 1px solid #DCDCDC; }
.att-det .row { display: flex; justify-content: space-between; padding: 10px 4px 12px; border-bottom: 1px solid #DCDCDC; font-size: 12.5px; color: #333; line-height: 1.6; }
.att-det .row .r { text-align: right; color: #666; }
.att-det .row b { color: #333; }
.task-msg { background: #F2F7FC; border: 1px solid #C6DDF1; padding: 10px 12px; margin-bottom: 16px; color: #233; font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.task-hist { font-size: 12px; }
.task-hist td { padding: 6px 8px; border-bottom: 1px solid #E6E6E6; }

/* ---------- Home springboard ---------- */
.home { min-height: calc(100vh - 74px); background: var(--home-bg); color: #fff; position: relative; overflow: hidden; }
.home::before { content: ""; position: absolute; inset: 0; background: url("../assets/background-shell-generic-start.png") no-repeat left -60px top -10px / 1100px auto; opacity: .11; mix-blend-mode: screen; pointer-events: none; filter: invert(0); }
.home::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, .05), transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(0, 0, 0, .07), transparent 60%); pointer-events: none; }
.home-inner { position: relative; z-index: 1; width: 666px; margin-left: 252px; padding-top: 30px; }
.home h1 { font: 400 31px var(--serif); margin: 0 0 30px; }
.home-tabs { display: flex; gap: 41px; border-bottom: 1px solid #718592; font-size: 14px; }
.home-tabs a { color: #E8EDF0; padding-bottom: 11px; position: relative; text-decoration: none; }
.home-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #fff; border-radius: 2px; }
.home-cols { display: grid; grid-template-columns: 266px 1fr; padding-top: 28px; }
.home-cols h4 { margin: 0 0 22px; font-size: 9.5px; letter-spacing: .4px; font-weight: 700; }
.qa a { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 11.5px; font-weight: 400; height: 49px; text-decoration: none; padding-left: 7px; }
.qa a:hover span { text-decoration: underline; }
.qa svg { color: #fff; opacity: .9; }
.apps { display: grid; grid-template-columns: repeat(3, 125px); gap: 8px; }
.app-tile { width: 125px; height: 125px; background: var(--tile); border-radius: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; cursor: pointer; text-align: center; font-size: 11.5px; color: #F2F5F7; padding: 0 8px; }
.app-tile:hover { background: var(--tile-hover); }
.app-tile svg { width: 36px; height: 36px; }
.app-tile.add { font-size: 30px; font-weight: 200; }

/* ---------- Popups, menus, dialogs ---------- */
.menu { position: absolute; background: #fff; border: 1px solid #C9C9C9; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); min-width: 180px; padding: 4px 0; z-index: 60; font-size: 12px; color: #333; }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 7px 26px 7px 26px; font: 12px var(--font); color: #222; cursor: pointer; white-space: nowrap; }
.menu button:hover:not([disabled]) { background: #E1EFFB; }
.menu button[disabled] { color: #A8A8A8; cursor: default; }
.menu hr { border: 0; border-top: 1px solid #DCDCDC; margin: 4px 0; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 80; display: grid; place-items: center; }
.scrim.clear { background: transparent; }
.dlg { background: #fff; border: 1px solid #BDBDBD; box-shadow: 0 6px 22px rgba(0, 0, 0, .3); min-width: 400px; max-width: 760px; max-height: 86vh; display: flex; flex-direction: column; }
.dlg-h { display: flex; align-items: center; gap: 8px; padding: 12px 12px 6px 12px; }
.dlg-h h2 { font: 400 17px var(--font); margin: 0; color: #222; }
.dlg-h .acts { margin-left: auto; display: flex; gap: 4px; }
.dlg-h .x { margin-left: auto; border: 0; background: transparent; font-size: 17px; cursor: pointer; color: #444; }
.dlg-b { padding: 8px 18px 18px; overflow: auto; }
.dlg-f { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 12px 12px; }
.dlg .frow { grid-template-columns: 82px auto; }
.dlg textarea.inp { width: 450px; height: 73px; }
.dlg .dropzone { width: 446px; margin-left: 89px; margin-top: 30px; }
.err-dlg .dlg-b { font-size: 12px; color: #333; min-width: 470px; padding: 4px 12px 8px; }
.err-dlg .dlg-h h2 { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }

/* Toast confirmation that drops from the header */
.toast { position: fixed; top: 42px; left: 50%; transform: translateX(-46%); width: min(850px, 70vw); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 12px; padding: 14px 16px; z-index: 90; font-size: 15px; color: #555; }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #C5EAF3, #73C3D9); display: grid; place-items: center; color: #fff; font-size: 12px; flex: none; }
.toast a { margin-left: 22px; font-size: 15px; color: #3A6E8F; }
.toast .x { margin-left: auto; border: 0; background: transparent; font-size: 16px; cursor: pointer; color: #333; }

/* Notifications popup */
.notif { position: absolute; top: 56px; right: 64px; width: 612px; background: #fff; color: #333; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); z-index: 70; padding: 12px 10px 10px; }
.gh:not(.gh-home) ~ .notif { top: 40px; }
.notif .nh { display: flex; justify-content: space-between; align-items: center; padding: 0 0 12px 0; }
.notif .nh h3 { margin: 0; font: 400 16.5px var(--font); }
.notif .nh a { font-size: 10.5px; border: 1px solid var(--link); padding: 1px 2px; }
.notif .ns { border: 1px solid #DDD; height: 34px; display: flex; align-items: center; padding: 0 30px; color: #999; font-style: italic; font-size: 11.5px; }
.notif .ns input { border: 0; outline: 0; flex: 1; font: italic 11.5px var(--font); }
.notif .ni { border-bottom: 1px solid #E3E3E3; padding: 10px 6px 9px 26px; position: relative; }
.notif .ni .k { font-size: 10.5px; color: #222; letter-spacing: .2px; display: flex; justify-content: space-between; }
.notif .ni .k .t { color: #555; letter-spacing: 0; }
.notif .ni .dot { position: absolute; left: 7px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #2E8BC9; }
.notif .ni .lnk { display: block; color: #5B8EB8; font-size: 11.5px; margin: 6px 0 2px; text-decoration: underline; text-decoration-color: rgba(91, 142, 184, .5); }
.notif .ni .lnk.plain { text-decoration: none; }
.notif .ni .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.notif .ni .from { color: #333; font-size: 11px; }
.notif .ni .bt { display: flex; gap: 14px; }
.notif .ni .bt button { height: 30px; min-width: 84px; font: 11px var(--font); cursor: pointer; border-radius: 2px; }
.notif .ni .bt .ap { background: #131311; color: #fff; border: 1px solid #131311; }
.notif .ni .bt .rj, .notif .ni .bt .dm { background: #fff; color: #333; border: 1px solid #9A9A9A; }
.notif .nf { display: flex; justify-content: flex-end; gap: 10px; font-size: 11px; padding-top: 12px; color: #555; }
.notif .none { padding: 26px 10px; text-align: center; color: #777; }

/* User menu */
.umenu { position: absolute; top: 40px; right: 8px; width: 270px; background: #fff; color: #333; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); z-index: 70; font-size: 12px; }
.gh.gh-home ~ .umenu { top: 58px; }
.umenu .uh { padding: 14px 16px 10px; border-bottom: 1px solid #E3E3E3; }
.umenu .uh b { display: block; font-size: 14px; }
.umenu .uh span { color: #777; }
.umenu h5 { margin: 10px 16px 4px; font-size: 10.5px; color: #555; letter-spacing: .3px; }
.umenu a { display: block; padding: 6px 16px; color: #333; text-decoration: none; }
.umenu a:hover { background: #EEF4FA; }

/* Navigator drawer */
.navdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; background: #fff; color: #222; z-index: 85; box-shadow: 4px 0 18px rgba(0, 0, 0, .25); overflow: auto; font-size: 13px; }
.navdrawer .nd-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.navdrawer .nd-h a { font-size: 12px; }
.navdrawer .nd-home { display: block; padding: 8px 16px; color: #222; font-weight: 600; }
.navdrawer details { border-top: 1px solid #EEE; }
.navdrawer summary { list-style: none; padding: 10px 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.navdrawer summary::-webkit-details-marker { display: none; }
.navdrawer summary::after { content: "⌄"; color: #777; }
.navdrawer details[open] summary::after { content: "⌃"; }
.navdrawer details a { display: block; padding: 6px 30px; color: #333; }

/* Report list (See All) */
.list-page { padding: 16px; }
.filters { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.status-link { color: var(--link); }

/* Account chooser shown after Sign Out */
.chooser { min-height: 100vh; background: var(--bar); display: grid; place-items: center; color: #fff; }
.chooser .box { background: #fff; color: #222; width: 380px; padding: 28px 28px 22px; box-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.chooser .box svg { color: #C74634; height: 16px; width: auto; margin-bottom: 18px; }
.chooser h2 { font: 400 20px var(--serif); margin: 0 0 6px; }
.chooser p { color: #666; margin: 0 0 16px; }
.chooser button.acct { width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid #D6D6D6; background: #fff; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; text-align: left; font: 12px var(--font); }
.chooser button.acct:hover { background: #F2F7FC; border-color: #9EB9D3; }
.chooser .ini { width: 30px; height: 30px; border-radius: 3px; background: #E9EDF0; display: grid; place-items: center; font-weight: 700; color: #4E5D67; }
.chooser .acct b { display: block; font-size: 13px; }

/* Print view */
.print-sheet { max-width: 820px; margin: 20px auto; padding: 24px; font-size: 12px; }
.print-sheet h1 { font: 400 22px var(--serif); }
@media print { .gh, .ph, .no-print { display: none !important; } }

/* Item form proportions taken from the Create Expense Item frame: left labels end at about 18% of the page width, right labels at about 63%. */
.form-grid { grid-template-columns: 50% 50%; max-width: none; padding-left: 0; column-gap: 0; }
.form-grid .fcol:first-child .frow { grid-template-columns: max(170px, 18vw) auto; }
.form-grid .fcol:last-child .frow { grid-template-columns: max(140px, 13vw) auto; }
.form-grid .fcol .frow .frow { grid-template-columns: auto; }
.itemization { margin-left: 0; padding-left: calc(max(170px, 18vw) - 116px); max-width: none; padding-right: 16px; }
.itz { width: calc(100% - 116px); max-width: 1100px; }

.chev-d { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 3px; }
select.inp.sel-box { padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23'%3E%3Crect x='.5' y='-1' width='23' height='25' fill='%23F7F7F7' stroke='%23CCCCCC'/%3E%3Cpath d='M7.5 10h8l-4 5z' fill='%23333'/%3E%3C/svg%3E") no-repeat right top / 23px 100%; }
.toolbar .tb-btn[disabled] { background: #F4F5F5; }

/* ===================== v2 fidelity corrections (frame-by-frame audit of the reference video) ===================== */
:root { --ready: #256B3A; --pending: #823B8B; --font: "Helvetica Neue", Helvetica, Arial, sans-serif; --shell-font: "Oracle Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
body { font-size: 10px; }
.gh, .home, .notif, .umenu, .navdrawer, .chooser { font-family: var(--shell-font); }

/* Global header */
.gh { height: 41px; padding-left: 4px; position: sticky; top: 0; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.gh.gh-home { height: 74px; transition: height .15s; }
.gh.gh-home.compact { height: 46px; }
.gh .gh-search-ico { display: none; }
.gh:not(.gh-home) .gh-search-ico, .gh.gh-home.compact .gh-search-ico { display: grid; }
.gh.gh-home.compact .search { display: none; }
.gh .nav-btn svg { width: 20px; height: 20px; }
.gh .nav-btn svg path { stroke-width: 2.2; }
.gh .logo { margin-left: 4px; }
.gh .logo svg { height: 12.5px; }
.gh .logo svg g { stroke-width: 1.9; }
.gh .search { margin-left: 120px; padding-left: 6px; gap: 7px; font-size: 12.3px; }
.gh .search svg { color: #fff; width: 22px; height: 22px; }
.gh .icons { gap: 4px; }
.gh .avatar { margin-left: 26px; color: #8C8C8C; font-weight: 400; font-size: 12px; width: 24px; height: 24px; background: #F2F4F6; }
.gh .icon-btn .count { top: 3px; right: -3px; height: 13px; min-width: 13px; line-height: 13px; font-size: 8.5px; background: #CA4635; border-radius: 7px; }

/* Home springboard */
.home { border-top: 0; }
.home::before { background: url("../assets/home-texture-left.png") no-repeat left top / 255px auto; opacity: 1; mix-blend-mode: normal; }
.home::after { display: none; }
.home-inner { padding-top: 26px; padding-bottom: 0; }
.home h1 { font-size: 29.8px; margin-bottom: 37px; }
.home-tabs { position: relative; }
.home-tabs a { color: rgba(255,255,255,.78); padding-bottom: 13px; }
.home-tabs a.on { color: #fff; }
.home-tabs a.on::after { height: 2px; right: -26px; border-radius: 0; bottom: -1px; background: #CBDFEC; }
.home-tabs .tabs-more { position: absolute; right: -24px; top: -2px; font-size: 18px; color: #fff; }
.home-cols h4 { font-size: 8.9px; margin-bottom: 24px; }
.qa a { font-size: 10.5px; padding-left: 4px; gap: 7px; }
.qa a:hover span { text-decoration: none; }
.qa svg { width: 20px; height: 20px; }
.qa svg path, .qa svg circle, .qa svg rect, .app-tile svg path, .app-tile svg circle, .app-tile svg rect { stroke-width: 1.2; }
.show-more { display: inline-block; color: #fff; font-size: 11px; margin: 20px 0 0 0; text-decoration: none; }
.app-tile { justify-content: flex-start; padding: 27px 17px 0; gap: 14px; font-size: 10.5px; text-decoration: none; }
.app-tile:hover { background: var(--tile); text-decoration: none; }
.app-tile.add { justify-content: center; padding: 0; }
.ttf { margin-top: 56px; padding-bottom: 40px; }
.ttf h2 { font: 300 20px var(--shell-font); color: #fff; margin: 0 0 24px; }
.ttf-row { display: flex; gap: 12px; overflow: hidden; max-width: 900px; }
.ttf-card { flex: none; width: 194px; min-height: 150px; background: #fff; color: #333; border-radius: 2px; padding: 22px 16px 14px; font-size: 10.5px; }
.ttf-card .ttf-k { display: flex; justify-content: space-between; color: #555; }
.ttf-card .ttf-k .recent { color: #C33A2C; }
.ttf-card .ttf-k button { border: 0; background: transparent; cursor: pointer; color: #444; font-size: 12px; }
.ttf-card .ttf-t { margin-top: 14px; font-size: 9.5px; font-weight: 600; }
.ttf-card .ttf-b { margin-top: 8px; color: #333; line-height: 1.45; }
.ttf-count { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #777; }
.ttf-count b { font: 300 34px var(--shell-font); color: #333; }
.ttf-none { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 12px; padding-left: 20px; }
.ttf-none img { width: 50px; }

/* Travel and Expenses work area */
.wa-title { height: 73px; padding-bottom: 7px; padding-right: 26px; }
.wa-title h1 { font-size: 25px; }
.wa-title .wa-search { gap: 12px; }
.wa-title .wa-search .box { border-color: transparent; }
.wa-title .wa-search svg { width: 15px; height: 15px; }
.wa-body { padding-left: 9px; }
.notice { padding: 12px 0 12px 20px; margin: 0 0 13px 6px; white-space: nowrap; overflow: hidden; }
.notice b { font-size: 17.2px; }
.notice a { color: #5B7067; }
.wa-sec-head a { color: #4A656D; font-weight: 600; }
.wa-sec-head + .cards { margin-top: 12px; }
.rail { gap: 12.5px; }
.rail button { width: 35px; height: 35px; }
.rcard, .create-card { box-shadow: 1px 2px 7px rgba(0,0,0,.22); }
.rcard:hover, .create-card:hover { box-shadow: 1px 2px 7px rgba(0,0,0,.22); }
.create-card { font-size: 11.5px; }
.create-card .big-plus { font-size: 52px; line-height: .8; }
.rcard { padding-bottom: 4px; }
.rcard .no { color: #454545; font-size: 10px; }
.rcard .ev { padding-bottom: 3px; }
.rcard .ft { padding-top: 7px; }
.rcard .ft .a { font-size: 16px; }
.rcard .ft .a .cur-sm { font-weight: 400; color: #999; font-size: 11px; }
.rcard .kebab { top: 13px; right: 14px; font-size: 11px; }
.empty { gap: 18px; padding: 35px 0; }
.empty img { width: 52px; }
.empty .t { font-size: 17.5px; color: #2A2A2A; }
.empty a { color: #3F5860; font-weight: 600; }
.btn { height: 26px; font-size: 11px; }
.chev-stroke { display: inline-block; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 2px; }

/* Page header band */
.ph { min-height: 57px; }
.ph h1 { font-size: 17px; gap: 13px; }
.ph .help { opacity: .75; }
.hb { border-color: #B5BDCB; border-radius: 3px; font: 700 10px/21px var(--font); }
.split .hb.drop { border-left-color: #6E7C8A; }
.hb[disabled] { color: #4F6070; border-color: #485A6B; }

/* Forms */
.frow > label, .lbl { font-size: 10px; font-weight: 700; color: #333; }
.inp, .ro, .chk, .tb-btn, .menu button { font-size: 10px; }
.inp { color: #555; }
.inp:focus { border-color: #333; box-shadow: 0 0 0 1px #333 inset; border-radius: 3px; }
.req::before { color: #5A6B86; font-size: 8px; vertical-align: 3px; font-weight: 400; }
.form-grid { padding-top: 24px; }
.form-grid .fcol:first-child .frow { grid-template-columns: calc(max(170px, 18vw) + 7px) auto; }
.form-grid .fcol:last-child .frow { grid-template-columns: calc(max(140px, 13vw) + 19px) auto; }
.form-grid .fcol:last-child { margin-top: -13px; }
.frow.days-row { margin-top: 7px; }
.lov-btn { background: linear-gradient(#EDEFF2, #E0E2E5); }
.lov-btn::after { border-width: 5px; border-top-width: 6px; border-top-color: #111; }
.dropzone .dz-link { white-space: nowrap; font-size: 10px; color: #5B6B73; }
.dropzone img { width: 50px; height: 51px; }
.picker-ico { width: 13px; height: 13px; color: #6F9FBF; margin-left: -2px; }
.picker-ico svg { width: 13px; height: 13px; }
.plus-ico { color: #828282; font-size: 18px; margin-left: -2px; }
.chk input, .itz input[type=checkbox] { width: 13px; height: 13px; accent-color: #2B6CB0; }

/* Report page */
.rep-head .frow { grid-template-columns: 61px auto; }
.total-panel .frow { grid-template-columns: 91px auto; }
.total-panel .disc { margin-left: -6px; }
.big-total { font-weight: 400; margin-left: 16px; }
.policy { gap: 2px; margin-left: 16px; }
.policy textarea { font: 9px/1.3 Arial, sans-serif; color: #444; }
.policy textarea:focus { outline: 0; box-shadow: 0 0 0 1px #333; border-radius: 3px; }
.toolbar { background: #fff; border-top-color: #F0F0F0; border-bottom-color: #E2E5E5; }
.tb-btn.boxed { background: linear-gradient(#F4F4F4, #E2E5E5); border-color: #B0B0B0; height: 24px; }
.tb-btn:hover:not([disabled]) { background: #fff; box-shadow: inset 0 0 0 1px #C5C5C5; color: #1F5F96; }
.section-title { font: 700 13px var(--font); color: #333; }
.no-data { padding: 8px 12px; color: #4C4C4C; }

/* Itemization */
.itemization .head { max-width: 989px; }
.itemization .remaining span, .itemization .remaining.bad span { color: #A0857B; }
.itz { width: 873px; max-width: none; }
.itz th { font-size: 11px; color: #1A1A1A; padding: 10px 8px; }
.itz thead th:first-child { background: #F0F3F5; }
.itz td { padding: 6px 8px; }
.itz .inp.small { width: 83px; }
.itz select.inp.small { width: 101px; }
.itz .x { color: #92A0AC; font-size: 12px; }
.itz tr.cur td { background: #F7F9E8; }
.zplus { margin-left: 22px; padding: 1px 3px; border-radius: 2px; }
.zplus:hover, .zmenu-btn:hover { background: #fff; box-shadow: inset 0 0 0 1px #C8C8C8; }
.zmenu-btn:hover .caret { border-top-color: #1F5F96 !important; }

/* Note window shown when a numeric field has focus */
.note-win { position: absolute; z-index: 65; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); padding: 8px 12px; font-size: 10px; color: #333; min-width: 260px; }
.note-win::before { content: ""; position: absolute; left: -7px; top: 12px; border: 7px solid transparent; border-left: 0; border-right-color: #fff; filter: drop-shadow(-1px 0 1px rgba(0,0,0,.15)); }
.note-win b { display: block; padding-bottom: 6px; border-bottom: 1px solid #E3E3E3; margin-bottom: 6px; }
.note-win span { color: #777; }

/* Itemization details (audit C) */
.itz tbody tr:not(.detail):not(.sel):hover td { background: #EBEBEB; }
.itz tbody tr.cur:not(.detail) td { background: #F7F9E8; }
.itz td.handle { color: #888; font-size: 8px; }
.itz tr.sel td.handle { color: #4F5F6E; font-size: 10px; }
.itz th.num, .itz td.num { text-align: right; }
.itz th { padding: 5px 8px; }
.itz .err-dot.z { width: 11px; height: 11px; font-size: 7px; background: #C4314B; margin-right: 8px; vertical-align: middle; }
.itz .warn-dot.z { display: inline-grid; margin-right: 6px; vertical-align: middle; }
.itz td.ztype { white-space: nowrap; }
.itz .x { font-size: 10px; color: #8A98A4; }
.itz-foot { height: 18px; width: 873px; margin-left: 116px; border-bottom: 1px solid #E6E6E6; }
.zsep { width: 1px; height: 16px; background: #CCC; margin: 0 2px 0 4px; }
.zclear { cursor: pointer; color: #888; display: inline-grid; margin-left: 6px; }
.plus-ico:hover { color: #5E9FD8; }
.remaining .rsep { font-style: normal; color: #999; margin: 0 8px; }
.remaining .pv { color: #888 !important; margin-left: 6px; }
.inp.acct-ro { background: #E6E6E8; color: #B0B0B0; border-color: #DCDCDC; }
.picker-ico.off { opacity: .4; pointer-events: none; }
.zdet { display: grid; grid-template-columns: 330px 360px; gap: 0 30px; }
.zdet .frow { grid-template-columns: 96px auto; margin-bottom: 6px; }
.zdet .frow > label { white-space: normal; text-align: right; }
.menu.zlist { min-width: 112px; border-color: #A0A0A0; padding: 2px 0; }
.menu.zlist button { padding: 6px 25px; font-size: 10px; color: #333; }
.menu.zlist button:hover { background: #EBEBEB; box-shadow: inset 0 1px #DBDBDB, inset 0 -1px #DBDBDB; }
.zchk { appearance: none; -webkit-appearance: none; width: 13.5px !important; height: 13.5px !important; border: 1px solid #9A9A9A; border-radius: 2px; background: #fff; margin: 0; vertical-align: middle; cursor: pointer; }
.zchk:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1.5 5.2l2.4 2.4L8.6 2.3' fill='none' stroke='%232C6CB3' stroke-width='1.8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.chk input[type=checkbox], .policy input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 13.5px; height: 13.5px; border: 1px solid #BCBCBC; border-radius: 2px; background: #fff; cursor: pointer; flex: none; }
.chk input[type=checkbox]:checked, .policy input[type=checkbox]:checked { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1.5 5.2l2.4 2.4L8.6 2.3' fill='none' stroke='%232C6CB3' stroke-width='1.8'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ph .show-errors { color: #C8203F; font: 700 10.5px Arial, sans-serif; margin-left: 16px; margin-right: -7px; cursor: pointer; }

/* Error dialog: no scrim, top-centered (audit C) */
.scrim.clear-scrim { background: transparent; align-items: start; padding-top: 135px; }
.err-dlg { min-width: 394px; border-color: #9EA0A0; box-shadow: 0 1px 4px rgba(0,0,0,.2); resize: both; overflow: hidden; }
.err-dlg .dlg-h { padding: 8px 8px 4px; }
.err-dlg .dlg-h h2 { font: 700 12px Arial, sans-serif; }
.err-dlg .dlg-h .x { font: 700 12px Arial, sans-serif; color: #252525; }
.err-dlg .err-dot { width: 12px; height: 12px; font-size: 8px; background: #BE334A; }
.err-dlg .dlg-b { min-width: 0; font-size: 10px; padding: 8px 10px 4px; }
.err-dlg .btn { height: 20px; background: linear-gradient(#F2F2F2, #E2E5E5); border-color: #C4C4C4; color: #36577A; font-weight: 700; font-size: 10px; border-radius: 3px; }

/* Report grid (audit C) */
.grid { color: #484848; }
.grid td { font-size: 10.5px; vertical-align: middle; border-bottom-color: #EEEEEE; }
.grid td.top { vertical-align: top; }
.grid th { font-size: 10px; border-bottom-color: #F3F3F3; }
.grid th .sorter { border-top-color: #8A8A8A; }
.grid th .sorter.on { border-top-color: #236EA8; }
.grid.items tbody tr:hover td { background: transparent; }
.grid.items tbody tr.sel td { background: var(--row-sel); }
.grid tr.err-line td { border-bottom: 0; padding: 6px 8px 0 4px; }
.row-error { font-size: 8.6px; color: #444; padding: 0; }
.row-error .err-dot { width: 11px; height: 11px; font-size: 7px; background: #C4314B; }
.grid a { font-size: 11.5px; }
.amt-big { font-size: 12px; color: #333; }
.cur-sm { font-size: 9px; color: #A0A0A0; }
.section-title { margin-left: -6px; }
.type-chev { float: right; color: #555; margin-top: 3px; }
.grid .desc-ta { font-size: 10.5px; }

/* Banner (audit C) */
.toast { transform: translateX(-50%); width: min(850px, 96vw); padding: 16px; font: 16px Arial, sans-serif; color: #666; top: 42px; }
.toast a { font-size: 16px; }
.toast .ok { width: 25px; height: 25px; background: none; }
.toast .x { align-self: flex-start; font: 700 12px Arial, sans-serif; margin-top: -6px; color: #333; }
.rcard { border-left-width: 2px; }
.rcard .st { color: #666; }

/* Notifications popup (audit D) */
.notif { top: 46px; right: 78px; padding: 12px 15px 10px 10px; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.notif .nh a { border: 0; padding: 1px 2px; color: #3B5E8C; outline-offset: 1px; }
.notif .nh a:focus { outline: 1px solid #435F8F; }
.notif .ns { height: 36px; margin-bottom: 9px; }
.notif .ns input::placeholder { color: #ABABAB; }
.notif .ni { padding: 4px 6px 3px 26px; border-bottom-color: #E6E6E6; }
.notif .ni:first-of-type { border-top: 1px solid #E6E6E6; }
.notif .ni .k { font-size: 11.5px; }
.notif .ni .k .t { color: #333; }
.notif .ni.old .k .t { color: #9A9A9A; }
.notif .ni .dot { width: 10px; height: 10px; background: #21ADC3; left: 6px; top: 9px; }
.notif .ni .lnk { text-decoration: none; color: #5F8C99; font-weight: 300; font-size: 12px; margin: 10px 0 6px; }
.notif .ni .lnk:hover { text-decoration: underline; }
.notif .ni .from { font-size: 11.5px; color: #272727; }
.notif .ni .bt { padding-bottom: 8px; }
.notif .nf { border-bottom: 1px solid #E6E6E6; padding: 12px 0 10px; }
.notif .nf a { cursor: pointer; }

/* Approval task page (audit D) */
.task, .task-ph .hb, .task-menu, .task-menu button, .task-dlg, .task-dlg button, .task-dlg textarea, .task-dlg label { font-family: Arial, Helvetica, sans-serif; }
.task-ph { min-height: 69px; align-items: flex-start; padding-top: 14px; }
.task-ph h1 { font-size: 18.5px; }
.task-ph .hb { height: 26px; line-height: 24px; padding: 0 5px; border-radius: 3px; margin-top: 2px; font-size: 11.5px; }
.task-ph .hb.menu-caret { border-color: transparent; }
.task-ph .hb.menu-caret:hover, .task-ph .hb.menu-caret.open { border-color: #fff; }
.summary-box { padding: 8px 12px 6px; }
.summary-box .k { font-size: 17px; }
.summary-box .amt { font-size: 27px; margin-top: 6px; }
.summary-box .amt small { font-size: 21px; }
.summary-box .who { font-size: 22px; margin-top: 0; }
.summary-box .meta { font-size: 13.5px; margin-top: 8px; line-height: 1.75; }
.task h3 { font-size: 16px; margin: 26px 0 22px; }
.task h3.att-h { margin: 46px 0 4px; }
.ti-parent { padding: 6px 0 16px 6px; font-size: 13.5px; }
.ti-parent b { color: #2D2D2D; }
.ti-parent > div:last-child { margin-top: -3px; }
.ti-parent a { color: #4A5E80; font-size: 12px; margin-top: 2px; }
.ti-line { padding: 4px 4px 2px; font-size: 13px; line-height: 1.45; color: #6E6E6E; }
.ti-line b { color: #555; }
.att-det .row { padding: 5px 4px 6px; line-height: 1.4; font-size: 13px; }
.att-det .row:last-child { border-bottom: 0; }
.att-det .row .r b { color: #333; }
.task-menu { min-width: 178px; box-shadow: 1px 2px 4px rgba(0,0,0,.15); border-color: #C3C3C3; padding: 2px 0; }
.task-menu button { padding: 6px 26px 6px 29px; font-size: 12px; color: #333; margin: 0 2px; width: calc(100% - 4px); }
.task-menu button:hover:not([disabled]) { background: #EEE; box-shadow: inset 0 0 0 1px #C4C8CA; }
.task-menu hr { border-top: 2px solid #E0E0E0; margin: 0 2px; }
.scrim { background: rgba(0,0,0,.4); }
.task-dlg { border-color: #CFCFCF; box-shadow: 3px 4px 10px rgba(0,0,0,.45); }
.task-dlg .dlg-h h2 { font-size: 18px; }
.task-dlg .dlg-h .btn { background: linear-gradient(#ECEEF0, #E6E6E8); border-color: #C0C2C4; font-weight: 700; height: 25px; border-radius: 3px; font-size: 11.5px; color: #2A2C2F; }
.task-dlg .dlg-h .btn:hover { color: #3F6FC0; background: #F4F5F6; }
.task-dlg .dlg-h .btn[disabled] { color: #A0A0A0; }
.task-dlg .dlg-b { padding: 12px 18px 46px 12px; }
.task-dlg .frow { grid-template-columns: 62px auto; column-gap: 6px; }
.task-dlg .frow > label { padding-top: 6px; font-weight: 700; font-size: 11.5px; }
.task-dlg textarea.inp { width: 449px; height: 73px; }
.task-dlg textarea.inp:focus { border: 2px solid #4B5F9A; box-shadow: none; }
.task-dlg .dropzone { width: 446px; min-height: 99px; gap: 34px; margin-left: 68px; padding-left: 30px; }
.task-dlg .dropzone img { width: 56px; height: auto; }
.task-dlg .dz-link { font-size: 11px; color: #3A7E92; }
.task-dlg .dz-link .chev { display: inline-block; margin: 0 0 3px 12px; }

/* Note window geometry from the Amount hint at t=72 */
.note-win { min-width: 0; width: 182px; padding: 6px 8px 7px; font-size: 9.5px; border: 1px solid #C8C8C8; box-shadow: 1px 2px 4px rgba(0,0,0,.2); }
.note-win::before { top: 52px; }
.note-win b { padding-bottom: 5px; margin-bottom: 5px; }

/* Second-pass offsets measured side by side against t=36, t=290 and t=358 */
.ph h1 { margin-top: -3px; }
/* Second-pass: notification item height (t=380), tab wrapping on the approver's springboard (t=372), springboard icon size (t=12) */
.notif .ni .lnk { margin: 6px 0 4px; }
.notif .ni .bt { padding-bottom: 3px; }
.home-tabs { white-space: nowrap; overflow: visible; }
.home-tabs a { flex: none; }
.qa svg { width: 25px; height: 25px; }
.app-tile svg { width: 42px; height: 42px; }
.home-tabs { overflow: hidden; padding-right: 26px; }
.home-tabs .tabs-more { right: 0; top: -3px; background: var(--home-bg); padding: 0 4px 0 8px; height: 100%; }

/* Third-pass corrections, measured against t=69-75, t=187 and t=277 */
.itz .detail td { padding-left: 0; }
.zdet { grid-template-columns: 273px 400px; gap: 0; }
.zdet .frow { grid-template-columns: 85px auto; }
.zdet-r .frow { grid-template-columns: 60px auto; column-gap: 15px; }
.note-win::before { top: 38px; }
.note-win { font-size: 10px; padding-bottom: 10px; }
.note-win b { border-bottom-color: #EEE; }
.itz { table-layout: fixed; }
.itz thead th:nth-child(1) { width: 30px; padding: 0; }
.itz thead th:nth-child(2) { width: 163px; }
.itz thead th:nth-child(3) { width: 107px; }
.itz thead th:nth-child(4) { width: 108px; }
.itz thead th:nth-child(5) { width: 106px; }
.itz thead th:nth-child(6) { width: 172px; }
.itz thead th:nth-child(7) { width: 114px; }
.itz thead th:nth-child(8) { width: 73px; }
.itemization { padding-top: 11px; }
.zplus { margin-left: 12px; position: relative; top: -4px; font-size: 22px; }
.zsep { margin: 0 2px 0 1px; }
.zmenu-btn { padding: 0 1px !important; }
.form-grid .dropzone { margin-top: 7px; }
.dropzone img { width: 60px; height: 61px; }
.ph { padding-bottom: 9px; }
.ph h1 { margin-top: 0; font-size: 16.6px; }
.task-ph { padding-bottom: 0; }
.task-ph h1 { font-size: 18.5px; }
.inp { color: #6F6F6F; }
.inp.cur { margin-right: -3px; }
.req::before { font-size: 13px; vertical-align: -3px; color: #5F6D83; }
.itz tr.sel td.handle { font-size: 6px; color: #8090A0; }
.itz tr.sel { background: var(--row-sel); }
.itz tr.sel td:not(.handle) { background: transparent; }

/* Fourth pass (verification of v2 against t=36-64): restores v2 positions and fixes the remaining offsets */
.items-wrap-r { padding: 0 16px 40px; margin-top: -2px; }
.section-title { margin-bottom: 0; }
.toolbar { padding: 1px 4px; }
.create-card { gap: 26px; padding-bottom: 22px; }
.wa-title { padding-bottom: 13px; }
.btn .plus { font-size: 20px; font-weight: 800; }
.policy { margin-left: 6px; max-width: 306px; }
.rail { padding-right: 4px; }
.rail button svg { width: 20px; height: 20px; }
.notice { padding-left: 15px; gap: 10px; }
.notice img { width: 34px; height: 45px; }
.req::before { color: #5A6476; font-size: 12px; vertical-align: -1px; }
.frow > label, .lbl { color: #555; }
.ro { color: #777; }
.plus-ico { font-weight: 900; margin-left: -4px; margin-top: -6px; }
.zplus { margin-top: 0; }
select.inp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1'/%3E%3C/svg%3E"); }
.inp.cur { color: #999; }
.empty .t { font-weight: 300; color: #444; }
.gh:not(.gh-home) { box-shadow: none; }
.gh .logo svg g { stroke-width: 2.6; }
.gh .logo svg { height: 13.5px; }

/* Overlay check against t=290: Expense Items block sits 8-16 px lower in the tenant */
.items-wrap-r { padding-top: 8px; margin-top: 0; }
.section-title { margin-bottom: 5px; }
.days-gap { height: 34px; }

/* Fifth pass (verification of home, notifications and the approval task against t=12, 24, 372-461) */
:root { --home-bg: #3D515E; }
.home::before { position: fixed; top: 74px; left: 0; right: auto; bottom: 0; width: 248px; z-index: 0; background: url("../assets/home-texture-left.png") no-repeat left top / 248px auto; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.home-tabs { gap: 40px; padding-right: 0; margin-right: 26px; overflow: hidden; }
.home-tabs a { padding-bottom: 10px; font-weight: 300; }
.home-tabs a.on::after { bottom: 0; }
.home-tabs .tabs-more { display: none; }
.tabs-wrap { position: relative; }
.tabs-wrap .tabs-chev { position: absolute; right: -2px; top: 0; color: #fff; }
.app-tile { padding-top: 24px; gap: 8px; line-height: 1.3; }
.qa a { gap: 9px; }
.gh .search { margin-left: 139px; padding-left: 3px; }
.gh .search input { padding-top: 2px; }
.ttf { margin-top: 51px; }
.ttf h2 { font-size: 18.3px; margin-bottom: 18px; }
.ttf-row { gap: 8px; }
.ttf-card { font-size: 9.5px; }
.ttf-card .ttf-t { margin-top: 8px; }
.show-more { margin-top: 33px; }
.gh .avatar { width: auto; min-width: 24px; padding: 0 3px; font-size: 11px; }
/* Notifications */
.notif { padding-top: 15px; }
.notif .nh h3 { font-size: 18px; }
.notif .ns { margin-bottom: 10px; }
.notif .ns + .ni { border-top: 1px solid #E6E6E6; }
.notif .ni { padding: 8px 6px 2px 26px; }
.notif .ni .dot { top: 12px; }
.notif .ni .bt { padding-bottom: 0; }
.notif .ni .row { margin-top: -4px; }
.notif .ni .bt .rj { margin-right: 5px; }
.notif .nf { padding: 9px 5px 7px 0; }
/* Approval task */
.task-menu { width: 178px; min-width: 178px; }
.task-menu button { font-size: 11px; padding: 7px 12px 7px 28px; }
.summary-box .who { margin-top: -4px; }
.summary-box .meta { margin-top: 5px; }
.summary-box { padding-bottom: 3px; }
.task h3.att-h { margin-top: 41px; margin-bottom: 0; }
.task-inner { margin-left: 17px; }
.att-det .row { padding-bottom: 3px; }
.att-det .row, .ti-line { font-size: 12px; }
.task-dlg { width: 588px; }
.task-dlg .dlg-h .btn { padding: 0 6px; }
.task-dlg .dropzone img { width: 68px; }
.task-dlg .dropzone { gap: 29px; }
.task-ph .hb { height: 24.5px; line-height: 22.5px; font-size: 11px; padding: 0 4px; }
.task-ph .hb.menu-caret { font-weight: 400; }
/* Work area */
.notice img { width: 38px; height: 50px; }
.notice { padding-left: 10px; }
.wa-title .wa-search > span svg { width: 14px; height: 14px; }
.wa-create-item { font-weight: 600; }

/* v2.1: last verification pass (report grid t=290, error dialog t=297, work area t=359) */
.items-wrap-r { padding-left: 8px; }
.items-wrap-r .section-title { margin-left: 2px; }
.grid.items { table-layout: fixed; }
.grid.items th:nth-child(2) { width: 70px; }
.grid.items th:nth-child(3) { width: 137px; }
.grid.items th:nth-child(4) { width: 138px; padding-right: 18px; }
.grid.items tbody td:nth-child(4) { padding-right: 18px; }
.grid.items th:nth-child(5) { width: 224px; }
.grid.items th:nth-child(6) { width: 138px; }
.grid.items th:nth-child(7) { width: 278px !important; }
.notice img { width: 33px; height: 44px; }
.notice { padding-top: 9.5px; padding-bottom: 9.5px; }
.days-gap { height: 28px; }
.form-grid .frow:has(#f-mer) { margin-top: 4px; }
.scrim.clear-scrim { padding-top: 131px; }
.err-dlg .dlg-b { padding: 13px 4px 4px 18px; }
.grid tr.err-line td { padding: 12px 8px 0 10px; }
.grid.items tr.err-line + tr td { padding-top: 2px; }
.ph h1 { gap: 6px; }
.ph .show-errors { margin-left: 4px; margin-right: -2px; }
.grid.items a, .rep-head [data-history] { color: #4F6A72; }
.grid.items .sub { font-size: 10px; }
.toast { font-size: 17px; gap: 7px; }
.toast .ok { width: 30px; height: 30px; }
.toast .ok svg { width: 30px; height: 30px; }
.empty { gap: 24px; }
.wa-create-item { font-weight: 400; }

/* v2.2: wide windows. In the tenant the springboard column is centred in the window (t=12: 336-1212 of 1576,
   centre 11 px left of the window centre), and the raindrop texture runs the full height of the left edge. */
.home-inner { margin-left: max(24px, calc(50% - 339px)); }
.home::before { top: 74px; bottom: 0; height: auto; width: auto; aspect-ratio: 322 / 884; background-size: 100% 100%; }

/* v2.3: Things to Finish is a horizontal strip clipped at the column edge (t=24); it scrolls sideways to reach the rest. */
.ttf-row { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.ttf-row::-webkit-scrollbar { display: none; }
.ttf-card { scroll-snap-align: start; }

/* ===================== v3: interaction states from the 2-fps reference log ===================== */
/* Cursors: Oracle shows an arrow over buttons and menu items; a hand only over links, tiles, cards, checkboxes, the drop zone and Remove */
button, .btn, .hb, .tb-btn, .menu button, .dlg .btn, .notif .bt button, select.inp { cursor: default; }
a, .app-tile, .rcard, .create-card, .chk, .chk input, .zchk, .policy input, .dropzone, .itz .x, .icon-btn, .home-tabs a, .qa a, .rail a, .notif .lnk { cursor: pointer; }
.btn:hover, .hb:hover, .app-tile:hover, .rail a:hover, .home-tabs a:hover, .qa a:hover, .qa a:hover span, .logo:hover, .icon-btn:hover, .wa-create-item:hover, .rcard:hover, .create-card:hover, .show-more:hover { text-decoration: none; }
body.busy, body.busy * { cursor: wait !important; }

/* ADF short-description tooltip */
.adf-tip { position: absolute; z-index: 200; background: #fff; border: 1px solid #A9A9A9; color: #6A6A6A; font: 11px Arial, sans-serif; padding: 3px 6px; pointer-events: none; white-space: nowrap; }

/* Page loading indicator (t=25.5-30.5) */
.page-loading { height: calc(100vh - 41px); display: flex; justify-content: center; align-items: center; gap: 4px; background: #fff; }
.page-loading span { width: 14px; height: 14px; border-radius: 50%; background: #CFCFCF; animation: exm-dot 1.2s infinite; }
.page-loading span:nth-child(2) { animation-delay: .4s; } .page-loading span:nth-child(3) { animation-delay: .8s; }
@keyframes exm-dot { 0%, 30% { background: #6E6E6E; } 31%, 100% { background: #CFCFCF; } }

/* Header buttons: rest border #b0bcc8, hover #3c4c5c, pressed #344454, disabled text #5b6b7a */
.hb { border-color: #B0BCC8; }
.hb:hover:not([disabled]) { background: #3C4C5C; }
.hb:active:not([disabled]) { background: #344454; }
.hb[disabled] { color: #5B6B7A; border-color: #4A5C6B; }
.split .hb.drop:hover:not([disabled]) { background: transparent; }

/* Toolbar Create Item hover: light grey border, slate-blue text (t=60.5) */
.tb-btn:hover:not([disabled]) { box-shadow: inset 0 0 0 1px #BFC1C0; color: #4A6070; background: #fff; }

/* Fields: no hover change; focus is a 2 px near-black border (#252525); typed text grey */
.inp:hover { border-color: var(--border); }
.inp:focus { border-color: #252525; box-shadow: 0 0 0 1px #252525 inset; }
.inp { color: #5A5A5A; }

/* Checkbox focus: 2 px dark border, pale-blue fill, check #487699 (t=58-62) */
.policy input[type=checkbox]:focus, .chk input[type=checkbox]:focus, .zchk:focus { outline: 0; border: 2px solid #20262E; background-color: #EAF3FB; }
.policy input[type=checkbox]:checked, .chk input[type=checkbox]:checked, .zchk:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M1.5 5.2l2.4 2.4L8.6 2.3' fill='none' stroke='%23487699' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; }

/* Note windows are light grey; the checkbox note sits above the control */
.note-win { background: #F7F7F7; border-color: #D4D4D4; }
.note-win::before { border-right-color: #F7F7F7; }
.note-win.note-above { width: auto; white-space: nowrap; border-radius: 4px; padding: 7px 12px; font-size: 10.5px; color: #555; }
.note-win.note-above::before { display: none; }

/* Itemization rows: hover #ececec, selected #e1effb, focus-in-row #dceffd (gutter #dde7f1), processing #f8fce8 */
.itz tbody tr:not(.detail):not(.sel):hover td, .itz tbody tr:not(.detail):not(.sel):hover td.handle { background: #ECECEC; }
.itz tr.sel.focus-in, .itz tr.sel.focus-in td:not(.handle) { background: #DCEFFD; }
.itz tr.sel.focus-in td.handle { background: #DDE7F1; }
.itz tbody tr.cur:not(.detail), .itz tbody tr.cur:not(.detail) td { background: #F8FCE8 !important; }

/* "+ | ▾" behaves as one split control: one box on hover, ▾ turns blue */
.zsplit { display: inline-flex; align-items: center; margin-left: 12px; padding: 1px 3px; border-radius: 2px; }
.zsplit .zplus { margin-left: 0; }
.zsplit:hover { background: #fff; box-shadow: inset 0 0 0 1px #D0D0D0; }
.zsplit .caret { border-top-color: #111; }
.zsplit:hover .caret { border-top-color: #2B67B0; }
.zplus:hover, .zmenu-btn:hover { box-shadow: none; background: transparent; }

/* Remaining Balance: muted red while out of balance, grey at 0.00 */
.itemization .remaining span:first-of-type { color: #B05A4C; }
.itemization .remaining.zero span:first-of-type { color: #8A8A8A; }

/* Error dialog OK hover: blue text, faint blue fill (t=304) */
.err-dlg .btn:hover { color: #3F66A1; background: #ECF0F4; }

/* Report Status reads grey until the report is saved by the user, then teal */
.status-unsaved { color: #8A8A8A !important; }

/* Report card ••• menu appears about a second after the page loads */
.kebab-late { animation: exm-late .5s step-end; }
@keyframes exm-late { from { visibility: hidden; } to { visibility: visible; } }

/* Notifications popup Approve hover */
.notif .ni .bt .ap:hover { background: #2B2B2B; }

/* Task dialog Submit: hover text #4d6579, disabled #a5a6a6 */
.task-dlg .dlg-h .btn:hover:not([disabled]) { color: #4D6579; }
.task-dlg .dlg-h .btn[disabled] { color: #A5A6A6; }

/* Item and report pages: the brand bar scrolls away and the title bar stays at the top (t=250-260) */
.gh:not(.gh-home) { position: relative; }
.ph:not(.task-ph) { position: sticky; top: 0; z-index: 25; }

/* v3 item-page comparison (t=38-345) */
.inp, select.inp { color: #808080; }
.inp:focus { color: #525252; }
.chk { color: #777; }
.note-win { width: auto; white-space: nowrap; font-size: 9.5px; }
.note-win.callout::before { top: auto; bottom: -7px; left: 6px; border: 7px solid transparent; border-top-color: #F7F7F7; border-bottom: 0; filter: drop-shadow(0 1px 0 #D4D4D4); }
.note-win.days span { color: #333; display: block; }
.note-win span.dark { color: #333; display: block; }
.note-win.note-above { border-radius: 0; }
.note-win.note-above.callout { border-radius: 3px; }
.itz tr.sel.inactive, .itz tr.sel.inactive td:not(.handle) { background: #F9FCEB; }
.itz tr.sel.inactive td.handle { background: #F3F5E0; }
.inp.busy-field:disabled { background: #F0F0F0; color: #A0A0A0; border-color: #252525; box-shadow: 0 0 0 1px #252525 inset; }
.toolbar .tb-btn[disabled] { font-weight: 700; }
.toolbar .tb-btn[disabled] span { color: #96BAD7 !important; }
.itemization .remaining span:first-of-type { color: #C0938A; }
.itemization .remaining .pv { color: #C0938A !important; }
.zdet a { color: #5B8592; }
.err-dlg .btn { color: #242424; }
.err-dlg .dlg-b { color: #777; }
.ph .show-errors { color: #8A1C30; font-weight: 400; }
.itz .detail .inp:not(textarea) { width: 166px; }
.zdet { grid-template-columns: 262px 400px; }
.policy textarea:focus { box-shadow: 0 0 0 2px #222; }
.policy { max-width: 324px; }
.policy textarea { color: #777; }
.zsplit .zplus, .itz td.handle { cursor: default; }
.dropzone { border-color: #D8D8D8; }
.dropzone .dz-link { color: #7A8A90; }
.itz tr.sel td.handle:hover { background: #CFD2D4; }
.zsplit.open { background: #fff; box-shadow: inset 0 0 0 1px #D0D0D0; }
.zsplit.open .caret, .zsplit.open .zplus { color: #2B67B0; border-top-color: #2B67B0; }
.err-dlg { resize: vertical; }
.att-grid th, .att-grid td { padding: 5px 6px; }
.att-grid .inp.small { width: 120px; }

/* v3 home / work-area comparison */
.page-loading.blank { background: #FAF9F7; }
.gh .nav-btn:hover, .gh .icon-btn:hover { background: transparent; }
.gh [data-act=notifications]:active svg path:first-child { fill: #576265; }
.ttf { position: relative; }
.ttf-card .ttf-b { font: 300 15px/20px var(--shell-font); color: #5F7A80; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ttf-count b { color: #4F6A70; }
.ttf-count { color: #A1A1A1; }
.ttf-next { position: absolute; left: 676px; bottom: 70px; border: 0; background: transparent; color: #848484; cursor: pointer; }
.qa a, .show-more, .app-tile { color: #DCE8F0; }
.home-tabs a { color: rgba(255,255,255,.62); }
.home-tabs a.on { color: #fff; }
.notif .ni .lnk { color: #7F9799; }
.notif .nf a { color: #5E7C81; }
.notif .ni .k { color: #5C5C5C; }
.notif .nf span { color: #828282; }
.notif .ni .bt .dm, .notif .ni .bt .rj { color: #6C6C6C; border-color: #B8B8B8; }
.notif .ni { border-bottom-color: #F0F0F0; }
.notif .ni .bt button { cursor: default; }
.wa-create-item { padding: 0 13px; }
.btn[disabled] { border-color: #BDBDBD; }
.adf-tip { padding: 4px 6px; line-height: 13px; border-color: #999; }
.rail button:hover { background: transparent; }
.rail button.on:hover { background: #fff; }
.wa-title, .ph { margin-top: -1px; }

/* v3 approver comparison (t=370-470) */
.task-ph .hb.pending { color: #7D919D; border-color: #5A6C78; pointer-events: none; }
.task-ph .hb.menu-caret:hover { background: transparent; border-color: transparent; }
.task-ph .hb.menu-caret.open, .task-ph .hb.menu-caret.open:hover { border-color: #9FB2BE; background: transparent; }
.notif .ni .lnk.plain:hover { text-decoration: none; }
.task-menu button { padding: 7px 26px 7px 24px; color: #4D4D4E; }
.gh .icon-btn[data-act="notifications"]:active svg path:first-child { fill: #576265 !important; }
.task-dlg .dlg-h .btn[disabled] { background: #F7F7F7; border-color: #F0F0F0; }
.task-dlg .dlg-h .btn:hover:not([disabled]) { border-color: #DFDFDF; }
.task-dlg .dlg-h .btn { background: linear-gradient(#F2F3F5, #E9E9E9); border-color: #CECECE; }
.task-dlg { border-color: #979797; }
.notif .ni { padding: 5px 6px 5px 26px; }
.ti-line { padding: 5px 4px 3px; }

/* v3 report-page and card comparison (t=283-372, 445-465) */
.ph .help:hover { background: rgba(255,255,255,.25); opacity: 1; }
.ph .help { cursor: pointer; }
.toast { padding: 12px 16px; color: #777; }
.toast .x { font-size: 10px; margin-top: 0; }
.toolbar .tb-btn[disabled] .caret { border-top-color: #A5ABAE; }
.policy textarea { font: 10px/1.16 Arial, sans-serif; color: #5F5F5F; }
.rcard { border-left-width: 3px; }
.rcard .ft { padding-top: 4px; }
.row-error { font-size: 9.5px; gap: 9px; }
.rcard .kebab { color: #999; }

/* Rail icon cut-outs (wallet stripe and clasp) take the color behind the icon: the bar when
   unselected, the white circle when selected. Fixed white made the unselected icon a blank block. */
.rail button { --cut: var(--bar); }
.rail button.on { --cut: #fff; }

/* Policy violations (erpzen episode 13, 09-fidelity/frames/OclIrPLOhUs): report-row flag, amber Amount,
   and the approver's line-level "<violation type>. <justification>" in red with the warning triangle. */
.row-warn .warn-dot svg { width: 11px; height: 10px; }
.grid.items tr.err-line td .row-error + .row-error { margin-top: 6px; }
.inp.amt.policy-warn { border-color: #E8A33D; box-shadow: 0 0 0 1px #E8A33D inset; }
.ti-viol { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; color: #C8102E; font-size: 12px; line-height: 15px; max-width: 560px; }
.ti-viol .warn-dot { width: 13px; height: 12px; margin-top: 1px; }
.ti-legend { border-top: 1px solid #d6d6d6; margin-top: 2px; padding: 10px 0 0 14px; color: #7d7d7d; font-size: 12px; }
.ti-legend > div { display: flex; align-items: center; gap: 22px; height: 20px; }
.ti-legend .warn-dot { width: 13px; height: 12px; }

/* Springboard tab strip arrows scroll the overflowing tabs */
.tabs-wrap .tabs-chev, .tabs-wrap .tabs-chev-l { cursor: pointer; display: inline-block; line-height: 0; }
.tabs-wrap .tabs-chev[hidden], .tabs-wrap .tabs-chev-l[hidden] { display: none; }
.tabs-wrap .tabs-chev-l { position: absolute; left: -22px; top: 0; color: #fff; }
.home-tabs { scroll-behavior: smooth; }

/* Settings and Actions (avatar menu), 2026 tenant: 09-fidelity/frames/signin/YsCqdXwXH7E-t00031 */
.umenu { width: 362px; padding: 0 0 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); font-size: 11.5px; }
.umenu .uh { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 12px; border-bottom: 0; }
.umenu .uh .ut { font-size: 19px; font-weight: 300; color: #333; }
.umenu .uh a.so { padding: 0; color: #527189; font-size: 11.5px; }
.umenu h5 { margin: 8px 18px 6px; font-size: 10.5px; font-weight: 400; color: #333; letter-spacing: 0; text-transform: none; }
.umenu a { padding: 4px 18px; color: #527189; }
.umenu a:hover { background: transparent; text-decoration: underline; }
.umenu hr { border: 0; border-top: 1px solid #e6e6e6; margin: 8px 18px; }

/* Oracle Cloud sign in, 2026 IAM page: 09-fidelity/frames/signin/eONnBZN_opk-t00057, t00065 */
.iam { min-height: 100vh; background: #E4E3E1; display: grid; place-items: start center; padding-top: 9vh; font-family: var(--shell-font); }
.iam-card { width: 478px; box-sizing: border-box; background: #F9F8F6; border-radius: 8px; padding: 44px 41px 40px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.iam-top { display: flex; justify-content: space-between; align-items: center; }
.iam-logo { display: flex; align-items: center; gap: 6px; color: #312D2A; }
.iam-logo svg { height: 19px; width: auto; }
.iam-logo span { font-size: 25px; font-weight: 300; color: #4a4643; letter-spacing: -.2px; line-height: 1; }
.iam-lang { width: 144px; height: 36px; box-sizing: border-box; border: 1px solid #cfcdca; border-radius: 3px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 30px; font-size: 13.5px; color: #333; }
.iam-lang .caret { border: 4.5px solid transparent; border-top: 5px solid #333; margin-top: 4px; }
.iam h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 29px; color: #2b2826; margin: 24px 0 26px; }
.iam-err { color: #C74634; font-size: 13px; margin: -10px 0 14px; }
.iam-f { position: relative; display: block; height: 42px; margin-bottom: 20px; }
.iam-f input { width: 100%; height: 42px; box-sizing: border-box; border: 1px solid #cfcdca; border-radius: 3px; background: #fff; padding: 17px 40px 4px 13px; font-size: 13.5px; color: #2b2826; outline: none; }
.iam-f input:focus { border-color: #738B8B; box-shadow: 0 0 0 1px #738B8B inset; }
.iam-f span { position: absolute; left: 13px; top: 13px; font-size: 13px; color: #555; pointer-events: none; transition: all .12s; }
.iam-f input:focus + span, .iam-f.has span { top: 6px; font-size: 10px; color: #444; }
.iam-eye { position: absolute; right: 10px; top: 12px; border: 0; background: none; color: #333; padding: 0; cursor: pointer; }
.iam-link { display: block; color: #2B7A8C; font-size: 13.5px; cursor: pointer; text-decoration: none; margin-top: -4px; }
.iam-link:hover { text-decoration: underline; }
.iam-next { width: 100%; height: 36px; margin: 24px 0 10px; border: 0; border-radius: 3px; background: #3A3635; color: #fff; font: 600 13.5px var(--shell-font); cursor: pointer; }
.iam-next:hover { background: #2b2826; }
.iam-help { margin-top: 0; }
.iam-acct { margin-top: 44px; padding: 0 0 14px 12px; border-bottom: 1px solid #e3e1de; font-weight: 600; font-size: 13.5px; color: #2b2826; display: flex; gap: 16px; align-items: center; }
.iam-acct .chev { font-size: 20px; font-weight: 400; line-height: 1; }
.iam-f .iam-eye { display: none; }
.iam-f.has .iam-eye { display: block; }
.iam-logo svg { stroke-width: 2.6; }
.umenu a, .umenu .uh a.so { color: #6F8BA0; }

/* Saved logins, drawn like the browser's password suggestions (Chrome) */
.iam-masked { -webkit-text-security: disc; }
.cr-pop { position: absolute; z-index: 200; background: #fff; border-radius: 8px; padding: 6px 0; box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15); font: 13px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f1f1f; }
.cr-row { display: flex; align-items: center; gap: 14px; padding: 7px 16px; cursor: default; }
.cr-row:hover { background: #ebebeb; }
.cr-key { color: #474747; display: inline-grid; place-items: center; width: 20px; }
.cr-txt { display: flex; flex-direction: column; line-height: 18px; }
.cr-txt b { font-weight: 400; color: #1f1f1f; }
.cr-txt i { font-style: normal; color: #474747; font-size: 12px; letter-spacing: 1px; }
.cr-m { padding: 2px 0; }
.cr-sep { height: 1px; background: #e3e3e3; margin: 5px 0; }
.iam-f input.cr-filled { background: #E8F0FE; }

/* SCBX reason dialogs: Reason, Instructions and Additional Instructions need a wider label column. */
.dlg.reason-dlg .frow, .task-dlg.reason-dlg .frow { grid-template-columns: 118px auto; }
.dlg.reason-dlg .frow > label { white-space: normal; line-height: 1.25; }
.dlg.reason-dlg .dropzone { margin-left: 124px; }
.dlg.reason-dlg [data-f2] { margin-left: 124px !important; }
.dlg.reason-dlg textarea.inp { width: 320px; }
.dlg.reason-dlg .dropzone { width: 404px; }
/* Request Information (BPM): long field labels. */
.dlg.info-dlg .frow, .task-dlg.info-dlg .frow { grid-template-columns: 150px auto; }
.dlg.info-dlg .frow > label { white-space: normal; line-height: 1.25; }
.dlg.info-dlg textarea.inp { width: 300px; }
.dlg.info-dlg .fval label { text-align: left; }
/* Audit Expense Report form (CieOV3sXqX8 t00382): Oracle labels such as "Original Receipt Package Check in Date". */
.audit-form .frow { grid-template-columns: 165px minmax(0, 1fr); }
.audit-form .frow > label { white-space: normal; line-height: 1.25; }
.audit-form .fval { min-width: 0; overflow-wrap: anywhere; }
