#amwld-customer[hidden], #amwld-customer [hidden] { display:none!important; }
#amwld-customer { position:fixed; inset:12px; z-index:100001; display:flex; flex-direction:column; overflow:hidden; background:#f3f5f4; color:#203331; border:1px solid #ccd7d3; border-radius:12px; box-shadow:0 0 0 100vmax #102722a8; font:14px/1.4 system-ui,sans-serif; }
#amwld-customer *, #amwld-customer *::before, #amwld-customer *::after { box-sizing:border-box; }
#amwld-customer h2, #amwld-customer h3, #amwld-customer p { margin:0; color:inherit; }
#amwld-customer h2 { font-size:20px; } #amwld-customer h3 { font-size:16px; }
#amwld-customer button, #amwld-customer-launcher button { font:inherit; line-height:1.3; min-height:40px; padding:8px 12px; margin:0; border:1px solid #bccdc5; border-radius:6px; background:white; color:#165e4b; cursor:pointer; text-transform:none; box-shadow:none; }
#amwld-customer button:disabled { opacity:.5; cursor:default; }
#amwld-customer button:focus-visible, #amwld-customer [tabindex]:focus-visible { outline:3px solid #108765; outline-offset:2px; }
#amwld-customer button[aria-pressed=true] { background:#12694e; color:white; }
#amwld-customer .amwld-customer-header, #amwld-customer .amwld-customer-footer { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 16px; background:white; }
#amwld-customer .amwld-customer-main { display:flex; flex:1 1 0; min-height:0; gap:10px; padding:10px; overflow:hidden; }
#amwld-customer .amwld-customer-scene { position:relative; flex:1 1 0; min-width:0; min-height:0; overflow:hidden; background:#e1e8e5; border-radius:8px; touch-action:pan-y pinch-zoom; overscroll-behavior:contain; }
#amwld-customer.amwld-crop-active .amwld-customer-scene { touch-action:none; }
#amwld-customer .amwld-customer-world { position:absolute; left:0; top:0; transform-origin:0 0; }
#amwld-customer .amwld-customer-bg { position:absolute; max-width:none; pointer-events:none; user-select:none; }
#amwld-customer .amwld-customer-slot { position:absolute; transform-origin:center; cursor:pointer; }
#amwld-customer .amwld-customer-slot[aria-selected=true] { outline:2px solid #14845c; outline-offset:3px; }
#amwld-customer .amwld-slot-face { position:absolute; inset:0; overflow:hidden; background:#fbfbf8; }
#amwld-customer .amwld-frame-layer { z-index:0; pointer-events:none; background-position:center; background-size:cover; box-shadow:0 0 0 1px #46534e42; }
#amwld-customer .amwld-wrap-layer { z-index:1; pointer-events:none; background-position:center; background-size:cover; background-repeat:no-repeat; }
#amwld-customer .amwld-slot-content { z-index:2; }
#amwld-customer .amwld-slot-border { position:absolute; inset:0; width:100%; height:100%; z-index:3; pointer-events:none; overflow:hidden; } /* E5 admin border (inner stroke) */
#amwld-customer .amwld-customer-image { position:absolute; max-width:none!important; max-height:none!important; margin:0; padding:0; border:0; transform-origin:center; pointer-events:none; user-select:none; }
#amwld-customer .amwld-customer-empty { position:absolute; inset:0; display:grid; place-content:center; text-align:center; padding:4px; color:#275c4c; pointer-events:none; }
#amwld-customer .amwld-customer-done { position:absolute; z-index:3; right:0; top:0; background:#18734e; color:white; border-radius:50%; width:22px; height:22px; text-align:center; pointer-events:none; transform-origin:top right; }
#amwld-customer .amwld-customer-tools { flex:0 0 220px; min-width:0; overflow:auto; display:flex; flex-direction:column; gap:12px; padding:8px; }
#amwld-customer .amwld-customer-tool-idle { display:none; }
#amwld-customer .amwld-customer-tool-slot, #amwld-customer .amwld-customer-tool-edit { display:flex; flex-direction:column; gap:12px; }
#amwld-customer .amwld-customer-mobile-only { display:none; }
#amwld-customer .amwld-customer-row { display:flex; align-items:center; gap:6px; }
#amwld-customer input[type=range] { min-width:0; width:100%; margin:0; }
#amwld-customer .amwld-customer-message { min-height:24px; padding:2px 16px; color:#92451c; }
#amwld-customer .amwld-customer-footer { flex-wrap:wrap; } #amwld-customer .amwld-customer-footer small { font-size:11px; color:#586960; }
#amwld-customer .amwld-customer-tip { font-size:12px; color:#52685c; }
#amwld-customer .amwld-customer-templates { display:flex; flex:0 0 auto; gap:8px; overflow-x:auto; padding:8px 12px; max-height:112px; }
#amwld-customer .amwld-customer-template { flex:0 0 120px; font-size:11px; padding:4px; }
#amwld-customer .amwld-customer-thumb { height:60px; position:relative; overflow:hidden; pointer-events:none; }
#amwld-customer .amwld-customer-frames { flex:0 0 58px; min-width:0; display:flex; align-items:center; gap:10px; padding:7px 12px; background:white; border-top:1px solid #d8e0dc; }
#amwld-customer .amwld-customer-frames[aria-hidden=true] { visibility:hidden; pointer-events:none; }
#amwld-customer .amwld-customer-frame-options { min-width:0; display:flex; gap:6px; overflow-x:auto; overscroll-behavior-x:contain; }
#amwld-customer .amwld-customer-frame-options button { flex:0 0 auto; min-height:42px; white-space:nowrap; }
#amwld-customer-launcher { margin:14px 0; } #amwld-customer-launcher p { font-size:12px; }
@media(max-width:782px), (hover:none) and (pointer:coarse) {
 #amwld-customer { inset:4px 4px auto; width:auto; height:calc(100% - 8px); max-height:calc(100% - 8px); border-radius:8px; }
 @supports(height:100svh) { #amwld-customer { height:calc(100svh - 8px); max-height:calc(100svh - 8px); } }
 #amwld-customer .amwld-customer-main { flex-direction:column; padding:6px; }
 #amwld-customer .amwld-customer-scene { flex:1 1 0; width:100%; min-height:0; }
 #amwld-customer .amwld-customer-tools, #amwld-customer .amwld-customer-tools[hidden] { flex:0 0 148px; width:100%; min-height:148px; max-height:148px; display:flex!important; overflow:hidden; padding:7px; border-top:1px solid #ccd7d3; background:#f8faf9; }
 #amwld-customer .amwld-customer-tool-idle, #amwld-customer .amwld-customer-tool-slot, #amwld-customer .amwld-customer-tool-edit { display:none; width:100%; min-width:0; }
 #amwld-customer[data-tool-mode="overview"] .amwld-customer-tool-idle { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:center; gap:8px; }
 #amwld-customer .amwld-customer-tool-idle p { grid-column:1/-1; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 #amwld-customer[data-tool-mode="slot"] .amwld-customer-tool-slot { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:24px 44px 44px; gap:6px; }
 #amwld-customer .amwld-customer-tool-slot h3 { grid-column:1/-1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 #amwld-customer[data-tool-mode="edit"] .amwld-customer-tool-edit { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:50px 44px; gap:7px; align-content:center; }
 #amwld-customer .amwld-customer-tool-edit .amwld-customer-zoom { display:contents; }
 #amwld-customer .amwld-customer-tool-edit .amwld-customer-zoom > span { display:none; }
 #amwld-customer .amwld-customer-tool-edit .amwld-customer-row { display:grid; grid-column:1/-1; grid-template-columns:44px minmax(0,1fr) 44px; gap:7px; }
 #amwld-customer .amwld-customer-mobile-only { display:block; }
 #amwld-customer .amwld-customer-header { flex:0 0 42px; padding:4px 8px; }
 #amwld-customer .amwld-customer-header h2 { font-size:17px; }
 #amwld-customer .amwld-customer-footer { flex:0 0 calc(92px + env(safe-area-inset-bottom)); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:start; padding:6px 8px max(6px,env(safe-area-inset-bottom)); }
 #amwld-customer .amwld-customer-progress { grid-column:1/-1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 #amwld-customer .amwld-customer-footer small { display:none; }
 #amwld-customer .amwld-customer-message { flex:0 0 28px; min-height:28px; max-height:28px; overflow:hidden; padding:3px 10px; white-space:nowrap; text-overflow:ellipsis; }
 #amwld-customer button { min-height:44px; padding:7px 8px; }
 #amwld-customer .amwld-customer-templates { max-height:82px; padding:5px 8px; }
 #amwld-customer .amwld-customer-thumb { height:42px; }
 #amwld-customer .amwld-customer-frames { flex-basis:54px; gap:7px; padding:5px 7px; }
 #amwld-customer .amwld-customer-frames strong { flex:0 0 auto; font-size:12px; }
 #amwld-customer .amwld-customer-frame-options button { min-height:44px; }
 #amwld-customer .amwld-customer-tip { display:none; }
}

@media(max-width:782px) and (max-height:500px), (max-height:500px) and (hover:none) and (pointer:coarse) {
 #amwld-customer .amwld-customer-tools, #amwld-customer .amwld-customer-tools[hidden] { flex-basis:106px; min-height:106px; max-height:106px; }
 #amwld-customer[data-tool-mode="slot"] .amwld-customer-tool-slot { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:22px 44px; }
 #amwld-customer[data-tool-mode="edit"] .amwld-customer-tool-edit { grid-template-rows:40px 40px; gap:5px; }
 #amwld-customer .amwld-customer-footer { flex-basis:66px; gap:4px; padding:3px 6px; }
 #amwld-customer .amwld-customer-footer button, #amwld-customer[data-tool-mode="edit"] .amwld-customer-tool-edit button { min-height:40px; font-size:12px; }
 #amwld-customer .amwld-customer-progress { line-height:14px; font-size:11px; }
 #amwld-customer .amwld-customer-templates { max-height:58px; }
}

/* Stage 05 order view uses the same renderer without edit controls. */
#amwld-customer.amwld-order-readonly .amwld-customer-templates,
#amwld-customer.amwld-order-readonly .amwld-customer-frames,
#amwld-customer.amwld-order-readonly .amwld-customer-tools,
#amwld-customer.amwld-order-readonly .amwld-customer-footer { display:none!important; }
#amwld-customer.amwld-order-readonly .amwld-customer-slot { cursor:default; outline:none; }

/* V1.1.0 GĐ09 — Frame Library (preview only). */
#amwld-customer .amwld-frame-layer.amwld-frame-mitered { background:none; box-shadow:none; overflow:visible; }
#amwld-customer .amwld-frame-canvas { position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; }
#amwld-customer .amwld-frame-current { flex:0 1 auto; min-width:0; display:flex; align-items:center; gap:8px; padding-left:8px; border-left:1px solid #d8e0dc; }
#amwld-customer .amwld-frame-current canvas { flex:0 0 auto; width:52px; height:52px; }
#amwld-customer .amwld-frame-current-name { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
#amwld-customer .amwld-frame-current button { flex:0 0 auto; }
#amwld-customer .amwld-frame-picker { position:absolute; inset:0; z-index:20; display:flex; align-items:center; justify-content:center; padding:16px; background:#102722a8; }
#amwld-customer .amwld-frame-picker-panel { width:min(560px,100%); max-height:min(80%,640px); display:flex; flex-direction:column; background:white; border-radius:10px; overflow:hidden; }
#amwld-customer .amwld-frame-picker-panel header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; border-bottom:1px solid #d8e0dc; }
#amwld-customer .amwld-frame-picker-cats { display:flex; gap:6px; padding:8px 12px 0; overflow-x:auto; overscroll-behavior-x:contain; flex:0 0 auto; }
#amwld-customer .amwld-frame-picker-cats button { flex:0 0 auto; min-height:36px; white-space:nowrap; }
#amwld-customer .amwld-frame-picker-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:8px; padding:12px; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
#amwld-customer .amwld-frame-picker-item { display:flex; flex-direction:column; align-items:center; gap:4px; padding:6px; min-height:0; font-size:12px; }
#amwld-customer .amwld-frame-picker-item canvas { width:88px; height:88px; }
#amwld-customer .amwld-frame-picker-item span { max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#amwld-customer .amwld-frame-picker-item[aria-pressed=true] { background:#e4f3ec; color:#12694e; border-color:#12694e; outline:2px solid #12694e; }
@media(max-width:782px), (hover:none) and (pointer:coarse) {
 #amwld-customer .amwld-customer-frames { flex-wrap:nowrap; }
 #amwld-customer .amwld-frame-current { gap:5px; padding-left:5px; }
 #amwld-customer .amwld-frame-current canvas { width:40px; height:40px; }
 #amwld-customer .amwld-frame-current-name { display:none; }
 #amwld-customer .amwld-frame-picker { align-items:flex-end; padding:0; }
 #amwld-customer .amwld-frame-picker-panel { width:100%; max-height:72%; border-radius:12px 12px 0 0; padding-bottom:env(safe-area-inset-bottom); }
 #amwld-customer .amwld-frame-picker-grid { grid-template-columns:repeat(auto-fill,minmax(92px,1fr)); }
 #amwld-customer .amwld-frame-picker-item canvas { width:76px; height:76px; }
}

/* V1.1.0 GĐ08 — product page "Your design" summary (scoped). */
#amwld-design-summary[hidden], #amwld-design-summary [hidden], #amwld-customer-launcher[hidden] { display:none!important; }
#amwld-design-summary { margin:14px 0; padding:12px; border:1px solid #ccd7d3; border-radius:10px; background:#f7faf9; color:#203331; font:14px/1.4 system-ui,sans-serif; }
#amwld-design-summary .amwld-design-summary-title { margin:0 0 8px; font-weight:700; letter-spacing:.04em; font-size:13px; }
#amwld-design-summary .amwld-design-summary-preview { display:grid; place-items:center; min-height:120px; background:#e5e9e7; border-radius:6px; overflow:hidden; }
#amwld-design-summary .amwld-design-summary-preview img { display:block; width:100%; height:auto; max-height:420px; object-fit:contain; margin:0; }
#amwld-design-summary .amwld-design-summary-empty { font-size:12px; color:#586960; padding:24px 8px; }
#amwld-design-summary .amwld-design-summary-status { margin:8px 0; font-size:13px; }
#amwld-design-summary .amwld-design-summary-code { font-family:ui-monospace,monospace; font-size:12px; }
#amwld-design-summary .amwld-design-summary-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
#amwld-design-summary button { font:inherit; min-height:44px; padding:8px 12px; margin:0; border:1px solid #bccdc5; border-radius:6px; background:#fff; color:#165e4b; cursor:pointer; text-transform:none; }
#amwld-design-summary button[data-amwld-summary=cart] { background:#12694e; border-color:#12694e; color:#fff; }
#amwld-design-summary button:disabled { opacity:.5; cursor:default; }
/* GĐ07-A Collage (scoped to data-design-mode=collage; Wall Layout rules unchanged). */
#amwld-customer .amwld-collage-canvas { position:absolute; pointer-events:none; box-shadow:0 1px 6px rgba(0,0,0,.18); }
#amwld-customer[data-design-mode=collage] .amwld-customer-frames { display:none; }
#amwld-customer-launcher .amwld-mode-choice { display:flex; flex-wrap:wrap; gap:8px; }
#amwld-customer-launcher .amwld-mode-choice button { flex:1 1 140px; min-width:0; }
/* E7 Collage content layers (Background / Sticker / Text) — scoped to #amwld-customer; Wall Layout rules unchanged. */
#amwld-customer .amwld-collage-canvas { overflow:hidden; }
#amwld-customer .amwld-content-bgimg { position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0; pointer-events:none; user-select:none; }
#amwld-customer .amwld-content-layer { position:absolute; transform-origin:center; pointer-events:none; user-select:none; -webkit-user-select:none; }
#amwld-customer .amwld-content-layer.is-editable { pointer-events:auto; cursor:pointer; touch-action:none; }
#amwld-customer .amwld-content-layer.is-selected { outline:2px dashed #14845c; outline-offset:2px; }
#amwld-customer .amwld-content-layer.is-selected.is-overflow { outline-color:#b3261e; }
#amwld-customer .amwld-content-handles { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:visible; }
#amwld-customer .amwld-content-handle { position:absolute; width:24px; height:24px; padding:0; min-width:0; min-height:0; border:0; background:transparent; transform:translate(-50%,-50%); pointer-events:auto; touch-action:none; cursor:ew-resize; }
#amwld-customer .amwld-content-handle::before { content:""; position:absolute; inset:6px; border:1px solid #14845c; border-radius:2px; background:#fff; }
#amwld-customer .amwld-h-w { left:0; top:50%; }
#amwld-customer .amwld-h-e { left:100%; top:50%; }
#amwld-customer .amwld-h-nw { left:0; top:0; cursor:nwse-resize; }
#amwld-customer .amwld-h-ne { left:100%; top:0; cursor:nesw-resize; }
#amwld-customer .amwld-h-sw { left:0; top:100%; cursor:nesw-resize; }
#amwld-customer .amwld-h-se { left:100%; top:100%; cursor:nwse-resize; }
#amwld-customer .amwld-h-rotate { left:50%; top:-30px; cursor:grab; border:1px solid #14845c; border-radius:50%; background:#fff; color:#14845c; font-size:18px; line-height:22px; }
#amwld-customer .amwld-h-rotate::before { display:none; }
#amwld-customer .amwld-content-rotate-stem { position:absolute; left:50%; top:-18px; height:18px; border-left:1px solid #14845c; }
#amwld-customer .amwld-content-sticker img { display:block; width:100%; height:100%; max-width:none; margin:0; pointer-events:none; }
#amwld-customer .amwld-content-sticker.is-missing { outline:1px dashed #b3261e; background:repeating-linear-gradient(45deg,#f6d9d6 0 6px,transparent 6px 12px); }
#amwld-customer .amwld-content-text svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; display:block; pointer-events:none; }
#amwld-customer .amwld-content-bar[hidden] { display:none!important; }
#amwld-customer .amwld-content-bar { flex:0 0 auto; display:flex; align-items:center; gap:8px; padding:7px 12px; background:white; border-top:1px solid #d8e0dc; overflow-x:auto; }
#amwld-customer .amwld-content-bar strong { flex:0 0 auto; font-size:13px; }
#amwld-customer .amwld-content-bar button { flex:0 0 auto; white-space:nowrap; }
#amwld-customer .amwld-content-sheet { position:absolute; right:22px; top:72px; z-index:18; width:min(320px,calc(100% - 24px)); max-height:calc(100% - 190px); overflow:auto; display:flex; flex-direction:column; gap:8px; padding:10px 12px; background:white; border:1px solid #ccd7d3; border-radius:12px; box-shadow:0 6px 24px rgba(16,39,34,.25); }
#amwld-customer .amwld-content-sheet header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#amwld-customer .amwld-content-sheet header strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#amwld-customer .amwld-content-textarea { width:100%; min-height:72px; max-height:30vh; resize:vertical; font:16px/1.4 system-ui,sans-serif; padding:8px; border:1px solid #bccdc5; border-radius:6px; color:#203331; background:#fff; } /* 16px: no iOS zoom-on-focus */
#amwld-customer .amwld-content-warn { color:#b3261e; font-size:13px; font-weight:600; }
#amwld-customer .amwld-content-msg { color:#92451c; font-size:12px; min-height:0; }
#amwld-customer .amwld-content-msg:empty { display:none; }
#amwld-customer .amwld-content-row { display:flex; flex-wrap:wrap; gap:6px; }
#amwld-customer .amwld-content-grid > * { flex:1 1 120px; }
#amwld-customer .amwld-content-color { display:flex; align-items:center; gap:8px; min-height:40px; }
#amwld-customer .amwld-content-color input { width:48px; height:36px; padding:0; border:1px solid #bccdc5; border-radius:6px; }
#amwld-customer .amwld-content-tip { font-size:12px; color:#52685c; }
#amwld-customer[data-design-mode=wall_layout] .amwld-content-bar { display:none!important; }
@media(max-width:782px), (hover:none) and (pointer:coarse) {
 #amwld-customer .amwld-content-bar { flex-basis:50px; gap:6px; padding:4px 7px; }
 #amwld-customer .amwld-content-bar button { min-height:42px; }
 #amwld-customer .amwld-content-sheet { left:0; right:0; top:auto; width:auto; bottom:var(--amwld-kb,0px); max-height:48%; border-radius:12px 12px 0 0; padding:8px 10px max(8px,env(safe-area-inset-bottom)); }
 #amwld-customer.amwld-kb-open .amwld-content-sheet { max-height:calc(100% - 60px - var(--amwld-kb,0px)); padding-bottom:8px; }
 #amwld-customer .amwld-content-textarea { min-height:64px; max-height:22vh; }
 #amwld-customer .amwld-content-grid > * { flex:1 1 30%; min-height:44px; }
}
/* E7: the AM – Asset Library picker opened FROM the designer must sit above it (class set only while our picker is open). */
html.amwld-al-picker .amal-overlay { z-index:100002; }
#amwld-customer .amwld-content-upload { display:flex; flex-direction:column; gap:6px; padding-top:6px; border-top:1px solid #e3e9e6; }
#amwld-customer .amwld-content-upload > strong { font-size:13px; }
/* E7.1 customer toolbar: Ảnh / Văn bản / Nền / Sticker (desktop) — bottom toolbar Ảnh / Chữ / Nền / Sticker (mobile). */
#amwld-customer .amwld-content-bar .amwld-tool-m { display:none; }
#amwld-customer .amwld-content-bar button[aria-pressed=true] { background:#18734e; border-color:#18734e; color:white; }
#amwld-customer .amwld-content-list { display:flex; flex-direction:column; gap:6px; }
#amwld-customer .amwld-content-list button { display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left; min-height:40px; }
#amwld-customer .amwld-content-snip { font-size:12px; color:#52685c; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
#amwld-customer .amwld-content-progress { margin:0; font-weight:600; }
#amwld-customer .amwld-content-sheet header .amwld-content-back { flex:0 0 auto; }
@media(max-width:782px), (hover:none) and (pointer:coarse) {
 #amwld-customer .amwld-content-bar .amwld-tool-d { display:none; }
 #amwld-customer .amwld-content-bar .amwld-tool-m { display:inline; }
 #amwld-customer .amwld-content-bar { justify-content:space-around; padding:4px 6px max(4px,env(safe-area-inset-bottom)); border-top:1px solid #cfd9d4; box-shadow:0 -2px 8px rgba(16,39,34,.08); }
 #amwld-customer .amwld-content-bar button { flex:1 1 0; min-height:46px; }
}

/* E7.1 Text permissions: compact controls inside the existing contextual sheet. */
#amwld-customer .amwld-content-text-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:8px; }
#amwld-customer .amwld-content-field { display:flex; flex-direction:column; gap:4px; min-width:0; font-size:12px; }
#amwld-customer .amwld-content-field select, #amwld-customer .amwld-content-size input { width:100%; min-width:0; min-height:40px; padding:6px; border:1px solid #bccdc5; border-radius:6px; font:16px/1.3 system-ui,sans-serif; color:#203331; background:white; }
#amwld-customer .amwld-content-size { display:flex; align-items:center; gap:4px; }
#amwld-customer .amwld-content-size button { flex:0 0 36px; min-width:36px; padding:6px; }
#amwld-customer .amwld-content-align { display:flex; grid-column:1/-1; gap:6px; }
#amwld-customer .amwld-content-align button { flex:1; min-width:0; }
#amwld-customer .amwld-content-text-controls:empty { display:none; }

/* E9 step 0: full-width "+ Thêm chữ" at the top of the Text list and directly below the header of the Text detail view. */
#amwld-customer .amwld-content-sheet > button[data-text-add] { display:block; width:100%; align-self:stretch; min-height:44px; font-weight:600; }
/* E9 Designer header: [Đặt hàng] [Đóng] (Collage only). */
#amwld-customer .amwld-customer-header .amwld-customer-order { margin-left:auto; min-width:110px; border-color:#b5401f; background:#c8502a; color:white; font-weight:700; }
#amwld-customer .amwld-customer-header .amwld-customer-order:disabled { opacity:.55; }
