body .compact-activity-row .row-people-line>.row-attachments{position:relative;display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:4px;margin-left:auto;border:1px solid #777;border-radius:50%!important;background:#fff;color:#555}
body .compact-activity-row .row-people-line>.row-attachments svg{width:20px;height:20px}
body .compact-activity-row .row-people-line>.row-attachments .count-bubble{right:-10px;top:-4px;border:1px solid #fff}
body .compact-activity-row .row-people-line>.row-attachments+.argh-row-messages{margin-left:8px!important}
.attachment-list,.attachment-controls{display:grid;gap:12px}.attachment-list{margin-bottom:20px}
.attachment-entry{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #bbb}
.attachment-entry a{flex:1;min-width:0;overflow-wrap:anywhere;color:#465e6a;text-decoration:underline}
.attachment-entry small{font-size:12px;color:#777;white-space:nowrap}
.attachment-entry button{flex:0 0 32px;width:32px;height:32px;border-radius:50%!important;padding:0;background:#fff;border:1px solid #777;color:#555;font-size:24px}
.attachment-controls>button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #777;border-radius:24px!important;background:white;color:#555;padding:10px}
.attachment-controls svg{width:24px;height:24px}.attachment-link-form{display:grid;gap:10px}.attachment-link-form input{width:100%;box-sizing:border-box}.attachment-link-form button{border-radius:24px!important}
.attachment-error:empty{display:none}.attachment-error:not(:empty){position:sticky;bottom:8px;background:white;border:1px solid #b44;padding:12px;color:#833;z-index:4}
#modalRoot .photo-actions.has-media>.photo-option-tile{height:44px;min-height:44px;width:44px;padding:8px;margin:0;border:1px solid #777;border-radius:50%!important}
#modalRoot .photo-actions.has-media>.photo-option-tile svg{width:26px;height:26px}
#modalRoot .detail-subpage[aria-label=Media]>.secondary-back::after{display:none!important}
#quickRemind[hidden]{display:none!important}#quickRemind[aria-pressed=true]{color:#f47721!important}
.shared-media-readonly{display:grid;gap:16px}.shared-media-readonly>img{width:100%;height:auto}.shared-media-readonly .photo-preview-window{display:block;position:relative;width:100%;aspect-ratio:3/2}
#modalRoot .attachment-modal-overlay{display:grid;place-items:center;padding:20px 12px;background:#fffe;overflow:auto}
#modalRoot .attachment-modal-dialog{position:relative;width:min(100%,420px);min-height:0;max-height:none;padding:0;border:0;margin:auto;background:transparent;overflow:visible}
#modalRoot .attachment-modal-dialog>#dialogTitle{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
#modalRoot .attachment-modal-dialog>.secondary-back{display:none!important}
#modalRoot .attachment-modal-dialog>.secondary-back::after{display:none!important}
.attachment-circle{position:relative;display:flex;flex-direction:column;justify-content:center;gap:28px;width:100%;aspect-ratio:1;border:3px solid #ff6b00;border-radius:50%!important;background:white;padding:44px 6%}
.attachment-tabs{display:flex;align-items:center;justify-content:center;gap:18px}
.attachment-tabs button{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:9px;border:1px solid #999;border-radius:50%!important;background:#fff;color:#666}
.attachment-tabs button[aria-pressed=true]{background:#ff6b00;color:#fff;border-color:#ff6b00}
.attachment-tabs svg{width:24px;height:24px}
.attachment-circle-form{display:grid;justify-items:center;gap:24px}
.attachment-circle-form input:not([type=file]){box-sizing:border-box;width:100%;min-width:0;height:40px;padding:8px 14px;border:1px solid #555;border-radius:24px!important;background:#fff;color:#555;font-size:16px}
.attachment-submit{width:124px;min-height:40px;border:0;border-radius:24px!important;padding:8px 18px;background:#ff6b00;color:white}
.attachment-submit:disabled{background:#ccc;color:white;cursor:default}
.attachment-circle :is(input,button):is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
.attachment-circle .attachment-error{position:absolute;bottom:24px;left:12%;right:12%;margin:0;padding:8px;font-size:12px;line-height:1.3;border-radius:12px;background:#fff}
#rowAttachments>.attachment-list{margin-top:18px;padding:0 10px}
.link-preview{position:relative;display:block;flex:0 0 48px;width:48px;height:48px;overflow:hidden;background:#eee;text-decoration:none!important;color:#666}
.link-preview>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;height:100%;padding:4px}
.link-preview svg{width:20px;height:20px}.link-preview small{font-size:9px;line-height:1.1;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}
.link-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:360px){.attachment-circle{gap:20px;padding-block:32px}.attachment-circle-form{gap:18px}}
body .compact-activity-row.has-row-files>.swipe-front>.row-file-links{display:grid;gap:5px;padding:0 48px 8px var(--row-leading);font-size:14px;line-height:1.2;min-width:0}
body .compact-activity-row.has-row-files.has-row-photo-thumbnail>.swipe-front>.row-file-links{padding-left:calc(var(--row-leading) + 60px)}
.row-file-links a{display:flex;align-items:center;gap:6px;color:#627680;text-decoration:underline;overflow-wrap:anywhere}
.file-type-icon{display:inline-flex;align-items:center;flex:0 0 20px;width:20px;height:24px;vertical-align:middle}
.attachment-file-icon{display:block;width:20px;height:24px}.row-file-links a>span:last-child{min-width:0}

body .link-preview-only>.row-link-card{display:block;position:relative;flex:none;width:100%;height:210px;background:#eee;color:#555;overflow:hidden}
body .row-link-card>span{font-size:16px;gap:12px;padding:20px}
body .row-link-card>span svg{width:42px;height:42px}
body .row-link-card>span small{font-size:16px;max-width:100%}
body .row-link-card>.link-card-title{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:12px;background:#fffffff2;font-size:16px;color:#444}
body .link-preview-only>.swipe-front>.listrow b{font-size:14px;overflow-wrap:anywhere;color:#777}
body .compact-activity-row>.swipe-front>.row-url-inline{position:absolute;z-index:3;right:48px;bottom:calc(var(--caption-height,68px) - 40px);display:grid;place-items:center;width:30px;height:30px;padding:4px;box-sizing:border-box;border:1px solid #777;border-radius:50%!important;background:#fff;color:#666}
body .today-layout .compact-activity-row.has-inline-url>.swipe-front>:is(.listrow,.stream-row,[data-shared]){padding-right:88px!important}
body .compact-activity-row .row-link-preview{display:none!important}

/* A preview is a full-width media block above the swipeable caption. */
body .compact-activity-row.link-preview-only{display:block!important;width:100%;min-width:0}
body .compact-activity-row.link-preview-only>.row-link-card{display:block!important;width:100%!important;max-width:100%;height:210px;margin:0;box-sizing:border-box}
body .compact-activity-row.link-preview-only>.swipe-front{display:block!important;width:100%!important;min-width:100%;flex:none;box-sizing:border-box}
body .compact-activity-row.link-preview-only>.swipe-front>:is(.listrow,.stream-row,[data-shared]){display:block!important;width:100%!important;min-width:0;white-space:normal}
body .compact-activity-row>.swipe-front>.row-url-inline{top:12px!important;bottom:auto!important;right:48px!important}

/* A saved link keeps the site title in its preview and the URL in the row. */
body .link-preview-only>.row-link-media{position:relative;display:block;width:100%;height:210px;overflow:hidden;background:#eee}
body .row-link-media>.row-link-card{position:relative;display:block;width:100%;height:100%;margin:0}
body .row-link-media>.link-preview-size{position:absolute;z-index:3;left:6px;top:6px;display:grid;place-items:center;box-sizing:border-box;width:28px;height:28px;min-height:28px;padding:4px;border:1px solid #999;border-radius:50%!important;background:#fffffff0;color:#666;line-height:0}
body .link-preview-size svg{width:19px;height:19px;pointer-events:none}
body .link-preview-small>.row-link-media{position:absolute;left:0;bottom:0;width:68px;height:var(--caption-height,68px);z-index:2}
body .link-preview-small .row-link-card>.link-card-title,body .link-preview-small .row-link-card small{display:none}
body .link-preview-small .link-preview-size{left:6px;top:6px;transform:none}
body .compact-activity-row.link-preview-small>.swipe-front>:is(.listrow,.stream-row,[data-shared]){padding-left:80px!important;min-height:68px!important}
body .row-url-name{color:inherit;text-decoration:none;overflow-wrap:anywhere;display:block;max-width:100%}
body .row-url-name:hover{text-decoration:underline}
body .video-thumbnail-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#eee;color:#777;font-size:32px}
body .activity-video-thumbnail{pointer-events:none}

body .row-link-media>.link-preview-size{opacity:.8}

body .link-preview-small .link-preview-size{display:none!important}
/* Rows without a people header keep their asset circle just left of swipe. */
body .swipe-row.has-inline-url>.swipe-front>.row-url-inline,
body .compact-activity-row.has-inline-url>.swipe-front>.row-url-inline{position:absolute!important;z-index:6;top:-8px!important;bottom:auto!important;right:38px!important;display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;padding:4px;border:1px solid #777;border-radius:50%!important;background:#fff;color:#666}
body .swipe-row.has-inline-url>.swipe-front>:is(.listrow,.stream-row,[data-shared]){padding-right:78px!important}
/* The row's overflow clipping hid the raised circle regardless of its z-index. */
html.minimal-ui body .swipe-row.has-inline-url{position:relative;z-index:2;overflow:visible!important}
html.minimal-ui body .swipe-row.has-inline-url>.swipe-front{position:relative;z-index:3;overflow:visible}
html.minimal-ui body .swipe-row.has-inline-url>.swipe-front>.row-url-inline{z-index:10!important}
