@font-face{font-family:Public Sans;src:url('assets/public-sans.woff2') format('woff2');font-display:swap}
:root{--bg:#f1f3f5;--surface:#fff;--ink:#212b36;--muted:#637381;--accent:#1c468d;--accent-soft:#e6edf8;--cyan:#218b9d;--line:#dfe3e8;--pale:#e5ebef;--success:#236b53;--success-soft:#e6f1eb;--warning:#87622b;--warning-soft:#f5eddd;--error:#a33c3c;--error-soft:#f8e8e6;--ease:cubic-bezier(.2,.7,.2,1);font-family:'Public Sans','PingFang TC','Microsoft JhengHei',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{border:0}p{line-height:1.75;text-wrap:pretty}button,a{touch-action:manipulation}button{transition:background .18s,color .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}::selection{background:var(--accent);color:#fff}.skip{position:fixed;top:-80px;left:24px;background:var(--accent);color:#fff;padding:14px;z-index:30}.skip:focus{top:8px}
.masthead{height:100px;padding:24px 3.6vw;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand img{object-fit:contain}.brand strong{font-size:25px;letter-spacing:-.04em}.brand>span{font-size:13px;color:var(--muted);margin-left:14px}.tools{display:flex;align-items:center;gap:12px}.text-button,.icon-button{background:transparent;min-height:44px;padding:10px;font-size:13px;border-radius:0}.text-button:hover,.icon-button:hover{background:var(--pale)}.text-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.icon-button{min-width:44px;font-size:22px;display:inline-flex;align-items:center;justify-content:center}.demo-label{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);margin-right:12px}.demo-label i{width:6px;height:6px;border-radius:50%;background:var(--cyan)}
#content{height:calc(100svh - 198px);min-height:560px;position:relative}.chapter{height:100%;display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.65fr);grid-template-rows:minmax(0,1fr);gap:36px;padding:24px 3.6vw 26px;position:relative;isolation:isolate;animation:chapter-in .55s var(--ease)}.narrative{padding:22px 0 0;display:flex;flex-direction:column;align-items:flex-start;position:relative;z-index:2;max-width:440px}.narrative h1,.narrative h2{font-size:clamp(36px,3.8vw,58px);font-weight:500;line-height:1.22;letter-spacing:-.055em;margin:22px 0 24px;max-width:100%;text-wrap:balance}.narrative h1 span,.narrative h2 span{display:block}.narrative .lead{font-size:16px;max-width:360px;margin:0 0 28px;color:var(--ink)}.narrative .chapter-name{font-size:13px;color:var(--muted);margin:0}.narrative .primary{margin-top:8px}.primary,.secondary{min-height:46px;padding:13px 20px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:30px;line-height:1.5;border-radius:0;text-align:center}.primary{background:var(--accent);color:white}.primary:hover{background:#15376e}.secondary{background:var(--pale);color:var(--ink)}.secondary:hover{background:var(--line)}.primary .arrow{font-size:20px}.narrative .footnote{font-size:13px;line-height:1.7;color:var(--muted);margin-top:auto;padding-top:30px;max-width:360px}.footnote a,.source-link{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.source-button{font-size:13px;background:none;color:var(--accent);padding:12px 0;min-height:44px;text-decoration:underline;text-underline-offset:5px}.source-button:hover{color:var(--cyan)}.narrative .steps{padding:0;margin:4px 0 28px;list-style:none;display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.steps li{display:flex;align-items:center;gap:12px}.steps li:not(:last-child):after{content:'→';color:var(--muted)}.steps .current{color:var(--accent)}
.workspace{position:relative;min-width:0;height:100%;display:flex;flex-direction:column}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 8px;font-size:13px;color:var(--muted);height:44px;flex-shrink:0}.workspace-head strong{color:var(--ink);font-weight:500}.stage{position:relative;flex:1;min-height:280px;overflow:hidden}.office{width:100%;height:100%;position:absolute;inset:0}.office svg{width:100%;height:100%;overflow:visible}.office .room-floor{transition:fill .45s}.office .room{cursor:pointer}.office .room:hover .room-floor{fill:#d2e1ee}.office .room.selected .room-floor{fill:#cedff3}.office .room-label{font-size:17px;font-family:inherit;fill:var(--ink);pointer-events:none}.office .room-code{font-size:13px;fill:var(--accent);font-family:inherit}.office .plant{fill:#81a899}.office .wall{opacity:.9}.office .connector{stroke:var(--cyan);stroke-width:2;stroke-dasharray:5 6;fill:none;animation:dash 9s linear infinite}.office .selected-marker{animation:marker 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.scene-caption{font-size:13px;color:var(--muted);text-align:right;margin:0 12px 16px}.scene-caption span{display:inline-flex;align-items:center;gap:7px;margin-left:16px}.scene-caption i{width:8px;height:8px;background:var(--accent);border-radius:50%;display:inline-block}.scene-caption .light{background:#aebbc5}.scene-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;background:var(--surface);padding:18px 22px;margin-top:auto;z-index:2}.scene-bottom strong{font-size:16px;font-weight:500}.scene-bottom p{font-size:13px;margin:5px 0 0;color:var(--muted)}.scene-bottom .mini-state{font-size:13px;color:var(--success);display:flex;align-items:center;gap:7px}.mini-state:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.scene-bottom .text-button{color:var(--accent)}.overview .workspace{margin-left:-32px;width:calc(100% + 32px)}.overview .stage{min-height:360px}.overview .narrative h1{font-size:clamp(42px,4.3vw,64px);margin-top:50px}.overview .narrative .lead{margin-bottom:30px}.overview .narrative .summary{display:flex;gap:36px;margin-top:36px}.summary strong{font-size:32px;font-weight:400;letter-spacing:-.04em}.summary p{margin:3px 0;font-size:13px;color:var(--muted)}.scene-tabs{display:flex;gap:4px}.scene-tabs button{background:none;color:var(--muted);font-size:13px;min-height:44px;padding:10px 12px}.scene-tabs button[aria-pressed=true]{background:var(--surface);color:var(--accent)}
/* taste-skill-ignore: product resource selection controls */ .resource-list{display:flex;flex-direction:column;gap:8px;width:100%;max-width:350px}.resource-option{display:flex;align-items:center;gap:16px;min-height:72px;text-align:left;background:var(--surface);padding:14px 16px;border:1px solid transparent}.resource-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.resource-option:hover{background:var(--accent-soft)}.resource-letter{font-size:20px;display:grid;place-items:center;min-width:42px;height:42px;background:var(--bg);color:var(--accent)}.resource-option strong{display:block;font-size:14px;font-weight:500}.resource-option small{font-size:13px;color:var(--muted);display:block;margin-top:4px}.resource-option .selection{margin-left:auto;color:var(--accent);font-size:20px}.resource-list+.primary{margin-top:24px}.fact{font-size:13px;line-height:1.7;margin:18px 0 0;color:var(--muted)}
.interaction{height:100%;min-height:0;background:var(--surface);padding:30px 32px;position:relative;min-width:0;overflow:auto}.interaction .panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.interaction h3{font-size:20px;font-weight:500;margin:0}.interaction .panel-note{font-size:13px;color:var(--muted);margin:6px 0 0;line-height:1.5}.room-detail{display:flex;align-items:center;gap:15px;background:var(--bg);padding:18px;margin-bottom:24px}.room-detail strong{font-size:16px;font-weight:500}.room-detail p{font-size:13px;color:var(--muted);margin:5px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{display:flex;flex-direction:column;gap:10px;font-size:13px}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{background:var(--surface);padding:12px;min-height:44px;border:1px solid var(--line);border-radius:0;color:var(--ink);width:100%;font-size:14px}.field textarea{resize:vertical}.slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.slot{background:var(--bg);border:1px solid transparent;padding:10px;min-height:48px;font-size:14px}.slot[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.slot:hover:not(:disabled){background:var(--accent-soft)}.slot small{display:block;font-size:11px;margin-top:2px}.slot:disabled{text-decoration:line-through}.form-actions{display:flex;align-items:center;gap:16px;margin-top:24px}.form-actions .primary{flex:1}.form-error:empty{display:none}.form-error{font-size:13px;color:var(--error);min-height:22px;margin:10px 0 0}.panel-foot{font-size:13px;color:var(--muted);margin:14px 0 0;line-height:1.7}.status{font-size:13px;padding:7px 10px;display:inline-block;background:var(--bg);color:var(--muted);white-space:nowrap}.status.pending{background:var(--warning-soft);color:var(--warning)}.status.approved{background:var(--success-soft);color:var(--success)}.status.rejected,.status.cancelled{background:var(--error-soft);color:var(--error)}
.role-tabs{display:flex;gap:4px;background:var(--bg);padding:4px;margin-bottom:28px}.role-tabs button{min-height:44px;background:none;flex:1;font-size:14px}.role-tabs button[aria-selected=true]{background:var(--surface);color:var(--accent)}.record-details{margin:0 0 26px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.record-details div{display:flex;flex-direction:column;gap:7px;min-width:0}.record-details dt{font-size:13px;color:var(--muted)}.record-details dd{font-size:16px;margin:0;overflow-wrap:anywhere}.decision-box{background:var(--bg);padding:20px}.decision-box p{font-size:14px;margin:0 0 16px}.decision-buttons{display:flex;gap:8px}.decision-buttons .primary{flex:1}.decision-buttons .secondary{flex:1}.flow{display:flex;gap:12px;align-items:center;margin:20px 0;font-size:13px;color:var(--muted)}.flow b{font-weight:500;color:var(--accent)}.empty-state{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:300px;padding:28px;background:var(--bg)}.empty-state .empty-mark{font-size:42px;color:var(--accent);margin:0 0 22px}.empty-state h3{margin-bottom:12px}.empty-state p{font-size:16px;max-width:380px;margin:0 0 22px}.state-message{padding:20px;background:var(--success-soft);color:var(--success)}.state-message p{margin:8px 0 0;font-size:14px}.state-message.rejected,.state-message.cancelled{background:var(--error-soft);color:var(--error)}
.voucher-stage{height:100%;background:var(--pale);padding:26px;display:flex;align-items:center;justify-content:center;position:relative;overflow:auto}.voucher-stage .voucher{background:var(--surface);width:min(100%,390px);animation:ticket-in .65s var(--ease)}.voucher-top{padding:28px;background:var(--accent);color:white}.voucher-top img{width:30px;height:30px;object-fit:contain;background:white;padding:4px;margin-bottom:20px}.voucher-top>p{font-size:13px;margin:0 0 8px;opacity:.8}.voucher-top h3{font-size:28px;font-weight:500;margin:0 0 10px}.voucher-top .voucher-date{font-size:16px;opacity:1;margin:0}.voucher-body{padding:24px 28px}.voucher-body .record-details{gap:20px;margin-bottom:22px}.ticket-status{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:14px 0 4px;color:var(--success)}.voucher-id{font-size:13px;color:var(--muted);margin:0}.voucher-footer{padding:15px 28px;background:var(--bg);font-size:13px;color:var(--muted);line-height:1.7}.voucher-actions{display:flex;gap:12px;width:100%;margin:0 0 8px;flex-wrap:wrap}.voucher-actions button{flex:1;white-space:nowrap}.narrative .voucher-actions{margin-top:20px}.hint{padding:18px 20px;background:var(--pale);font-size:14px;line-height:1.7;width:100%;max-width:360px;margin:12px 0 24px}.hint strong{display:block;font-weight:500;margin-bottom:5px}.subtle-button{font-size:13px;background:transparent;color:var(--muted);padding:12px 0;text-decoration:underline;text-underline-offset:4px;min-height:44px}.subtle-button:hover{color:var(--accent)}
/* taste-skill-ignore: real calendar table grid */ .calendar-panel{background:var(--surface);padding:28px;height:100%;overflow:auto}.calendar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.calendar-top h3{font-size:20px;font-weight:500;margin:0 0 7px}.calendar-top p{font-size:13px;color:var(--muted);margin:0}.calendar-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.calendar-table th{font-weight:400;text-align:center;padding:14px 8px;color:var(--muted);border-bottom:1px solid var(--line)}.calendar-table th:first-child{width:65px;text-align:left}.calendar-table td{height:72px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:6px;vertical-align:top}.calendar-table td:first-child{border-right:0;color:var(--muted);vertical-align:middle}.calendar-table td:last-child{border-right:0}.calendar-booking{display:block;padding:10px;background:var(--bg);color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.calendar-booking.current{background:var(--accent-soft);color:var(--accent)}.calendar-booking.pending{background:var(--warning-soft);color:var(--warning)}.calendar-legend{display:flex;gap:20px;font-size:13px;color:var(--muted);margin-top:20px;flex-wrap:wrap}.calendar-legend span{display:flex;align-items:center;gap:7px}.calendar-legend i{display:inline-block;width:10px;height:10px;background:var(--bg)}.calendar-legend .ours{background:var(--accent)}.calendar-legend .waiting{background:var(--warning)}.metric-row{display:flex;gap:32px;margin:12px 0 24px}.metric-row strong{font-size:32px;font-weight:400}.metric-row p{font-size:13px;color:var(--muted);margin:4px 0 0}
.chapter-bar{height:98px;padding:0 3.6vw 20px;display:flex;gap:28px;align-items:center;position:relative;z-index:3}.progress-track{position:absolute;left:3.6vw;right:3.6vw;top:0;height:3px;background:var(--pale)}#progress{height:100%;background:var(--accent);transition:width .6s var(--ease)}#chapters{display:flex;gap:4px;flex:1;align-items:center;padding-top:4px}#chapters button{min-height:48px;text-align:left;flex:1;padding:12px 10px;background:none;font-size:13px;color:var(--muted);white-space:nowrap}#chapters button:first-child{padding-left:0}#chapters button:hover{color:var(--accent)}#chapters button[aria-current=step]{color:var(--accent);font-weight:600}.page-controls{display:flex;align-items:center;gap:8px}.page-controls>span{font-size:13px;white-space:nowrap;color:var(--muted);margin-right:12px}.toast{position:fixed;bottom:108px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:white;padding:14px 22px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:40;max-width:calc(100% - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:0;background:var(--surface);color:var(--ink);width:min(1100px,92vw);max-height:90svh;padding:26px}dialog::backdrop{background:#212b36b3}.dialog-bar{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-bar h2{font-size:20px;margin:0 0 8px;font-weight:500}.dialog-bar p{font-size:13px;color:var(--muted);margin:0}dialog>img{width:100%;height:auto;max-height:65svh;object-fit:contain;display:block;background:var(--bg)}dialog>a{font-size:13px;color:var(--accent);display:inline-block;margin-top:20px;text-decoration:underline;text-underline-offset:4px}.no-script{padding:40px}.print-summary{display:none}
@keyframes chapter-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes marker{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes dash{to{stroke-dashoffset:-100}}@keyframes ticket-in{from{opacity:0;transform:translateY(20px) rotate(2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@media(min-width:1600px){.masthead{height:116px}#content{height:calc(100svh - 224px)}.chapter{padding-top:40px;gap:70px}.interaction{padding:38px 44px}.narrative .lead{font-size:18px;max-width:400px}.chapter-bar{height:108px}.overview .narrative h1{margin-top:70px}}
@media(max-width:1050px){.masthead{padding:20px 28px}.brand>span{display:none}.tools{gap:4px}.demo-label{margin-right:6px}.chapter{padding:14px 28px 24px;gap:24px;grid-template-columns:minmax(270px,.9fr) minmax(0,1.3fr)}.narrative h1,.narrative h2{font-size:38px}.overview .narrative h1{font-size:44px}.interaction{padding:24px}.form-grid{gap:18px}.chapter-bar{padding-left:28px;padding-right:28px;gap:12px}.progress-track{left:28px;right:28px}#chapters button{padding:12px 6px;font-size:12px}.overview .workspace{margin-left:-24px;width:calc(100% + 24px)}.record-details{gap:18px}.calendar-panel{padding:20px}.calendar-table th:first-child{width:48px}.calendar-booking{padding:6px}.scene-bottom{padding:16px}.summary{gap:22px!important}}
@media(max-height:780px) and (min-width:761px){.masthead{height:82px}#content{height:calc(100svh - 162px);min-height:500px}.chapter{padding-top:4px;padding-bottom:20px}.narrative{padding-top:8px}.narrative h1,.narrative h2{margin-top:18px;margin-bottom:20px}.overview .narrative h1{margin-top:24px}.narrative .lead{margin-bottom:18px}.narrative .summary{margin-top:22px}.narrative .footnote{padding-top:18px}.chapter-bar{height:80px}.resource-option{min-height:64px;padding:10px 14px}.interaction{padding:22px 26px}.interaction .panel-heading{margin-bottom:18px}.room-detail{margin-bottom:16px;padding:14px}.form-grid{gap:16px}.form-actions{margin-top:18px}.slot{min-height:44px}.role-tabs{margin-bottom:22px}}
@media(max-width:760px){.masthead{height:80px;padding:14px 20px;gap:8px}.brand{gap:6px}.brand img{width:34px;height:34px}.brand strong{font-size:22px}.tools{gap:0}.demo-label{display:none}.tools .text-button{font-size:12px;padding:8px}.tools #reset{display:none}.tools .icon-button{min-width:38px;padding:6px}#content{height:auto;min-height:calc(100svh - 202px);padding-bottom:136px}.chapter{height:auto;min-height:calc(100svh - 202px);display:flex;flex-direction:column;padding:10px 20px 20px;gap:26px}.narrative{max-width:none;width:100%;padding-top:4px}.narrative .chapter-name{font-size:13px}.narrative h1,.narrative h2{font-size:36px;margin:18px 0;line-height:1.22}.overview .narrative h1{font-size:42px;margin-top:16px}.narrative .lead{font-size:16px;max-width:100%;margin-bottom:18px}.narrative .footnote{margin-top:18px;padding-top:0;max-width:none}.overview .narrative .summary{gap:32px;margin-top:22px}.summary strong{font-size:28px}.narrative .steps{margin-bottom:14px}.workspace{height:390px;flex:none;width:100%}.overview .workspace{margin:0;width:100%;height:400px}.overview .stage{min-height:260px}.workspace-head{padding:0;font-size:12px}.scene-tabs button{padding:8px;font-size:12px}.scene-bottom{padding:16px;gap:12px}.scene-bottom strong{font-size:14px}.scene-bottom p{font-size:12px}.scene-bottom .mini-state{font-size:12px}.scene-caption{font-size:12px;margin-bottom:12px}.resource-list{max-width:none;gap:6px}.resource-option{min-height:64px;padding:10px 14px}.resource-list+.primary{margin-top:18px}.interaction{height:auto;padding:24px 20px;overflow:visible}.interaction .panel-heading{margin-bottom:20px}.form-grid{gap:20px 14px}.slot-grid{gap:6px}.slot{padding:10px 6px}.record-details{gap:20px 14px}.record-details dd{font-size:14px}.decision-box{padding:18px}.flow{flex-wrap:wrap}.voucher-stage{padding:24px 18px;min-height:470px}.voucher-top{padding:24px}.voucher-body{padding:22px 24px}.voucher-top h3{font-size:26px}.voucher-top img{margin-bottom:14px}.voucher-actions{max-width:100%}.hint{max-width:none;margin-bottom:14px}.calendar-panel{height:auto;min-height:520px;padding:24px 14px}.calendar-table th{padding:12px 3px;font-size:12px}.calendar-table th:first-child{width:43px}.calendar-table td{padding:4px;font-size:12px}.calendar-booking{padding:7px 5px;font-size:12px}.metric-row{margin:6px 0 18px}.chapter-bar{position:fixed;bottom:0;left:0;right:0;height:116px;background:var(--bg);padding:10px 20px 12px;display:grid;grid-template-columns:1fr auto;gap:0 8px;align-items:center}.progress-track{left:20px;right:20px}#chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:0;width:100%;padding:0}#chapters button{min-height:42px;font-size:12px;padding:8px 4px!important;text-align:left}.page-controls{flex-wrap:wrap;justify-content:center;width:88px;gap:0}.page-controls>span{width:100%;font-size:12px;text-align:center;margin:0 0 2px}.page-controls .icon-button{min-width:40px;min-height:40px;padding:6px}.toast{bottom:128px;width:max-content;max-width:calc(100% - 32px)}dialog{padding:18px;width:94vw}.dialog-bar{gap:10px}.dialog-bar h2{font-size:18px}.dialog-bar p{font-size:12px}.empty-state{min-height:280px;padding:24px}.narrative .source-button{padding-bottom:0}.narrative .footnote .mobile-hide{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media print{.masthead,.chapter-bar,.tools,dialog,.toast{display:none!important}body{background:white}#content{height:auto;min-height:0}.chapter{height:auto;min-height:0;padding:20px;grid-template-columns:1fr 1.5fr}.narrative h1,.narrative h2{font-size:32px}.interaction{overflow:visible}.workspace{height:450px}.primary,.secondary,.source-button,.subtle-button{display:none}.print-summary{display:block;padding:24px;font-size:16px;line-height:1.8}}
