/* R220 isolated AI Support Center. No selectors touch the rest of POS-X. */
#page-content.as220-page{padding:0;background:#f3f7fd;min-height:calc(100vh - 60px)}
.as220-page .as220-root{--as-ink:#142c44;--as-line:#e2eaf5;--as-green:#00845d;--as-muted:#678098;display:grid;grid-template-columns:217px minmax(0,1fr);min-height:calc(100vh - 60px);color:var(--as-ink);font-size:13px}
.as220-page button{font-family:inherit}.as220-page button:focus-visible,.as220-page input:focus-visible{outline:2px solid #1486e5;outline-offset:1px}
.as220-page .as220-sidebar{display:flex;flex-direction:column;color:#e0f1ed;background:linear-gradient(180deg,#004d3d,#053d35 55%,#05342f);min-width:0}
.as220-page .as220-sidehead{padding:20px 13px 16px;display:flex;gap:9px;align-items:center;border-bottom:1px solid rgba(255,255,255,.15)}
.as220-page .as220-sidehead b{font-size:14px;color:#fff}.as220-page .as220-sidehead small{display:block;color:#b1d6ca;font-size:10px;padding-top:4px}.as220-page .as220-side-icon{font-size:24px;color:#9cf4d3}
.as220-page .as220-sidenav{padding:11px 6px;display:grid;gap:3px}.as220-page .as220-sidenav button{min-height:38px;border-radius:7px;color:#e3f4ef;background:transparent;text-align:left;padding:8px 10px;display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer}
.as220-page .as220-sidenav button:hover{background:rgba(255,255,255,.09)}.as220-page .as220-sidenav button.selected{background:linear-gradient(100deg,#00a173,#087858);color:#fff;font-weight:750}
.as220-page .as220-sidenav button>span{width:22px;font-size:17px;text-align:center}.as220-page .as220-sidenav button.sub{padding-left:24px;font-size:11px}.as220-page .as220-sidenav em{margin-left:auto;background:#d8f4e6;border-radius:5px;padding:2px 7px;color:#175648;font-size:10px;font-style:normal}.as220-page .as220-navdivider{height:1px;background:#ffffff26;margin:8px 4px}
.as220-page .as220-side-bottom{margin:auto 9px 13px;display:flex;gap:9px;align-items:center;background:#ffffff13;border:1px solid #ffffff20;border-radius:10px;padding:10px}.as220-page .as220-side-bottom .as220-avatar{display:grid;place-items:center;background:#0ba675;color:#fff;width:34px;height:34px;border-radius:50%;font-size:23px}.as220-page .as220-side-bottom b{font-size:12px}.as220-page .as220-side-bottom small{display:block;color:#b5d8ce;font-size:10px;margin-top:4px}
.as220-page .as220-content{padding:14px;min-width:0}.as220-page .as220-top{display:flex;align-items:center;gap:14px;margin-bottom:13px}.as220-page .as220-brand{display:flex;gap:10px;align-items:center;min-width:330px;flex:1}.as220-page .as220-brand>span{display:grid;place-items:center;width:55px;height:55px;border-radius:11px;background:#e0eeff;color:#0871e3;font-size:36px}.as220-page .as220-brand h1{font-size:20px;font-weight:800;margin:0 0 5px;color:#0f2746}.as220-page .as220-brand p{margin:0;color:#5c7597;font-size:12px}
.as220-page .as220-counter-wrap{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:9px;min-width:50%;}.as220-page .as220-counter{display:flex;gap:9px;align-items:center;min-height:59px;background:white;border:1px solid var(--as-line);border-radius:10px;padding:8px}.as220-page .as220-counter-icon{font-size:24px;color:#1268d4;background:#edf4ff;border-radius:8px;width:35px;height:35px;display:grid;place-items:center}.as220-page .as220-counter:nth-child(3) .as220-counter-icon{color:#bb5a07;background:#fff2e6}.as220-page .as220-counter:nth-child(4) .as220-counter-icon{color:#754cc6;background:#f3efff}.as220-page .as220-counter:nth-child(5) .as220-counter-icon{color:#04865e;background:#e5f9ef}.as220-page .as220-counter small{font-size:10px;white-space:nowrap;display:block;color:#5e7592}.as220-page .as220-counter strong{font-size:22px;line-height:1.1}
.as220-page .as220-main-grid{display:grid;grid-template-columns:minmax(238px,0.81fr) minmax(400px,1.64fr) minmax(250px,.9fr);gap:10px;align-items:stretch;min-height:710px}.as220-page .as220-block{background:#fff;border:1px solid #dfe8f4;border-radius:12px;box-shadow:0 2px 9px #124a7920;min-width:0}.as220-page .as220-queue{display:flex;flex-direction:column;padding:10px}.as220-page .as220-queue-tools{display:flex;gap:7px}.as220-page .as220-search{flex:1;display:flex;align-items:center;border:1px solid #d6e2f0;border-radius:8px;padding:0 8px;min-width:0}.as220-page .as220-search span{color:#647d9b;font-size:20px}.as220-page .as220-search input{width:100%;font-size:11px;border:0;outline:0;padding:10px 6px}.as220-page .as220-queue-tools button{border:1px solid #dce6f4;border-radius:8px;background:#fff;color:#396b9c;padding:0 12px;font-size:19px}.as220-page .as220-tabs{display:flex;gap:5px;margin:10px 0 8px}.as220-page .as220-tabs button{padding:8px 6px;border-radius:7px;background:#eff3fa;color:#526987;flex:1;font-size:11px}.as220-page .as220-tabs button.active{background:#07865e;color:#fff;font-weight:800}.as220-page .as220-source-filter select{width:100%;padding:7px 10px;border:1px solid #dee8f4;border-radius:7px;background:white;color:#4f6581;font-size:11px}
.as220-page .as220-ticket-scroll{overflow:auto;flex:1;max-height:550px;margin-top:8px}.as220-page .as220-ticket{display:grid;gap:8px;width:100%;padding:12px 10px;border:1px solid transparent;border-bottom-color:#e8eff8;background:#fff;text-align:left;color:#1e3551;cursor:pointer;border-radius:8px}.as220-page .as220-ticket:hover{background:#f5faff}.as220-page .as220-ticket.active{border-color:#25b67f;background:#eefdf5}.as220-page .as220-ticket-top{display:flex;justify-content:space-between;gap:5px;align-items:center}.as220-page .as220-ticket-top b{color:#0765d1;font-size:13px}.as220-page .as220-ticket-top small{font-size:10px;color:#68819d}.as220-page .as220-ticket-sub{display:flex;justify-content:space-between;gap:8px;align-items:center}.as220-page .as220-ticket>strong{font-size:12px;font-weight:600;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.as220-page .as220-queue-foot{padding:13px 5px;font-size:11px;color:#4b6584;margin-top:auto}.as220-page .as220-queue-foot small{color:#8a9db0}
.as220-page .as220-source{display:inline-flex;border-radius:5px;background:#dff4e8;color:#007854;font-weight:750;padding:4px 7px;font-size:10px}.as220-page .as220-source.ithouse{background:#ede4fc;color:#6c40af}.as220-page .as220-source.nescen{background:#deedff;color:#185ab8}.as220-page .as220-source.unity{background:#ffe7d7;color:#b15110}
.as220-page .as220-badge{display:inline-flex;white-space:nowrap;background:#e6f1ff;color:#1465b7;padding:5px 7px;border-radius:6px;font-size:10px;font-weight:750}.as220-page .as220-badge.good{background:#e6f8eb;color:#078147}.as220-page .as220-badge.amber{background:#fff0d9;color:#bd6705}.as220-page .as220-badge.bad{background:#ffebeb;color:#bd3636}
.as220-page .as220-middle{padding:12px;display:flex;flex-direction:column;gap:9px}.as220-page .as220-ticket-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #e8eef6}.as220-page .as220-ticket-heading>div{display:flex;gap:12px;align-items:center}.as220-page .as220-ticket-heading strong{color:#0767ce;font-size:20px}.as220-page .as220-ticket-heading button{background:#fff;border:1px solid #d7e2f1;border-radius:7px;font-size:11px;padding:8px;color:#476b91}
.as220-page .as220-info{background:#f2f6fd;border-radius:9px;padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.as220-page .as220-info>div{display:grid;grid-template-columns:88px 1fr;gap:7px;align-items:center;font-size:12px}.as220-page .as220-info label{color:#526e8b;font-weight:650}.as220-page .as220-info b{overflow:hidden;text-overflow:ellipsis}.as220-page .as220-request{display:grid;gap:8px;padding:8px 4px}.as220-page .as220-request p{display:grid;grid-template-columns:120px 1fr;gap:8px;margin:0;line-height:1.6}.as220-page .as220-request strong{font-weight:800}.as220-page .as220-fileline{border-bottom:1px solid #e7edf6;border-top:1px solid #e7edf6;padding:8px 4px;display:flex;gap:20px;color:#637b96;font-size:11px}.as220-page .as220-fileline strong{color:#193657}
.as220-page .as220-pane-tabs{display:flex;gap:5px;margin-top:1px}.as220-page .as220-pane-tabs button{padding:9px 8px;font-size:11px;border-radius:7px;background:#f1f5fa;color:#516682;flex:1}.as220-page .as220-pane-tabs button.active{background:#00825b;color:#fff;font-weight:750}
.as220-page .as220-bodypane{min-height:175px}.as220-page .as220-empty-analysis{display:flex;align-items:center;gap:14px;padding:18px 11px;border:1px dashed #a8cbd1;background:#f6fcfb;border-radius:10px}.as220-page .as220-robot{font-size:42px;color:#159c75}.as220-page .as220-empty-analysis b{color:#1a4f65}.as220-page .as220-empty-analysis p{margin:7px 0;line-height:1.6}.as220-page .as220-empty-analysis small{color:#64839a}
.as220-page .as220-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.as220-page .as220-analysis-grid section{padding:10px;background:#eefaf2;border-radius:9px}.as220-page .as220-analysis-grid section:nth-child(2){background:#eaf3ff}.as220-page .as220-analysis-grid h3,.as220-page .as220-testplan h3{margin:0 0 7px;font-size:12px}.as220-page .as220-analysis-grid p{margin:0;line-height:1.6}.as220-page .as220-analysis-grid ol{margin:0 0 0 15px;padding:0}.as220-page .as220-testplan{background:#f4f0fd;border-radius:9px;padding:10px;margin-top:8px}.as220-page .as220-testplan p{margin:0}
.as220-page .as220-workflow-room{margin-top:auto;background:#ecfbf6;border:1px solid #7bd2a9;border-radius:10px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.as220-page .as220-room-title{grid-column:1/-1}.as220-page .as220-room-title b{display:block;font-size:14px}.as220-page .as220-room-title small{color:#597787}.as220-page .as220-workflow-room>span{background:#fff;border:1px solid #cce8df;border-radius:7px;padding:8px;font-size:11px}.as220-page .as220-workflow-room>span small{display:block;color:#647d94;padding-top:4px}.as220-page .as220-workflow-message{grid-column:1/-1;text-align:center;background:white;border-radius:7px;padding:7px;color:#53738a;font-size:11px}.as220-page .as220-workflow-room button{grid-column:1/-1;background:#07865e;border-radius:7px;color:#fff;padding:10px;font-weight:750}
.as220-page .as220-right{display:grid;gap:9px;align-content:start}.as220-page .as220-railblock{padding:12px}.as220-page .as220-railblock h3{margin:0 0 13px;padding-bottom:9px;border-bottom:1px solid #e7eef7;font-size:14px}.as220-page .as220-steps{display:grid;gap:0}.as220-page .as220-steps>div{display:flex;gap:9px;padding:0 0 14px;position:relative;min-height:48px}.as220-page .as220-steps>div:not(:last-child):before{content:'';position:absolute;left:13px;top:25px;bottom:0;border-left:2px solid #d9e4ef}.as220-page .as220-steps>div>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#eaf1f7;color:#8193a5;font-size:11px;border:1px solid #d5e2ec}.as220-page .as220-steps>div.complete>span{background:#07895e;color:#fff;border-color:#07895e}.as220-page .as220-steps>div.current{background:#fff6e8;border-radius:8px}.as220-page .as220-steps>div.current>span{color:#bb670d;background:#fff0d6}.as220-page .as220-steps p{margin:4px 0 0;font-weight:650;font-size:11px}.as220-page .as220-steps small{display:block;margin-top:3px;font-size:10px;color:#8a9cb1;font-weight:400}
.as220-page .as220-action{display:block;width:100%;padding:10px;border-radius:7px;border:1px solid #b7d6c7;margin-bottom:7px;color:#087c57;background:#f2fffa;font-weight:750;font-size:11px}.as220-page .as220-action.primary{background:#058659;color:#fff}.as220-page .as220-action.ghost{background:#f9fbff;color:#2a71b5;border-color:#c9dcef}.as220-page .as220-action:disabled{opacity:.5;cursor:not-allowed}.as220-page .as220-action-note{color:#657b95;line-height:1.6;font-size:10px;margin:6px 0 0}.as220-page .as220-railblock dl{display:grid;grid-template-columns:1fr 1.1fr;gap:7px 5px;font-size:11px;margin:0}.as220-page .as220-railblock dt{color:#526b88}.as220-page .as220-railblock dd{margin:0;font-weight:650;text-align:right}
.as220-page .as220-room{padding:15px}.as220-page .as220-room-head{display:flex;justify-content:space-between;align-items:center;gap:6px}.as220-page .as220-room-head h2{margin:0;font-size:16px}.as220-page .as220-room-head p{font-size:11px;color:#647e9a}.as220-page .as220-live{color:#117c60;font-size:10px}.as220-page .as220-live i{display:inline-block;border-radius:50%;height:7px;width:7px;background:#9badb8;margin-right:5px}.as220-page .as220-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0}.as220-page .as220-role{display:flex;gap:8px;border:1px solid #d9ebdf;background:#f7fdf8;border-radius:10px;padding:10px;min-width:0}.as220-page .as220-role-mark{font-size:30px;color:#079766}.as220-page .as220-role b{display:block;font-size:12px}.as220-page .as220-role small{display:block;color:#617e96;font-size:10px;line-height:1.5;margin:4px 0}.as220-page .as220-role em{font-size:10px;font-style:normal}.as220-page .as220-role em.offline{color:#9d6b42}.as220-page .as220-role em.online{color:#0b976e}.as220-page .as220-room h3{font-size:13px;border-bottom:1px solid #e5ebf4;padding-bottom:9px}.as220-page .as220-work-empty{background:#f4f8fc;border:1px dashed #b9cddc;padding:28px;border-radius:9px;text-align:center;color:#5d7892;line-height:1.65}.as220-page .as220-run-list{display:grid;gap:6px}.as220-page .as220-run-list>div{display:flex;justify-content:space-between;align-items:center;padding:8px;border:1px solid #e5edf4;border-radius:8px}.as220-page .as220-room-hint{color:#6b839d}
.as220-page .as220-timeline{display:grid;gap:9px;max-height:250px;overflow:auto}.as220-page .as220-timeline>div{border-left:2px solid #c7dceb;padding:4px 12px}.as220-page .as220-timeline span{font-size:10px;color:#7b8d9d}.as220-page .as220-timeline b{display:block}.as220-page .as220-timeline p{margin:4px 0;white-space:pre-wrap}.as220-page .as220-extra{display:grid;grid-template-columns:1fr 1fr;gap:5px}.as220-page .as220-extra>div{border-bottom:1px solid #edf2f8;padding:7px}.as220-page .as220-extra dt{font-size:10px;color:#7d91a4}.as220-page .as220-extra dd{margin:4px 0}.as220-page .as220-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.as220-page .as220-plan-grid>div{background:#f7faff;border:1px solid #e0eaf5;border-radius:9px;padding:10px}.as220-page .as220-plan-grid h3{margin:0 0 8px;font-size:12px}.as220-page .as220-plan-grid p{margin:5px 0}.as220-page .as220-plan-grid code{word-break:break-all}.as220-page .as220-nodata{font-size:12px;color:#6e849d;text-align:center;padding:23px 7px}.as220-page .as220-nodata.spacious{padding:65px 10px}.as220-page .as220-alert{border:1px solid #f0d399;color:#946016;background:#fff8e9;border-radius:8px;padding:9px 13px;margin-bottom:11px;font-size:11px}.as220-page .as220-footer{display:flex;justify-content:space-between;gap:10px;padding:10px 0;color:#738ba3;font-size:10px}.as220-page .as220-loading{padding:60px;text-align:center;grid-column:1/-1}.as220-page .as220-denied{padding:32px;max-width:620px;margin:30px auto}.as220-page .as220-denied b{font-size:20px}
@media(max-width:1330px){.as220-page .as220-root{grid-template-columns:195px minmax(0,1fr)}.as220-page .as220-main-grid{grid-template-columns:minmax(220px,.85fr) minmax(340px,1.35fr)}.as220-page .as220-right{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.as220-page .as220-top{flex-wrap:wrap}.as220-page .as220-counter-wrap{min-width:100%;width:100%}}
@media(max-width:850px){.as220-page .as220-root{display:block}.as220-page .as220-sidebar{min-height:auto}.as220-page .as220-sidehead,.as220-page .as220-side-bottom{display:none}.as220-page .as220-sidenav{display:flex;overflow-x:auto}.as220-page .as220-sidenav button{white-space:nowrap}.as220-page .as220-navdivider{display:none}.as220-page .as220-main-grid{grid-template-columns:1fr}.as220-page .as220-right{grid-column:auto;grid-template-columns:1fr}.as220-page .as220-counter-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.as220-page .as220-brand{min-width:0}}

/* POS-X R222: locked AI Support Center mockup alignment, scoped to this page only */
#page-content.as220-page{background:#f6f8fc}
.as220-page .as220-root{grid-template-columns:196px minmax(0,1fr);--as-ink:#14233d;--as-line:#dfe7f4;--as-muted:#66809a;font-size:12px}
.as220-page .as220-icon{vertical-align:middle;flex:0 0 auto}
.as220-page .as220-sidebar{background:linear-gradient(155deg,#004d3f 0%,#023b34 53%,#04322e 100%)}
.as220-page .as220-sidehead{min-height:80px;padding:14px 11px;gap:10px}
.as220-page .as220-sidehead b{font-size:12.5px;line-height:1.4}
.as220-page .as220-sidehead small{font-size:10px}
.as220-page .as220-side-icon{display:grid;place-items:center;min-width:28px;color:#b3ffe0}
.as220-page .as220-sidenav{gap:2px;padding:8px 7px}
.as220-page .as220-sidenav button{font-size:11.5px;min-height:37px;padding:7px 9px;border-radius:7px;gap:7px}
.as220-page .as220-sidenav button>span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;width:20px;color:#b5e8da}
.as220-page .as220-sidenav button.selected>span{color:#fff}
.as220-page .as220-sidenav button.sub{padding-left:16px;font-size:10.7px;min-height:32px}
.as220-page .as220-navdivider{margin:8px 5px 6px}
.as220-page .as220-team-nav{padding:4px 5px 5px;border:1px solid rgba(171,255,214,.36);border-radius:11px;background:rgba(14,146,104,.14);margin:1px -1px 5px}
.as220-page .as220-team-nav .as220-team-nav-title{font-size:12px;font-weight:800;color:#fff}
.as220-page .as220-team-nav .as220-team-nav-title.selected{box-shadow:inset 0 0 0 1px #89e4b7;background:#0b875d}
.as220-page .as220-team-nav-title small{margin-left:auto;color:#bdffe2;font-size:17px}
.as220-page .as220-team-nav button.sub{padding-left:23px}
.as220-page .as220-side-bottom{margin:12px 8px 12px;padding:9px 8px;border-radius:12px;background:#ffffff12}
.as220-page .as220-side-bottom .as220-avatar{min-width:40px;width:40px;height:40px;background:linear-gradient(135deg,#07966b,#0a5550);color:#e3fff5}
.as220-page .as220-side-bottom b{font-size:11px}.as220-page .as220-side-bottom small{font-size:10px;color:#d4efec}
.as220-page .as220-offline-dot{display:inline-block;width:7px;height:7px;background:#c2ced1;border-radius:100%;margin-right:4px}
.as220-page .as220-content{padding:13px 11px;min-width:0}
.as220-page .as220-top{gap:11px;margin-bottom:12px}
.as220-page .as220-brand{min-width:350px;gap:10px}
.as220-page .as220-brand>span{width:60px;height:60px;min-width:60px;border:1px solid #d9e6ff;color:#0865e4;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#eaf2ff,#d7e8ff)}
.as220-page .as220-brand h1{font-size:19px;color:#101e35;margin-bottom:5px}
.as220-page .as220-brand p{font-size:11.2px}
.as220-page .as220-counter-wrap{min-width:0;grid-template-columns:repeat(5,minmax(105px,1fr));gap:8px}
.as220-page .as220-counter{min-height:64px;gap:8px;border-radius:11px;border-color:#e3e9f5;box-shadow:0 2px 10px #244e7811;padding:8px 7px}
.as220-page .as220-counter-icon{width:35px;height:35px;min-width:35px;background:#eef3ff;color:#5172ad}
.as220-page .as220-counter small{font-size:10px;font-weight:700;color:#3f5276;white-space:normal;line-height:1.35}
.as220-page .as220-counter strong{font-size:21px;color:#0b162c}
.as220-page .as220-main-grid{grid-template-columns:minmax(286px,345px) minmax(0,1fr) minmax(280px,315px);min-height:730px;gap:10px}
.as220-page .as220-block{border:1px solid #dfe7f2;box-shadow:0 3px 16px rgba(24,56,96,.08);border-radius:13px}
.as220-page .as220-queue{padding:9px;min-height:720px}
.as220-page .as220-queue-tools{gap:7px}.as220-page .as220-search{height:42px;border:1px solid #cddbf0;gap:5px;padding:0 9px}.as220-page .as220-search>svg{color:#657a99}
.as220-page .as220-search input{font-size:11.3px;padding:9px 2px}.as220-page .as220-queue-tools button{border-color:#cbd9eb;padding:0 11px;display:grid;place-items:center}
.as220-page .as220-tabs{margin:11px 0 10px;gap:5px}.as220-page .as220-tabs button{min-height:37px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:11.3px;background:#f0f4fa}
.as220-page .as220-tabs button.active{background:linear-gradient(135deg,#007b53,#009e68);color:#fff}
.as220-page .as220-source-filter{display:none;margin-bottom:9px}.as220-page .as220-source-filter.expanded{display:block}
.as220-page .as220-source-filter select{height:36px}
.as220-page .as220-ticket-scroll{margin-top:4px;max-height:none;min-height:170px;flex:1}
.as220-page .as220-ticket{border:1px solid transparent;border-bottom-color:#e5ebf3;border-radius:9px;padding:13px 9px;gap:9px}
.as220-page .as220-ticket.active{border:1.5px solid #35bb84;background:#ecfbf4;box-shadow:0 1px 5px #36a87518}
.as220-page .as220-ticket-top b{font-size:14px;color:#0869d1}.as220-page .as220-ticket-top small{font-size:10.5px}
.as220-page .as220-ticket>strong{font-size:12px;color:#1d2536}
.as220-page .as220-badge{font-size:10.5px;font-weight:800;padding:5px 8px}
.as220-page .as220-queue-foot{color:#384d75;font-size:11px;padding:10px 6px 5px}
.as220-page .as220-queue-foot small{font-size:9.5px}
.as220-page .as220-pages{display:flex;justify-content:center;gap:5px;margin:10px 0}
.as220-page .as220-pages button{border:1px solid #d1daeb;border-radius:6px;padding:3px 9px;background:#fff;color:#496383}
.as220-page .as220-pages button.current{background:#008653;color:#fff;border-color:#008653}
.as220-page .as220-middle{padding:10px 11px;gap:8px;min-width:0}
.as220-page .as220-ticket-heading{border-bottom:1px solid #e2e8f2;padding-bottom:8px;position:relative}
.as220-page .as220-ticket-heading>div:first-child{display:flex;gap:9px;align-items:center}
.as220-page .as220-heading-mark{color:#00a36e;background:#e5f8ed;width:34px;height:34px;border-radius:9px;display:grid;place-items:center}
.as220-page .as220-ticket-heading strong{font-size:19px;color:#0866cf;white-space:nowrap}
.as220-page .as220-heading-actions{display:flex;align-items:center;gap:5px;position:relative}
.as220-page .as220-heading-actions>button{padding:6px 7px;display:flex;align-items:center;gap:5px;font-size:10.5px;color:#273d65;border:1px solid #cdd8ea;background:#fff;border-radius:7px}
.as220-page .as220-more-menu{position:absolute;z-index:9;right:0;top:36px;width:170px;display:grid;background:white;border:1px solid #d5e2f1;box-shadow:0 8px 22px #2d405733;border-radius:9px;padding:5px}
.as220-page .as220-more-menu button{border:0;text-align:left;background:transparent;padding:9px 10px;border-radius:5px;font-size:11px;color:#324769;cursor:pointer}.as220-page .as220-more-menu button:hover{background:#eff6fd}
.as220-page .as220-info{padding:9px 12px;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f0f4fc}
.as220-page .as220-info-half{display:grid;gap:6px;min-width:0}
.as220-page .as220-info-half+.as220-info-half{border-left:1px solid #d6deed;padding-left:12px}
.as220-page .as220-info .as220-info-half p{display:grid;grid-template-columns:91px minmax(0,1fr);gap:7px;align-items:center;margin:0;min-height:19px;font-size:11.4px}
.as220-page .as220-info label{font-weight:700;color:#24405f;display:inline-flex;align-items:center;gap:6px}
.as220-page .as220-info label svg{color:#07965d}
.as220-page .as220-info b{font-weight:650;color:#1d2c46;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.as220-page .as220-request{gap:5px;padding:5px 2px}.as220-page .as220-request p{grid-template-columns:116px minmax(0,1fr);gap:6px;line-height:1.6;font-size:11.3px;color:#18263e}
.as220-page .as220-request strong{color:#273954}.as220-page .as220-request span{word-break:break-word}
.as220-page .as220-fileline{padding:7px 2px;gap:19px;align-items:center;font-size:11px}
.as220-page .as220-fileline strong{color:#122b49}
.as220-page .as220-fileline span{display:flex;gap:6px;align-items:center}
.as220-page .as220-pane-tabs{gap:5px;margin:1px 0 0}
.as220-page .as220-pane-tabs button{display:flex;justify-content:center;align-items:center;gap:3px;min-width:0;padding:8px 4px;font-size:11px;line-height:1.25}
.as220-page .as220-pane-tabs button.active{background:linear-gradient(110deg,#007b51,#009465)}
.as220-page .as220-bodypane{min-height:0}
.as220-page .as220-analysis-shell{border:1px solid #bcd3ff;background:linear-gradient(180deg,#f9fbff,#fff);border-radius:12px;padding:9px;display:grid;gap:8px}
.as220-page .as220-analysis-title{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:800;color:#172b48}
.as220-page .as220-ai-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#175be5;background:#dfeaff;border:1px solid #c8dcff}
.as220-page .as220-analysis-title small{font-size:10px;font-weight:500;color:#5e7395;margin-left:auto;white-space:nowrap}
.as220-page .as220-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.as220-page .as220-analysis-grid section{background:linear-gradient(135deg,#e8faef,#f4fdf8);padding:10px 10px 11px;min-height:100px;max-height:230px;overflow:auto}
.as220-page .as220-analysis-grid section:nth-child(2){background:linear-gradient(135deg,#e8f1ff,#f2f7ff)}
.as220-page .as220-analysis-grid h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:12.2px;color:#12673e}
.as220-page .as220-analysis-grid section:nth-child(2) h3{color:#1456b2}
.as220-page .as220-analysis-grid p{line-height:1.5;color:#37506b;font-size:10.7px;margin:3px 0}
.as220-page .as220-analysis-grid .as220-placeholder{color:#1a3454;font-weight:750}
.as220-page .as220-analysis-grid ol,.as220-page .as220-analysis-grid ul{padding-left:20px;margin:3px 0;line-height:1.5;font-size:11px;color:#2b3e59}
.as220-page .as220-testplan{margin-top:0;background:linear-gradient(90deg,#f1eafa,#f6efff);padding:10px;border-radius:9px}
.as220-page .as220-testplan h3{display:flex;align-items:center;gap:7px;font-size:12px;color:#6235ad;margin:0 0 6px}
.as220-page .as220-testplan p{font-size:11px;line-height:1.5;color:#4c3d6d}
.as220-page .as220-workflow-room{margin-top:0;padding:9px;background:linear-gradient(145deg,#f1fff9,#e7fbf3);border:1px solid #66cda1;display:block;border-radius:11px}
.as220-page .as220-workspace-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.as220-page .as220-workspace-symbol{width:38px;height:38px;border-radius:11px;background:#068e61;color:#fff;display:grid;place-items:center;flex:0 0 auto}
.as220-page .as220-room-title{flex:1;min-width:0}.as220-page .as220-room-title b{font-size:14px;color:#132c29}.as220-page .as220-room-title small{font-size:10px;display:block;color:#587f70;line-height:1.4}
.as220-page .as220-parked{padding:5px 7px;border-radius:6px;white-space:nowrap;font-size:10px;color:#785921;background:#fff0d4;border:1px solid #f2d1a0}
.as220-page .as220-team-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:7px}
.as220-page .as220-team-card{display:flex;align-items:center;gap:8px;min-width:0;background:white;border:1px solid #bce5d5;border-radius:9px;padding:7px}
.as220-page .as220-team-card:nth-child(2){border-color:#d6c9ff}.as220-page .as220-team-card:nth-child(3){border-color:#c4dcfd}
.as220-page .as220-team-icon{color:#079a6a;background:#e5f7ef;padding:5px;border-radius:9px;display:grid;place-items:center}
.as220-page .as220-team-card:nth-child(2) .as220-team-icon{color:#7143c6;background:#f4eeff}.as220-page .as220-team-card:nth-child(3) .as220-team-icon{color:#2863d9;background:#e7f0ff}
.as220-page .as220-team-card>div{min-width:0;flex:1}.as220-page .as220-team-card b{font-size:10.5px;display:block;white-space:nowrap}.as220-page .as220-team-card small{font-size:9.5px;display:block;color:#647687;white-space:nowrap}
.as220-page .as220-team-card em{width:8px;height:8px;border-radius:50%;background:#abbcc6;flex:0 0 auto}.as220-page .as220-team-card em.online{background:#18a76e}
.as220-page .as220-flow-label{font-size:10.5px;font-weight:800;color:#173a33;margin:6px 1px}
.as220-page .as220-ai-pipeline{display:flex;align-items:stretch;gap:4px;margin:0 0 7px;background:#ffffffa3;border:1px solid #e2f1eb;border-radius:9px;padding:6px 5px}
.as220-page .as220-pipeline-step{min-width:0;display:flex;align-items:center;gap:6px;background:#f8fbff;border:1px solid #d9e8ef;border-radius:9px;padding:6px 5px;flex:1}
.as220-page .as220-pipeline-step.support{background:#effaf1;border-color:#ccebd2}.as220-page .as220-pipeline-step.developer{background:#f5ebff;border-color:#dec7ff}
.as220-page .as220-pipeline-step>span{color:#11965d}.as220-page .as220-pipeline-step.developer>span{color:#8034c7}.as220-page .as220-pipeline-step b{display:block;font-size:9.7px;line-height:1.4}.as220-page .as220-pipeline-step small{display:block;font-size:8.9px;color:#71819a}
.as220-page .as220-pipeline-arrow{display:flex;align-items:center;color:#8096aa}.as220-page .as220-pipeline-arrow svg{width:13px}
.as220-page .as220-workspace-bottom{display:grid;grid-template-columns:1.25fr .9fr;gap:7px}
.as220-page .as220-team-log,.as220-page .as220-team-deliverables{background:#f4ebff;border-radius:9px;padding:7px 9px;min-width:0}
.as220-page .as220-team-deliverables{background:#edf4fb}
.as220-page .as220-workspace-bottom h4{display:flex;align-items:center;gap:6px;margin:0 0 6px;font-size:10.9px;color:#6534af}
.as220-page .as220-team-deliverables h4{color:#255f96}
.as220-page .as220-workspace-bottom p{margin:3px 0;line-height:1.45;font-size:10px;word-break:break-word}
.as220-page .as220-main-actions{display:flex;gap:8px}
.as220-page .as220-main-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 6px;font-size:11.5px;font-weight:750}
.as220-page .as220-main-actions .as220-outline{background:#fff;border:1px solid #a5b8d6;color:#283c69;cursor:pointer}
.as220-page .as220-main-actions .as220-work-disabled{background:#087a55;border:1px solid #087a55;color:white;opacity:.72;cursor:not-allowed}
.as220-page .as220-right{gap:9px}.as220-page .as220-railblock{padding:10px 11px}
.as220-page .as220-railblock h3{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#13263f;padding-bottom:10px;margin-bottom:10px}
.as220-page .as220-rail-icon{color:#07965d;background:#eaf9ef;border-radius:7px;width:30px;height:30px;display:grid;place-items:center}
.as220-page .as220-steps>div{min-height:45px;padding:0 0 12px;gap:8px}
.as220-page .as220-steps>div>span{width:26px;height:26px;border-radius:50%;font-size:11px}
.as220-page .as220-steps>div:not(:last-child):before{left:13px;top:23px}
.as220-page .as220-steps>div.current{background:#fff4e5;padding-top:5px;margin-bottom:5px;padding-left:5px}
.as220-page .as220-steps p{font-size:11px;margin:3px 0 0}.as220-page .as220-steps small{font-size:10px}
.as220-page .as220-action{display:flex;align-items:center;justify-content:center;gap:7px;min-height:37px;margin-bottom:7px;font-size:11.6px;transition:none}
.as220-page .as220-action.primary{background:#078455;color:#fff;border-color:#078455}
.as220-page .as220-action.reject{border-color:#f4a6a6;color:#c33b3b;background:#fff5f6}
.as220-page .as220-action.outline{border-color:#b9cef3;color:#2567b6;background:#eff5ff}
.as220-page .as220-action.extra{border-color:#bdb3fa;color:#7640c5;background:#f8f5ff;cursor:pointer}
.as220-page .as220-action:disabled{opacity:.75;cursor:not-allowed}
.as220-page .as220-action-note{font-size:10px;color:#82642c;display:flex;align-items:start;gap:5px;line-height:1.45}
.as220-page .as220-railblock dl{font-size:10.8px;grid-template-columns:1fr 1fr;gap:10px 3px}
.as220-page .as220-railblock dd{overflow-wrap:anywhere;color:#1a2941}
.as220-page .as220-footer{font-size:10px}
/* print only the selected ticket, never hidden browser UI */
@media print{body *{visibility:hidden!important}#page-content.as220-page,#page-content.as220-page .as220-middle,#page-content.as220-page .as220-middle *{visibility:visible!important}#page-content.as220-page .as220-middle{position:absolute;left:0;top:0;width:100%;border:0;box-shadow:none}#page-content.as220-page .as220-heading-actions,#page-content.as220-page .as220-main-actions{display:none!important}}
@media(max-width:1450px){.as220-page .as220-root{grid-template-columns:184px minmax(0,1fr)}.as220-page .as220-main-grid{grid-template-columns:minmax(245px,.75fr) minmax(0,1.5fr) minmax(252px,.85fr)}.as220-page .as220-counter-wrap{grid-template-columns:repeat(5,minmax(85px,1fr))}.as220-page .as220-brand{min-width:275px}.as220-page .as220-brand h1{font-size:17px}.as220-page .as220-counter-icon{width:30px;height:30px;min-width:30px}.as220-page .as220-counter{padding:7px 5px;gap:5px}.as220-page .as220-team-cards{gap:4px}.as220-page .as220-team-card{gap:4px;padding:5px}.as220-page .as220-team-icon{padding:4px}.as220-page .as220-ai-pipeline{gap:2px}.as220-page .as220-pipeline-step{padding:5px 3px;gap:3px}}
@media(max-width:1180px){.as220-page .as220-top{flex-wrap:wrap}.as220-page .as220-counter-wrap{width:100%;grid-template-columns:repeat(5,minmax(0,1fr))}.as220-page .as220-main-grid{grid-template-columns:minmax(245px,.85fr) minmax(0,1.35fr)}.as220-page .as220-right{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.as220-page .as220-root{display:block}.as220-page .as220-main-grid{grid-template-columns:1fr}.as220-page .as220-right{grid-column:auto;grid-template-columns:1fr}.as220-page .as220-sidebar .as220-team-nav{display:contents}.as220-page .as220-content{padding:10px}.as220-page .as220-top{gap:8px}.as220-page .as220-counter-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.as220-page .as220-sidenav{display:flex;overflow-x:auto;gap:5px}.as220-page .as220-sidenav button{white-space:nowrap}}
@media(max-width:520px){.as220-page .as220-brand{min-width:0}.as220-page .as220-brand h1{font-size:16px}.as220-page .as220-analysis-grid,.as220-page .as220-info,.as220-page .as220-workspace-bottom{grid-template-columns:1fr}.as220-page .as220-info-half+.as220-info-half{border-left:0;border-top:1px solid #d6deed;padding-left:0;padding-top:8px}.as220-page .as220-workspace-head{flex-wrap:wrap}.as220-page .as220-team-cards{grid-template-columns:1fr}.as220-page .as220-ai-pipeline{flex-wrap:wrap}.as220-page .as220-pipeline-step{min-width:43%}.as220-page .as220-main-actions{flex-direction:column}.as220-page .as220-queue{min-height:380px}.as220-page .as220-ticket-scroll{max-height:340px}.as220-page .as220-ticket-heading{flex-wrap:wrap}.as220-page .as220-analysis-title{flex-wrap:wrap}.as220-page .as220-analysis-title small{width:100%;margin-left:0}}
/* R224: exact-layout refinement against owner-approved 1648px AI Support mockup.
   Page-scoped only. No POS-X shared navigation, backend, or business module changes. */
#page-content.as220-page{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;background:#f5f7fd!important;overflow-x:clip;box-sizing:border-box}
.as220-page .as220-root{grid-template-columns:235px minmax(0,1fr);font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif;font-size:13.5px;--as-ink:#132741;--as-line:#dce5f4;--as-green:#007e56;min-height:calc(100dvh - 58px)}
.as220-page .as220-root *{box-sizing:border-box}
.as220-page button{font-family:inherit;letter-spacing:0;cursor:pointer}
.as220-page .as220-sidebar{background:linear-gradient(155deg,#004c3f 0%,#063d35 53%,#07372f 100%);min-height:740px}
.as220-page .as220-sidehead{min-height:85px;gap:13px;padding:17px 17px 15px;border-bottom:1px solid rgba(255,255,255,.14)}
.as220-page .as220-side-icon{width:33px;color:#e0faf3}.as220-page .as220-sidehead b{font-size:14px;color:#f7fffc;line-height:1.45}.as220-page .as220-sidehead small{font-size:11px;color:#b4dcd1;margin-top:2px}
.as220-page .as220-sidenav{display:flex;flex-direction:column;gap:5px;padding:13px 6px 0}
.as220-page .as220-sidenav button{border:0;min-height:41px;border-radius:8px;background:transparent;color:#ebf9f4;text-align:left;display:flex;align-items:center;gap:12px;padding:8px 17px;font-size:13.5px;font-weight:550;white-space:nowrap}
.as220-page .as220-sidenav button strong{font-size:inherit;font-weight:inherit;overflow:hidden;text-overflow:ellipsis}
.as220-page .as220-sidenav button>span{display:grid;place-items:center;min-width:22px;width:22px;color:#def6ed}
.as220-page .as220-sidenav button:hover{background:#ffffff16}
.as220-page .as220-sidenav button.selected{background:linear-gradient(105deg,#079e70,#087858);color:#fff;font-weight:800;box-shadow:0 2px 6px #002e251c}
.as220-page .as220-sidenav button.selected>span{color:#fff}
.as220-page .as220-sidenav em{border-radius:5px;min-width:25px;text-align:center;font-size:11px;padding:3px 5px;background:#e5f2fe;color:#164d77}
.as220-page .as220-sidenav button[data-as-tab="fixapproval"] em{background:#ffe6b0;color:#8b5311}
.as220-page .as220-navdivider{height:1px;background:#e7fbf341;display:block;margin:11px 9px 10px}
.as220-page .as220-side-bottom{margin:auto 11px 15px;min-height:111px;padding:12px 10px;gap:11px;border:1px solid #ffffff2c;border-radius:12px;background:#ffffff14;align-items:center}
.as220-page .as220-side-bottom .as220-avatar{width:76px;height:76px;min-width:76px;border-radius:50%;color:#bfffea;background:radial-gradient(circle at 48% 38%,#23d39b,#065b4a 68%,#043d33);border:1px solid #53e6ba4d;box-shadow:0 2px 10px #08372e80}
.as220-page .as220-side-bottom b{font-size:14px;color:#fff;line-height:1.4}.as220-page .as220-side-bottom small{font-size:10.5px;color:#d5eee8;margin-top:7px}.as220-page .as220-offline-dot{background:#ffcb69;vertical-align:middle;width:8px;height:8px}
.as220-page .as220-content{padding:13px 13px 12px;min-width:0}
.as220-page .as220-top{height:67px;display:flex;align-items:center;gap:14px;margin-bottom:13px;flex-wrap:nowrap}
.as220-page .as220-brand{gap:14px;min-width:460px;flex:1}
.as220-page .as220-brand>span{width:63px;height:63px;min-width:63px;border-radius:14px;color:#0668e9;border:1px solid #dce8fe;background:#e9f1ff}
.as220-page .as220-brand h1{font-size:20px;line-height:1.3;font-weight:800;color:#14223b;margin:0 0 5px}
.as220-page .as220-brand p{font-size:12px;color:#596c8a;font-weight:500}
.as220-page .as220-counter-wrap{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0;flex:1.6}
.as220-page .as220-counter{min-height:64px;border:1px solid #e0e5f1;border-radius:11px;padding:7px 10px;gap:9px;box-shadow:0 4px 14px #142e4d12}
.as220-page .as220-counter-icon{height:42px;width:42px;min-width:42px;font-size:26px;color:#5376a6;border-radius:9px}
.as220-page .as220-counter small{font-size:11px;color:#455774;line-height:1.2;font-weight:700;white-space:normal}
.as220-page .as220-counter strong{font-size:22px;line-height:1.1;color:#131e31}
.as220-page .as220-main-grid{display:grid;grid-template-columns:minmax(305px,350px) minmax(0,1fr) minmax(292px,328px);gap:11px;min-height:759px;align-items:stretch}
.as220-page .as220-block{background:#fff;border:1px solid #e0e7f2;border-radius:15px;box-shadow:0 4px 16px #132b4910}
.as220-page .as220-queue{min-height:759px;padding:13px 9px;display:flex;flex-direction:column}
.as220-page .as220-queue-tools{gap:10px}.as220-page .as220-search{height:42px;border:2px solid #d7e1f0;border-radius:10px;gap:8px;padding:0 10px;min-width:0}
.as220-page .as220-search>svg{color:#597899}.as220-page .as220-search input{border:0!important;outline:0!important;font-size:12.5px;min-width:0;background:transparent;padding:0 2px;width:100%}
.as220-page .as220-queue-tools button{min-width:45px;min-height:42px;border:2px solid #d7e1f0;color:#1d365b;border-radius:10px}
.as220-page .as220-tabs{margin:13px 0 15px;gap:7px}
.as220-page .as220-tabs button{height:40px;min-height:40px;font-size:12px;border:0;border-radius:8px;color:#425470;background:#eff2f9;padding:5px}
.as220-page .as220-tabs button.active{background:#008657;color:#fff;font-weight:800}
.as220-page .as220-source-filter select{font-size:12px;height:38px}
.as220-page .as220-ticket-scroll{max-height:none;min-height:0;overflow-y:auto;flex:1;margin-top:0;padding:0 1px}
.as220-page .as220-ticket{padding:13px 11px;gap:8px;border-radius:9px;background:#fff;border:1px solid transparent;border-bottom-color:#e8edf7;min-height:98px}
.as220-page .as220-ticket.active{background:#eefaf4;border:1.8px solid #22b36e;box-shadow:0 3px 7px #18a26c14}
.as220-page .as220-ticket-top b{font-size:15px;font-weight:800;color:#0064d8}
.as220-page .as220-ticket-top small{font-size:11px;color:#627c9a}
.as220-page .as220-ticket-sub{min-height:24px}.as220-page .as220-ticket>strong{font-size:12.8px;font-weight:700;color:#111b2b}
.as220-page .as220-source{font-size:11px;border-radius:6px;min-height:23px;padding:4px 8px}
.as220-page .as220-badge{font-size:11.3px;border-radius:6px;padding:4px 9px}
.as220-page .as220-queue-foot{margin-top:auto;padding:11px 5px 4px;display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:12px;color:#273d5d}
.as220-page .as220-queue-foot>span{display:block;padding-left:2px}
.as220-page .as220-queue-foot>small{font-size:10.5px;color:#8498af;text-align:center}
.as220-page .as220-pages{display:flex;justify-content:center;gap:6px;margin:2px 0 0}
.as220-page .as220-pages button{font-size:12px;min-height:30px;min-width:30px;padding:3px 8px;border:1.5px solid #d2dbea;border-radius:7px}
.as220-page .as220-pages button.current{background:#008755;color:white;border-color:#008755}
.as220-page .as220-pages button:disabled:not(.current){color:#9babbd;background:#f6f8fb;cursor:not-allowed}
.as220-page .as220-middle{padding:11px 13px 12px;gap:9px;display:flex;flex-direction:column;min-width:0}
.as220-page .as220-ticket-heading{padding:0 0 8px;border-bottom:1px solid #e2e9f3;gap:7px;min-height:45px}
.as220-page .as220-ticket-heading>div:first-child{gap:10px;min-width:0}
.as220-page .as220-heading-mark{height:33px;width:33px;min-width:33px;border-radius:8px;background:#e8faef;color:#009b60}
.as220-page .as220-ticket-heading strong{font-size:20px;white-space:nowrap;color:#0864d5}
.as220-page .as220-heading-actions{display:flex;gap:7px;align-items:center}
.as220-page .as220-heading-actions>button{font-size:12px;min-height:33px;padding:5px 10px;border:1.5px solid #d0daec;border-radius:8px;white-space:nowrap;color:#33476c}
.as220-page .as220-info{background:#f1f5fd;padding:10px 13px;border-radius:10px;grid-template-columns:1.15fr 1fr;gap:14px}
.as220-page .as220-info-half{gap:7px}.as220-page .as220-info-half+.as220-info-half{padding-left:14px;border-left:1px solid #dce4f0}
.as220-page .as220-info .as220-info-half p{font-size:12.5px;grid-template-columns:105px minmax(0,1fr);gap:9px;min-height:20px}
.as220-page .as220-info label{font-weight:700;color:#23354d}
.as220-page .as220-info b{font-weight:700;color:#1c283a}
.as220-page .as220-request{padding:3px 5px 5px;gap:5px}
.as220-page .as220-request p{grid-template-columns:108px minmax(0,1fr);font-size:12.6px;line-height:1.5;gap:13px}
.as220-page .as220-request strong{font-weight:750}
.as220-page .as220-fileline{min-height:42px;padding:8px 4px;gap:15px;border-bottom:1px solid #e4eaf3;border-top:1px solid #e4eaf3;font-size:12px;align-items:center}
.as220-page .as220-fileline>strong{min-width:99px}
.as220-page .as220-attachment-chips{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
.as220-page .as220-attachment-chips button{background:#f8faff;border:1px solid #d5e0f0;color:#273e66;border-radius:7px;padding:5px 8px;font-size:11.5px;display:inline-flex;gap:7px;align-items:center}
.as220-page .as220-pane-tabs{gap:7px;margin-top:1px}
.as220-page .as220-pane-tabs button{height:40px;min-height:40px;border:0;border-radius:8px;background:#f0f3f9;color:#344967;padding:7px 5px;font-size:12.2px;display:flex;align-items:center;justify-content:center}
.as220-page .as220-pane-tabs button.active{background:#007f51;color:#fff;font-weight:750}
.as220-page .as220-bodypane{flex:1;min-height:0}
.as220-page .as220-analysis-shell{background:#fbfcff;border:1.5px solid #c7dafa;border-radius:14px;padding:10px;display:grid;gap:9px;min-height:300px}
.as220-page .as220-analysis-title{min-height:37px;gap:11px;font-size:16px;font-weight:800;color:#162238}
.as220-page .as220-analysis-title small{font-size:11px;margin-left:auto;color:#576a8d;font-weight:500;text-align:right}
.as220-page .as220-ai-avatar{width:43px;height:43px;border-radius:50%;background:#dfeaff;color:#195cdb;border:1.5px solid #bfd7fc}
.as220-page .as220-analysis-grid{gap:9px;grid-template-columns:1fr 1fr}
.as220-page .as220-analysis-grid section{padding:12px;min-height:130px;border-radius:12px;max-height:none;overflow:visible}
.as220-page .as220-analysis-grid section:nth-child(1){background:linear-gradient(120deg,#eaf8f0,#f2faf4)}
.as220-page .as220-analysis-grid section:nth-child(2){background:linear-gradient(120deg,#e9f2ff,#f3f7ff)}
.as220-page .as220-analysis-grid h3{margin:0 0 9px;font-size:14px;font-weight:800;gap:7px}
.as220-page .as220-analysis-grid p,.as220-page .as220-analysis-grid ol,.as220-page .as220-analysis-grid ul{font-size:12.2px;line-height:1.5;color:#243a55}
.as220-page .as220-analysis-grid .as220-placeholder{font-size:12.3px;font-weight:700}
.as220-page .as220-testplan{background:linear-gradient(90deg,#f2eafb,#f6f1ff);padding:11px 13px;border-radius:10px;min-height:84px}
.as220-page .as220-testplan h3{font-size:13.3px;margin:0 0 9px;color:#6738b2;font-weight:800}
.as220-page .as220-testplan p{font-size:12px;line-height:1.5}
.as220-page .as220-main-actions{display:flex;gap:13px;margin-top:0;align-items:stretch}
.as220-page .as220-main-actions button{min-height:41px;font-size:13px;flex:1;font-weight:800;border-radius:8px;padding:8px 11px}
.as220-page .as220-main-actions .as220-outline{background:#fff;border:1.5px solid #9bafd0;color:#273d69}
.as220-page .as220-main-actions .as220-work-disabled{background:#00804e;opacity:1;color:#fff;border:1.5px solid #00804e;cursor:not-allowed}
.as220-page .as220-right{display:flex;flex-direction:column;gap:11px;min-width:0}
.as220-page .as220-railblock{padding:12px 14px;border-radius:15px}
.as220-page .as220-railblock h3{font-size:14px;min-height:35px;font-weight:800;margin:0 0 10px;padding-bottom:11px;gap:10px;border-bottom:1px solid #e2e8f2}
.as220-page .as220-rail-icon{width:33px;height:33px;min-width:33px;background:#dff6e8;border-radius:8px;color:#008857}
.as220-page .as220-steps>div{min-height:51px;gap:10px;padding:0 0 13px}
.as220-page .as220-steps>div>span{width:26px;height:26px;font-size:12px;border:2px solid #bdc8d8;background:#fff;color:#8090a5}
.as220-page .as220-steps>div:not(:last-child):before{left:12px;top:25px;border-left:2px solid #d3dbe5}
.as220-page .as220-steps p{font-size:12.6px;font-weight:700;color:#26364d;margin:3px 0 0;line-height:1.35}
.as220-page .as220-steps small{font-size:11px;margin-top:4px;color:#8699ab}
.as220-page .as220-steps>div.complete>span{border-color:#00955b;background:#00955b;color:#fff}
.as220-page .as220-steps>div.current{background:linear-gradient(90deg,#fff0da,#fff6e7);border-radius:10px;margin:0 -6px 5px -6px;padding:6px 7px 12px;min-height:52px}
.as220-page .as220-steps>div.current>span{border:2px solid #e77c00;background:#fffdf8;color:#bf5d00}
.as220-page .as220-steps>div.current p{color:#c45803}
.as220-page .as220-action{min-height:42px;margin-bottom:9px;border-radius:8px;font-weight:800;font-size:12.8px;gap:8px}
.as220-page .as220-action.primary{background:#00824d;border-color:#00824d;opacity:1}
.as220-page .as220-action.reject{background:#fff6f5;border:1.5px solid #f5a5a1;color:#b91d1a;opacity:1}
.as220-page .as220-action.outline{background:#f2f7ff;border:1.5px solid #bcd3ff;color:#145bc2;opacity:1}
.as220-page .as220-action.extra{background:#f6f2ff;border:1.5px solid #c5a5ff;color:#6f36c5}
.as220-page .as220-action-note{font-size:10px;color:#826841;line-height:1.4;margin-top:7px}
.as220-page .as220-railblock dl{grid-template-columns:1.15fr 1fr;font-size:12.2px;gap:12px 8px;margin:0}
.as220-page .as220-railblock dd{font-weight:700;color:#17263b}
.as220-page .as220-room{padding:18px;min-height:480px}.as220-page .as220-room h2{font-size:21px}
.as220-page .as220-roles{margin:22px 0}.as220-page .as220-role{padding:14px;border-radius:10px}
.as220-page .as220-role b{font-size:15px}.as220-page .as220-role small{font-size:12px}.as220-page .as220-role em{font-size:11px}
.as220-page .as220-footer{font-size:10px;color:#8a9bab;padding:9px 0}
@media(max-width:1540px){.as220-page .as220-root{grid-template-columns:217px minmax(0,1fr)}.as220-page .as220-content{padding:12px}.as220-page .as220-main-grid{grid-template-columns:minmax(255px,29%) minmax(0,1fr) minmax(270px,25%);gap:9px}.as220-page .as220-brand{min-width:355px}.as220-page .as220-brand h1{font-size:18px}.as220-page .as220-counter-wrap{gap:7px}.as220-page .as220-counter{padding:6px;gap:6px}.as220-page .as220-counter-icon{min-width:34px;width:34px;height:37px}.as220-page .as220-counter small{font-size:10px}.as220-page .as220-info .as220-info-half p{grid-template-columns:86px minmax(0,1fr);font-size:11.5px}}
@media(max-width:1240px){.as220-page .as220-top{height:auto;flex-wrap:wrap}.as220-page .as220-counter-wrap{width:100%;flex:1 0 100%}.as220-page .as220-main-grid{grid-template-columns:minmax(250px,35%) minmax(0,1fr);gap:10px}.as220-page .as220-right{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.as220-page .as220-sidebar{min-height:0}}
@media(max-width:900px){.as220-page .as220-root{display:block}.as220-page .as220-sidebar{min-height:auto}.as220-page .as220-sidehead,.as220-page .as220-side-bottom{display:none}.as220-page .as220-sidenav{flex-direction:row;overflow-x:auto;padding:8px;gap:4px}.as220-page .as220-sidenav button{white-space:nowrap;padding:8px 11px;min-width:max-content}.as220-page .as220-navdivider{display:none}.as220-page .as220-main-grid{grid-template-columns:1fr}.as220-page .as220-right{grid-column:auto;grid-template-columns:1fr}.as220-page .as220-content{padding:12px}.as220-page .as220-counter-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.as220-page .as220-queue{min-height:350px}.as220-page .as220-middle{min-height:600px}}
@media(max-width:560px){.as220-page .as220-brand{min-width:0}.as220-page .as220-brand h1{font-size:16px}.as220-page .as220-brand>span{width:48px;height:48px;min-width:48px}.as220-page .as220-info,.as220-page .as220-analysis-grid{grid-template-columns:1fr}.as220-page .as220-info-half+.as220-info-half{border-left:0;border-top:1px solid #dce4f0;padding:9px 0 0}.as220-page .as220-pane-tabs{overflow-x:auto}.as220-page .as220-pane-tabs button{min-width:140px}.as220-page .as220-main-actions{flex-direction:column}.as220-page .as220-ticket-heading{flex-wrap:wrap}}
/* R224 second-pass vertical geometry: match 149–909 mockup ticket surface at 1648px. */
@media(min-width:1541px){
 .as220-page .as220-main-grid{min-height:759px}
 .as220-page .as220-queue{min-height:759px}
 .as220-page .as220-middle{min-height:759px}
 .as220-page .as220-info{min-height:90px;align-content:center}
 .as220-page .as220-info-half{gap:9px}
 .as220-page .as220-request{min-height:96px;align-content:center;gap:7px}
 .as220-page .as220-fileline{min-height:50px}
 .as220-page .as220-analysis-shell{min-height:310px}
 .as220-page .as220-railblock h3{min-height:28px;margin-bottom:5px;padding-bottom:6px;font-size:13.4px}
 .as220-page .as220-railblock{padding:11px 13px}
 .as220-page .as220-rail-icon{height:28px;width:28px;min-width:28px}
 .as220-page .as220-steps>div{min-height:43px;padding-bottom:7px;gap:8px}
 .as220-page .as220-steps>div.current{min-height:44px;padding:4px 6px 7px;margin-bottom:3px}
 .as220-page .as220-steps p{font-size:11.7px;line-height:1.2;margin:3px 0 0}
 .as220-page .as220-steps small{font-size:10px;margin-top:3px}
 .as220-page .as220-action{min-height:37px;margin-bottom:6px;font-size:12px}
 .as220-page .as220-action-note{display:none}
}
@media(min-width:1541px){
 .as220-page .as220-action{height:38px;min-height:38px;padding:5px 8px;line-height:1.2}
 .as220-page .as220-railblock:last-child{padding-top:9px;padding-bottom:9px}
 .as220-page .as220-railblock:last-child dl{gap:8px 6px}
}
@media(min-width:1541px){.as220-page .as220-bodypane{flex:0 0 auto}}
@media(min-width:1541px){
 .as220-page .as220-ticket{padding:9px 10px;gap:6px;min-height:95px}
}
/* Remove only the shared workspace gutter while the dedicated AI Support page is active. */
body:has(#page-content.as220-page) #app .workspace,
body:has(#page-content.as220-page) .workspace{padding:0!important;max-width:none!important}

/* R226: Fix nested metadata grid collision. Each half contains THREE full-width rows.
   R224 mistakenly assigned 2 columns to the half itself, so <p> fields landed side-by-side,
   producing the overlapping "ระบบต้นทาง บริษัท" line and hiding branch/date.
   Scoped strictly to the AI Support Center metadata panel. */
.as220-page .as220-info > .as220-info-half {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}
.as220-page .as220-info .as220-info-half > p {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 22px;
  margin: 0;
  font-size: 12.5px;
}
.as220-page .as220-info .as220-info-half > p > label {
  min-width: 0;
  white-space: nowrap;
  margin: 0;
}
.as220-page .as220-info .as220-info-half > p > b,
.as220-page .as220-info .as220-info-half > p > .as220-source {
  min-width: 0;
  max-width: 100%;
  justify-self: start;
}
@media (max-width: 1540px) {
 .as220-page .as220-info .as220-info-half > p {
   grid-template-columns: 86px minmax(0,1fr);
   gap: 7px;
   font-size: 11.5px;
 }
}
@media (max-width: 560px) {
 .as220-page .as220-info .as220-info-half > p {
   grid-template-columns: 105px minmax(0,1fr);
 }
}

/* R227: display registered company legal name in full, without overlapping branch. */
.as220-page .as220-info .as220-info-half > p > b {
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
  line-height:1.4;
}
.as220-page .as220-info .as220-info-half > p { min-height:25px; }
.as220-page .as220-info { min-height:105px; }

/* R228 manual-mode modal uses existing toolbar actions. No AI execution. */
.as220-page .as220-main-actions button:disabled{opacity:.48;cursor:not-allowed}
.as220-page .as220-main-actions .as220-work-disabled:not(:disabled){cursor:pointer}
.as220-page .as228-overlay{position:fixed;inset:0;background:#10223899;backdrop-filter:blur(2px);z-index:999999;display:flex;align-items:center;justify-content:center;padding:14px}
.as220-page .as228-modal{box-sizing:border-box;width:min(540px,100%);max-height:calc(100dvh - 28px);display:flex;flex-direction:column;background:#fff;color:#173047;border-radius:15px;box-shadow:0 20px 70px #132b4755;overflow:hidden}
.as220-page .as228-modal header{padding:17px 20px 12px;border-bottom:1px solid #e3ebf3}
.as220-page .as228-modal h2{font-size:19px;margin:0 0 5px;color:#102e48}
.as220-page .as228-modal header p{font-size:12px;color:#6c7f91;margin:0}
.as220-page .as228-form{overflow-y:auto;padding:17px 20px;display:grid;gap:9px;min-height:0}
.as220-page .as228-form label{font-weight:700;font-size:13px}
.as220-page .as228-form label b{color:#c33}
.as220-page .as228-form textarea,.as220-page .as228-form input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #cad8e6;border-radius:8px;padding:10px 12px;resize:vertical;font:inherit;min-height:40px}
.as220-page .as228-form p{font-size:11px;color:#667e90;margin:5px 0}
.as220-page .as228-check{display:flex;gap:8px;align-items:center;padding:9px;background:#f0f8f5;border-radius:8px}
.as220-page .as228-err{border:1px solid #e9a6a6;background:#fff4f4;color:#a31d1d;padding:8px;border-radius:7px}
.as220-page .as228-modal footer{padding:12px 20px;display:flex;gap:10px;border-top:1px solid #e3ebf3}
.as220-page .as228-modal footer button{flex:1;border-radius:8px;padding:10px 14px;font-weight:700;border:1px solid #d6e1ea;background:#f3f6fa}
.as220-page .as228-modal footer button:last-child{background:#008458;color:#fff;border-color:#008458}
@media(max-width:560px){.as220-page .as228-overlay{padding:8px}.as220-page .as228-modal{max-height:calc(100dvh - 16px)}}


/* R230 shared request grid + private inline attachment preview */
.sr230-table-scroll{overflow-x:auto;max-width:100%;scrollbar-gutter:stable}
.sr230-table{min-width:1400px;width:100%;table-layout:auto;font-size:12px}
.sr230-table th{white-space:nowrap;font-size:12px;padding:11px 9px;text-align:left}
.sr230-table td{font-size:12px;padding:10px 9px;vertical-align:top;max-width:300px}
.sr230-table th:nth-child(n),.sr230-table td:nth-child(n){width:auto;text-align:left}
.sr230-table .sr219-ticket button{font-size:12px}
.sr230-name{min-width:145px}
.sr230-problem{min-width:240px;max-width:350px}
.sr230-problem strong,.sr230-problem small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr230-problem small{color:#697d95;font-size:11px;margin-top:4px}
.sr230-ack{padding:5px 9px;border:1px solid #05945e;border-radius:7px;color:#057548;white-space:nowrap}
.sr230-ack-done{font-size:11px;color:#168553;white-space:nowrap}
.sr230-ack-pending{color:#a97f36;font-size:11px;white-space:nowrap}
.sr230-preview-backdrop,.as230-preview-cover{position:fixed;inset:0;z-index:20000;background:rgba(9,28,40,.70);display:flex;align-items:center;justify-content:center;padding:22px}
.sr230-preview,.as230-preview-dialog{background:#fff;border-radius:14px;box-shadow:0 18px 50px #0004;display:flex;flex-direction:column;width:min(1100px,100%);max-height:92dvh;overflow:hidden}
.sr230-preview-head,.as230-preview-dialog header,.sr230-preview-foot,.as230-preview-dialog footer{padding:12px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex:none}
.sr230-preview-head button,.as230-preview-dialog header button{font-size:28px;line-height:1;border:none;background:transparent;cursor:pointer}
.sr230-preview-body,.as230-preview-content{min-height:120px;min-width:0;overflow:auto;flex:1;display:flex;align-items:center;justify-content:center;background:#eff3f7}
.sr230-preview-body img,.as230-preview-content img{max-width:100%;max-height:75dvh;object-fit:contain}
.sr230-preview-body iframe,.as230-preview-content iframe{width:100%;min-height:65dvh;border:0}
.sr230-preview-foot a,.as230-preview-dialog footer a{font-weight:700;color:#087d55}
@media(max-width:640px){.sr230-preview-backdrop,.as230-preview-cover{padding:8px}.sr230-preview,.as230-preview-dialog{max-height:96dvh}}

/* R234 reply notifications */
.as234-unread{display:inline-flex;align-items:center;width:max-content;white-space:nowrap;margin-top:3px;color:#92500d;background:#fff0cf;border:1px solid #efd3a0;border-radius:16px;padding:3px 8px;font:700 11px/1.3 sans-serif}.as234-unread[hidden]{display:none}

/* R239: readable, low-distraction cue for unread messages in the AI Support queue.
   Animated only for a new incoming count; steady green accent persists until read. */
.as220-page .as220-ticket.as239-has-unread {
  border-left:3px solid #14976a;
  background:#f0fcf5;
}
.as220-page .as220-ticket.as239-has-unread.active {
  border-left:3px solid #14976a;
  background:#e7f9ef;
}
@keyframes as239-unread-pulse {
  0%, 100% { box-shadow:0 0 0 0 rgba(18,158,103,0.08); background:#f0fcf5; }
  50% { box-shadow:0 0 0 3px rgba(18,158,103,0.27),0 0 13px rgba(18,158,103,0.18); background:#d5f5e4; }
}
.as220-page .as220-ticket.as239-has-unread.as239-new-flash {
  animation:as239-unread-pulse 1.05s ease-in-out 3;
}
@media (prefers-reduced-motion: reduce) {
  .as220-page .as220-ticket.as239-new-flash {animation:none!important;}
}
