/* Approved restaurant conversation flow, isolated from the v6 shell. */
.restaurant-story{font-family:Arial,Helvetica,sans-serif;color:#202020;background:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased;--muted:#777;--line:#e9e9e9;--green:#23784c;--ease:cubic-bezier(.22,1,.36,1)}
.restaurant-story *{box-sizing:border-box}
.restaurant-story button,.restaurant-story a{-webkit-tap-highlight-color:transparent}
.restaurant-story a{color:inherit;text-decoration:none}
.restaurant-story button{font:inherit;color:inherit;cursor:pointer}
.restaurant-story button:focus-visible,.restaurant-story a:focus-visible,.restaurant-story [tabindex]:focus-visible{outline:2px solid #323232;outline-offset:5px}
.restaurant-story button{border:0;background:none}
.restaurant-story p,.restaurant-story .story-title,.restaurant-story h2{margin:0}
.restaurant-story svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.restaurant-story img{display:block;max-width:100%}
.restaurant-story .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.restaurant-story{position:relative}
.restaurant-story .stage{padding:32px 54px 36px}
.restaurant-story .stage-inner{width:100%;max-width:1332px;margin:auto;display:grid;grid-template-columns:310px minmax(0,1fr);gap:70px;align-items:center}
.restaurant-story .story-rail{padding-bottom:24px}
.restaurant-story .eyebrow{font-size:10px;letter-spacing:.13em;font-weight:600;color:#777;line-height:1.5}
.restaurant-story .story-title{font-size:52px;line-height:1.04;letter-spacing:-2.7px;font-weight:500;margin:22px 0}
.restaurant-story .intro{font-size:16px;line-height:1.6;color:#737373;letter-spacing:-.2px}
.restaurant-story .chapters{display:grid;margin-top:46px;gap:2px}
.restaurant-story .chapter-button{display:flex;align-items:center;text-align:left;gap:15px;height:45px;padding:0 12px 0 0;font-size:15px;color:#888;transition:color .25s,background .25s,padding .35s var(--ease);border-radius:9px;position:relative}
.restaurant-story .chapter-num{font-size:10px;color:#999;font-variant-numeric:tabular-nums;min-width:17px}
.restaurant-story .chapter-arrow{margin-left:auto;opacity:0;transform:translate(-5px,4px);transition:opacity .25s,transform .35s;font-size:20px}
.restaurant-story .chapter-button:hover{color:#202020;padding-left:10px;background:#f8f8f8}
.restaurant-story .chapter-button[aria-current]{color:#202020;padding-left:12px;background:#f4f4f4}
.restaurant-story .chapter-button[aria-current] .chapter-num{color:#333}
.restaurant-story .chapter-button[aria-current] .chapter-arrow,.restaurant-story .chapter-button:hover .chapter-arrow{opacity:1;transform:none}
.restaurant-story .rail-footer{display:flex;align-items:center;gap:10px;margin-top:36px;font-size:11px;color:#8b8b8b}
.restaurant-story .scroll-mark{width:25px;height:32px;border:1px solid #dedede;border-radius:20px;display:grid;place-items:center;color:#444;font-size:17px}
.restaurant-story [data-story-counter]{margin-left:auto;font-size:10px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.restaurant-story .chat{min-width:0;background:#fff;border:1px solid #e5e5e5;border-radius:22px;box-shadow:0 22px 50px -24px #00000012;position:relative;overflow:hidden;align-self:center}
.restaurant-story .chat-header{height:66px;padding:0 28px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #f1f1f1}
.restaurant-story .chat-title{display:flex;align-items:center;gap:8px;font-size:17px;letter-spacing:-.4px}
.restaurant-story .chat-title>img{width:25px;height:25px;margin-right:2px}
.restaurant-story .chat-title svg{width:13px;height:13px;stroke:#9a9a9a}
.restaurant-story .connection{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px;color:#777}
.restaurant-story .connection i{width:5px;height:5px;background:#72a785;border-radius:50%}
.restaurant-story .replay{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;transition:background .2s,transform .35s}
.restaurant-story .replay svg{width:17px;height:17px}
.restaurant-story .replay:hover{background:#f1f1f1;transform:rotate(-20deg)}
.restaurant-story .chat-body{padding:26px 36px 14px}
.restaurant-story .chat-scene{padding-bottom:50px}
.restaurant-story .question{display:flex;justify-content:flex-end;margin-bottom:25px}
.restaurant-story .question p{background:#f3f3f3;padding:14px 21px;border-radius:22px;max-width:90%;font-size:15px;line-height:1.5;letter-spacing:-.15px}
.restaurant-story .assistant{position:relative}
.restaurant-story .assistant-logo{width:25px;height:25px;margin-bottom:13px}
.restaurant-story .answer p{font-size:15px;line-height:1.6;letter-spacing:-.12px;max-width:650px}
.restaurant-story .answer strong{font-weight:600}
.restaurant-story .positive{color:var(--green)}
.restaurant-story .answer-visual{margin-top:23px}
.restaurant-story .result-meta{display:flex;justify-content:space-between;gap:15px;color:#898989;font-size:10px;line-height:1.4;margin-bottom:13px}
.restaurant-story .result-meta>span:last-child{white-space:nowrap}
.restaurant-story .source{font-size:10px;color:#888;margin-top:19px;line-height:1.45}
.restaurant-story .source>span{font-size:15px;margin-right:3px}
.restaurant-story .thinking{display:none;position:absolute;top:42px;left:0;height:22px;gap:4px;align-items:center;color:#999;font-size:11px}
.restaurant-story .thinking i{height:4px;width:4px;border-radius:50%;background:#777;animation:restaurant-story-think 1s ease-in-out infinite}
.restaurant-story .thinking i:nth-child(2){animation-delay:.14s}
.restaurant-story .thinking i:nth-child(3){animation-delay:.28s}
.restaurant-story .thinking span{margin-left:7px}
.restaurant-story .chat-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #f0f0f0;color:#969696;padding:17px 28px;font-size:10px;letter-spacing:.01em}
.restaurant-story .footer-note{color:#aaa}
.restaurant-story .chat-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#f8f8f8}
.restaurant-story .progress-fill{display:block;background:#242424;height:100%;transform:scaleX(0);transform-origin:left center;transition:transform .2s linear}
.restaurant-story .sales-total{font-size:62px;letter-spacing:-3.4px;font-weight:500;line-height:1.2;white-space:nowrap}
.restaurant-story .sales-total>span:first-child{font-size:20px;color:#888;letter-spacing:-.6px;margin-right:12px}
.restaurant-story .sales-total .decimal{color:#9a9a9a}
.restaurant-story .sales-caption{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8c8c8c;margin-top:4px}
.restaurant-story .sales-caption>span{color:#aaa}
.restaurant-story .sales-distribution{display:flex;gap:4px;margin:29px 0 20px;height:11px;overflow:hidden;border-radius:3px}
.restaurant-story .sales-distribution>span{flex:0 0 calc(var(--share) - 3px);background:var(--tone);border-radius:2px;transform-origin:left center}
.restaurant-story .location-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;row-gap:19px}
.restaurant-story .location-grid>div{display:grid;grid-template-columns:6px 1fr auto;gap:9px;align-items:start}
.restaurant-story .location-dot{height:6px;width:6px;border-radius:50%;background:var(--tone);margin-top:4px}
.restaurant-story .location-grid p,.restaurant-story .location-grid strong{font-size:12px;font-weight:400;line-height:1.3}
.restaurant-story .location-grid small{display:block;color:#929292;margin-top:4px;font-size:10px}
.restaurant-story .location-grid strong{font-variant-numeric:tabular-nums;letter-spacing:-.25px}
.restaurant-story .table-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d8d8d8 transparent}
.restaurant-story .branch-table{width:100%;border-collapse:collapse;white-space:nowrap;font-variant-numeric:tabular-nums}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{font-weight:400;text-align:right;font-size:15px;letter-spacing:-.3px;position:relative;padding:15px 0;border-bottom:1px solid #e5e5e5}
.restaurant-story .branch-table th:first-child{text-align:left;width:36%}
.restaurant-story .branch-table thead th{color:#909090;font-size:10px;letter-spacing:.02em;padding:2px 0 12px}
.restaurant-story .branch-table th small{display:block;color:#919191;font-size:10px;margin-top:5px;letter-spacing:0}
.restaurant-story .branch-table td.change{width:16%;color:#777}
.restaurant-story .branch-table td.positive{color:var(--green)}
.restaurant-story .branch-table td.current{width:25%;padding-right:8px}
.restaurant-story .branch-table td.current:before{content:"";position:absolute;right:0;top:0;height:100%;width:var(--bar);background:#edf4ef;transform-origin:right;z-index:0;transition:background .2s}
.restaurant-story .branch-table td.current>span{position:relative}
.restaurant-story .branch-table tr:hover td.current:before{background:#e2eee6}
.restaurant-story .branch-table tr:hover th{color:#23784c}
.restaurant-story .branch-table tfoot th,.restaurant-story .branch-table tfoot td{padding-top:20px;border:0;font-size:13px}
.restaurant-story .branch-table tfoot td:nth-child(3){padding-right:8px}
.restaurant-story .scope-flow{display:flex;align-items:center;gap:21px;margin:16px 0 22px}
.restaurant-story .scope-wide,.restaurant-story .scope-narrow{display:block;font-size:14px;padding:14px 18px;border:1px solid #e8e8e8;border-radius:13px;min-width:140px;background:#fff}
.restaurant-story .scope-flow small{display:block;font-size:10px;color:#999;margin-top:5px}
.restaurant-story .scope-narrow{background:#f4f4f4;border-color:#f4f4f4}
.restaurant-story .scope-arrow{font-size:21px;color:#aaa}
.restaurant-story .report-lines>div{display:flex;align-items:center;border-top:1px solid var(--line);padding:16px 0;gap:15px;font-size:13px}
.restaurant-story .field-number{color:#aaa;font-size:9px;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.restaurant-story .report-lines strong{font-weight:400}
.restaurant-story .report-lines>div>span:last-child{margin-left:auto;color:#999;font-size:11px}
.restaurant-story .report-lines>.report-total{background:#f0f5f1;padding-left:12px;padding-right:12px;margin-left:-12px;margin-right:-12px;border-radius:0 0 9px 9px;border-top-color:#dce7df}
.restaurant-story .report-total strong{color:#276a45}
.restaurant-story .stock-scope{display:flex;align-items:center;gap:14px;font-size:12px;margin-top:26px;color:#8c8c8c}
.restaurant-story .stock-scope strong{font-weight:400;color:#292929}
.restaurant-story .stock-query{margin:25px 0;display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;border-radius:12px;padding:21px 19px;gap:12px}
.restaurant-story .query-label{font-size:12px;color:#929292}
.restaurant-story .query-condition{font-size:16px;letter-spacing:-.4px}
.restaurant-story .query-condition b{font-weight:400;margin-left:16px;background:#fff;padding:7px 12px;border-radius:7px}
.restaurant-story .stock-fields{display:grid;grid-template-columns:repeat(4,1fr);padding:4px 0 21px;border-bottom:1px solid var(--line)}
.restaurant-story .stock-fields>div{padding-left:20px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:9px;transition:transform .3s}
.restaurant-story .stock-fields>div:first-child{padding-left:0;border-left:0}
.restaurant-story .stock-fields>div:hover{transform:translateY(-3px)}
.restaurant-story .stock-fields strong{font-size:12px;font-weight:400}
.restaurant-story .stock-fields small{font-size:10px;color:#9a9a9a}
.restaurant-story .follow-context{font-size:11px;color:#777;margin-top:18px;line-height:1.6}
.restaurant-story .invoice-sheet{border:1px solid #e7e7e7;border-radius:13px;padding:23px 25px 8px;margin-top:20px;background:#fff;box-shadow:0 8px 18px -12px #00000018}
.restaurant-story .invoice-sheet-heading{display:flex;align-items:center;gap:14px;margin-bottom:23px}
.restaurant-story .invoice-sheet-heading svg{width:28px;height:32px;stroke-width:1.2;color:#888}
.restaurant-story .invoice-sheet-heading span{font-size:16px;letter-spacing:-.3px}
.restaurant-story .invoice-sheet-heading small{display:block;font-size:11px;color:#999;margin-top:5px;letter-spacing:0}
.restaurant-story .invoice-field{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #ededed;font-size:12px;gap:10px}
.restaurant-story .invoice-field>span:last-child{font-size:10px;color:#999}
.restaurant-story .invoice-field>span:last-child>span{margin-left:8px}
.restaurant-story .invoice-field strong{font-weight:400}
.restaurant-story .invoice-field.outstanding{color:#28734a}
.restaurant-story .invoice-field.outstanding>span:last-child{color:#648470}
.restaurant-story.is-enhanced{height:600svh}
.restaurant-story.is-enhanced .stage{position:sticky;top:0;height:100svh;min-height:650px;display:flex;align-items:center}
.restaurant-story.is-enhanced .chat{height:650px;display:flex;flex-direction:column}
.restaurant-story.is-enhanced .chat-body{flex:1;position:relative}
.restaurant-story.is-enhanced .chat-scene{display:none;padding-bottom:0}
.restaurant-story.is-enhanced .chat-scene.is-active{display:block}
.restaurant-story.is-enhanced .chat-scene .question,.restaurant-story.is-enhanced .chat-scene .assistant-logo,.restaurant-story.is-enhanced .chat-scene .answer,.restaurant-story.is-enhanced .chat-scene .answer-visual{opacity:0;transform:translateY(12px)}
.restaurant-story.is-enhanced .chat-scene.is-active .question{animation:restaurant-story-reveal .65s var(--ease) forwards}
.restaurant-story.is-enhanced .chat-scene.is-thinking .assistant-logo,.restaurant-story.is-enhanced .chat-scene.is-answered .assistant-logo{opacity:1;transform:none;transition:opacity .4s,transform .4s}
.restaurant-story.is-enhanced .chat-scene.is-thinking .thinking{display:flex}
.restaurant-story.is-enhanced .chat-scene.is-answered .answer{animation:restaurant-story-reveal .65s var(--ease) forwards}
.restaurant-story.is-enhanced .chat-scene.is-answered .answer-visual{animation:restaurant-story-reveal .85s .17s var(--ease) forwards}
.restaurant-story.is-enhanced .is-answered .branch-table td.current:before{animation:restaurant-story-bar-grow 1.2s .35s var(--ease) both}
.restaurant-story.is-enhanced .is-answered .sales-distribution>span{animation:restaurant-story-bar-grow 1s .4s var(--ease) both}
.restaurant-story.is-enhanced .is-answered .location-grid>div,.restaurant-story.is-enhanced .is-answered .report-lines>div,.restaurant-story.is-enhanced .is-answered .stock-fields>div,.restaurant-story.is-enhanced .is-answered .invoice-field{animation:restaurant-story-reveal .65s var(--ease) both;animation-delay:.25s}
.restaurant-story.is-enhanced .is-answered .location-grid>div:nth-child(2),.restaurant-story.is-enhanced .is-answered .report-lines>div:nth-child(2),.restaurant-story.is-enhanced .is-answered .stock-fields>div:nth-child(2),.restaurant-story.is-enhanced .is-answered .invoice-field:nth-child(3){animation-delay:.32s}
.restaurant-story.is-enhanced .is-answered .location-grid>div:nth-child(3),.restaurant-story.is-enhanced .is-answered .report-lines>div:nth-child(3),.restaurant-story.is-enhanced .is-answered .stock-fields>div:nth-child(3),.restaurant-story.is-enhanced .is-answered .invoice-field:nth-child(4){animation-delay:.39s}
.restaurant-story.is-enhanced .is-answered .location-grid>div:nth-child(4),.restaurant-story.is-enhanced .is-answered .report-lines>div:nth-child(4),.restaurant-story.is-enhanced .is-answered .stock-fields>div:nth-child(4),.restaurant-story.is-enhanced .is-answered .invoice-field:nth-child(5){animation-delay:.46s}
.restaurant-story .story-anchor{position:absolute;left:0;top:0;pointer-events:none;height:1px}
.restaurant-story .story-anchor[data-index="1"]{top:20%}
.restaurant-story .story-anchor[data-index="2"]{top:40%}
.restaurant-story .story-anchor[data-index="3"]{top:60%}
.restaurant-story .story-anchor[data-index="4"]{top:80%}
@keyframes restaurant-story-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes restaurant-story-bar-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes restaurant-story-think{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media(min-width:1600px){
.restaurant-story .stage-inner{gap:100px;grid-template-columns:330px minmax(0,1fr)}
.restaurant-story .story-title{font-size:59px}
.restaurant-story .chat-body{padding-left:42px;padding-right:42px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{font-size:17px}
}
@media(max-height:760px) and (min-width:901px){
.restaurant-story .stage{padding-top:20px;padding-bottom:20px}
.restaurant-story.is-enhanced .stage{min-height:620px}
.restaurant-story.is-enhanced .chat{height:610px}
.restaurant-story .chat-header{height:58px;flex-shrink:0}
.restaurant-story .chat-body{padding-top:22px}
.restaurant-story .question{margin-bottom:20px}
.restaurant-story .question p{font-size:14px;padding:12px 18px}
.restaurant-story .answer p{font-size:14px}
.restaurant-story .answer-visual{margin-top:18px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding-top:12px;padding-bottom:12px}
.restaurant-story .source{margin-top:14px}
.restaurant-story .chat-footer{padding-top:14px;padding-bottom:14px}
.restaurant-story .invoice-field{padding:12px 0}
.restaurant-story .invoice-sheet{margin-top:15px}
.restaurant-story .scope-flow{margin:12px 0 18px}
.restaurant-story .report-lines>div{padding:14px 0}
}
@media(max-width:1100px){
.restaurant-story .stage{padding-left:32px;padding-right:32px}
.restaurant-story .stage-inner{grid-template-columns:245px minmax(0,1fr);gap:38px}
.restaurant-story .story-title{font-size:44px;letter-spacing:-2.3px}
.restaurant-story .intro{font-size:14px}
.restaurant-story .chat-body{padding-left:26px;padding-right:26px}
.restaurant-story .sales-total{font-size:51px}
.restaurant-story .location-grid{column-gap:18px}
.restaurant-story .location-grid>div{grid-template-columns:6px 1fr}
.restaurant-story .location-grid strong{grid-column:2}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{font-size:14px}
.restaurant-story .branch-table th:first-child{width:32%}
.restaurant-story .chapters{margin-top:35px}
}
@media(max-width:900px){
.restaurant-story .stage{padding:24px}
.restaurant-story .stage-inner{grid-template-columns:1fr;gap:25px;max-width:690px}
.restaurant-story .story-rail{padding:0}
.restaurant-story .story-title{font-size:38px;letter-spacing:-1.9px;line-height:1.06;margin:12px 0}
.restaurant-story .story-title br{display:none}
.restaurant-story .story-title br:after{content:" "}
.restaurant-story .intro{display:none}
.restaurant-story .eyebrow{font-size:9px}
.restaurant-story .chapters{display:flex;gap:5px;margin-top:22px;overflow-x:auto;scrollbar-width:none}
.restaurant-story .chapter-button{flex:0 0 auto;height:35px;font-size:11px;padding:0 12px;border:1px solid #e8e8e8;border-radius:30px;gap:7px}
.restaurant-story .chapter-button:hover,.restaurant-story .chapter-button[aria-current]{padding:0 12px}
.restaurant-story .chapter-button[aria-current]{background:#252525;border-color:#252525;color:#fff}
.restaurant-story .chapter-num{font-size:8px;min-width:0}
.restaurant-story .chapter-button[aria-current] .chapter-num{color:#aaa}
.restaurant-story .chapter-arrow{display:none}
.restaurant-story .rail-footer{display:none}
.restaurant-story.is-enhanced .stage{min-height:790px}
.restaurant-story.is-enhanced .chat{height:570px;width:100%}
.restaurant-story .chat-header{height:54px;flex-shrink:0}
.restaurant-story .chat-body{padding:20px 27px 12px}
.restaurant-story .question{margin-bottom:18px}
.restaurant-story .question p{font-size:13px;padding:12px 17px}
.restaurant-story .assistant-logo{width:22px;height:22px;margin-bottom:11px}
.restaurant-story .answer p{font-size:13px}
.restaurant-story .answer-visual{margin-top:17px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding:11px 0;font-size:14px}
.restaurant-story .branch-table tfoot td,.restaurant-story .branch-table tfoot th{padding-top:17px;font-size:12px}
.restaurant-story .source{font-size:9px;margin-top:13px}
.restaurant-story .sales-total{font-size:53px}
.restaurant-story .location-grid{grid-template-columns:1fr 1fr}
.restaurant-story .location-grid>div{grid-template-columns:6px 1fr auto}
.restaurant-story .location-grid strong{grid-column:auto}
.restaurant-story .chat-footer{padding:14px 25px;font-size:9px}
.restaurant-story .scope-flow{margin:14px 0 16px}
.restaurant-story .report-lines>div{padding:13px 0}
.restaurant-story .stock-query{margin:20px 0}
.restaurant-story .invoice-sheet{padding:18px 22px 4px;margin-top:15px}
.restaurant-story .invoice-sheet-heading{margin-bottom:18px}
.restaurant-story .invoice-field{padding:12px 0}
}
@media(max-width:600px){
.restaurant-story .stage{padding:17px 14px 20px}
.restaurant-story .stage-inner{gap:17px}
.restaurant-story .story-rail{padding:0 6px}
.restaurant-story .story-title{font-size:31px;letter-spacing:-1.45px;margin:10px 0 0}
.restaurant-story .eyebrow{font-size:8px;letter-spacing:.1em}
.restaurant-story .chapters{margin-top:17px;margin-right:-6px;padding-bottom:3px}
.restaurant-story .chapter-button{font-size:10px;height:32px;padding:0 10px;gap:6px}
.restaurant-story .chapter-button:hover,.restaurant-story .chapter-button[aria-current]{padding:0 10px}
.restaurant-story.is-enhanced .stage{min-height:725px;align-items:flex-start;justify-content:center}
.restaurant-story.is-enhanced .chat{height:565px;border-radius:17px}
.restaurant-story .chat-header{padding:0 18px;height:51px;gap:10px}
.restaurant-story .chat-title{font-size:15px;gap:5px}
.restaurant-story .chat-title>img{width:21px;height:21px}
.restaurant-story .connection{font-size:9px;gap:5px}
.restaurant-story .replay{width:24px;height:24px}
.restaurant-story .replay svg{width:15px;height:15px}
.restaurant-story .chat-body{padding:19px 19px 8px}
.restaurant-story .question p{font-size:12px;padding:12px 15px;max-width:96%;border-radius:18px}
.restaurant-story .question{margin-bottom:20px}
.restaurant-story .answer p{font-size:12px;line-height:1.6}
.restaurant-story .assistant-logo{width:23px;height:23px}
.restaurant-story .result-meta{font-size:8px;margin-bottom:13px;gap:8px}
.restaurant-story .sales-total{font-size:44px;letter-spacing:-2.5px}
.restaurant-story .sales-total>span:first-child{font-size:14px;margin-right:7px;letter-spacing:-.3px}
.restaurant-story .sales-caption{font-size:9px}
.restaurant-story .sales-distribution{margin:22px 0 20px;height:9px}
.restaurant-story .location-grid{column-gap:20px;row-gap:15px}
.restaurant-story .location-grid>div{grid-template-columns:5px 1fr;gap:7px}
.restaurant-story .location-grid p{font-size:11px}
.restaurant-story .location-grid strong{font-size:12px;grid-column:2;letter-spacing:-.2px}
.restaurant-story .location-grid small{font-size:9px;margin-top:3px}
.restaurant-story .location-dot{width:5px;height:5px}
.restaurant-story .source{font-size:8px;letter-spacing:-.1px;line-height:1.6;margin-top:17px}
.restaurant-story .source>span{font-size:12px}
.restaurant-story .table-scroll{margin-right:-19px;padding-right:19px}
.restaurant-story .branch-table{min-width:490px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{font-size:13px;padding:13px 0}
.restaurant-story .branch-table th small{font-size:9px}
.restaurant-story .branch-table thead th{font-size:9px}
.restaurant-story .branch-table tfoot td,.restaurant-story .branch-table tfoot th{font-size:12px;padding-top:18px}
.restaurant-story .branch-table th:first-child{min-width:145px}
.restaurant-story .chat-footer{padding:13px 18px;font-size:8px}
.restaurant-story .thinking{top:36px;font-size:9px}
.restaurant-story .scope-flow{gap:13px;margin:18px 0}
.restaurant-story .scope-wide,.restaurant-story .scope-narrow{min-width:0;flex:1;padding:14px 13px;font-size:12px}
.restaurant-story .scope-flow small{font-size:9px}
.restaurant-story .scope-arrow{font-size:17px}
.restaurant-story .report-lines>div{padding:16px 0;gap:12px;font-size:12px}
.restaurant-story .report-lines>div>span:last-child{font-size:9px}
.restaurant-story .stock-scope{margin-top:25px;font-size:10px;gap:9px}
.restaurant-story .stock-query{padding:17px 14px;flex-direction:column;align-items:flex-start;gap:18px;margin:20px 0 23px}
.restaurant-story .query-label{font-size:10px}
.restaurant-story .query-condition{font-size:17px;width:100%;display:flex;align-items:center;justify-content:space-between}
.restaurant-story .query-condition b{margin-left:10px;padding:6px 11px}
.restaurant-story .stock-fields>div{padding-left:9px;gap:8px}
.restaurant-story .stock-fields strong{font-size:10px}
.restaurant-story .stock-fields small{font-size:8px}
.restaurant-story .follow-context{font-size:10px}
.restaurant-story .invoice-sheet{padding:20px 16px 5px;margin-top:19px}
.restaurant-story .invoice-sheet-heading{gap:11px;margin-bottom:22px}
.restaurant-story .invoice-sheet-heading span{font-size:14px}
.restaurant-story .invoice-sheet-heading small{font-size:9px}
.restaurant-story .invoice-sheet-heading svg{width:25px;height:28px}
.restaurant-story .invoice-field{font-size:11px;padding:15px 0}
.restaurant-story .invoice-field>span:last-child{font-size:9px}
}
@media(max-width:600px) and (max-height:740px){
.restaurant-story.is-enhanced .stage{min-height:650px}
.restaurant-story.is-enhanced .chat{height:520px}
.restaurant-story .stage-inner{gap:12px}
.restaurant-story .story-title{font-size:28px}
.restaurant-story .chapters{margin-top:13px}
.restaurant-story .question{margin-bottom:14px}
.restaurant-story .question p{padding:10px 14px}
.restaurant-story .chat-body{padding-top:15px}
.restaurant-story .answer-visual{margin-top:13px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding-top:10px;padding-bottom:10px}
.restaurant-story .invoice-field{padding:12px 0}
.restaurant-story .invoice-sheet-heading{margin-bottom:16px}
.restaurant-story .source{margin-top:11px}
.restaurant-story .report-lines>div{padding:13px 0}
.restaurant-story .sales-distribution{margin-top:20px;margin-bottom:15px}
.restaurant-story .stock-query{margin-top:15px;margin-bottom:20px;padding-top:15px;padding-bottom:15px}
.restaurant-story .stock-scope{margin-top:17px}
}
@media(prefers-reduced-motion:reduce){
.restaurant-story *,.restaurant-story *:before,.restaurant-story *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.restaurant-story.is-enhanced .chat-scene.is-active .question,.restaurant-story.is-enhanced .chat-scene.is-active .assistant-logo,.restaurant-story.is-enhanced .chat-scene.is-active .answer,.restaurant-story.is-enhanced .chat-scene.is-active .answer-visual{opacity:1;transform:none}
.restaurant-story .thinking{display:none!important}
}
.restaurant-story:not(.is-enhanced) .story-rail{align-self:start}
.restaurant-story:not(.is-enhanced) .chapters,.restaurant-story:not(.is-enhanced) .rail-footer,.restaurant-story:not(.is-enhanced) .replay{display:none}
@media(min-width:901px){
.restaurant-story.is-enhanced .chat{height:690px;max-height:none}
.restaurant-story.is-enhanced .stage{min-height:730px;padding-top:20px;padding-bottom:20px}
.restaurant-story .story-title{font-size:50px;letter-spacing:-2.6px}
.restaurant-story .chapters{margin-top:30px}
.restaurant-story .rail-footer{margin-top:24px}
.restaurant-story .chat-header{height:58px;flex-shrink:0}
.restaurant-story .chat-footer{flex-shrink:0}
.restaurant-story .chat-body{min-height:0}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding-top:12px;padding-bottom:12px}
.restaurant-story .answer p{font-size:15px}
}
@media(max-width:600px){
.restaurant-story .story-title{font-size:24px;letter-spacing:-1.1px;white-space:nowrap}
.restaurant-story.is-enhanced .stage{min-height:660px}
.restaurant-story.is-enhanced .chat{height:565px}
.restaurant-story .chat-header,.restaurant-story .chat-footer{flex-shrink:0}
.restaurant-story .chat-body{min-height:0}
.restaurant-story .chat-footer{font-size:9px;padding-top:12px;padding-bottom:12px}
.restaurant-story .branch-table{min-width:350px}
.restaurant-story .branch-table th:first-child{min-width:105px;width:32%}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{font-size:12px;letter-spacing:-.25px;padding-top:9px;padding-bottom:9px}
.restaurant-story .branch-table tfoot th,.restaurant-story .branch-table tfoot td{font-size:11px;padding-top:15px}
.restaurant-story .branch-table td.change{width:15%}
.restaurant-story .result-meta{font-size:9px}
.restaurant-story .source{font-size:9px;line-height:1.5}
.restaurant-story .source>span{font-size:12px}
}
@media(max-width:600px) and (max-height:740px){
.restaurant-story.is-enhanced .chat{height:560px}
.restaurant-story .chat-footer{padding-top:10px;padding-bottom:10px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding-top:8px;padding-bottom:8px}
.restaurant-story .source{margin-top:10px}
.restaurant-story .stage{padding-top:14px;padding-bottom:14px}
}
@media(max-width:350px){
.restaurant-story .story-title{font-size:21px;letter-spacing:-1px}
.restaurant-story .question p{font-size:11px}
.restaurant-story .answer p{font-size:11px}
.restaurant-story .result-meta{font-size:8px}
.restaurant-story .sales-total{font-size:38px}
.restaurant-story .source{font-size:8px}
}
.restaurant-story .story-rail{min-width:0}
@media(max-width:900px){
.restaurant-story .stage-inner{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
.restaurant-story .story-title{font-size:clamp(18px,5.8vw,23px);letter-spacing:-1px}
}
@media(max-width:350px){
.restaurant-story .report-lines>div{padding-top:11px;padding-bottom:11px}
.restaurant-story .scope-flow{margin-top:12px;margin-bottom:14px}
}

/* The shared v6 navigation stays above this section. */
.restaurant-story{--restaurant-story-nav-height:68px;--restaurant-story-sticky-top:68px;position:relative;box-sizing:border-box;line-height:normal;isolation:isolate;scroll-margin-top:calc(var(--restaurant-story-nav-height) + 16px)}
.restaurant-story.is-enhanced .stage{top:var(--restaurant-story-sticky-top);height:auto;min-height:calc(100svh - var(--restaurant-story-nav-height));padding-top:24px;padding-bottom:24px}
.restaurant-story .stage-inner{min-width:0}
.restaurant-story .story-title{font-family:Arial,Helvetica,sans-serif;color:#202020}
.restaurant-story .chat-scene{scroll-margin-top:calc(var(--restaurant-story-nav-height) + 20px)}
.restaurant-story:not(.is-enhanced) .stage{padding-top:72px;padding-bottom:72px}
.restaurant-story:not(.is-enhanced) .chat{height:auto}
@media(max-width:900px){.restaurant-story.is-enhanced .stage{padding-top:22px;padding-bottom:22px}}
@media(max-width:600px){.restaurant-story.is-enhanced .stage{padding-top:17px;padding-bottom:20px}}

/* Preserve the feature detail outside the sticky presentation. */
.restaurant-story + .restaurant-story-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 48px;max-width:1080px;padding-top:34px;padding-bottom:90px;color:#737373;font-size:15px;line-height:1.7}
.restaurant-story + .restaurant-story-context>p{margin:0}
.restaurant-story + .restaurant-story-context>.pv6-checks{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;margin-top:6px;color:#454545}
@media(max-width:700px){
.restaurant-story + .restaurant-story-context{grid-template-columns:1fr;gap:19px;padding-top:26px;padding-bottom:58px;font-size:14px}
.restaurant-story + .restaurant-story-context>.pv6-checks{grid-template-columns:1fr;gap:12px}
}

/* Fit the full conversation beneath the navigation on common laptop screens. */
@media(min-width:901px) and (max-height:820px){
.restaurant-story.is-enhanced .stage{padding-top:20px;padding-bottom:20px}
.restaurant-story.is-enhanced .chat{height:clamp(540px,calc(100svh - var(--restaurant-story-nav-height) - 40px),690px)}
.restaurant-story .chat-header{height:48px}
.restaurant-story .chat-body{padding-top:18px;padding-bottom:10px}
.restaurant-story .question{margin-bottom:12px}
.restaurant-story .question p{padding:10px 18px;font-size:14px}
.restaurant-story .question br{display:none}
.restaurant-story .assistant-logo{width:22px;height:22px;margin-bottom:10px}
.restaurant-story .answer p{font-size:14px;line-height:1.5}
.restaurant-story .answer-visual{margin-top:12px}
.restaurant-story .result-meta{margin-bottom:10px}
.restaurant-story .branch-table th,.restaurant-story .branch-table td{padding-top:9px;padding-bottom:9px}
.restaurant-story .branch-table thead th{padding-top:2px;padding-bottom:9px}
.restaurant-story .branch-table tfoot th,.restaurant-story .branch-table tfoot td{padding-top:12px}
.restaurant-story .source{margin-top:10px}
.restaurant-story .chat-footer{padding-top:10px;padding-bottom:10px}
.restaurant-story .invoice-sheet{margin-top:12px;padding-top:18px}
.restaurant-story .invoice-sheet-heading{margin-bottom:14px}
.restaurant-story .invoice-field{padding-top:10px;padding-bottom:10px}
.restaurant-story .scope-flow{margin-top:10px;margin-bottom:15px}
.restaurant-story .report-lines>div{padding-top:12px;padding-bottom:12px}
}
@media(max-width:900px) and (max-height:760px){
.restaurant-story.is-enhanced .stage{padding-top:10px;padding-bottom:10px}
.restaurant-story.is-enhanced .chat{height:535px}
.restaurant-story .stage-inner{gap:8px}
.restaurant-story .story-rail>.eyebrow{display:none}
.restaurant-story .story-title{margin-top:6px;margin-bottom:0}
.restaurant-story .chapters{margin-top:10px}
.restaurant-story .chapter-button{height:30px}
.restaurant-story .question{margin-bottom:14px}
.restaurant-story .assistant-logo{width:21px;height:21px;margin-bottom:8px}
.restaurant-story .answer-visual{margin-top:12px}
.restaurant-story .source{margin-top:8px}
.restaurant-story .chat-footer{padding-top:9px;padding-bottom:9px}
.restaurant-story .invoice-sheet{padding-top:16px;margin-top:12px}
.restaurant-story .invoice-sheet-heading{margin-bottom:14px}
.restaurant-story .invoice-field{padding-top:11px;padding-bottom:11px}
}
@media(max-width:600px) and (max-height:760px){
.restaurant-story .chat-scene[data-scene="1"] .question,.restaurant-story .chat-scene[data-scene="2"] .question{margin-bottom:10px}
.restaurant-story .chat-scene[data-scene="1"] .assistant-logo,.restaurant-story .chat-scene[data-scene="2"] .assistant-logo{width:19px;height:19px;margin-bottom:6px}
.restaurant-story .chat-scene[data-scene="1"] .answer-visual,.restaurant-story .chat-scene[data-scene="2"] .answer-visual{margin-top:9px}
.restaurant-story .chat-scene[data-scene="1"] .result-meta,.restaurant-story .chat-scene[data-scene="2"] .result-meta{margin-bottom:9px}
.restaurant-story .chat-scene[data-scene="1"] .source,.restaurant-story .chat-scene[data-scene="2"] .source{margin-top:6px}
.restaurant-story .chat-scene[data-scene="1"] .branch-table th,.restaurant-story .chat-scene[data-scene="1"] .branch-table td{padding-top:6px;padding-bottom:6px}
.restaurant-story .chat-scene[data-scene="1"] .branch-table tfoot th,.restaurant-story .chat-scene[data-scene="1"] .branch-table tfoot td{padding-top:11px}
.restaurant-story .chat-scene[data-scene="2"] .scope-flow{margin-top:10px;margin-bottom:12px}
.restaurant-story .chat-scene[data-scene="2"] .scope-wide,.restaurant-story .chat-scene[data-scene="2"] .scope-narrow{padding-top:12px;padding-bottom:12px}
.restaurant-story .chat-scene[data-scene="2"] .report-lines>div{padding-top:11px;padding-bottom:11px}
}

/* Filled demo records keep the same airy conversation layout. */
.restaurant-story .pnl-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:19px 0 22px;padding:20px 22px;background:#f0f5f1;border-radius:14px;font-size:11px;color:#67836e}
.restaurant-story .pnl-summary strong{display:block;margin-top:6px;font-size:30px;line-height:1.2;letter-spacing:-1.2px;font-weight:500;color:#23784c;font-variant-numeric:tabular-nums}
.restaurant-story .pnl-margin{font-size:25px;letter-spacing:-.8px;color:#23784c;text-align:right}
.restaurant-story .pnl-margin small{display:block;font-size:10px;letter-spacing:0;margin-top:5px;color:#67836e}
.restaurant-story .report-values>div>span:last-child{font-size:14px;color:#363636;font-variant-numeric:tabular-nums}
.restaurant-story .stock-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.restaurant-story .stock-table th,.restaurant-story .stock-table td{padding:22px 0;font-weight:400;border-bottom:1px solid #e9e9e9;text-align:left;font-size:14px}
.restaurant-story .stock-table thead th{font-size:10px;color:#909090;padding:10px 0}
.restaurant-story .stock-table td:nth-child(2),.restaurant-story .stock-table th:nth-child(2){text-align:right;width:27%}
.restaurant-story .stock-table td:last-child,.restaurant-story .stock-table th:last-child{text-align:right;width:15%;color:#888}
.restaurant-story .stock-quantity{display:block;position:relative;isolation:isolate;padding:9px 12px}
.restaurant-story .stock-quantity:before{content:"";position:absolute;z-index:-1;top:0;right:0;height:100%;width:var(--bar);min-width:35%;background:#edf4ef;border-radius:3px;transform-origin:right}
.restaurant-story.is-enhanced .is-answered .stock-quantity:before{animation:restaurant-story-bar-grow 1s .4s var(--ease) both}
.restaurant-story .stock-table tbody tr:hover .stock-quantity:before{background:#e2eee6}
.restaurant-story .invoice-record .invoice-sheet-heading{justify-content:space-between;margin-bottom:13px}
.restaurant-story .invoice-record .invoice-status{font-size:10px;letter-spacing:0;border:1px solid #e6e6e6;border-radius:99px;padding:5px 10px;color:#777}
.restaurant-story .invoice-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #ededed;font-size:12px}
.restaurant-story .invoice-item small{display:block;font-size:10px;color:#999;margin-top:4px}
.restaurant-story .invoice-item strong,.restaurant-story .invoice-record .invoice-field strong{font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.restaurant-story .invoice-tax{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#999;padding:10px 0}
.restaurant-story .invoice-record .invoice-field{padding-top:11px;padding-bottom:11px}
.restaurant-story .invoice-record .outstanding{background:#f0f5f1;margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:0 0 8px 8px;border-color:#dce7df}
@media(min-width:901px) and (max-height:820px){
.restaurant-story .pnl-summary{margin:12px 0;padding:15px 18px}
.restaurant-story .pnl-summary strong{font-size:27px}
.restaurant-story .invoice-record{padding:14px 20px 6px;margin-top:10px}
.restaurant-story .invoice-record .invoice-sheet-heading{margin-bottom:10px}
.restaurant-story .invoice-item{padding:8px 0;font-size:11px}
.restaurant-story .invoice-tax{padding:8px 0}
.restaurant-story .invoice-record .invoice-field{padding-top:8px;padding-bottom:8px;font-size:11px}
}
@media(max-width:600px){
.restaurant-story .pnl-summary{margin:12px 0 16px;padding:16px 14px;gap:10px;font-size:10px}
.restaurant-story .pnl-summary strong{font-size:24px;letter-spacing:-.8px}
.restaurant-story .pnl-margin{font-size:20px}
.restaurant-story .pnl-margin small{font-size:8px}
.restaurant-story .report-values>div{font-size:11px;padding:13px 0}
.restaurant-story .report-values>div>span:last-child{font-size:12px}
.restaurant-story .stock-table th,.restaurant-story .stock-table td{font-size:12px;padding:17px 0}
.restaurant-story .stock-table thead th{font-size:9px;padding:8px 0}
.restaurant-story .invoice-record{padding:14px 14px 5px;margin-top:8px}
.restaurant-story .invoice-record .invoice-sheet-heading{margin-bottom:10px}
.restaurant-story .invoice-record .invoice-sheet-heading>span:first-child{font-size:12px}
.restaurant-story .invoice-record .invoice-status{font-size:8px;padding:4px 8px}
.restaurant-story .invoice-item{font-size:10px;padding:8px 0}
.restaurant-story .invoice-item small{font-size:8px;margin-top:3px}
.restaurant-story .invoice-tax{font-size:8px;padding:8px 0;gap:6px}
.restaurant-story .invoice-record .invoice-field{font-size:10px;padding-top:8px;padding-bottom:8px}
.restaurant-story .invoice-record .outstanding{margin:0 -8px;padding-left:8px;padding-right:8px}
}
@media(max-width:350px){
.restaurant-story .pnl-summary strong{font-size:20px}
.restaurant-story .pnl-margin{font-size:18px}
.restaurant-story .invoice-tax{font-size:7px}
}
