/* AEVYX inside revamp: the outside language (loop objects, desk paper, boarding pass, stamps) in the signed-in app.
   Loaded after every other sheet; selectors are scoped to .ix-* classes that inside.js adds. Motion: transform and opacity only. */
:root{--ix-paper:#f4f1ea;--ix-ink:#141416;--ix-ink2:rgba(20,20,22,.55);--ix-pink:#E4267F;--ix-orange:#E67B2F;--ix-green:#41CE3B;--ix-cyan:#0BB5D8;--ix-hand:"Shantell Sans",-apple-system,system-ui,sans-serif}
.ix-hand{font-family:var(--ix-hand);font-weight:600;letter-spacing:-.1px}
.ix-hide{display:none!important}
.ix-obj{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;user-select:none;pointer-events:none}

/* plain cells: the paper carries the look, not the dark card */
.wcell.ix-plain{background:none!important;box-shadow:none!important;padding:0!important;border-radius:0}
.wcell.ix-plain>.sec{padding:0 4px!important;margin:0 0 10px!important}
.wcell.ix-plain>.sec::after{display:none}
.wcell.ix-plain>.sec h2{font-size:17px;line-height:22px;letter-spacing:-.43px}
.w-l.ix-plain>div:not(.sec):not(.list){margin-left:0!important;margin-right:0!important}
.wcell.ix-plain>.lfoot{padding:8px 4px 0}

/* tape strip, as on the desk */
.ix-tape{position:absolute;top:-9px;left:50%;width:58px;height:19px;margin-left:-29px;transform:rotate(-3deg);z-index:3;pointer-events:none;
  background:color-mix(in srgb,var(--tc,#fff) 45%,rgba(255,255,255,.42));box-shadow:0 1px 1px rgba(0,0,0,.12);
  -webkit-mask:linear-gradient(90deg,transparent 0,#000 3px,#000 calc(100% - 3px),transparent 100%);mask:linear-gradient(90deg,transparent 0,#000 3px,#000 calc(100% - 3px),transparent 100%)}

/* ================= Home ================= */
.ix-floats{position:relative;height:80px;margin:8px -4px -18px;pointer-events:none;z-index:0}
.ix-fl{position:absolute;display:block;will-change:transform;transform:rotate(var(--r));animation:ixDrift var(--d) ease-in-out var(--dl) infinite alternate}
.ix-fl img{filter:none}
.ix-fl:nth-child(1) img{width:58px;height:58px} .ix-fl:nth-child(2) img{width:52px;height:52px} .ix-fl:nth-child(3) img{width:56px;height:56px} .ix-fl:nth-child(4) img{width:54px;height:54px}
@keyframes ixDrift{0%{transform:translate3d(0,0,0) rotate(var(--r))}50%{transform:translate3d(6px,-7px,0) rotate(calc(var(--r) * -.4))}100%{transform:translate3d(-5px,5px,0) rotate(calc(var(--r) * .7))}}

.ix-home .lt,.ix-home .lsub,.ix-home .wgrid{position:relative;z-index:1}

/* sticky notes: tips and empty states */
.ix-sticky{position:relative;padding:22px 16px 13px;border-radius:5px 5px 16px 5px;color:#0b0b0c;transform:rotate(var(--tilt,-1deg));
  background:linear-gradient(172deg,color-mix(in srgb,var(--c) 80%,#fff) 0%,var(--c) 40%,color-mix(in srgb,var(--c) 88%,#000) 100%);
  box-shadow:0 1px 1px rgba(0,0,0,.3),0 16px 26px -14px rgba(0,0,0,.85)}
.ix-sticky::after{content:"";position:absolute;right:0;bottom:0;width:24px;height:24px;border-radius:0 0 16px 0;background:linear-gradient(135deg,transparent 50%,rgba(0,0,0,.16) 50%,rgba(255,255,255,.25) 100%)}
.ix-sticky h3{font-family:var(--ix-hand);font-weight:700;font-size:18px;line-height:22px;letter-spacing:-.2px}
.ix-sticky p{font-size:14px;line-height:19px;margin-top:6px;color:rgba(11,11,12,.78)}
.ix-nfoot{display:flex;justify-content:space-between;margin-top:12px;padding-right:20px;font-size:11px;line-height:14px;font-weight:600;opacity:.58}
.ix-tipcell{position:relative;padding:6px 0 4px!important}
.ix-tip{width:78%;margin-left:4px}
.ix-doodle{position:absolute;right:6px;bottom:-8px;width:62px;height:44px;color:rgba(241,238,232,.5)}
.ix-dlabel{position:absolute;right:2px;top:18px;font-size:14px;line-height:18px;color:rgba(241,238,232,.58);transform:rotate(6deg);max-width:70px;text-align:center}

/* approvals: index cards with tape */
.ix-needs .list{background:none!important;box-shadow:none!important;overflow:visible!important;display:flex;flex-direction:column;gap:18px;padding-top:10px}
.ix-needs .row::before{display:none!important}
.row.ix-icard{position:relative;align-items:center;gap:12px;min-height:84px;padding:20px 14px 12px 12px;border-radius:4px;color:var(--ix-ink);transform:rotate(var(--tilt,0deg));
  background:linear-gradient(transparent 12px,rgba(228,38,127,.5) 12px,rgba(228,38,127,.5) 13.5px,transparent 13.5px),var(--ix-paper);
  box-shadow:0 1px 1px rgba(0,0,0,.35),0 16px 28px -14px rgba(0,0,0,.9)}
.row.ix-icard .t1{color:var(--ix-ink);font-weight:700;white-space:normal}
.row.ix-icard .t2{color:var(--ix-ink2)}
.ix-ask{font-size:12.5px;line-height:16px;color:var(--ix-pink);margin-top:3px;transform:rotate(-1.5deg);transform-origin:left}
.ix-iobj{width:46px!important;height:46px!important;flex:none;transform:rotate(-6deg)}
.row.ix-icard .get{background:var(--ix-ink);color:#f4f1ea;font-weight:600}
.row.ix-icard.collapse{animation:ixToss .45s cubic-bezier(.5,0,.75,0) forwards}
@keyframes ixToss{to{transform:translate3d(40px,-10px,0) rotate(8deg);opacity:0}}
.ix-needs .ix-sticky{margin:6px 4px}

/* ================= receipts (feeds, price) ================= */
.ix-receipt{position:relative;padding:18px 16px 26px;color:#1b1b1d;background:var(--ix-paper);border-radius:3px 3px 0 0;
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 8px repeat-x}
.wcell:has(>.ix-receipt){filter:drop-shadow(0 14px 16px rgba(0,0,0,.5))}
.ix-rc-h{text-align:center;padding-bottom:10px;border-bottom:1.5px dashed rgba(0,0,0,.22);margin-bottom:2px}
.ix-rc-h b{display:block;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ix-rc-h small{display:block;font-size:11.5px;line-height:15px;color:rgba(0,0,0,.5);font-variant-numeric:tabular-nums;margin-top:2px}
.ix-rc-f{display:flex;justify-content:space-between;align-items:center;border-top:1.5px dashed rgba(0,0,0,.22);margin-top:4px;padding-top:10px;font-size:11px;letter-spacing:.06em;color:rgba(0,0,0,.42);text-transform:uppercase}
.ix-rc-f .ix-hand{text-transform:none;letter-spacing:0;font-size:14px;color:var(--ix-green);transform:rotate(-4deg)}
.ix-receipt .list{background:none!important;box-shadow:none!important;border-radius:0;overflow:visible}
.ix-receipt .row{min-height:0;padding:9px 0;gap:10px;align-items:flex-start;color:#1b1b1d}
.ix-receipt .row+.row::before{left:0!important;right:0!important;background:none!important;border-top:1px dotted rgba(0,0,0,.2);height:0}
.ix-receipt .row .t1{color:#141416;font-size:14px;line-height:19px;font-weight:600;letter-spacing:-.15px;white-space:normal}
.ix-receipt .row .t2{color:rgba(0,0,0,.5);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
.ix-receipt .tm{color:rgba(0,0,0,.45);font-size:12px;line-height:19px;width:34px}
.ix-receipt .amt,.ix-receipt .row .amt{color:#141416;font-size:14px;line-height:19px;font-weight:600;font-variant-numeric:tabular-nums}
.ix-receipt .row .end{color:#141416}
.ix-receipt .chip{color:inherit}

/* ================= Fixes: cards with their own object ================= */
.ix-note{font-size:14px;line-height:18px;color:rgba(241,238,232,.5);margin:8px 6px -6px;transform:rotate(-1.5deg);transform-origin:left}
.ix-note.r{text-align:right;margin:10px 4px 0;transform:rotate(1.5deg)}
.list.ix-cards{background:none!important;box-shadow:none!important;overflow:visible!important;display:flex;flex-direction:column;gap:12px}
.list.ix-cards .row::before{display:none!important}
.row.ix-fcard{position:relative;min-height:84px;padding:12px 14px 12px 10px;gap:12px;border-radius:20px;
  background:linear-gradient(180deg,#1b1b1f,#121215);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),inset 0 0 0 1px rgba(255,255,255,.05),0 14px 30px -14px rgba(0,0,0,.9)}
.row.ix-fcard:active{transform:scale(.985)}
.row.ix-fcard .t1{font-size:16px;font-weight:600}
.ix-fobj{position:relative;flex:none;width:60px;height:60px;display:block;will-change:transform;animation:ixBob var(--d,7s) ease-in-out var(--dl,0s) infinite alternate}
.ix-fobj.big{width:84px;height:84px;animation-duration:8s}
.ix-fobj.sm{width:38px;height:38px;animation:none}
.ix-fobj.sheet{width:60px;height:60px;margin:-6px 0 -6px -4px;animation:none}
@keyframes ixBob{from{transform:translate3d(0,2px,0) rotate(-4deg)}to{transform:translate3d(0,-4px,0) rotate(3deg)}}
.row.ix-fcard .ix-tape{left:auto;right:24px;margin:0;width:46px;transform:rotate(4deg)}

/* ================= Fix detail: stamped checkpoints ================= */
.ix-fhead{display:flex;align-items:center;gap:6px;margin:18px 0 -4px;padding:0 2px}
.ix-stamps{position:relative;flex:1;display:flex;justify-content:space-between;align-items:flex-start;padding:2px 0}
.ix-route{position:absolute;left:30px;right:30px;top:31px;height:0;border-top:2px dashed rgba(255,255,255,.14)}
.ix-cp{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;width:70px}
.ix-stamp{position:relative;width:60px;height:60px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--c,rgba(235,235,245,.38));
  background:#0b0b0d;box-shadow:inset 0 0 0 1.5px currentColor,inset 0 0 0 4.5px #0b0b0d,inset 0 0 0 5.5px color-mix(in srgb,currentColor 60%,transparent);transform:rotate(var(--rot))}
.ix-stamp b{font-family:var(--ix-hand);font-weight:800;font-size:18px;line-height:18px}
.ix-stamp small{font-size:8px;font-weight:800;letter-spacing:.03em;line-height:11px;margin-top:2px;text-transform:uppercase}
.ix-cp.todo .ix-stamp{--c:rgba(235,235,245,.3);box-shadow:inset 0 0 0 1.5px rgba(235,235,245,.22);transform:none}
.ix-cp.todo .ix-stamp{background:repeating-conic-gradient(#0b0b0d 0 6deg,#0e0e11 6deg 12deg)}
.ix-cp.done .ix-stamp{--c:var(--ix-green)} .ix-cp.now .ix-stamp{--c:var(--ix-orange)} .ix-cp.off .ix-stamp{--c:rgba(235,235,245,.55)}
.ix-cp.live .ix-stamp{--c:var(--ix-green)}
.ix-cp.done:nth-child(2) .ix-stamp{--c:var(--ix-cyan)}
.ix-cp.done:nth-child(3):not(.live) .ix-stamp{--c:var(--ix-cyan)}
.ix-cpd{font-size:11.5px;line-height:14px;font-weight:600;color:rgba(235,235,245,.5);font-variant-numeric:tabular-nums;white-space:nowrap}
.ix-cp.now .ix-cpd{color:var(--ix-orange)}
html:not(.still) .ix-cp:not(.todo) .ix-stamp{animation:ixStamp .55s cubic-bezier(.34,1.4,.5,1) calc(.15s + var(--i) * .16s) both}
@keyframes ixStamp{0%{transform:rotate(calc(var(--rot) - 14deg)) scale(1.7);opacity:0}55%{opacity:1}100%{transform:rotate(var(--rot)) scale(1);opacity:1}}
.ix-cp.now .ix-stamp::after{content:"";position:absolute;inset:-5px;border-radius:50%;box-shadow:0 0 0 1.5px var(--ix-orange);opacity:0;animation:ixPing 2.4s ease-out 1s infinite}
@keyframes ixPing{0%{transform:scale(.9);opacity:.6}100%{transform:scale(1.25);opacity:0}}
.ix-stamps.four .ix-cp{width:62px}
.ix-stamps.four .ix-stamp{width:54px;height:54px}
.ix-stamps.four .ix-route{top:28px}
.wcell.ix-plain .ix-stamps{padding:8px 4px 0}

/* rules on an index card */
.list.ix-index{position:relative;border-radius:4px!important;padding:12px 4px 8px!important;color:var(--ix-ink);overflow:visible!important;
  background:linear-gradient(transparent 46px,rgba(228,38,127,.55) 46px,rgba(228,38,127,.55) 47.5px,transparent 47.5px),repeating-linear-gradient(transparent 0 23px,rgba(11,181,216,.13) 23px 24px) 0 50px/100% calc(100% - 50px) no-repeat,var(--ix-paper)!important;
  box-shadow:0 1px 1px rgba(0,0,0,.35),0 16px 28px -14px rgba(0,0,0,.9)!important;transform:rotate(-.6deg)}
.ix-ix-h{font-family:var(--ix-hand);font-weight:700;font-size:18px;line-height:22px;padding:6px 14px 10px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.ix-ix-h small{font-size:12px;font-weight:600;color:var(--ix-ink2)}
.list.ix-index .row::before{display:none!important}
.list.ix-index .row{min-height:46px}
.list.ix-index .row .t1{color:var(--ix-ink);font-weight:500;font-size:15px;line-height:20px}
.list.ix-index .num{background:var(--ix-ink)!important;color:var(--ix-paper)!important}
.list.ix-index .switch{background:rgba(0,0,0,.12)}
.list.ix-index .switch:not(.off){background:var(--ix-ink)}
.list.ix-index .switch::after{background:var(--ix-paper)}
.list.ix-index .switch.off::after{background:rgba(0,0,0,.35)}
.list.ix-index.in{transform:none;margin-top:18px}

/* ================= Issues: proposal ticket ================= */
.tile.ix-pass{overflow:hidden;padding-right:96px!important;-webkit-mask:radial-gradient(circle 11px at calc(100% - 85px) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - 85px) 100%,#0000 98%,#000);-webkit-mask-composite:source-in;mask:radial-gradient(circle 11px at calc(100% - 85px) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - 85px) 100%,#0000 98%,#000);mask-composite:intersect}
.tile.ix-pass::after{content:"";position:absolute;right:84px;top:14px;bottom:14px;border-left:2px dashed rgba(255,255,255,.1)}
.ix-pass-obj{position:absolute;right:12px;top:50%;width:64px;height:64px;margin-top:-40px;transform:rotate(10deg)}
.ix-pass-n{position:absolute;right:8px;bottom:14px;width:72px;text-align:center;font-size:12px;line-height:15px;color:rgba(241,238,232,.55);transform:rotate(-5deg)}

/* ================= Proposal: boarding pass, paper plan, receipt price, stamps ================= */
.ix-bpass{position:relative;border-radius:20px;background:linear-gradient(180deg,#1c1c20,#121215);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 26px 50px -24px rgba(0,0,0,.9);overflow:hidden;
  -webkit-mask:radial-gradient(circle 11px at 0 calc(100% - 82px),#0000 98%,#000),radial-gradient(circle 11px at 100% calc(100% - 82px),#0000 98%,#000);-webkit-mask-composite:source-in;
  mask:radial-gradient(circle 11px at 0 calc(100% - 82px),#0000 98%,#000),radial-gradient(circle 11px at 100% calc(100% - 82px),#0000 98%,#000);mask-composite:intersect}
.ix-bp-top,.ix-tk-top{display:flex;align-items:center;gap:8px;padding:13px 18px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(235,235,245,.6);border-bottom:1px solid rgba(255,255,255,.06)}
.ix-bp-top img,.ix-tk-top img{display:block}
.ix-bp-no{margin-left:auto;font-variant-numeric:tabular-nums;color:#f1eee8;letter-spacing:.02em}
.ix-bp-route{display:flex;align-items:flex-end;justify-content:space-between;gap:6px;padding:16px 18px 4px}
.ix-bp-route svg{width:58px;height:26px;flex:none;margin-bottom:22px}
.ix-bp-route small,.ix-bp-fields small,.ix-bp-stub small{display:block;font-size:11px;line-height:14px;font-weight:600;color:rgba(235,235,245,.42);text-transform:uppercase;letter-spacing:.06em}
.ix-bp-route b{display:block;font-family:var(--ix-hand);font-weight:700;font-size:18px;line-height:22px;color:#f6f3ee;margin-top:2px}
.ix-bp-route em{display:block;font-style:normal;font-size:12.5px;line-height:17px;font-weight:600;color:rgba(235,235,245,.6);font-variant-numeric:tabular-nums;margin-top:3px}
.ix-bp-route em.pos{color:var(--ix-green)}
.ix-bp-route .to{text-align:right}
.ix-bp-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 18px 16px}
.ix-bp-fields b{display:block;font-size:15px;line-height:20px;font-weight:600;color:#f1eee8;font-variant-numeric:tabular-nums}
.ix-bp-perf{height:0;border-top:2px dashed rgba(255,255,255,.12);margin:0 16px}
.ix-bp-stub{display:flex;align-items:center;gap:14px;padding:0 18px;height:82px}
.ix-bp-stub b{display:block;font-size:20px;line-height:24px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.ix-barcode{width:52px;height:34px;flex:none;fill:rgba(241,238,232,.75)}
.ix-bp-sig{margin-left:auto;font-size:13px;line-height:16px;color:rgba(241,238,232,.55);transform:rotate(-5deg);max-width:96px;text-align:right}
.ix-bpass.ix-paidpass .ix-bp-sig{visibility:hidden}
/* the APPROVED stamp */
.ix-bigstamp{position:absolute;right:12px;bottom:18px;display:flex;flex-direction:column;align-items:center;padding:6px 10px 5px;border-radius:10px;color:var(--ix-green);transform:rotate(-11deg);pointer-events:none;
  box-shadow:inset 0 0 0 2.5px currentColor,inset 0 0 0 5px transparent,inset 0 0 0 6px color-mix(in srgb,currentColor 55%,transparent);background:rgba(11,11,13,.55)}
.ix-bigstamp b{font-family:var(--ix-hand);font-weight:800;font-size:18px;line-height:20px;letter-spacing:.05em}
.ix-bigstamp.inline b{font-size:24px;line-height:26px}
.ix-bigstamp small{font-size:9.5px;font-weight:800;letter-spacing:.14em;line-height:12px}
.ix-bigstamp.slam{animation:ixSlam .6s cubic-bezier(.34,1.4,.5,1) .35s both}
@keyframes ixSlam{0%{transform:rotate(-24deg) scale(2.1);opacity:0}50%{opacity:1}100%{transform:rotate(-11deg) scale(1);opacity:1}}
.ix-bigstamp.inline{position:relative;right:auto;top:auto;margin:4px auto 16px;background:none}
/* the plan, typed on paper */
.list.ix-paper{position:relative;border-radius:4px!important;padding:6px 6px 10px!important;overflow:visible!important;color:var(--ix-ink);background:var(--ix-paper)!important;box-shadow:0 1px 1px rgba(0,0,0,.35),0 18px 30px -14px rgba(0,0,0,.9)!important}
.ix-paper-h{display:flex;align-items:baseline;justify-content:space-between;padding:16px 12px 10px;border-bottom:1.5px solid rgba(0,0,0,.1);margin-bottom:4px}
.ix-paper-h span{font-family:var(--ix-hand);font-weight:700;font-size:19px;line-height:23px}
.ix-paper-h small{font-size:12px;font-weight:600;color:var(--ix-ink2)}
.list.ix-paper .row::before{display:none!important}
.list.ix-paper .row .t1{color:#1b1b1d!important}
.list.ix-paper .num{background:var(--ix-ink)!important;color:var(--ix-paper)!important;box-shadow:none!important}
.ix-sign{padding:4px 14px 2px;text-align:right}
.ix-sign .ix-hand{font-size:15px;color:var(--ix-pink);display:inline-block;transform:rotate(-3deg)}

/* pay sheet: clean and calm, one secure line */
.ix-secure{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:12px;line-height:16px;color:rgba(235,235,245,.5)}
.ix-secure svg{flex:none;color:var(--ix-green)}

/* ================= Billing: guarantee ticket and receipt invoices ================= */
.tile.ix-ticket{flex-direction:row!important;gap:0!important;padding:0!important;overflow:hidden;
  -webkit-mask:radial-gradient(circle 11px at calc(100% - 96px) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - 96px) 100%,#0000 98%,#000);-webkit-mask-composite:source-in;
  mask:radial-gradient(circle 11px at calc(100% - 96px) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - 96px) 100%,#0000 98%,#000);mask-composite:intersect}
.ix-tk-main{flex:1;min-width:0;border-right:2px dashed rgba(255,255,255,.1)}
.ix-tk-top{padding:13px 16px}
.ix-tk-day{display:flex;align-items:baseline;gap:8px;padding:12px 16px 2px;color:rgba(235,235,245,.55);font-size:15px;font-weight:600}
.ix-tk-day b{font-size:52px;line-height:54px;font-weight:600;letter-spacing:-2px;color:#fff;font-variant-numeric:tabular-nums}
.ix-punch{display:grid;grid-template-columns:repeat(20,1fr);gap:4px;padding:10px 16px 4px}
.ix-punch i{height:7px;border-radius:2px;background:rgba(255,255,255,.08)}
.ix-punch i.on{background:var(--ix-green)}
.ix-punch i.on:nth-child(23){box-shadow:0 0 0 1.5px #0b0b0d,0 0 0 3px var(--ix-green)}
.ix-tk-main p{padding:8px 16px 16px;font-size:13px;line-height:18px;color:rgba(235,235,245,.55)}
.ix-tk-stub{width:96px;flex:none;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:14px 12px 14px 14px}
.ix-tk-stub small{font-size:10.5px;line-height:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(235,235,245,.42)}
.ix-tk-stub small+b{margin-bottom:8px}
.ix-tk-stub b{font-size:15px;line-height:20px;font-weight:600;color:#f1eee8;font-variant-numeric:tabular-nums}
.ix-tk-stub .ix-hand{font-size:13px;line-height:16px;color:var(--ix-green);transform:rotate(-6deg);margin-top:2px}
.list.ix-rcards{background:none!important;box-shadow:none!important;overflow:visible!important;display:flex;flex-direction:column;gap:12px}
.list.ix-rcards .row::before{display:none!important}
.row.ix-rcard{position:relative;padding:14px 16px 20px;min-height:0;color:#1b1b1d;background:var(--ix-paper);border-radius:3px 3px 0 0;transform:rotate(var(--tilt,0deg));
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 7px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/10px 7px repeat-x;
  mask:linear-gradient(#000 0 0) top/100% calc(100% - 7px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/10px 7px repeat-x}
.wcell:has(.ix-rcards){filter:drop-shadow(0 10px 12px rgba(0,0,0,.45))}
.row.ix-rcard .t1{color:#141416;font-weight:600;font-size:15px}
.row.ix-rcard .t2{color:rgba(0,0,0,.5);font-variant-numeric:tabular-nums}
.row.ix-rcard .amt{color:#141416!important;font-variant-numeric:tabular-nums}
.row.ix-rcard .end span:last-child{display:none}
.row.ix-rcard .chev{display:inline-flex!important;color:rgba(0,0,0,.4)!important}
.row.ix-rcard{align-items:flex-start;padding-bottom:32px}
.row.ix-rcard .end{padding-top:2px}
.ix-paid{position:absolute;right:44px;bottom:16px;padding:1px 6px;border-radius:4px;font-size:9.5px;font-weight:800;letter-spacing:.14em;color:#2a9f26;box-shadow:inset 0 0 0 1.5px currentColor;transform:rotate(-8deg);opacity:.85}
.ix-bill .wcell.ix-plain>.lfoot{color:rgba(235,235,245,.45)}

/* ================= Team and profile: sticker role badges ================= */
.ix-sticker{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:12px;background:var(--c);color:#0b0b0c;font-family:var(--ix-hand);font-weight:700;font-size:13px;line-height:24px;
  box-shadow:0 0 0 2.5px #f4f1ea,0 3px 8px rgba(0,0,0,.5);transform:rotate(var(--tilt,-3deg))}
.row .end:has(.ix-sticker){padding-right:4px}

/* ================= Sign in and code ================= */
.ix-authnote{margin-top:22px;text-align:center;font-size:14px;line-height:18px;color:rgba(241,238,232,.45);transform:rotate(-1.5deg)}

/* reduced motion: hold everything still */
@media (prefers-reduced-motion:reduce){.ix-fl,.ix-fobj,.ix-cp .ix-stamp,.ix-bigstamp.slam,.ix-cp.now .ix-stamp::after{animation:none!important}}

.ix-fobj.sheet{background:none!important;box-shadow:none!important;border-radius:0!important}
.ix-fobj.sheet img{width:60px!important;height:60px!important;max-width:none!important;opacity:1!important}
.sheet-head .thumb.ix-thumb{background:none!important;box-shadow:none!important;overflow:visible}
.sheet-head .thumb.ix-thumb img{width:64px;height:64px;max-width:none;transform:rotate(-6deg)}

/* ================= light theme (html[data-theme=light]): white paper on the warm #F4F2EE base, ink text, deeper accent inks ================= */
html[data-theme=light]{--ix-paper:#FFFFFF;--ix-ink:#111114;--ix-ink2:rgba(17,17,20,.55);--ix-lg:#2A9F26;--ix-lc:#0788A6;--ix-lo:#C4601B;--ix-lp:#C81E6C;
  --ix-sh:0 1px 1px rgba(60,40,20,.10),0 14px 26px -14px rgba(60,40,20,.32)}
/* tape reads as frosted beige on white paper */
html[data-theme=light] .ix-tape{background:color-mix(in srgb,var(--tc,#d9d1c1) 40%,rgba(214,204,186,.62));box-shadow:0 1px 1px rgba(60,40,20,.08)}
/* hand-made labels on the base */
html[data-theme=light] .ix-note,html[data-theme=light] .ix-dlabel,html[data-theme=light] .ix-authnote{color:rgba(17,17,20,.5)}
html[data-theme=light] .ix-doodle{color:rgba(17,17,20,.38)}
/* sticky notes keep their colour, warmer shadow */
html[data-theme=light] .ix-sticky{box-shadow:var(--ix-sh)}
/* index cards, paper, receipts: white sheets lifted off the base */
html[data-theme=light] .row.ix-icard{background:linear-gradient(transparent 12px,rgba(200,30,108,.45) 12px,rgba(200,30,108,.45) 13.5px,transparent 13.5px),#fff;box-shadow:var(--ix-sh)}
html[data-theme=light] .ix-ask{color:var(--ix-lp)}
html[data-theme=light] .list.ix-index{background:linear-gradient(transparent 46px,rgba(200,30,108,.45) 46px,rgba(200,30,108,.45) 47.5px,transparent 47.5px),repeating-linear-gradient(transparent 0 23px,rgba(7,136,166,.10) 23px 24px) 0 50px/100% calc(100% - 50px) no-repeat,#fff!important;box-shadow:var(--ix-sh)!important}
html[data-theme=light] .list.ix-paper{box-shadow:var(--ix-sh)!important}
html[data-theme=light] .ix-sign .ix-hand{color:var(--ix-lp)}
html[data-theme=light] .wcell:has(>.ix-receipt),html[data-theme=light] .wcell:has(.ix-rcards){filter:drop-shadow(0 10px 12px rgba(60,40,20,.16))}
html[data-theme=light] .ix-rc-f .ix-hand{color:var(--ix-lg)}
html[data-theme=light] .ix-paid{color:var(--ix-lg)}
/* fix cards */
html[data-theme=light] .row.ix-fcard{background:#fff;box-shadow:0 0 0 1px rgba(17,17,20,.05),0 1px 2px rgba(17,17,20,.05),0 12px 24px -14px rgba(60,40,20,.3)}
/* stamped checkpoints */
html[data-theme=light] .ix-route{border-top-color:rgba(17,17,20,.16)}
html[data-theme=light] .ix-stamp{background:#fff;box-shadow:inset 0 0 0 1.5px currentColor,inset 0 0 0 4.5px #fff,inset 0 0 0 5.5px color-mix(in srgb,currentColor 55%,transparent),0 6px 14px -8px rgba(60,40,20,.35)}
html[data-theme=light] .ix-cp.done .ix-stamp,html[data-theme=light] .ix-cp.live .ix-stamp{--c:var(--ix-lg)}
html[data-theme=light] .ix-cp.done:nth-child(2) .ix-stamp,html[data-theme=light] .ix-cp.done:nth-child(3):not(.live) .ix-stamp{--c:var(--ix-lc)}
html[data-theme=light] .ix-cp.now .ix-stamp{--c:var(--ix-lo)}
html[data-theme=light] .ix-cp.off .ix-stamp{--c:rgba(17,17,20,.5)}
html[data-theme=light] .ix-cp.todo .ix-stamp{--c:rgba(17,17,20,.3);background:#F9F8F5;box-shadow:inset 0 0 0 1.5px rgba(17,17,20,.16)}
html[data-theme=light] .ix-cpd{color:rgba(17,17,20,.58)}
html[data-theme=light] .ix-cp.now .ix-cpd{color:var(--ix-lo)}
html[data-theme=light] .ix-cp.now .ix-stamp::after{box-shadow:0 0 0 1.5px var(--ix-lo)}
/* issues ticket */
html[data-theme=light] .tile.ix-pass::after{border-left-color:rgba(17,17,20,.12)}
html[data-theme=light] .ix-pass-n{color:rgba(17,17,20,.5)}
/* boarding pass */
html[data-theme=light] .ix-bpass{background:#fff;box-shadow:inset 0 0 0 1px rgba(17,17,20,.06),0 20px 40px -24px rgba(60,40,20,.35)}
html[data-theme=light] .ix-bp-top,html[data-theme=light] .ix-tk-top{color:rgba(17,17,20,.55);border-bottom-color:rgba(17,17,20,.08)}
html[data-theme=light] .ix-bp-no{color:#111114}
html[data-theme=light] .ix-bp-route b{color:#111114}
html[data-theme=light] .ix-bp-route small,html[data-theme=light] .ix-bp-fields small,html[data-theme=light] .ix-bp-stub small,html[data-theme=light] .ix-tk-stub small{color:rgba(17,17,20,.45)}
html[data-theme=light] .ix-bp-route em{color:rgba(17,17,20,.6)}
html[data-theme=light] .ix-bp-route em.pos{color:var(--ix-lg)}
html[data-theme=light] .ix-bp-route svg path{stroke:rgba(17,17,20,.5)}
html[data-theme=light] .ix-bp-fields b,html[data-theme=light] .ix-bp-stub b{color:#111114}
html[data-theme=light] .ix-bp-perf{border-top-color:rgba(17,17,20,.14)}
html[data-theme=light] .ix-barcode{fill:rgba(17,17,20,.82)}
html[data-theme=light] .ix-bp-sig{color:rgba(17,17,20,.5)}
html[data-theme=light] .ix-bp-top img,html[data-theme=light] .ix-tk-top img{content:url(../assets/brand/symbol-ink.svg)}
/* the APPROVED stamp */
html[data-theme=light] .ix-bigstamp{color:var(--ix-lg);background:rgba(255,255,255,.72)}
html[data-theme=light] .ix-bigstamp.inline{background:none}
/* guarantee ticket */
html[data-theme=light] .tile.ix-ticket{background:#fff}
html[data-theme=light] .ix-tk-main{border-right-color:rgba(17,17,20,.12)}
html[data-theme=light] .ix-tk-day{color:rgba(17,17,20,.55)}
html[data-theme=light] .ix-tk-day b,html[data-theme=light] .ix-tk-stub b{color:#111114}
html[data-theme=light] .ix-tk-main p{color:rgba(17,17,20,.58)}
html[data-theme=light] .ix-punch i{background:rgba(17,17,20,.08)}
html[data-theme=light] .ix-punch i.on{background:var(--ix-lg)}
html[data-theme=light] .ix-punch i.on:nth-child(23){box-shadow:0 0 0 1.5px #fff,0 0 0 3px var(--ix-lg)}
html[data-theme=light] .ix-tk-stub .ix-hand{color:var(--ix-lg)}
/* pay sheet line */
html[data-theme=light] .ix-secure{color:rgba(17,17,20,.5)}
html[data-theme=light] .ix-secure svg{color:var(--ix-lg)}
/* sticker badges: white die-cut edge plus a warm shadow so they read on white rows */
html[data-theme=light] .ix-sticker{box-shadow:0 0 0 2.5px #fff,0 0 0 3.5px rgba(17,17,20,.08),0 3px 8px rgba(60,40,20,.25)}
/* light: hand-written notes a step darker so they read on the warm paper */
html[data-theme=light] .ix-note,html[data-theme=light] .ix-dlabel,html[data-theme=light] .ix-authnote,html[data-theme=light] .ix-pass-n,html[data-theme=light] .ix-bp-sig{color:rgba(17,17,20,.66)}
html[data-theme=light] .ix-doodle{color:rgba(17,17,20,.5)}

/* ================= fluid 320 to 430: nothing wider than its card, overflow clipped inside cards, never on the page ================= */
.screen.ix-home .gauge{width:100%;max-width:329px;height:auto;aspect-ratio:329/150}
.screen.ix-home .gauge>svg{width:100%;height:100%}
@media (max-width:360px){.screen.ix-home .g-num{font-size:30px;line-height:36px}.screen.ix-home .g-side{width:50px}.screen.ix-home .g-side.l{left:8px}.screen.ix-home .g-side.r{right:8px}}
.ix-floats{overflow:hidden;margin-left:0;margin-right:0}
.ix-fl{margin-left:-2px}
.ix-fl img{width:clamp(40px,13vw,58px)!important;height:clamp(40px,13vw,58px)!important}
.wcell.ix-plain,.ix-receipt,.ix-bpass,.tile.ix-ticket,.tile.ix-pass,.list.ix-index,.list.ix-paper,.list.ix-cards,.list.ix-rcards,.ix-sticky,.row.ix-fcard,.row.ix-icard,.row.ix-rcard{min-width:0;max-width:100%}
.row.ix-fcard .t,.row.ix-icard .t,.row.ix-rcard .t{min-width:0}
.ix-tipcell{overflow:hidden;padding-top:12px!important;margin-top:-6px}
.ix-tip{width:calc(100% - 84px)}
/* stamps share the row instead of fixed slots */
.ix-fhead{gap:4px}
.ix-fhead .ix-fobj.big{width:clamp(52px,19vw,84px);height:clamp(52px,19vw,84px)}
.ix-stamps{min-width:0}
.ix-cp,.ix-stamps.four .ix-cp{flex:1 1 0;width:auto;min-width:0}
.ix-stamp,.ix-stamps.four .ix-stamp{width:clamp(48px,15vw,60px);height:clamp(48px,15vw,60px)}
.ix-stamps.four .ix-stamp{width:clamp(46px,13.5vw,54px);height:clamp(46px,13.5vw,54px)}
.ix-route{top:calc(clamp(48px,15vw,60px) / 2 + 2px);left:12%;right:12%}
.ix-stamps.four .ix-route{top:calc(clamp(46px,13.5vw,54px) / 2 + 2px)}
.ix-cpd{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media (max-width:360px){.ix-stamp small{font-size:7px;letter-spacing:0}}
/* boarding pass and ticket text shrink instead of pushing */
.ix-bp-route>div{min-width:0}
.ix-bp-route b{font-size:clamp(15px,4.6vw,18px);line-height:1.22}
.ix-bp-fields>div{min-width:0}
.ix-bp-fields b{font-size:clamp(13px,3.8vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ix-bp-stub{gap:clamp(8px,3vw,14px);padding:0 clamp(12px,4.5vw,18px)}
.ix-bp-stub p{min-width:0}
.ix-bp-stub b{font-size:clamp(17px,5vw,20px)}
.ix-bigstamp{max-width:calc(100% - 24px)}
.tile.ix-ticket{--stub:clamp(80px,24vw,96px);
  -webkit-mask:radial-gradient(circle 11px at calc(100% - var(--stub)) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - var(--stub)) 100%,#0000 98%,#000);-webkit-mask-composite:source-in;
  mask:radial-gradient(circle 11px at calc(100% - var(--stub)) 0,#0000 98%,#000),radial-gradient(circle 11px at calc(100% - var(--stub)) 100%,#0000 98%,#000);mask-composite:intersect}
.ix-tk-stub{width:var(--stub);padding-left:clamp(10px,3vw,14px);padding-right:8px}
.ix-tk-day b{font-size:clamp(42px,13vw,52px)}
.ix-tk-top{flex-wrap:wrap;row-gap:2px}
.tile.ix-pass{padding-right:clamp(80px,24vw,96px)!important}
.ix-sticker{max-width:100%;white-space:nowrap}
/* 6-digit code: boxes share the row on narrow phones (320) instead of running off the edge */
#pg-otp .otp{gap:clamp(4px,1.8vw,8px)}
#pg-otp .otp .c,#pg-otp .otp input{flex:1 1 0;width:auto;min-width:0;max-width:46px}
/* hand-written note under a large title: clear of the subtitle at any width, wraps instead of running on */
.lsub+.ix-note{position:relative;margin:14px 6px 2px;transform:rotate(-1deg);transform-origin:left top;white-space:normal;overflow-wrap:anywhere;max-width:calc(100% - 12px)}
/* rows with a role sticker: names wrap to two lines rather than being cut, and the sticker shrinks on narrow phones */
.row:has(.ix-sticker) .t{min-width:0}
.row:has(.ix-sticker) .t1,.row:has(.ix-sticker) .t2{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.row .end:has(.ix-sticker){flex:none;padding-left:4px}
.ix-sticker{height:clamp(21px,6vw,24px);padding:0 clamp(7px,2.2vw,10px);font-size:clamp(11.5px,3.3vw,13px);line-height:clamp(21px,6vw,24px)}

/* ================= contrast: every text colour at 4.5:1 or better, same look, deeper inks ================= */
:root{--ix-ink2:rgba(20,20,22,.7);--ix-pinkink:#B0185C;--ix-greenink:#1E7419}
html[data-theme=light]{--ix-ink2:rgba(17,17,20,.7);--ix-lg:#1E7A1A;--ix-lc:#066F88;--ix-lo:#A94F12;--ix-lp:#B0185C}
/* text on paper (index cards, receipts, invoice receipts, plan sheet): both themes */
.ix-receipt .row .t2,.row.ix-rcard .t2,.ix-receipt .tm{color:rgba(0,0,0,.66)}
.ix-rc-h small{color:rgba(0,0,0,.64)}
.ix-rc-f{color:rgba(0,0,0,.62)}
.ix-rc-f .ix-hand,html[data-theme=light] .ix-rc-f .ix-hand{color:var(--ix-greenink)}
.row.ix-icard .t2{color:rgba(20,20,22,.7)}
.ix-ask,.ix-sign .ix-hand,html[data-theme=light] .ix-ask,html[data-theme=light] .ix-sign .ix-hand{color:var(--ix-pinkink)}
.ix-paid,html[data-theme=light] .ix-paid{color:var(--ix-greenink);opacity:1}
.ix-nfoot{opacity:.82}
/* hand-written notes on the base and on dark cards */
.ix-note,.ix-dlabel,.ix-authnote,.ix-pass-n,.ix-bp-sig{color:rgba(241,238,232,.74)}
html[data-theme=light] .ix-note,html[data-theme=light] .ix-dlabel,html[data-theme=light] .ix-authnote,html[data-theme=light] .ix-pass-n,html[data-theme=light] .ix-bp-sig{color:rgba(17,17,20,.74)}
/* small caps labels on the pass and ticket, captions under stamps, gauge card header */
.ix-bp-route small,.ix-bp-fields small,.ix-bp-stub small,.ix-tk-stub small{color:rgba(235,235,245,.64)}
.ix-tk-day,.ix-tk-main p{color:rgba(235,235,245,.66)}
.ix-cpd{color:rgba(235,235,245,.66)}
.ix-cp.todo .ix-stamp{--c:rgba(235,235,245,.62)}
.ix-secure{color:rgba(235,235,245,.66)}
.screen.ix-home .cl-top{color:rgba(235,235,245,.66)}
html[data-theme=light] .ix-bp-route small,html[data-theme=light] .ix-bp-fields small,html[data-theme=light] .ix-bp-stub small,html[data-theme=light] .ix-tk-stub small,
html[data-theme=light] .ix-bp-top,html[data-theme=light] .ix-tk-top,html[data-theme=light] .ix-tk-day,html[data-theme=light] .ix-tk-main p,html[data-theme=light] .ix-bp-route em,
html[data-theme=light] .ix-cpd,html[data-theme=light] .ix-secure,html[data-theme=light] .screen.ix-home .cl-top{color:rgba(17,17,20,.7)}
html[data-theme=light] .ix-cp.todo .ix-stamp{--c:rgba(17,17,20,.62)}
html[data-theme=light] .ix-bp-route em.pos{color:var(--ix-lg)}
/* light: the theme's grey sub-text token is 3.8:1 on white, so text inside my paper and cards gets a deeper ink */
html[data-theme=light] .ix-receipt .row .t2,html[data-theme=light] .ix-receipt .tm,html[data-theme=light] .row.ix-rcard .t2,
html[data-theme=light] .row.ix-icard .t2,html[data-theme=light] .row.ix-fcard .t2,html[data-theme=light] .list.ix-index .row .t2{color:rgba(17,17,20,.7)!important}
html[data-theme=light] .row.ix-fcard .chip{color:color-mix(in srgb,var(--c) 55%,#000)!important}
html[data-theme=light] .tile.ix-pass :is(.cat,.cur,.u,.sub){color:rgba(17,17,20,.7)!important}

/* Paper objects keep a paper width in the desktop window.
   Everything here is drawn at a fixed physical size - a 58 px strip of tape pinned to the middle of the card, a
   ruled line, a degree or so of tilt - and the cards were only capped at max-width:100%. In a 1918 px window that
   made a 1623 px index card: the tape floated 780 px from the card's edge as a loose grey shape, and the 1.5 px
   magenta rule swept diagonally right across the window. Phone widths are below this cap and do not change. */
html.desk :is(.row.ix-icard,.row.ix-fcard,.row.ix-rcard,.ix-sticky,.ix-receipt,.ix-bpass){max-width:min(100%,560px)}
/* ...and their own padding. The wide window packs list rows to 6px 12px (desktop.css, html.desk.wide .device.in-ws .list .row),
   which out-ranks .row.ix-icard / .row.ix-rcard. Their padding is where something is drawn: the index card's magenta rule at
   12px (the title sat on it) and the receipt's PAID stamp at the bottom (it covered the amount). */
html.desk.wide .device.in-ws .list .row.ix-icard{padding:20px 14px 12px 12px}
html.desk.wide .device.in-ws .list .row.ix-rcard{padding:14px 16px 32px}
/* the header of a capped paper list ends where its cards end, so its count (Needs you 2, GST included) stays beside them */
html.desk .wcell.ix-plain:is(.ix-needs,:has(>.list.ix-rcards))>.sec{max-width:min(100%,560px)}
/* the arrow doodle is pinned to the right of the tip cell, so the cell has to end near the note it points at */
html.desk .ix-tipcell{max-width:min(100%,664px)}
