/* Dirham Life V7 — mobile-first extensions */
.v7-tabs,.v7-action-grid,.v7-grid-2,.v7-gallery-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.v7-tabs{grid-template-columns:repeat(2,minmax(0,1fr));margin:15px 0 16px}
.v7-tabs .chip-btn{white-space:normal;min-height:42px}
.v7-grid-2{margin-top:14px}
.v7-stat-card{border:1px solid var(--line);padding:15px;border-radius:17px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:8px}
.v7-stat-card small{font-size:11px;color:#75877c;font-weight:600}
.v7-stat-card strong{font-size:18px;letter-spacing:-.03em;word-break:break-word}
.v7-tip{background:#eaf3ec;border:1px solid #d2e5d7;border-radius:14px;padding:15px;font-size:13px;line-height:1.55;margin:14px 0;color:#355c4b}
.v7-job-row{padding:16px 0;border-bottom:1px solid var(--line);display:grid;gap:7px}
.v7-job-row:last-child{border:0}.v7-job-row strong{font-size:14px}.v7-job-filter .two-actions{align-items:end}
.v7-resume{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 0}.v7-resume:last-child{border:0}.v7-resume .grow{min-width:0}.v7-resume .button{flex:none}
.v7-npc-avatar{display:grid;place-items:center;background:#e2e9df;color:#254e3f;border:1px solid #d7e2d6;font-weight:800;letter-spacing:-.02em;font-size:19px;border-radius:50%;width:42px;height:42px;flex:none}
.v7-offer-card{border-color:#d8e4d9}.v7-offer-price{font-size:29px;font-weight:800;letter-spacing:-.045em;margin:13px 0}
.v7-chat-overlay{align-items:flex-end}.v7-chat-modal{display:flex;flex-direction:column;padding:0!important;max-height:min(92dvh,790px);height:min(85dvh,760px);width:min(100%,640px);border-radius:26px 26px 0 0!important;overflow:hidden!important}
.v7-chat-modal .modal-close{position:absolute;top:15px;right:18px;z-index:5;background:#eaf1ea}
.v7-chat-shell{display:flex;flex-direction:column;min-height:0;flex:1;padding:20px 17px 12px}.v7-chat-title{display:flex;gap:11px;align-items:center;padding:9px 56px 16px 0;border-bottom:1px solid var(--line)}.v7-chat-title h3{font-size:17px}.v7-chat-title .grow{min-width:0}
.v7-chat-disclaimer{color:#78857b;font-size:11px;line-height:1.5;padding:10px 1px}
.v7-chat-history{flex:1;min-height:100px;overflow:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:12px 4px;overscroll-behavior:contain}
.v7-chat-bubble{padding:12px 13px;max-width:88%;font-size:13px;line-height:1.55;border-radius:16px;background:#f0f4ef;color:var(--ink);overflow-wrap:anywhere}
.v7-chat-bubble.me{align-self:flex-end;background:var(--forest);color:white;border-bottom-right-radius:5px}
.v7-chat-bubble.them{border-bottom-left-radius:5px}
.v7-chat-compose{display:flex;gap:8px;flex-shrink:0;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.v7-chat-compose .field{flex:1;min-width:0;min-height:45px;margin:0}
.v7-chat-footer{padding:8px 0;flex-shrink:0}.v7-action-strip{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:7px 0;font-size:12px}
.v7-gallery-hero{position:relative;border-radius:18px;overflow:hidden;background:#d7e4db}.v7-gallery-hero svg,.v7-gallery-hero .v6-generated-photo{width:100%;display:block}.v7-gallery-label{position:absolute;bottom:10px;left:10px;background:#143d30;color:#fff;padding:5px 9px;font-size:10px;border-radius:50px}
.v7-gallery-thumbs{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:9px 0}.v7-gallery-thumb{padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#eaf1ea;min-height:45px}.v7-gallery-thumb.active{border-color:#156046}.v7-gallery-thumb svg{width:100%;display:block}.v7-gallery-thumb img{width:100%}
.v7-art-angle.angle-3 svg{transform:scaleX(-1)}.v7-art-angle.angle-4 svg{transform:scale(1.12);transform-origin:center}.v7-auction-gallery svg{width:100%;height:auto}.v7-rental-card .list-row{align-items:center}
@media(max-width:500px){.v7-job-filter .two-actions{gap:8px}.v7-job-filter .two-actions>.field{min-width:0}.v7-stat-card{padding:12px}.v7-stat-card strong{font-size:16px}.v7-chat-modal{height:87dvh;width:100%}.v7-resume{gap:9px}.v7-resume .button{font-size:11px;padding:10px}.v7-chat-shell{padding-left:12px;padding-right:12px}.v7-gallery-thumb{min-height:35px}}
