:root {
  color-scheme: light;
  --page: #f7f7f7;
  --accent: #bd3414;
  --ink: #171716;
  --muted: #555652;
  --dark: #171716;
  --leaf: #f0f2e9;
  --border: #dadbd5;
  --paper: #fff;
  --light: #ededea;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; min-height: 100vh; }
h1,h2,p,blockquote,figure { margin: 0; }
h1,h2 { letter-spacing: -.055em; }
button,input,textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
a,button,input,textarea { -webkit-tap-highlight-color: transparent; }
svg { display: block; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 9; background: white; padding: 10px; margin: 8px; }
main:focus { outline: none; }
.shell { max-width: 1320px; margin-inline: auto; padding-inline: clamp(18px,4vw,60px); }
.header { position: sticky; top: 0; padding-top: env(safe-area-inset-top,0px); z-index: 3; background: #f7f7f7f2; border-bottom: 1px solid #e2e2df; backdrop-filter: blur(16px); }
.header-inner { max-width: none; padding-inline: clamp(14px,2vw,25px); min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -.07em; line-height: 1; flex: none; }
.head-links,.nav-center,.nav-tools { display: flex; align-items: center; gap: clamp(8px,2vw,26px); }
.nav-public { flex: 1; min-width: 0; }
.nav-center { margin: 0 auto; }
.nav-center [aria-current=page] { color: var(--accent); }
.text-link { background: none; border: 0; text-decoration: none; padding: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-weight: 690; font-size: .88rem; }
.text-link:hover { text-decoration: underline; }
.btn { min-height: 50px; padding: 10px 17px; border-radius: 100px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; font-weight: 730; text-decoration: none; border: 1px solid transparent; line-height: 1.25; font-size: .92rem; transition: background-color .16s ease, transform .16s ease; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: var(--dark); color: #fbfff5; }
.btn.primary:hover:not(:disabled) { background: #3b3b38; }
.btn.outline { background: transparent; border-color: #bfc0b9; }
.btn.outline:hover:not(:disabled) { background: #eaeae5; }
.btn:disabled { background: #e9e9e5; color: #555652; border-color: #d8d9d2; }
.btn.small { min-height: 43px; padding-inline: 13px; font-size: .83rem; }
.full { width: 100%; }
.landing-hero { padding-top: clamp(52px,9.4vw,120px); overflow: hidden; }
.hero-split { position: relative; display: grid; grid-template-columns: 65% 35%; width: min(91%,890px); min-height: 226px; margin-inline: auto; }
.hero-split h1,.hero-side { border-left: 1px solid var(--border); padding-inline: clamp(19px,3.3vw,41px); }
.hero-split h1 { font-size: clamp(2.25rem,4.15vw,3.3rem); font-weight: 640; line-height: 1.08; letter-spacing: -.062em; padding-block: 3px 24px; }
.hero-split .accent,.hero .accent { color: var(--accent); }
.hero-side { border-right: 1px solid var(--border); display: grid; align-content: start; gap: 29px; padding-block: 16px; font-size: .89rem; line-height: 1.39; }
.hero-side p + p { color: var(--muted); }
.hero-person { position: absolute; z-index: 1; left: 51%; top: 70%; translate: -50% 0; width: clamp(165px,18.5vw,240px); aspect-ratio: 604 / 900; pointer-events: none; animation: merchant-enter .95s cubic-bezier(.2,.75,.3,1) both; }
.hero-person img { position: absolute; inset: 0; width: 100%; height: auto; }
.merchant-body { clip-path: polygon(0 33%,44% 33%,73% 25%,100% 25%,100% 100%,0 100%); }
.merchant-head { clip-path: polygon(0 0,100% 0,100% 26%,73% 26%,44% 34%,0 34%); transform-origin: 65% 28%; animation: merchant-nod 5s 1s ease-in-out infinite; }
@keyframes merchant-enter { from { opacity: 0; transform: translateY(14px); } }
@keyframes merchant-nod { 0%,23%,70%,100% { transform: rotate(0); } 41%,49% { transform: rotate(-3deg) translateY(1px); } 84% { transform: rotate(1.5deg); } }
.hero-media { isolation: isolate; position: relative; z-index: 2; width: min(100%,1680px); padding: 0 16px clamp(14px,3vw,42px); margin: clamp(155px,15vw,194px) auto 0; }
.hero-ring { position: absolute; z-index: -1; top: 0; left: 50%; width: min(76%,1030px); height: 89%; transform: translateX(-50%); overflow: hidden; }
.hero-ring::before { content: ''; position: absolute; inset: auto 0 0; aspect-ratio: 1; border: clamp(46px,13.5vw,190px) solid #ff4819; border-radius: 50%; }
.hero-landscape { position: absolute; z-index: -2; top: 0; width: min(39%,594px); height: min(48vw,510px); background: url('/fulfillment-landscape.webp') center 53% / auto 135%; animation: landscape-drift 9s ease-in-out infinite; }
.hero-landscape-left { left: 0; clip-path: ellipse(100% 92% at 0 0); --scene-x: 16%; --scene-end: 24%; }
.hero-landscape-right { right: 0; clip-path: ellipse(100% 92% at 100% 0); --scene-x: 84%; --scene-end: 76%; }
@keyframes landscape-drift { 0%,100% { background-position: var(--scene-x) 52%; } 50% { background-position: var(--scene-end) 63%; } }
.media-device { position: relative; width: min(100%,930px); margin-inline: auto; overflow: hidden; padding: clamp(7px,1.25vw,15px); background: linear-gradient(#f4f3ef,#f7f7f7 78%,#1e3b51); border: clamp(4px,.6vw,8px) solid #18191a; border-radius: clamp(18px,3vw,37px); box-shadow: 0 0 0 clamp(3px,.6vw,8px) #ffffffb3,0 13px 32px #0005,0 6px 8px #0005; }
.media-device video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #edf0e8; border-radius: clamp(7px,1.1vw,15px); pointer-events: none; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; padding: clamp(25px,4vw,42px) 12px 0; }
.hero-media .hero-actions { position: relative; z-index: 2; padding: 0 12px 16px; }
.hero-media .hero-actions .btn { margin-top: -3px; min-height: 43px; }
.hero-copy { max-width: 980px; margin-inline: auto; padding: clamp(52px,8vw,114px) 0 clamp(40px,5.7vw,78px); text-align: center; }
.hero-kicker { color: var(--accent); font-size: clamp(1.65rem,3.35vw,3.2rem); font-weight: 620; letter-spacing: -.065em; line-height: 1; margin-bottom: 15px; }
.hero h1,.hero h2 { font-size: clamp(2.25rem,4.65vw,4.65rem); line-height: 1.02; letter-spacing: -.072em; font-weight: 630; }
.hero h1 > span,.hero h2 > span { color: #626262; }
.hero .accent { color: var(--accent); }
.hero-note { max-width: 600px; margin: clamp(25px,4.6vw,55px) auto 0; padding: 12px clamp(13px,2.8vw,33px); border-inline: 1px solid var(--border); color: var(--muted); font-size: clamp(.9rem,1.4vw,1.05rem); line-height: 1.5; }
.hero-note p + p { margin-top: 11px; color: var(--ink); }
.workflow-preview { max-width: 1200px; margin-bottom: clamp(55px,9vw,126px); }
.workflow-preview > h2,.comparison-section > h2,.capabilities > h2,.timeline > h2,.faq-section > h2,.closing-cta > h2 { font-size: clamp(1.8rem,3.75vw,3.3rem); line-height: 1.08; font-weight: 640; text-align: center; margin-bottom: clamp(18px,4vw,40px); }
#workflow-title { scroll-margin-top: 122px; }
.preview-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin: 0 0 22px; }
.preview-tabs button { display: block; background: none; border: 0; border-bottom: 2px solid var(--border); padding: 9px 3px; min-height: 45px; color: var(--muted); font-size: clamp(.63rem,1.18vw,.84rem); text-transform: uppercase; letter-spacing: .035em; line-height: 1.24; overflow-wrap: anywhere; }
.preview-tabs button:hover,.preview-tabs button[aria-selected=true] { color: var(--ink); }
.preview-tabs button[aria-selected=true] { border-color: var(--accent); font-weight: 760; }
.preview-frame { min-width: 0; background: white; border: clamp(6px,1.15vw,13px) solid #e6e6e4; border-radius: clamp(20px,3.3vw,39px); padding: clamp(13px,2.6vw,32px); box-shadow: 0 1px 0 #00000008; overflow: hidden; }
.preview-photo { display: grid; place-items: center; min-height: clamp(290px,35vw,525px); padding: clamp(14px,4vw,59px); overflow: hidden; border-radius: clamp(13px,2vw,24px); border: 1px solid #e4e4db; background: #f2f5f6; }
.preview-mint { background: #f0f4ec; }
.preview-amber { background: #f7f5ea; }
.preview-panel { display: grid; grid-template-columns: minmax(0,.74fr) minmax(0,1.26fr); align-items: stretch; gap: clamp(14px,3vw,38px); animation: show-panel .28s ease-out both; }
@keyframes show-panel { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.preview-caption { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(5px,1.4vw,18px) 0 clamp(4px,1.5vw,21px); }
.preview-caption h3 { max-width: 18ch; font-size: clamp(1.3rem,2.6vw,2.4rem); line-height: 1.08; letter-spacing: -.048em; margin: 0 0 11px; }
.preview-caption p { max-width: 28ch; color: var(--muted); line-height: 1.5; font-size: .92rem; }
.sample-window { width: 100%; overflow: hidden; background: #fff; border: 1px solid #e3e5db; border-radius: 13px; box-shadow: 0 12px 24px #2d302916; font-size: clamp(.75rem,1.25vw,.99rem); }
.sample-bar,.sample-foot,.sample-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: clamp(9px,1.25vw,17px); }
.sample-bar { justify-content: flex-start; font-weight: 710; background: #fbfbf8; border-bottom: 1px solid #e7e8e1; }
.sample-window dl { margin: 0; padding: 8px; display: grid; gap: 5px; }
.sample-line { border: 1px solid #ebede6; border-radius: 7px; }
.sample-line-0 { background: #f7e7ba; border-color: #ecd692; }
.sample-line dd { text-align: right; margin: 0; color: #34372e; font-weight: 650; }
.sample-foot { border-top: 1px solid #edf0e8; color: #626459; }
.motion-visible .sample-window { animation: show-panel .64s cubic-bezier(.2,.78,.3,1) both; }
.motion-visible .sample-line { animation: show-panel .45s .17s ease-out both; }
.motion-visible .sample-line-1 { animation-delay: .29s; }
.motion-visible .sample-line-2 { animation-delay: .41s; }
.landscape-break { width: 100%; height: clamp(162px,34vw,460px); margin-bottom: clamp(60px,9vw,127px); background: #cbdce3 url('/fulfillment-landscape.webp') center 56% / cover; }
.practice-section { max-width: 1130px; display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: start; gap: clamp(20px,7.6vw,110px); margin-bottom: clamp(55px,9vw,115px); }
.practice-copy h2 { font-size: clamp(1.7rem,3.8vw,3rem); font-weight: 640; line-height: 1.06; }
.practice-copy p { margin: 13px 0 18px; color: var(--muted); line-height: 1.5; }
.action-raised { box-shadow: 0 9px 15px #0002; }
.action-raised:hover { transform: translateY(-2px); }
.practice-cards { display: grid; gap: 26px; padding-top: 9px; }
.practice-card { position: relative; display: grid; gap: 14px; background: white; border: 1px solid var(--border); box-shadow: 0 4px 12px #0000000e; border-radius: 20px; padding: clamp(18px,3.2vw,32px); }
.practice-card h3 { position: absolute; top: -15px; left: 18px; margin: 0; padding: 5px 13px; border: 1px solid var(--border); border-radius: 10px 10px 0 0; background: white; font-size: .76rem; line-height: 1.25; }
.practice-card div { border-left: 1px solid var(--border); padding-left: 12px; }
.practice-card div:last-child { border-color: var(--accent); }
.practice-card div:last-child strong { color: var(--accent); }
.practice-card strong { font-size: .87rem; }
.practice-card p { color: var(--muted); margin-top: 5px; line-height: 1.47; font-size: .9rem; }
.comparison-section,.capabilities,.timeline,.faq-section,.closing-cta { max-width: 1130px; margin: 0 auto clamp(55px,9vw,120px); }
.comparison-section { max-width: 1460px; scroll-margin-top: 108px; padding-block: clamp(55px,6.6vw,120px); text-align: center; border-block: 1px solid #d5d5d5; }
.section-chip { width: max-content; margin: 0 auto clamp(15px,2vw,28px); padding: 9px 17px; background: #fbece7; border-radius: 999px; color: #b83412; font-size: clamp(.8rem,1.15vw,1.02rem); }
.comparison-section > h2 { font-weight: 610; margin-bottom: clamp(16px,2.4vw,34px); }
.comparison-note { max-width: 900px; margin-inline: auto; padding: 0 clamp(15px,7vw,116px); border-inline: 1px solid #d1d1d1; color: #616161; line-height: 1.45; font-size: clamp(.9rem,1.33vw,1.14rem); }
.comparison-scroll { overflow: auto; margin: clamp(43px,7vw,105px) auto 0; }
.comparison-scroll table { width: 100%; min-width: 660px; table-layout: fixed; border-spacing: 0; font-size: clamp(.8rem,1.04vw,.98rem); line-height: 1.4; }
.comparison-scroll thead th { height: clamp(59px,6vw,92px); padding: 9px 12px; font-size: clamp(.9rem,1.35vw,1.17rem); }
.comparison-scroll thead th:nth-child(2) { border-radius: 18px 18px 0 0; }
.comparison-scroll thead img { display: block; margin-inline: auto; }
.comparison-scroll tbody th,.comparison-scroll td { text-align: left; vertical-align: middle; padding: clamp(13px,1.5vw,23px); border-block-end: 1px solid #c7c7c7; border-inline-end: 1px solid #d2d2d2; }
.comparison-scroll tbody tr:first-child > * { border-block-start: 1px solid #d2d2d2; }
.comparison-scroll tbody th { background: #fdfdfd; border-inline-start: 1px solid #d2d2d2; }
.comparison-scroll td { color: #575757; }
.comparison-scroll tbody tr:first-child th { border-top-left-radius: 17px; }
.comparison-scroll tbody tr:first-child td:last-child { border-top-right-radius: 17px; }
.comparison-scroll tbody tr:last-child th { border-bottom-left-radius: 17px; }
.comparison-scroll tbody tr:last-child td:last-child { border-bottom-right-radius: 17px; }
.comparison-scroll tr > :nth-child(2) { background: #ff4100; color: #210d06; border-color: #ce3200; }
.comparison-scroll.motion-visible tr > :nth-child(2) { animation: compare-highlight .8s ease-out both; }
@keyframes compare-highlight { from { background: #f9c4b0; } }
.capabilities { display: grid; grid-template-columns: minmax(0,.73fr) minmax(0,1.27fr); gap: clamp(27px,8vw,107px); align-items: start; }
.capability-intro { position: sticky; top: 104px; padding-top: 12px; }
.capability-intro h2 { font-size: clamp(1.7rem,3.15vw,2.75rem); line-height: 1.06; }
.capability-intro p { color: var(--muted); line-height: 1.48; margin: 14px 0 21px; }
.capability-grid { display: grid; gap: clamp(28px,3.2vw,49px); padding-top: 17px; }
.capability { position: relative; display: grid; gap: clamp(17px,3vw,36px); padding: clamp(21px,3vw,37px); border-radius: 20px; border: 1px solid #deddd9; background: #fff; box-shadow: 0 10px 18px #1613110d; }
.capability h3 { position: absolute; top: -22px; left: 19px; z-index: 1; margin: 0; min-width: 115px; text-align: center; padding: 8px 19px; font-size: .84rem; background: #fff; border: 1px solid #deddd9; border-bottom: 0; border-radius: 16px 16px 0 0; }
.capability > div { border-left: 1px solid #deddd9; padding-left: clamp(10px,1.4vw,18px); }
.capability > div:last-child { border-color: #edbaaa; }
.capability > div:last-child strong { color: #a33419; }
.capability p { font-size: .92rem; line-height: 1.45; color: var(--muted); margin: 5px 0 0; }
.capability.motion-visible { animation: show-panel .68s cubic-bezier(.2,.75,.3,1) both; }
.timeline { max-width: 865px; }
.timeline ol { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(88px,31%); align-items: center; gap: clamp(9px,2vw,29px); padding: clamp(12px,2vw,25px) 0 clamp(12px,2vw,25px) clamp(12px,2.5vw,32px); border-left: 1px solid #e3a593; position: relative; }
.timeline li::before { content: ''; position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #252525; }
.timeline li > span { color: var(--accent); font-size: clamp(1.1rem,2.8vw,2.15rem); letter-spacing: -.06em; font-weight: 640; }
.step-figure { width: 100%; height: auto; overflow: visible; }
.step-figure .step-chip { transform: translateY(-5px); }
.motion-visible .step-chip { animation: step-lift 2.8s cubic-bezier(.2,.75,.3,1) both; }
@keyframes step-lift { 0% { transform: translateY(6px); } 45% { transform: translateY(-13px); } 100% { transform: translateY(-5px); } }
.timeline h3 { margin: 0 0 4px; font-size: clamp(1.1rem,2.25vw,1.68rem); letter-spacing: -.04em; }
.timeline p,.faq-section details p,.closing-cta p { font-size: .94rem; color: var(--muted); line-height: 1.5; }
.faq-section { max-width: 850px; }
.faq-list { overflow: hidden; background: #171716; color: white; border: 1px solid #0c0c0c; border-radius: 15px; padding: 7px; box-shadow: 0 9px 18px #0003; }
.faq-section details { border-radius: 8px; background: #242423; }
.faq-section details + details { margin-top: 4px; }
.faq-section summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; font-weight: 650; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: '+'; display: grid; place-items: center; width: 24px; aspect-ratio: 1; flex: none; background: #3e3e3c; color: white; border-radius: 50%; }
.faq-section details[open] summary::after { content: '−'; }
.faq-section details p { padding: 0 44px 15px 16px; color: #d7d7d4; }
.closing-cta { text-align: center; padding-block: 25px; }
.closing-cta > h2 { margin-bottom: 10px; }
.closing-cta .hero-actions { padding-top: 19px; }
.security-section { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.95fr) auto; gap: 16px; align-items: center; max-width: 1130px; margin-bottom: 45px; padding-block: 20px; border-block: 1px solid var(--border); scroll-margin-top: 110px; }
.security-section h2 { font-size: clamp(1.4rem,2.5vw,2rem); margin-top: 7px; line-height: 1.1; }
.security-section p { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.overline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .73rem; letter-spacing: .095em; text-transform: uppercase; line-height: 1.4; overflow-wrap: anywhere; }
.overline span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.subtle { color: var(--muted); line-height: 1.53; }
.tile { display: inline-grid; place-items: center; background: #f0efed; color: var(--ink); border-radius: 10px; width: 36px; height: 36px; font-size: .9rem; font-weight: 750; flex: none; }
.foot-inner { position: relative; overflow: hidden; max-width: 1130px; }
.footer-main { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding: clamp(28px,4.6vw,61px) clamp(8px,2.5vw,28px) clamp(32px,5vw,67px); }
.footer-heading { margin-top: 10px; font-size: clamp(1.35rem,3.15vw,2.45rem); line-height: 1.06; font-weight: 610; letter-spacing: -.057em; }
.footer-heading span { color: #767672; }
.footer-mark { display: inline-flex; border-radius: 50%; }
.footer-mark img { display: block; width: clamp(28px,3vw,42px); height: auto; }
.footer-main nav { display: grid; justify-items: start; align-content: start; gap: 12px; padding-top: 12px; font-size: .83rem; }
.footer-main nav a { text-decoration: none; color: var(--muted); }
.footer-main nav a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 78px; padding: 12px clamp(8px,2.5vw,28px); border-inline: 1px solid var(--border); color: var(--muted); font-size: .79rem; }
.footer-base div { display: flex; align-items: center; gap: clamp(10px,2vw,25px); }
.footer-base a { text-decoration: none; white-space: nowrap; }
.footer-base a:hover { text-decoration: underline; }
.footer-base a:last-child { display: grid; place-items: center; width: 36px; aspect-ratio: 1; border-radius: 50%; background: #171716; color: white; font-size: 1.08rem; }
.footer-accent { position: relative; height: clamp(45px,8.4vw,118px); margin-top: clamp(24px,4vw,55px); overflow: hidden; }
.footer-accent::before { content: ''; position: absolute; inset: 0 0 auto; transform: translateY(-50%); aspect-ratio: 1; border: clamp(49px,15vw,220px) solid #ff4819; border-radius: 50%; filter: drop-shadow(0 4px 9px #ff48194a); }
.intro-hero .hero-copy { padding-bottom: 42px; }
.workflow-list { max-width: 1000px; margin: 0 auto 55px; }
.workflow-list article { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 15px; align-items: center; padding: 23px 0; border-top: 1px solid var(--border); }
.workflow-list article:last-of-type { border-bottom: 1px solid var(--border); }
.workflow-list .btn { margin-top: 20px; }
.workflow-list h2 { margin-bottom: 4px; font-size: clamp(1.1rem,2.4vw,1.52rem); letter-spacing: -.04em; }
.workflow-list p { color: var(--muted); font-size: .91rem; line-height: 1.5; }
.step-index { color: var(--accent); font-size: .84rem; font-variant-numeric: tabular-nums; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 35px; padding-block: 39px; min-height: calc(100vh - 74px); }
.auth-panel { max-width: 445px; width: 100%; margin-inline: auto; padding-block: 15px; }
.auth-panel h1,.simple h1 { font-size: clamp(2.35rem,4.2vw,3.65rem); line-height: 1.03; margin: 14px 0 10px; }
.auth-panel .stack { margin-top: 23px; }
.stack { display: grid; gap: 13px; }
label { display: grid; gap: 6px; font-size: .85rem; font-weight: 690; }
input,textarea { border: 1px solid #c8c9c2; background: #fff; border-radius: 10px; padding: 11px 12px; min-width: 0; width: 100%; min-height: 45px; font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; line-height: 1.45; }
input::placeholder,textarea::placeholder { color: #6d786b; }
.switch { margin-top: 17px; color: var(--muted); font-size: .88rem; }
.switch a { color: var(--ink); font-weight: 710; }
.auth-art { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 480px; padding: clamp(22px,3.4vw,42px); border-radius: 24px; color: #171716; background: #f6ecdf; border: 1px solid #ded2c4; }
.auth-art picture { display: block; width: min(100%,480px); margin: auto; }
.auth-art img { display: block; width: 100%; height: auto; }
.auth-art h2 { max-width: 365px; font-size: clamp(1.65rem,3.4vw,2.75rem); line-height: 1.03; }
.auth-art p { color: #554e44; margin-top: 10px; line-height: 1.4; }
.simple { display: grid; min-height: 65vh; place-items: center; }
.simple .panel { width: min(100%,550px); }
.simple .panel p { margin-bottom: 15px; color: var(--muted); line-height: 1.5; }
.feedback { padding: 10px 12px; border-radius: 10px; background: #f8e5df; color: #783729; line-height: 1.5; font-size: .88rem; }
.loading { padding: 26px; color: var(--muted); }
.plain,.avatar { display: inline-flex; justify-content: center; align-items: center; gap: 6px; background: transparent; min-width: 42px; min-height: 42px; border: 0; border-radius: 10px; font-size: .86rem; font-weight: 720; }
.plain:hover { background: var(--light); }
.avatar { background: var(--dark); color: var(--leaf); border-radius: 50%; }
.workspace { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 22px; padding-block: 26px 50px; }
.queue { align-self: start; position: sticky; top: 99px; background: #efefec; border: 1px solid var(--border); border-radius: 16px; padding: 13px; }
.queue-head { padding: 6px 3px; }
.queue-head h1 { font-size: 1.85rem; margin: 7px 0 13px; }
.queue-head .btn { min-height: 45px; }
.tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; padding: 3px; border-radius: 10px; background: #e4e4df; margin: 10px 0; }
.tabs button { border: 0; background: transparent; border-radius: 8px; min-height: 38px; font-size: .78rem; font-weight: 690; color: #475a49; padding: 3px; }
.tabs button[aria-pressed=true] { color: var(--ink); background: #fff; }
.case-link { display: grid; grid-template-columns: 33px minmax(0,1fr) auto; align-items: center; text-decoration: none; padding: 8px 6px; gap: 6px; min-height: 52px; border-bottom: 1px solid var(--border); font-size: .84rem; overflow-wrap: anywhere; }
.case-link:hover,.case-link[aria-current] { background: #fff; border-radius: 9px; }
.case-link small,.case-link-date { display: block; color: var(--muted); font-size: .69rem; line-height: 1.4; }
.queue-icon { display: grid; place-items: center; width: 31px; height: 31px; background: #e2e5de; color: #354c3b; border-radius: 9px; }
.queue-empty { font-size: .85rem; color: var(--muted); padding: 10px 4px; }
.workspace-body { min-width: 0; }
.empty-state { display: grid; justify-items: start; align-content: center; min-height: 360px; padding: 22px; border: 1px dashed #bccbb6; border-radius: 16px; }
.empty-state h2 { font-size: 1.7rem; margin: 10px 0 5px; }
.empty-state p { color: var(--muted); line-height: 1.5; }
.empty-state .btn { margin-top: 15px; }
.case-title { min-height: 137px; border: 1px solid #dadbd5; background: #efeee9; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 19px; border-radius: 16px; }
.case-title h1 { font-size: clamp(1.65rem,4vw,3.2rem); overflow-wrap: anywhere; margin: 4px 0; }
.case-title .subtle { color: #555652; font-size: .83rem; }
.status-pill { background: #fffdf5; border: 1px solid #cdd0c7; border-radius: 30px; padding: 7px 9px; font-size: .76rem; font-weight: 710; text-align: center; }
.status-pill.closed { background: #e3ede1; }
.status-pill.pending { background: #fff1d3; }
.detail-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 12px; margin-top: 12px; }
.detail-column { display: grid; align-content: start; gap: 12px; min-width: 0; }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: 15px; background: var(--paper); padding: 16px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 34px; margin-bottom: 9px; }
.panel-title h2 { font-size: 1.15rem; }
.panel-title .subtle { white-space: nowrap; font-size: .76rem; }
.panel-title .text-link { min-height: 38px; }
.message { padding: 12px; border-radius: 10px; background: #efefeb; line-height: 1.51; overflow-wrap: anywhere; font-size: .91rem; }
.line { display: grid; grid-template-columns: 34px minmax(0,1fr) auto 17px; gap: 7px; align-items: center; width: 100%; text-align: left; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 7px; min-height: 55px; font-size: .83rem; }
.line[aria-pressed=true] { background: #eef2eb; border-color: #aab7a6; }
.line-name { font-weight: 680; overflow-wrap: anywhere; }
.line-name small,.refund-confirm small { display: block; font-size: .71rem; color: var(--muted); font-weight: 430; margin-top: 3px; }
.line-icon { display: grid; place-items: center; width: 33px; height: 33px; background: #e9ece5; color: #425547; border-radius: 8px; }
.radio { width: 16px; height: 16px; border: 1px solid #a5b29f; display: grid; place-items: center; border-radius: 50%; }
[aria-pressed=true] .radio { background: var(--dark); color: var(--leaf); border-color: var(--dark); }
.order-list { display: grid; gap: 6px; }
.evidence { background: #edf1eb; border-color: #d1d9ce; }
.evidence p,.evidence blockquote { line-height: 1.49; font-size: .87rem; overflow-wrap: anywhere; }
.evidence blockquote { border-left: 2px solid #83a379; padding-left: 10px; margin-top: 10px; color: #455c43; }
.bill dl { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; font-size: .85rem; margin: 0 0 13px; }
.bill dt { color: var(--muted); }
.bill dd { margin: 0; text-align: right; font-weight: 700; }
.bill dt:last-of-type,.bill dd:last-of-type { padding-top: 10px; border-top: 1px dashed #bdc8b8; font-weight: 760; color: var(--ink); }
.bill-note { text-align: center; font-size: .73rem; margin-top: 8px; }
.pay-btn { margin-top: 7px; }
.receipt-meta { display: grid; gap: 8px; font-size: .8rem; color: var(--muted); }
.receipt-meta > div { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; }
.receipt-meta strong { color: var(--ink); overflow-wrap: anywhere; text-align: right; }
.refund-notice { border-left: 2px solid var(--accent); padding-left: 8px; }
.receipt-preview dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px 12px; margin: 0; padding-block: 12px; border-block: 1px solid var(--border); }
.receipt-preview dt { color: var(--muted); }
.receipt-preview dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.receipt-shop { font-weight: 720; overflow-wrap: anywhere; }
.receipt-preview .dialog-actions { flex-wrap: wrap; }
.receipt-feedback:empty { display: none; }
.back-mobile { display: none; }
dialog { background: var(--paper); color: var(--ink); width: min(600px,calc(100vw - 26px)); max-height: calc(100dvh - 24px); border: 1px solid var(--border); border-radius: 19px; padding: 18px; box-shadow: 0 24px 80px #182e2b33; }
dialog::backdrop { background: #19312868; backdrop-filter: blur(3px); }
.dialog-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.dialog-title h2 { font-size: 1.5rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.item-fields { display: grid; gap: 7px; }
.order-fields { display: grid; grid-template-columns: 1.25fr .85fr .75fr; min-inline-size: 0; padding: 7px; gap: 6px; border: 1px solid var(--border); border-radius: 10px; }
.order-fields legend { font-size: .8rem; font-weight: 710; color: var(--muted); }
.order-fields input { padding: 8px; }
.add-line { justify-self: start; }
.remove-line { grid-column: 1/-1; justify-self: start; min-height: 31px; }
.refund-confirm { display: flex; justify-content: space-between; gap: 9px; border-radius: 10px; padding: 12px; background: #edf0ea; }
@media print {
  body:has(#dialog[open] .receipt-preview) > :not(#dialog), .receipt-preview .dialog-actions, .receipt-preview .receipt-feedback, #receipt-text, #dialog:has(.receipt-preview) .plain { display: none; }
  #dialog:has(.receipt-preview) { position: static; margin: 0 auto; max-height: none; width: min(100%, 560px); border: none; box-shadow: none; }
  #dialog:has(.receipt-preview)::backdrop { background: none; }
}
@media (max-width: 1010px) {
  .workspace { grid-template-columns: 211px minmax(0,1fr); gap: 13px; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 710px) {
  .header-inner { min-height: 62px; }
  .head-links { gap: 8px; }
  .head-links .text-link { font-size: .83rem; white-space: nowrap; }
  .head-links .btn.small { padding-inline: 11px; min-height: 39px; font-size: .78rem; white-space: nowrap; }
  .brand { font-size: 22px; gap: 6px; }
  .brand img { width: 27px; height: 27px; }
  .hero h1 { font-size: clamp(2.25rem,8vw,3.65rem); }
  .workflow-list article { grid-template-columns: 30px minmax(0,1fr) auto; gap: 9px; padding-block: 17px; }
  .hero-split { grid-template-columns: minmax(0,1fr); width: calc(100% - 36px); padding-bottom: 82px; }
  .hero-split h1 { border-right: 1px solid var(--border); font-size: clamp(2rem,8vw,3.4rem); }
  .hero-side { padding-block: 6px 12px; padding-right: min(34%,166px); gap: 10px; font-size: .82rem; }
  .hero-person { left: auto; right: -8px; top: auto; bottom: -28px; width: clamp(125px,34vw,210px); translate: none; }
  .hero-media { margin-top: 0; }
  .hero-landscape { width: 48%; height: 57vw; }
  .hero-ring { width: 86%; }
  .preview-panel,.capabilities { grid-template-columns: minmax(0,1fr); }
  .capability-intro { position: static; }
  .preview-photo { min-height: 225px; }
  .preview-tabs { margin-bottom: 12px; gap: 3px; }
  .preview-caption { display: block; }
  .preview-caption p { margin-top: 4px; }
  .practice-section,.security-section { grid-template-columns: 1fr; }
  .security-section .btn { justify-self: start; }
  .auth-layout { grid-template-columns: 1fr; min-height: calc(100vh - 62px); align-items: start; padding-block: 24px; }
  .auth-art { display: none; }
  .workspace { grid-template-columns: 1fr; padding-block: 13px 40px; }
  .queue { position: static; }
  .workspace.has-case .queue { display: none; }
  .workspace:not(.has-case) .workspace-body { display: none; }
  .back-mobile { display: inline-flex; margin-bottom: 4px; }
  .detail-grid { display: flex; flex-direction: column; }
  .detail-column { display: contents; }
  .detail-grid .evidence { order: -1; }
  .case-title { min-height: 100px; padding: 12px; }
  .case-title .status-pill { max-width: 101px; }
  .panel { padding: 13px; }
}
@media (max-width: 540px) {
  .header-public .header-inner { position: relative; padding-bottom: 38px; min-height: 90px; }
  .nav-public { justify-content: flex-end; }
  .nav-public .nav-center { position: absolute; inset: auto 10px 0; justify-content: center; gap: clamp(8px,3.5vw,19px); }
  .nav-public .nav-center .text-link { min-height: 36px; }
  .footer-main { gap: 12px; }
  .footer-main nav { font-size: .74rem; gap: 9px; }
  .footer-base { min-height: 58px; }
}
@media (max-width: 375px) {
  .header-inner { gap: 7px; padding-inline: 14px; }
  .head-links .text-link { font-size: .76rem; }
  .order-fields { grid-template-columns: 1fr 1fr; }
  .order-fields label:first-of-type { grid-column: 1/-1; }
}
.missing-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }
.missing-page section { display: grid; justify-items: center; gap: 17px; }
.missing-page h1 { font-size: clamp(4.5rem,10vw,8rem); line-height: .92; }
.missing-page p { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
