.il-notice{padding:.75em 1em;background:#f5f5f5;border-radius:8px;color:#555}

.il-btn-primary,.il-btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.4em;padding:.6em 1.1em;border-radius:8px;font-size:.9em;font-weight:600;cursor:pointer;text-decoration:none;border:1px solid transparent;line-height:1.2;transition:background-color .15s ease,border-color .15s ease,opacity .15s ease}
.il-btn-primary{background:#2563eb;color:#fff}
.il-btn-primary:hover{background:#1d4ed8;color:#fff}
.il-btn-primary:disabled{opacity:.55;cursor:default}
.il-btn-ghost{background:#fff;color:#374151;border-color:#d7dbe0}
.il-btn-ghost:hover{background:#f3f4f6}

.il-review-form__stars{display:flex;gap:.5em;margin-bottom:.75em}
.il-listing-rating{display:inline-flex;gap:.4em;align-items:center}
.il-listing-rating__stars{color:#e2a03f}

/* Contact / inquiry form */
.il-contact-form{display:flex;flex-direction:column;gap:.9em;padding:1.2em;border:1px solid #e3e5e8;border-radius:14px;background:#fff;max-width:420px}
.il-contact-form__title{margin:0;font-size:1.1em}
.il-contact-form__row{display:flex;flex-direction:column;gap:.3em}
.il-contact-form__row--split{flex-direction:row;gap:.9em}
.il-contact-form__row--split>div{flex:1;display:flex;flex-direction:column;gap:.3em}
.il-contact-form label{font-size:.8em;font-weight:600;color:#374151}
.il-contact-form input,.il-contact-form textarea{padding:.55em .7em;border:1px solid #d7dbe0;border-radius:8px;font:inherit}
.il-contact-form textarea{min-height:4.5em;resize:vertical}
.il-contact-form input:focus,.il-contact-form textarea:focus{outline:none;border-color:#2563eb}
.il-contact-form__estimate{margin:0;font-weight:700}
.il-contact-form__disclaimer{margin:0;font-size:.78em;color:#8a8f98}

/* Inbox shell */
.il-inbox{display:flex;height:640px;max-height:80vh;border:1px solid #e3e5e8;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.06)}

/* Conversation list */
.il-inbox__list{flex:0 0 320px;display:flex;flex-direction:column;border-right:1px solid #e3e5e8;overflow-y:auto;background:#fff}
.il-inbox__list-header{padding:1em 1.1em;font-weight:700;font-size:1.05em;border-bottom:1px solid #eef0f2;position:sticky;top:0;background:#fff;z-index:1}
.il-inbox__list .il-notice{margin:1em}
.il-inbox__item{display:flex;align-items:flex-start;gap:.7em;padding:.85em 1.1em;text-decoration:none;color:inherit;border-bottom:1px solid #f2f3f5;position:relative}
.il-inbox__item:hover{background:#f7f8fa}
.il-inbox__item.is-active{background:#eef4ff;border-right:3px solid #2563eb}
.il-inbox__avatar{position:relative;flex:0 0 auto;line-height:0}
.il-inbox__avatar img{border-radius:50%;display:block;width:44px;height:44px;object-fit:cover}
.il-inbox__avatar-status{position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;border:2px solid #fff}
.il-inbox__avatar-status.is-open{background:#22c55e}
.il-inbox__avatar-status.is-closed{background:#9ca3af}
.il-inbox__item-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.1em}
.il-inbox__item-top{display:flex;align-items:baseline;justify-content:space-between;gap:.5em}
.il-inbox__item-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.il-inbox__item-time{font-size:.75em;color:#8a8f98;flex:0 0 auto}
.il-inbox__item-listing{font-size:.8em;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.il-inbox__item-preview{font-size:.82em;color:#9199a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.il-inbox__item.has-unread .il-inbox__item-name,.il-inbox__item.has-unread .il-inbox__item-preview{color:#111827;font-weight:700}
.il-inbox__badge{align-self:center;background:#ef4444;color:#fff;border-radius:999px;font-size:.72em;font-weight:700;min-width:1.4em;height:1.4em;display:flex;align-items:center;justify-content:center;padding:0 .3em}

/* Thread pane */
.il-inbox__thread{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;background:#f7f8fa}
.il-inbox__empty{flex:1;display:flex;align-items:center;justify-content:center}
.il-thread{display:flex;flex-direction:column;height:100%;min-height:0}
.il-thread__header{display:flex;align-items:center;gap:.7em;padding:.85em 1.2em;background:#fff;border-bottom:1px solid #eef0f2}
.il-thread__avatar img{border-radius:50%;display:block;width:40px;height:40px;object-fit:cover}
.il-thread__header-info{flex:1;min-width:0;display:flex;flex-direction:column}
.il-thread__header-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.il-thread__header-listing{font-size:.82em;color:#2563eb;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.il-thread__header-listing:hover{text-decoration:underline}
.il-thread__status{font-size:.72em;font-weight:700;padding:.3em .7em;border-radius:999px;flex:0 0 auto}
.il-thread__status.is-open{background:#dcfce7;color:#166534}
.il-thread__status.is-closed{background:#f1f2f4;color:#6b7280}

.il-thread__messages{flex:1;overflow-y:auto;padding:1.2em;display:flex;flex-direction:column;gap:.9em}
.il-thread__date-separator{display:flex;align-items:center;text-align:center;color:#9199a3;font-size:.78em;margin:.4em 0}
.il-thread__date-separator span{background:#eceef1;padding:.3em .9em;border-radius:999px}

.il-thread__group{display:flex;align-items:flex-end;gap:.5em;max-width:78%}
.il-thread__group.is-mine{align-self:flex-end;flex-direction:row-reverse}
.il-thread__group-avatar img{border-radius:50%;display:block;width:28px;height:28px;object-fit:cover}
.il-thread__bubbles{display:flex;flex-direction:column;gap:.2em;min-width:0}
.il-thread__bubble{background:#fff;padding:.6em .85em;border-radius:14px 14px 14px 4px;box-shadow:0 1px 1px rgba(16,24,40,.05);word-break:break-word}
.il-thread__group.is-mine .il-thread__bubble{background:#2563eb;color:#fff;border-radius:14px 14px 4px 14px}
.il-thread__bubble p{margin:0 0 .25em;white-space:pre-wrap}
.il-thread__bubble time{display:block;font-size:.68em;text-align:right;color:#9199a3}
.il-thread__group.is-mine .il-thread__bubble time{color:rgba(255,255,255,.75)}

.il-thread__form{display:flex;gap:.6em;padding:.9em 1.2em;background:#fff;border-top:1px solid #eef0f2}
.il-thread__form textarea{flex:1;min-height:2.6em;max-height:8em;padding:.6em .9em;border:1px solid #d7dbe0;border-radius:10px;font:inherit;resize:vertical}
.il-thread__form textarea:focus{outline:none;border-color:#2563eb}

.il-thread__actions{display:flex;flex-wrap:wrap;gap:.6em;align-items:center;padding:.9em 1.2em;background:#fff;border-top:1px solid #eef0f2}
.il-thread__remind-feedback{font-size:.82em;color:#166534}
.il-thread__remind-feedback.is-error{color:#b42318}

@media (max-width:680px){
	.il-inbox{flex-direction:column;height:auto;max-height:none}
	.il-inbox__list{flex:none;max-height:260px;border-right:none;border-bottom:1px solid #e3e5e8}
	.il-inbox__thread{min-height:480px}
}
.il-thread__system{display:flex;justify-content:center;margin:.6em 0}
.il-thread__system span{padding:.35em .9em;border-radius:999px;background:#eceff3;color:#6b7280;font-size:.78em;font-weight:600;text-align:center}
.il-contact-form__bundle{margin:0;padding:.7em .9em;border:1px solid #e3e5e8;border-radius:10px;display:flex;flex-direction:column;gap:.4em}
.il-contact-form__bundle legend{padding:0 .4em;font-size:.8em;font-weight:600;color:#374151}
.il-contact-form__bundle-hint{margin-left:.5em;color:#16a34a;font-weight:700}
.il-contact-form__bundle label{display:flex;align-items:center;gap:.5em;font-weight:500}
.il-auth-btn{display:inline-flex!important;align-items:center;justify-content:center;height:52px;padding:0 28px;border:0;border-radius:100px!important;background-color:#B950D8!important;color:#ffffff!important;font-family:'Unbounded',system-ui,sans-serif!important;font-weight:400!important;font-size:.9rem!important;line-height:1;text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:background-color .2s,translate .3s cubic-bezier(.34,1.57,.64,1)}
.il-auth-btn:hover,.il-auth-btn:focus{background-color:#9501D4!important;color:#ffffff!important;translate:0 -2px;text-decoration:none!important}
