.portal-module__OTlCwG__page{min-height:100vh;padding:var(--ui-space-section-gap);background:var(--background)}.portal-module__OTlCwG__header{align-items:center;gap:var(--ui-space-section-gap);width:min(100%,1280px);margin:0 auto var(--ui-space-section-gap);grid-template-columns:auto 1fr auto;display:grid}.portal-module__OTlCwG__header>a{display:flex}.portal-module__OTlCwG__logo{width:126px}.portal-module__OTlCwG__header h1,.portal-module__OTlCwG__header p,.portal-module__OTlCwG__detailHeader h2,.portal-module__OTlCwG__detailHeader p{margin:0}.portal-module__OTlCwG__header p,.portal-module__OTlCwG__detailHeader p{margin-top:4px}.portal-module__OTlCwG__workspace{border:1px solid var(--border-default);border-radius:var(--radius-panel);background:var(--surface);grid-template-columns:340px minmax(0,1fr);width:min(100%,1280px);height:calc(100vh - 122px);min-height:700px;margin:0 auto;display:grid;overflow:hidden}.portal-module__OTlCwG__sidebar{border-right:1px solid var(--border-subtle);grid-template-rows:auto auto auto minmax(0,1fr) auto;grid-template-areas:"views""list-header""list-error""ticket-list""channels";min-width:0;min-height:0;display:grid}.portal-module__OTlCwG__views{border-bottom:1px solid var(--border-subtle);grid-area:views;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px;display:grid}.portal-module__OTlCwG__views button{border-radius:var(--radius-control);min-width:0;min-height:64px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;place-items:center;gap:3px;padding:7px 4px;display:grid;position:relative}.portal-module__OTlCwG__views button:hover{background:var(--surface-hover)}.portal-module__OTlCwG__views button[aria-current=page]{background:var(--accent-soft);color:var(--text-primary)}.portal-module__OTlCwG__views button>svg{width:17px}.portal-module__OTlCwG__views button>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.portal-module__OTlCwG__views button>i{background:var(--accent-strong);min-width:18px;height:18px;color:var(--primary);border-radius:999px;place-items:center;padding:0 5px;font-style:normal;display:grid;position:absolute;top:5px;right:7px}.portal-module__OTlCwG__listHeader{min-height:var(--ui-control-height-default);padding:0 var(--ui-space-card-padding);border-bottom:1px solid var(--border-subtle);grid-area:list-header;justify-content:space-between;align-items:center;display:flex}.portal-module__OTlCwG__listHeader button{border-radius:var(--radius-small);width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.portal-module__OTlCwG__listHeader svg{width:15px}.portal-module__OTlCwG__listError{padding:9px var(--ui-space-card-padding);background:var(--error-surface);color:var(--destructive);grid-area:list-error;justify-content:space-between;align-items:center;gap:8px;display:flex}.portal-module__OTlCwG__listError>span{color:var(--destructive)}.portal-module__OTlCwG__listError button{color:inherit;cursor:pointer;background:0 0;border:0}.portal-module__OTlCwG__ticketList{grid-area:ticket-list;overflow-y:auto}.portal-module__OTlCwG__ticket{width:100%;padding:14px var(--ui-space-card-padding);border:0;border-bottom:1px solid var(--border-subtle);color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;gap:7px;display:grid}.portal-module__OTlCwG__ticket:hover{background:var(--surface-hover)}.portal-module__OTlCwG__ticket[data-active=true]{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent-strong)}.portal-module__OTlCwG__ticketTop,.portal-module__OTlCwG__ticketMeta{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.portal-module__OTlCwG__ticketTop strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-module__OTlCwG__ticketTop i{background:var(--accent-strong);border-radius:50%;flex:none;width:8px;height:8px}.portal-module__OTlCwG__ticketPreview{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.portal-module__OTlCwG__ticketMeta{color:var(--text-tertiary)}.portal-module__OTlCwG__ticketMeta svg{width:14px}.portal-module__OTlCwG__listEmpty{text-align:center;margin:0;padding:30px 16px}.portal-module__OTlCwG__channels{padding:12px var(--ui-space-card-padding);border-top:1px solid var(--border-subtle);flex-wrap:wrap;grid-area:channels;align-items:center;gap:8px 12px;display:flex}.portal-module__OTlCwG__channels>span{width:100%}.portal-module__OTlCwG__channels a,.portal-module__OTlCwG__alternateChannels a{align-items:center;gap:5px;text-decoration:none;display:inline-flex}.portal-module__OTlCwG__channels svg,.portal-module__OTlCwG__alternateChannels svg{width:14px}.portal-module__OTlCwG__content,.portal-module__OTlCwG__conversation,.portal-module__OTlCwG__newTicket{min-width:0;min-height:0}.portal-module__OTlCwG__conversation{background:var(--surface-subtle);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"conversation-header""conversation-error""messages""composer";height:100%;display:grid}.portal-module__OTlCwG__detailHeader{justify-content:space-between;align-items:center;gap:var(--ui-space-field-gap);min-height:76px;padding:14px var(--ui-space-panel-padding);border-bottom:1px solid var(--border-subtle);background:var(--surface);grid-area:conversation-header;display:flex}.portal-module__OTlCwG__detailHeader>div{min-width:0}.portal-module__OTlCwG__titleLine{align-items:center;gap:var(--ui-space-control-gap);min-width:0;display:flex}.portal-module__OTlCwG__titleLine h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-module__OTlCwG__messages{gap:var(--ui-space-field-gap);padding:var(--ui-space-panel-padding);flex-direction:column;grid-area:messages;display:flex;overflow-y:auto}.portal-module__OTlCwG__message{width:min(76%,680px);padding:var(--ui-space-card-padding);border:1px solid var(--border-default);border-radius:var(--radius-card);background:var(--surface);align-self:flex-start}.portal-module__OTlCwG__message[data-sender=customer]{border-color:var(--accent-border);background:var(--accent-soft);align-self:flex-end}.portal-module__OTlCwG__message[data-sender=ai]{border-style:dashed}.portal-module__OTlCwG__messageMeta{justify-content:space-between;align-items:center;gap:var(--ui-space-control-gap);color:var(--text-tertiary);display:flex}.portal-module__OTlCwG__messageMeta strong{color:var(--text-secondary)}.portal-module__OTlCwG__message>p{overflow-wrap:anywhere;white-space:pre-wrap;margin:8px 0 0}.portal-module__OTlCwG__composer{gap:var(--ui-space-control-gap);padding:14px var(--ui-space-panel-padding);border-top:1px solid var(--border-subtle);background:var(--surface);grid-area:composer;display:grid}.portal-module__OTlCwG__composer textarea{resize:vertical;min-height:86px}.portal-module__OTlCwG__composerFooter,.portal-module__OTlCwG__formActions{justify-content:space-between;align-items:center;gap:var(--ui-space-field-gap);display:flex}.portal-module__OTlCwG__composerFooter>span{color:var(--text-tertiary)}.portal-module__OTlCwG__error,.portal-module__OTlCwG__inlineError{color:var(--destructive);margin:0}.portal-module__OTlCwG__inlineError{padding:8px var(--ui-space-panel-padding);border-bottom:1px solid var(--error-border);background:var(--error-surface);grid-area:conversation-error}.portal-module__OTlCwG__readOnly{padding:var(--ui-space-card-padding) var(--ui-space-panel-padding);border-top:1px solid var(--border-subtle);background:var(--surface);text-align:center;grid-area:composer}.portal-module__OTlCwG__empty{align-content:center;place-items:center;gap:var(--ui-space-control-gap);height:100%;padding:var(--ui-space-panel-padding);color:var(--text-tertiary);text-align:center;display:grid}.portal-module__OTlCwG__empty>svg{width:30px}.portal-module__OTlCwG__newTicket{height:100%;overflow-y:auto}.portal-module__OTlCwG__newTicket .portal-module__OTlCwG__detailHeader{justify-content:flex-start}.portal-module__OTlCwG__ticketForm{gap:var(--ui-space-section-gap);width:min(100%,720px);padding:32px var(--ui-space-panel-padding) 48px;display:grid}.portal-module__OTlCwG__field{gap:var(--ui-space-control-gap);display:grid}.portal-module__OTlCwG__field select{width:100%;height:var(--ui-control-height-default);border:1px solid var(--border-default);border-radius:var(--radius-control);background:var(--surface);color:var(--text-input);outline:none;padding:0 13px}.portal-module__OTlCwG__field select:focus{border-color:var(--accent-border);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent)}.portal-module__OTlCwG__field textarea{min-height:var(--ui-control-textarea-min-height)}.portal-module__OTlCwG__formActions{padding-top:var(--ui-space-control-gap);justify-content:flex-end}.portal-module__OTlCwG__guestPage{min-height:100vh;padding:var(--ui-space-section-gap);background:var(--background);place-items:center;display:grid}.portal-module__OTlCwG__guestCard{gap:var(--ui-space-section-gap);border:1px solid var(--border-default);border-radius:var(--radius-panel);background:var(--surface);width:min(100%,520px);padding:32px;display:grid}.portal-module__OTlCwG__guestHeading{gap:var(--ui-space-control-gap);display:grid}.portal-module__OTlCwG__guestHeading>svg{width:28px;color:var(--text-secondary)}.portal-module__OTlCwG__guestHeading h1,.portal-module__OTlCwG__guestHeading p{margin:0}.portal-module__OTlCwG__guestCard>a[role=button]{text-decoration:none}.portal-module__OTlCwG__alternateChannels{gap:var(--ui-space-control-gap) 16px;padding-top:var(--ui-space-card-padding);border-top:1px solid var(--border-subtle);flex-wrap:wrap;display:flex}.portal-module__OTlCwG__alternateChannels>span{width:100%}.portal-module__OTlCwG__contacts{text-underline-offset:3px;width:fit-content}@media (max-width:760px){.portal-module__OTlCwG__page{padding:12px}.portal-module__OTlCwG__header{grid-template-columns:1fr;gap:12px}.portal-module__OTlCwG__header>a{grid-column:1/-1}.portal-module__OTlCwG__header>button{justify-self:start}.portal-module__OTlCwG__workspace{border-radius:var(--radius-card);height:auto;min-height:0;display:block;overflow:visible}.portal-module__OTlCwG__sidebar{border-right:0;display:block}.portal-module__OTlCwG__ticketList{max-height:330px}.portal-module__OTlCwG__channels{display:none}.portal-module__OTlCwG__content{border-top:1px solid var(--border-subtle);min-height:620px}.portal-module__OTlCwG__conversation{height:min(760px,100vh - 32px);min-height:620px}.portal-module__OTlCwG__detailHeader{padding-inline:var(--ui-space-card-padding)}.portal-module__OTlCwG__message{width:90%}.portal-module__OTlCwG__messages,.portal-module__OTlCwG__composer,.portal-module__OTlCwG__ticketForm{padding-inline:var(--ui-space-card-padding)}}@media (max-width:480px){.portal-module__OTlCwG__header>button{padding-inline:12px}.portal-module__OTlCwG__detailHeader{flex-direction:column;align-items:flex-start}.portal-module__OTlCwG__newTicket .portal-module__OTlCwG__detailHeader{flex-direction:row}.portal-module__OTlCwG__composerFooter{align-items:flex-end}.portal-module__OTlCwG__composerFooter>span{max-width:120px}.portal-module__OTlCwG__guestCard{padding:var(--ui-space-panel-padding)}}
