
/* BEGIN traffic-visuals.css */
/* DS-331: single opt-in design workspace, follows shared Sắc Mã tokens. */
.s331-workspace{display:grid;grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr);gap:var(--sp-24);align-items:start;margin:var(--sp-24) 0 var(--sp-32)}
.s331-workspace>:is(section){min-width:0}
.s331-settings{border:1px solid var(--line);background:var(--panel);border-radius:var(--r-m);padding:var(--sp-24)}
.s331-settings h2,.s331-output h2{font-size:var(--fs-l);margin:0 0 var(--sp-16)}
.s331-controls{display:grid;gap:var(--sp-16)}
.s331-field{display:grid;gap:var(--sp-8);min-width:0;font-weight:var(--fw-semi);font-size:var(--fs-s)}
.s331-field :is(input:not([type=color]),select){font:inherit;font-weight:400;line-height:1.5;width:100%;min-width:0;min-height:46px;border:1px solid var(--control-line);background:var(--panel);color:var(--ink);border-radius:var(--r-s);padding:var(--sp-8) var(--sp-12)}
.s331-field input[type=color]{display:block;width:100%;height:48px;min-width:0;border:1px solid var(--line);border-radius:var(--r-s);padding:3px;background:var(--panel)}
.s331-field input[type=range]{width:100%;accent-color:var(--brand)}
.s331-palette{display:flex;flex-wrap:wrap;gap:var(--sp-8);margin-top:var(--sp-24)}
.s331-chip{display:flex;align-items:center;gap:var(--sp-8);min-height:44px;border:1px solid var(--line);border-radius:var(--r-s);padding:var(--sp-8);background:var(--panel);color:var(--ink);font:inherit;cursor:pointer}
.s331-chip i{width:22px;height:22px;border:1px solid var(--line);border-radius:5px;flex-shrink:0;display:block}
.s331-output{min-width:0}.s331-output-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-12)}
.s331-output-head>span{color:var(--mute);font-size:var(--fs-s);white-space:nowrap}
.s331-output canvas{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#FFFFFF;border:1px solid var(--line);border-radius:var(--r-s)}
.s331-status{min-height:2.6em;font-size:var(--fs-s);line-height:1.6;color:var(--mute);margin:var(--sp-12) 0}
.s331-status[data-invalid=true]{color:#B42318}
.s331-actions{display:flex;gap:var(--sp-8);flex-wrap:wrap}.s331-actions button{min-height:44px}
.s331-code{margin:var(--sp-16) 0 0;border-top:1px solid var(--line);padding-top:var(--sp-12)}
.s331-code summary{cursor:pointer;min-height:44px;padding:var(--sp-8) 0;font-weight:var(--fw-semi)}
.s331-code pre{padding:var(--sp-12);margin:var(--sp-8) 0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--fs-s);background:var(--surface);border-radius:var(--r-s)}
.s331-article{max-width:55rem;margin-block:var(--sp-32)}.s331-article p,.s331-article li{line-height:1.8}
.s331-article h2{margin:var(--sp-24) 0 var(--sp-12)}
.s331-guides{margin-block:var(--sp-24) var(--sp-48)}.s331-guides h2{margin:0 0 var(--sp-8)}
.s331-guide-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-16)}
.s331-guide-links>a{display:block;border:1px solid var(--line);padding:var(--sp-16);border-radius:var(--r-s);background:var(--panel);text-decoration:none}
.s331-guide-links>a b{display:block}.s331-guide-links>a small{display:block;color:var(--mute);margin-top:var(--sp-8);line-height:1.5}
.s331-recipe{padding:var(--sp-24) 0;border-top:1px solid var(--line)}.s331-recipe h3{margin:0 0 var(--sp-8)}
.s331-recipe-preview{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-16);padding:var(--sp-24);min-height:116px;margin:var(--sp-16) 0;border:1px solid var(--line);border-radius:var(--r-s)}
.s331-recipe-preview strong{font-size:var(--fs-l)}.s331-recipe-preview small{display:block;margin-top:var(--sp-8)}
.s331-recipe-preview em{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:var(--sp-8) var(--sp-16);font-weight:var(--fw-bold);font-style:normal;border-radius:var(--r-s);text-align:center}
.s331-recipe-swatches{display:flex;flex-wrap:wrap;gap:var(--sp-8)}
.s331-recipe-swatches button{display:flex;align-items:center;gap:var(--sp-8);border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:var(--sp-8) var(--sp-12);border-radius:var(--r-s);min-height:44px;cursor:pointer}
.s331-recipe-swatches button::before{content:"";display:block;width:20px;height:20px;background:var(--recipe-color);border:1px solid var(--line);border-radius:4px}
.s331-recipe .s331-note{color:var(--mute);font-size:var(--fs-s)}
@media(max-width:820px){.s331-workspace{grid-template-columns:minmax(0,1fr)}.s331-settings{padding:var(--sp-16)}.s331-guide-links{grid-template-columns:minmax(0,1fr)}}
@media(max-width:430px){.s331-recipe{padding-block:var(--sp-16)}.s331-recipe-preview{display:grid;padding:var(--sp-16)}.s331-output-head{flex-wrap:wrap}.s331-chip{font-size:var(--fs-s)}}
.s331-recipe-slide-thuyet-trinh-0-nền{--recipe-color:#F7F9FC}
.s331-recipe-slide-thuyet-trinh-0-chữ{--recipe-color:#1D2C46}
.s331-recipe-slide-thuyet-trinh-0-nhấn{--recipe-color:#2659A8}
.s331-recipe-slide-thuyet-trinh-0-nền-phụ{--recipe-color:#DFE7F3}
.s331-recipe-slide-thuyet-trinh-0 .s331-recipe-preview{background:#F7F9FC;color:#1D2C46}
.s331-recipe-slide-thuyet-trinh-0 .s331-recipe-preview em{background:#2659A8;color:#FFFFFF}
.s331-recipe-slide-thuyet-trinh-1-nền{--recipe-color:#101E34}
.s331-recipe-slide-thuyet-trinh-1-chữ{--recipe-color:#F8FAFC}
.s331-recipe-slide-thuyet-trinh-1-nhấn{--recipe-color:#5BE1CC}
.s331-recipe-slide-thuyet-trinh-1-nền-phụ{--recipe-color:#26415C}
.s331-recipe-slide-thuyet-trinh-1 .s331-recipe-preview{background:#101E34;color:#F8FAFC}
.s331-recipe-slide-thuyet-trinh-1 .s331-recipe-preview em{background:#5BE1CC;color:#111827}
.s331-recipe-slide-thuyet-trinh-2-nền{--recipe-color:#FFF9ED}
.s331-recipe-slide-thuyet-trinh-2-chữ{--recipe-color:#3A3024}
.s331-recipe-slide-thuyet-trinh-2-nhấn{--recipe-color:#915614}
.s331-recipe-slide-thuyet-trinh-2-nền-phụ{--recipe-color:#F0E3C9}
.s331-recipe-slide-thuyet-trinh-2 .s331-recipe-preview{background:#FFF9ED;color:#3A3024}
.s331-recipe-slide-thuyet-trinh-2 .s331-recipe-preview em{background:#915614;color:#FFFFFF}
.s331-recipe-slide-thuyet-trinh-3-nền{--recipe-color:#F3F8F4}
.s331-recipe-slide-thuyet-trinh-3-chữ{--recipe-color:#193E2F}
.s331-recipe-slide-thuyet-trinh-3-nhấn{--recipe-color:#17744C}
.s331-recipe-slide-thuyet-trinh-3-nền-phụ{--recipe-color:#D7EBDC}
.s331-recipe-slide-thuyet-trinh-3 .s331-recipe-preview{background:#F3F8F4;color:#193E2F}
.s331-recipe-slide-thuyet-trinh-3 .s331-recipe-preview em{background:#17744C;color:#FFFFFF}
.s331-recipe-bieu-do-0-nền{--recipe-color:#FFFFFF}
.s331-recipe-bieu-do-0-chữ{--recipe-color:#233246}
.s331-recipe-bieu-do-0-nhấn{--recipe-color:#275DAD}
.s331-recipe-bieu-do-0-nền-phụ{--recipe-color:#E9EEF5}
.s331-recipe-bieu-do-0 .s331-recipe-preview{background:#FFFFFF;color:#233246}
.s331-recipe-bieu-do-0 .s331-recipe-preview em{background:#275DAD;color:#FFFFFF}
.s331-recipe-bieu-do-1-nền{--recipe-color:#172334}
.s331-recipe-bieu-do-1-chữ{--recipe-color:#F6F8FA}
.s331-recipe-bieu-do-1-nhấn{--recipe-color:#74D9C1}
.s331-recipe-bieu-do-1-nền-phụ{--recipe-color:#2B4058}
.s331-recipe-bieu-do-1 .s331-recipe-preview{background:#172334;color:#F6F8FA}
.s331-recipe-bieu-do-1 .s331-recipe-preview em{background:#74D9C1;color:#111827}
.s331-recipe-bieu-do-2-nền{--recipe-color:#F7FAFC}
.s331-recipe-bieu-do-2-chữ{--recipe-color:#1D334A}
.s331-recipe-bieu-do-2-nhấn{--recipe-color:#9C441C}
.s331-recipe-bieu-do-2-nền-phụ{--recipe-color:#E1EAF1}
.s331-recipe-bieu-do-2 .s331-recipe-preview{background:#F7FAFC;color:#1D334A}
.s331-recipe-bieu-do-2 .s331-recipe-preview em{background:#9C441C;color:#FFFFFF}
.s331-recipe-bieu-do-3-nền{--recipe-color:#FBFDF7}
.s331-recipe-bieu-do-3-chữ{--recipe-color:#263B2B}
.s331-recipe-bieu-do-3-nhấn{--recipe-color:#236E4F}
.s331-recipe-bieu-do-3-nền-phụ{--recipe-color:#DEEEE3}
.s331-recipe-bieu-do-3 .s331-recipe-preview{background:#FBFDF7;color:#263B2B}
.s331-recipe-bieu-do-3 .s331-recipe-preview em{background:#236E4F;color:#FFFFFF}
.s331-recipe-infographic-0-nền{--recipe-color:#F4F7FB}
.s331-recipe-infographic-0-chữ{--recipe-color:#23344C}
.s331-recipe-infographic-0-nhấn{--recipe-color:#255DB3}
.s331-recipe-infographic-0-nền-phụ{--recipe-color:#DFE9F7}
.s331-recipe-infographic-0 .s331-recipe-preview{background:#F4F7FB;color:#23344C}
.s331-recipe-infographic-0 .s331-recipe-preview em{background:#255DB3;color:#FFFFFF}
.s331-recipe-infographic-1-nền{--recipe-color:#F7FAF3}
.s331-recipe-infographic-1-chữ{--recipe-color:#304332}
.s331-recipe-infographic-1-nhấn{--recipe-color:#4A8056}
.s331-recipe-infographic-1-nền-phụ{--recipe-color:#DFEBDD}
.s331-recipe-infographic-1 .s331-recipe-preview{background:#F7FAF3;color:#304332}
.s331-recipe-infographic-1 .s331-recipe-preview em{background:#4A8056;color:#FFFFFF}
.s331-recipe-infographic-2-nền{--recipe-color:#FFF9F2}
.s331-recipe-infographic-2-chữ{--recipe-color:#47382B}
.s331-recipe-infographic-2-nhấn{--recipe-color:#9A5D21}
.s331-recipe-infographic-2-nền-phụ{--recipe-color:#F1E4D3}
.s331-recipe-infographic-2 .s331-recipe-preview{background:#FFF9F2;color:#47382B}
.s331-recipe-infographic-2 .s331-recipe-preview em{background:#9A5D21;color:#FFFFFF}
.s331-recipe-infographic-3-nền{--recipe-color:#101E34}
.s331-recipe-infographic-3-chữ{--recipe-color:#F3F7FA}
.s331-recipe-infographic-3-nhấn{--recipe-color:#5DC9EF}
.s331-recipe-infographic-3-nền-phụ{--recipe-color:#284059}
.s331-recipe-infographic-3 .s331-recipe-preview{background:#101E34;color:#F3F7FA}
.s331-recipe-infographic-3 .s331-recipe-preview em{background:#5DC9EF;color:#111827}
.s331-recipe-thumbnail-youtube-0-nền{--recipe-color:#172B47}
.s331-recipe-thumbnail-youtube-0-chữ{--recipe-color:#FFFFFF}
.s331-recipe-thumbnail-youtube-0-nhấn{--recipe-color:#F9D24B}
.s331-recipe-thumbnail-youtube-0-nền-phụ{--recipe-color:#2E4C71}
.s331-recipe-thumbnail-youtube-0 .s331-recipe-preview{background:#172B47;color:#FFFFFF}
.s331-recipe-thumbnail-youtube-0 .s331-recipe-preview em{background:#F9D24B;color:#111827}
.s331-recipe-thumbnail-youtube-1-nền{--recipe-color:#FFF8E8}
.s331-recipe-thumbnail-youtube-1-chữ{--recipe-color:#362D26}
.s331-recipe-thumbnail-youtube-1-nhấn{--recipe-color:#C14C2E}
.s331-recipe-thumbnail-youtube-1-nền-phụ{--recipe-color:#F1DFC5}
.s331-recipe-thumbnail-youtube-1 .s331-recipe-preview{background:#FFF8E8;color:#362D26}
.s331-recipe-thumbnail-youtube-1 .s331-recipe-preview em{background:#C14C2E;color:#FFFFFF}
.s331-recipe-thumbnail-youtube-2-nền{--recipe-color:#19182E}
.s331-recipe-thumbnail-youtube-2-chữ{--recipe-color:#F5F7FC}
.s331-recipe-thumbnail-youtube-2-nhấn{--recipe-color:#65D8E3}
.s331-recipe-thumbnail-youtube-2-nền-phụ{--recipe-color:#393658}
.s331-recipe-thumbnail-youtube-2 .s331-recipe-preview{background:#19182E;color:#F5F7FC}
.s331-recipe-thumbnail-youtube-2 .s331-recipe-preview em{background:#65D8E3;color:#111827}
.s331-recipe-thumbnail-youtube-3-nền{--recipe-color:#F9F0F4}
.s331-recipe-thumbnail-youtube-3-chữ{--recipe-color:#3A2E37}
.s331-recipe-thumbnail-youtube-3-nhấn{--recipe-color:#945E76}
.s331-recipe-thumbnail-youtube-3-nền-phụ{--recipe-color:#F0DBE5}
.s331-recipe-thumbnail-youtube-3 .s331-recipe-preview{background:#F9F0F4;color:#3A2E37}
.s331-recipe-thumbnail-youtube-3 .s331-recipe-preview em{background:#945E76;color:#FFFFFF}
/* END traffic-visuals.css */

/* BEGIN traffic-visuals-332.css */
/* DS-332: only live workspaces and new editorial recipes. */
.s332-workspace .s331-field textarea{font:inherit;font-weight:400;line-height:1.5;width:100%;min-width:0;border:1px solid var(--control-line);background:var(--panel);color:var(--ink);border-radius:var(--r-s);padding:var(--sp-8) var(--sp-12);resize:vertical;max-height:160px}
.s332-data{margin-top:var(--sp-24)}.s332-data h3{font-size:var(--fs-m);margin-bottom:var(--sp-8)}.s332-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-s)}.s332-table-wrap table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.s332-table-wrap th,.s332-table-wrap td{border-bottom:1px solid var(--line);padding:var(--sp-8) var(--sp-12);text-align:left;white-space:nowrap}.s332-table-wrap th{background:var(--surface)}.s332-table-wrap tbody tr:last-child td{border-bottom:0}
.s332-directory-intro{margin:var(--sp-16) 0 var(--sp-24)}.s332-guide-top{max-width:55rem}.s332-guide-top p{line-height:1.8}
@media(max-width:430px){.s332-table-wrap th,.s332-table-wrap td{padding:var(--sp-8)}}
.s332-recipe-shop-online-0-0{--recipe-color:#FBF9F6}
.s332-recipe-shop-online-0-1{--recipe-color:#292E32}
.s332-recipe-shop-online-0-2{--recipe-color:#A64C33}
.s332-recipe-shop-online-0-3{--recipe-color:#F0E9E0}
.s332-recipe-shop-online-0 .s331-recipe-preview{background:#FBF9F6;color:#292E32}
.s332-recipe-shop-online-0 .s331-recipe-preview em{background:#A64C33;color:#FFFFFF}
.s332-recipe-shop-online-1-0{--recipe-color:#F4F7F1}
.s332-recipe-shop-online-1-1{--recipe-color:#253B31}
.s332-recipe-shop-online-1-2{--recipe-color:#426A50}
.s332-recipe-shop-online-1-3{--recipe-color:#E0EADC}
.s332-recipe-shop-online-1 .s331-recipe-preview{background:#F4F7F1;color:#253B31}
.s332-recipe-shop-online-1 .s331-recipe-preview em{background:#426A50;color:#FFFFFF}
.s332-recipe-shop-online-2-0{--recipe-color:#171A22}
.s332-recipe-shop-online-2-1{--recipe-color:#F6F4EF}
.s332-recipe-shop-online-2-2{--recipe-color:#C7A66A}
.s332-recipe-shop-online-2-3{--recipe-color:#313746}
.s332-recipe-shop-online-2 .s331-recipe-preview{background:#171A22;color:#F6F4EF}
.s332-recipe-shop-online-2 .s331-recipe-preview em{background:#C7A66A;color:#111827}
.s332-recipe-shop-online-3-0{--recipe-color:#FFF7F0}
.s332-recipe-shop-online-3-1{--recipe-color:#3C3240}
.s332-recipe-shop-online-3-2{--recipe-color:#B5537D}
.s332-recipe-shop-online-3-3{--recipe-color:#F2E4F0}
.s332-recipe-shop-online-3 .s331-recipe-preview{background:#FFF7F0;color:#3C3240}
.s332-recipe-shop-online-3 .s331-recipe-preview em{background:#B5537D;color:#FFFFFF}
.s332-recipe-banner-khuyen-mai-0-0{--recipe-color:#1C334A}
.s332-recipe-banner-khuyen-mai-0-1{--recipe-color:#FFFFFF}
.s332-recipe-banner-khuyen-mai-0-2{--recipe-color:#F6BD48}
.s332-recipe-banner-khuyen-mai-0-3{--recipe-color:#304D65}
.s332-recipe-banner-khuyen-mai-0 .s331-recipe-preview{background:#1C334A;color:#FFFFFF}
.s332-recipe-banner-khuyen-mai-0 .s331-recipe-preview em{background:#F6BD48;color:#111827}
.s332-recipe-banner-khuyen-mai-1-0{--recipe-color:#FAF6EF}
.s332-recipe-banner-khuyen-mai-1-1{--recipe-color:#2D3038}
.s332-recipe-banner-khuyen-mai-1-2{--recipe-color:#B83B36}
.s332-recipe-banner-khuyen-mai-1-3{--recipe-color:#EFE2D7}
.s332-recipe-banner-khuyen-mai-1 .s331-recipe-preview{background:#FAF6EF;color:#2D3038}
.s332-recipe-banner-khuyen-mai-1 .s331-recipe-preview em{background:#B83B36;color:#FFFFFF}
.s332-recipe-banner-khuyen-mai-2-0{--recipe-color:#171D2D}
.s332-recipe-banner-khuyen-mai-2-1{--recipe-color:#F3F6FA}
.s332-recipe-banner-khuyen-mai-2-2{--recipe-color:#65D1CA}
.s332-recipe-banner-khuyen-mai-2-3{--recipe-color:#303A4B}
.s332-recipe-banner-khuyen-mai-2 .s331-recipe-preview{background:#171D2D;color:#F3F6FA}
.s332-recipe-banner-khuyen-mai-2 .s331-recipe-preview em{background:#65D1CA;color:#111827}
.s332-recipe-banner-khuyen-mai-3-0{--recipe-color:#F7FAF3}
.s332-recipe-banner-khuyen-mai-3-1{--recipe-color:#283D31}
.s332-recipe-banner-khuyen-mai-3-2{--recipe-color:#A55326}
.s332-recipe-banner-khuyen-mai-3-3{--recipe-color:#E4EEDC}
.s332-recipe-banner-khuyen-mai-3 .s331-recipe-preview{background:#F7FAF3;color:#283D31}
.s332-recipe-banner-khuyen-mai-3 .s331-recipe-preview em{background:#A55326;color:#FFFFFF}
.s332-recipe-pinterest-0-0{--recipe-color:#FAF6F0}
.s332-recipe-pinterest-0-1{--recipe-color:#403633}
.s332-recipe-pinterest-0-2{--recipe-color:#B4664A}
.s332-recipe-pinterest-0-3{--recipe-color:#E9DDD0}
.s332-recipe-pinterest-0 .s331-recipe-preview{background:#FAF6F0;color:#403633}
.s332-recipe-pinterest-0 .s331-recipe-preview em{background:#B4664A;color:#FFFFFF}
.s332-recipe-pinterest-1-0{--recipe-color:#F2F7FA}
.s332-recipe-pinterest-1-1{--recipe-color:#1E354B}
.s332-recipe-pinterest-1-2{--recipe-color:#1E779B}
.s332-recipe-pinterest-1-3{--recipe-color:#DEEBF2}
.s332-recipe-pinterest-1 .s331-recipe-preview{background:#F2F7FA;color:#1E354B}
.s332-recipe-pinterest-1 .s331-recipe-preview em{background:#1E779B;color:#FFFFFF}
.s332-recipe-pinterest-2-0{--recipe-color:#F5F3EF}
.s332-recipe-pinterest-2-1{--recipe-color:#33352C}
.s332-recipe-pinterest-2-2{--recipe-color:#7A6540}
.s332-recipe-pinterest-2-3{--recipe-color:#E8E6DA}
.s332-recipe-pinterest-2 .s331-recipe-preview{background:#F5F3EF;color:#33352C}
.s332-recipe-pinterest-2 .s331-recipe-preview em{background:#7A6540;color:#FFFFFF}
.s332-recipe-pinterest-3-0{--recipe-color:#FFF5F8}
.s332-recipe-pinterest-3-1{--recipe-color:#443344}
.s332-recipe-pinterest-3-2{--recipe-color:#A94E74}
.s332-recipe-pinterest-3-3{--recipe-color:#F5DFE8}
.s332-recipe-pinterest-3 .s331-recipe-preview{background:#FFF5F8;color:#443344}
.s332-recipe-pinterest-3 .s331-recipe-preview em{background:#A94E74;color:#FFFFFF}
.s332-recipe-bieu-do-duong-0-0{--recipe-color:#FFFFFF}
.s332-recipe-bieu-do-duong-0-1{--recipe-color:#243447}
.s332-recipe-bieu-do-duong-0-2{--recipe-color:#2055A5}
.s332-recipe-bieu-do-duong-0-3{--recipe-color:#F0F3F7}
.s332-recipe-bieu-do-duong-0 .s331-recipe-preview{background:#FFFFFF;color:#243447}
.s332-recipe-bieu-do-duong-0 .s331-recipe-preview em{background:#2055A5;color:#FFFFFF}
.s332-recipe-bieu-do-duong-1-0{--recipe-color:#172638}
.s332-recipe-bieu-do-duong-1-1{--recipe-color:#F5F7F9}
.s332-recipe-bieu-do-duong-1-2{--recipe-color:#62C5FF}
.s332-recipe-bieu-do-duong-1-3{--recipe-color:#2C425A}
.s332-recipe-bieu-do-duong-1 .s331-recipe-preview{background:#172638;color:#F5F7F9}
.s332-recipe-bieu-do-duong-1 .s331-recipe-preview em{background:#62C5FF;color:#111827}
.s332-recipe-bieu-do-duong-2-0{--recipe-color:#FAFAF8}
.s332-recipe-bieu-do-duong-2-1{--recipe-color:#303B3C}
.s332-recipe-bieu-do-duong-2-2{--recipe-color:#247A74}
.s332-recipe-bieu-do-duong-2-3{--recipe-color:#E7ECE8}
.s332-recipe-bieu-do-duong-2 .s331-recipe-preview{background:#FAFAF8;color:#303B3C}
.s332-recipe-bieu-do-duong-2 .s331-recipe-preview em{background:#247A74;color:#FFFFFF}
.s332-recipe-bieu-do-duong-3-0{--recipe-color:#FFFDF8}
.s332-recipe-bieu-do-duong-3-1{--recipe-color:#353132}
.s332-recipe-bieu-do-duong-3-2{--recipe-color:#A05268}
.s332-recipe-bieu-do-duong-3-3{--recipe-color:#F0E6E3}
.s332-recipe-bieu-do-duong-3 .s331-recipe-preview{background:#FFFDF8;color:#353132}
.s332-recipe-bieu-do-duong-3 .s331-recipe-preview em{background:#A05268;color:#FFFFFF}

/* A real Canvas paint chip works under strict style-src-attr CSP. */
.s332-workspace .s331-chip canvas{display:block;width:22px;height:22px;flex-shrink:0;border:1px solid var(--line);border-radius:5px}
/* END traffic-visuals-332.css */

/* BEGIN traffic-337.css */
/* Sắc Mã Step 337: page-scoped layout; no global CSS overrides. */
.s337-workspace{margin-block:var(--sp-24);align-items:start}
.s337-workspace .s331-settings,.s337-workspace .s331-output{min-width:0}
.s337-workspace .s331-field :is(input,select){max-width:100%;min-width:0}
.s337-workspace .s331-field input[type=file]{display:block;width:100%;padding:var(--sp-12);border:1px dashed var(--line);border-radius:var(--r-s);background:var(--panel);color:var(--ink);font:inherit}
.s337-workspace .s331-field input[type=color]{width:100%;height:48px;min-width:0;padding:4px;border:1px solid var(--line);border-radius:var(--r-s);background:var(--panel)}
.s337-workspace .s331-field input[type=range]{display:block;width:100%;min-height:44px;accent-color:var(--brand)}
.s337-workspace :is(input,button,select):focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.s337-workspace canvas{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border:1px solid var(--line);border-radius:var(--r-s);background:var(--panel)}
.s337-workspace .s337-preview-caption{font-size:var(--fs-s);color:var(--mute);line-height:1.6;margin:var(--sp-8) 0}
.s337-workspace .s332-table-wrap{margin-block:var(--sp-16)}
.s337-workspace .s332-table-wrap td{white-space:normal;overflow-wrap:anywhere}
.s337-workspace .s331-code pre{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.s337-workspace .s331-actions{margin-block:var(--sp-12);gap:var(--sp-8)}
.s337-workspace .s331-actions button:disabled{opacity:.55;cursor:not-allowed}
.s337-workspace .s331-output-head{align-items:flex-start;flex-wrap:wrap}
.s337-article{max-width:58rem;margin:var(--sp-32) 0 var(--sp-48)}
.s337-article p,.s337-article li{line-height:1.75}
.s337-article .s337-swatches{display:flex;flex-wrap:wrap;gap:var(--sp-8);margin:var(--sp-12) 0}
.s337-article .s337-swatches button{display:flex;align-items:center;gap:var(--sp-8);min-height:44px;padding:var(--sp-8) var(--sp-12);font:inherit;font-size:var(--fs-s);color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:var(--r-s);cursor:pointer;text-align:left}
.s337-article .s337-swatches button::before{content:"";width:25px;height:25px;flex:none;border:1px solid var(--line);border-radius:4px;background:var(--swatch-color)}
.s337-article .s337-recipe{padding:var(--sp-24) 0;border-top:1px solid var(--line)}
.s337-article .s337-recipe h3{margin-top:0}
.s337-article .s337-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--sp-12);min-height:100px;padding:var(--sp-20);border:1px solid var(--line);border-radius:var(--r-s);background:var(--recipe-bg);color:var(--recipe-ink)}
.s337-article .s337-preview strong{font-size:var(--fs-l)}
.s337-article .s337-preview small{display:block;margin-top:var(--sp-8);max-width:32rem}
.s337-article .s337-preview .s337-accent{display:block;max-width:170px;min-height:44px;padding:var(--sp-12);border-radius:var(--r-s);background:var(--recipe-accent);color:var(--recipe-accent-ink);font-weight:var(--fw-semi);text-align:center;font-size:var(--fs-s)}
.s337-article .s337-note{font-size:var(--fs-s);color:var(--mute)}
@media(max-width:820px){.s337-workspace{grid-template-columns:minmax(0,1fr)}.s337-article .s337-preview{grid-template-columns:minmax(0,1fr)}}
@media(max-width:390px){.s337-article .s337-swatches button{width:calc(50% - var(--sp-8));min-width:0;overflow-wrap:anywhere}.s337-article .s337-preview{padding:var(--sp-16)}}

/* Color recipes: token values are generated from the editorial palette data. */
.s337-japandi-0{--recipe-bg:#F6F1E9;--recipe-ink:#29372F;--recipe-accent:#587264;--recipe-accent-ink:#FFFFFF}
.s337-japandi-0-0{--swatch-color:#F6F1E9}
.s337-japandi-0-1{--swatch-color:#29372F}
.s337-japandi-0-2{--swatch-color:#587264}
.s337-japandi-0-3{--swatch-color:#C9A987}
.s337-japandi-1{--recipe-bg:#F3F4ED;--recipe-ink:#2C3531;--recipe-accent:#6F7860;--recipe-accent-ink:#FFFFFF}
.s337-japandi-1-0{--swatch-color:#F3F4ED}
.s337-japandi-1-1{--swatch-color:#2C3531}
.s337-japandi-1-2{--swatch-color:#6F7860}
.s337-japandi-1-3{--swatch-color:#C7C6B7}
.s337-japandi-2{--recipe-bg:#202B29;--recipe-ink:#F6F0E7;--recipe-accent:#B79970;--recipe-accent-ink:#111827}
.s337-japandi-2-0{--swatch-color:#202B29}
.s337-japandi-2-1{--swatch-color:#F6F0E7}
.s337-japandi-2-2{--swatch-color:#B79970}
.s337-japandi-2-3{--swatch-color:#465E50}
.s337-japandi-3{--recipe-bg:#FAF7F0;--recipe-ink:#303A32;--recipe-accent:#647C62;--recipe-accent-ink:#FFFFFF}
.s337-japandi-3-0{--swatch-color:#FAF7F0}
.s337-japandi-3-1{--swatch-color:#303A32}
.s337-japandi-3-2{--swatch-color:#647C62}
.s337-japandi-3-3{--swatch-color:#DBCDB2}
.s337-bauhaus-0{--recipe-bg:#F5F0E6;--recipe-ink:#1A2533;--recipe-accent:#C3342F;--recipe-accent-ink:#FFFFFF}
.s337-bauhaus-0-0{--swatch-color:#F5F0E6}
.s337-bauhaus-0-1{--swatch-color:#1A2533}
.s337-bauhaus-0-2{--swatch-color:#C3342F}
.s337-bauhaus-0-3{--swatch-color:#EBC147}
.s337-bauhaus-1{--recipe-bg:#F8F5EF;--recipe-ink:#20252C;--recipe-accent:#1F5796;--recipe-accent-ink:#FFFFFF}
.s337-bauhaus-1-0{--swatch-color:#F8F5EF}
.s337-bauhaus-1-1{--swatch-color:#20252C}
.s337-bauhaus-1-2{--swatch-color:#1F5796}
.s337-bauhaus-1-3{--swatch-color:#D7AB33}
.s337-bauhaus-2{--recipe-bg:#EFE9DF;--recipe-ink:#262629;--recipe-accent:#B54131;--recipe-accent-ink:#FFFFFF}
.s337-bauhaus-2-0{--swatch-color:#EFE9DF}
.s337-bauhaus-2-1{--swatch-color:#262629}
.s337-bauhaus-2-2{--swatch-color:#B54131}
.s337-bauhaus-2-3{--swatch-color:#E2B74E}
.s337-bauhaus-3{--recipe-bg:#1D2532;--recipe-ink:#F8F5EB;--recipe-accent:#75A9EC;--recipe-accent-ink:#111827}
.s337-bauhaus-3-0{--swatch-color:#1D2532}
.s337-bauhaus-3-1{--swatch-color:#F8F5EB}
.s337-bauhaus-3-2{--swatch-color:#75A9EC}
.s337-bauhaus-3-3{--swatch-color:#EEBE58}
.s337-dark-academia-0{--recipe-bg:#1D2624;--recipe-ink:#F3E8D7;--recipe-accent:#C4A16B;--recipe-accent-ink:#111827}
.s337-dark-academia-0-0{--swatch-color:#1D2624}
.s337-dark-academia-0-1{--swatch-color:#F3E8D7}
.s337-dark-academia-0-2{--swatch-color:#C4A16B}
.s337-dark-academia-0-3{--swatch-color:#627660}
.s337-dark-academia-1{--recipe-bg:#F4E9D9;--recipe-ink:#352C2A;--recipe-accent:#74543B;--recipe-accent-ink:#FFFFFF}
.s337-dark-academia-1-0{--swatch-color:#F4E9D9}
.s337-dark-academia-1-1{--swatch-color:#352C2A}
.s337-dark-academia-1-2{--swatch-color:#74543B}
.s337-dark-academia-1-3{--swatch-color:#B49A78}
.s337-dark-academia-2{--recipe-bg:#241E23;--recipe-ink:#F6EFE5;--recipe-accent:#8C4B53;--recipe-accent-ink:#FFFFFF}
.s337-dark-academia-2-0{--swatch-color:#241E23}
.s337-dark-academia-2-1{--swatch-color:#F6EFE5}
.s337-dark-academia-2-2{--swatch-color:#8C4B53}
.s337-dark-academia-2-3{--swatch-color:#9A8068}
.s337-dark-academia-3{--recipe-bg:#273029;--recipe-ink:#EEEBDD;--recipe-accent:#84936E;--recipe-accent-ink:#111827}
.s337-dark-academia-3-0{--swatch-color:#273029}
.s337-dark-academia-3-1{--swatch-color:#EEEBDD}
.s337-dark-academia-3-2{--swatch-color:#84936E}
.s337-dark-academia-3-3{--swatch-color:#5D6D75}
.s337-y2k-0{--recipe-bg:#F7F0FF;--recipe-ink:#30264C;--recipe-accent:#8650BB;--recipe-accent-ink:#FFFFFF}
.s337-y2k-0-0{--swatch-color:#F7F0FF}
.s337-y2k-0-1{--swatch-color:#30264C}
.s337-y2k-0-2{--swatch-color:#8650BB}
.s337-y2k-0-3{--swatch-color:#74BCEE}
.s337-y2k-1{--recipe-bg:#EDF0F7;--recipe-ink:#1F2943;--recipe-accent:#3D66CC;--recipe-accent-ink:#FFFFFF}
.s337-y2k-1-0{--swatch-color:#EDF0F7}
.s337-y2k-1-1{--swatch-color:#1F2943}
.s337-y2k-1-2{--swatch-color:#3D66CC}
.s337-y2k-1-3{--swatch-color:#B9A9E4}
.s337-y2k-2{--recipe-bg:#FFF3F9;--recipe-ink:#422D4C;--recipe-accent:#B44C86;--recipe-accent-ink:#FFFFFF}
.s337-y2k-2-0{--swatch-color:#FFF3F9}
.s337-y2k-2-1{--swatch-color:#422D4C}
.s337-y2k-2-2{--swatch-color:#B44C86}
.s337-y2k-2-3{--swatch-color:#E8B7D4}
.s337-y2k-3{--recipe-bg:#1B2040;--recipe-ink:#F4F5FF;--recipe-accent:#5D85E0;--recipe-accent-ink:#111827}
.s337-y2k-3-0{--swatch-color:#1B2040}
.s337-y2k-3-1{--swatch-color:#F4F5FF}
.s337-y2k-3-2{--swatch-color:#5D85E0}
.s337-y2k-3-3{--swatch-color:#6DD7CD}
/* END traffic-337.css */
