/* HAJIME Wedding OS — Chat 11.29 FULL UAT FIX02 */

/* 1) Hạng mục Thiết kế: 18 / 30 / 48, ưu tiên Trao đổi */
@media (min-width:1181px){
  .c1129-design-grid{grid-template-columns:minmax(180px,18fr) minmax(300px,30fr) minmax(500px,48fr)!important;gap:12px!important}
  .c1129-design-chat{min-height:660px!important;max-height:calc(100vh - 105px)!important}
  .c1129-design-list{max-height:calc(100vh - 105px)!important}
}
.c1129-design-detail{padding:12px!important}
.c1129-gallery{display:block!important;position:relative!important;width:100%!important;overflow:hidden!important}
.c1129-main-image{display:block!important;width:100%!important;height:360px!important;min-height:320px!important;border-radius:12px!important;background:#e9eef3!important;overflow:hidden!important}
.c1129-main-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;background:#e9eef3!important}
.c1129-main-image>span{font-size:12px!important;padding:5px 10px!important}
.c1129-thumb-strip{display:flex!important;gap:6px!important;position:absolute!important;left:8px!important;bottom:8px!important;margin:0!important;padding:5px!important;border-radius:9px!important;background:rgba(15,30,42,.66)!important;backdrop-filter:blur(3px)}
.c1129-thumb-strip button:not(.c1129-view-all){width:48px!important;height:42px!important;border:2px solid rgba(255,255,255,.75)!important;border-radius:7px!important;background:#fff!important}
.c1129-thumb-strip img{width:100%!important;height:100%!important;object-fit:cover!important}
.c1129-view-all{min-width:42px!important;height:42px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:7px!important;background:rgba(255,255,255,.92)!important;color:#163b55!important;font-weight:800!important}
.c1129-no-image{height:260px!important;font-size:14px!important}
.c1129-chat-head{padding:14px 16px!important}.c1129-chat-head h3{font-size:18px!important}.c1129-chat-head p{font-size:13px!important}
.c1129-message-list{padding:10px 14px!important}.c1129-message{padding:12px 3px!important}.c1129-message header b{font-size:14px!important}.c1129-message header small{font-size:12px!important}.c1129-message p{font-size:14px!important;line-height:1.58!important}.c1129-message blockquote{font-size:13px!important;line-height:1.45!important}.c1129-message footer{gap:18px!important;margin-top:9px!important}.c1129-message footer button,.c1129-message footer span{font-size:13px!important}.c1129-composer{padding:11px 12px!important}.c1129-composer textarea{min-height:100px!important;font-size:14px!important;line-height:1.5!important}.c1129-composer-tools{gap:8px!important}.c1129-file-btn,.c1129-composer-tools summary{font-size:13px!important}.c1129-composer-tools .btn[type=submit]{min-width:94px!important;min-height:36px!important;font-size:13px!important}
.c1129-lightbox{display:flex;flex-direction:column;gap:10px}.c1129-lightbox-stage{position:relative;display:grid;place-items:center;min-height:58vh;max-height:72vh;background:#0f1720;border-radius:12px;overflow:hidden}.c1129-lightbox-stage img{max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain}.c1129-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:58px;border:0;border-radius:10px;background:rgba(255,255,255,.88);font-size:36px;line-height:1;color:#203d52;cursor:pointer}.c1129-lightbox-nav.prev{left:12px}.c1129-lightbox-nav.next{right:12px}.c1129-lightbox-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.c1129-lightbox-meta span{font-weight:800;color:#536779}

/* 2) Production: header rõ hơn, section rỗng gọn tối đa, action luôn nhìn thấy */
.h1129-event-band{background:#c8ddf0!important;border-color:#94b6d4!important;color:#102f48!important;box-shadow:inset 4px 0 #3f6f97!important}.h1129-event-band b{font-size:17px!important;color:#102f48!important}.h1128-ops-row{background:#e8f2fb!important;border-left:5px solid #7da4c7!important}.h1128-ops-row:hover{background:#dfeefa!important}.h1128-ops-item.expanded>.h1128-ops-row{background:#d2e6f7!important;border-left-color:#285d87!important}.h1128-ops-row .h1129-item-cell b{font-size:18px!important}.h1128-ops-row .h1129-event-cell b{font-size:15px!important}.h1129-empty-section{padding:4px 8px!important;min-height:0!important}.h1129-empty-section .h1128-subhead{margin:0!important;min-height:30px!important}.h1129-empty-section .h1128-subhead>div>b{font-size:15px!important}.h1129-empty-section .h1128-subhead small{display:none!important}.h1129-event-outside.h1129-empty-section{padding:5px 8px!important;margin-top:5px!important;margin-bottom:6px!important}.h1129-disabled-add{gap:6px!important}.h1129-disabled-add small{font-size:11px!important;line-height:1.2!important;max-width:220px!important}.h1129-disabled-add .btn[disabled]{display:inline-flex!important;visibility:visible!important;opacity:.62!important}

/* 3) Admin/RBAC: nút thêm thành viên phải rõ và luôn ở header Team */
.c1129-team-card>.card-head{background:#f3f7fb;border-bottom:1px solid #dce7f0;padding:14px 16px!important}.c1129-team-card>.card-head .btn-primary{font-size:13px!important;min-height:36px!important;padding:7px 12px!important;box-shadow:0 2px 6px rgba(34,78,107,.16)}.c1129-team-card>.card-head h3{font-size:17px!important}.c1129-account-row b{font-size:14px!important}.c1129-account-row span{font-size:13px!important}

/* 4) Typography pass toàn hệ thống: tăng khả năng đọc nhưng không phá layout */
#content{font-size:15px!important}.page-header h1{font-size:28px!important;line-height:1.2!important}.page-header p{font-size:15px!important;line-height:1.5!important}.card-head h2{font-size:20px!important}.card-head h3{font-size:17px!important}.card-head p{font-size:14px!important;line-height:1.45!important}.card-body{font-size:14px!important}.data-table th{font-size:12px!important;line-height:1.3!important}.data-table td{font-size:14px!important;line-height:1.42!important}.data-table td small,.data-table th small,.cell-sub,.muted{font-size:12.5px!important;line-height:1.4!important}.chip{font-size:12px!important;line-height:1.25!important}.tab-btn{font-size:15px!important}.btn.btn-sm{font-size:12.5px!important}.form-callout{font-size:13.5px!important;line-height:1.45!important}.form-callout small{font-size:12px!important}.h1128-task-row,.hjm-notification-general{font-size:14px!important}.h1128-task-row b,.hjm-notification-general b{font-size:15px!important;line-height:1.35!important}.h1128-task-row small,.hjm-notification-general small{font-size:12.5px!important;line-height:1.4!important}

@media(max-width:1180px){.c1129-main-image{height:400px!important}.c1129-thumb-strip{position:static!important;margin-top:7px!important;background:transparent!important;padding:0!important}.c1129-thumb-strip button:not(.c1129-view-all){border:1px solid #dce3e9!important}}
