Files
hop.noname.company/apps/web/src/style.css

3233 lines
56 KiB
CSS

@import 'tailwindcss';
@custom-variant dark (&:where(.dark, .dark *));
:root {
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
'Noto Sans KR',
sans-serif;
font-synthesis: none;
color-scheme: light;
--bg: #fafafa;
--surface: #ffffff;
--ink: #171717;
--muted: #737373;
--line: #e5e5e5;
--accent: #171717;
--on-accent: #ffffff;
--soft: #f2f2f2;
--hover: #ededed;
--brand: #171717;
--status: #737373;
--border-active: #9c9c9c;
--placeholder: #999999;
color: var(--ink);
background: var(--bg);
}
:root.dark {
color-scheme: dark;
--bg: #000000;
--surface: #111111;
--ink: #f5f5f5;
--muted: #999999;
--line: #2b2b2b;
--accent: #ffffff;
--on-accent: #111111;
--soft: #171717;
--hover: #202020;
--brand: #ffffff;
--status: #b3b3b3;
--border-active: #707070;
--placeholder: #777777;
color: var(--ink);
background: var(--bg);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
cursor: pointer;
}
button:disabled {
opacity: 0.45;
cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
}
button {
color: inherit;
}
input,
textarea,
select {
color: var(--ink);
background: var(--surface);
border: 1px solid var(--line);
}
input:where(:not([type='checkbox'], [type='radio'], [type='file'])),
textarea,
select {
padding: 10px 12px;
border-radius: 10px;
line-height: 1.5;
}
button svg {
flex-shrink: 0;
}
button {
transition:
background 0.16s,
border-color 0.16s,
transform 0.16s;
}
button:hover:not(:disabled) {
filter: brightness(0.98);
}
button:active:not(:disabled) {
transform: translateY(1px);
}
.app-shell {
max-width: 1200px;
margin: auto;
padding: 0 52px;
}
.site-header {
height: 80px;
display: flex;
align-items: center;
gap: 64px;
border-bottom: 1px solid var(--line);
}
.wordmark {
font-size: 43px;
font-weight: 750;
letter-spacing: -3.5px;
border: 0;
background: none;
padding: 0;
line-height: 1;
}
.wordmark span {
color: var(--brand);
}
.desktop-nav {
display: flex;
gap: 34px;
align-self: stretch;
align-items: center;
}
.desktop-nav button {
position: relative;
border: 0;
background: none;
color: var(--muted);
font-size: 13px;
font-weight: 550;
height: 100%;
padding: 0;
}
.desktop-nav button.active {
color: var(--ink);
}
.desktop-nav button.active:after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 2px;
background: var(--accent);
}
.nav-count {
font-size: 10px;
border-radius: 5px;
padding: 2px 5px;
background: var(--soft);
margin-left: 3px;
}
.header-actions {
display: flex;
gap: 20px;
align-items: center;
margin-left: auto;
}
.connection-status {
font-size: 11px;
color: var(--muted);
display: flex;
gap: 7px;
align-items: center;
}
.connection-status i {
height: 5px;
width: 5px;
border-radius: 100%;
background: var(--muted);
}
.connection-status i.online {
background: var(--status);
}
.icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
background: none;
border: 0;
border-radius: 8px;
min-width: 44px;
min-height: 44px;
color: var(--muted);
padding: 8px;
}
.icon-button:hover {
background: var(--hover);
color: var(--ink);
}
.login-button {
border: 1px solid var(--line);
border-radius: 7px;
background: var(--surface);
height: 36px;
padding: 0 13px;
display: flex;
gap: 9px;
align-items: center;
font-size: 11px;
}
.hero {
padding: 61px 0 40px;
}
.eyebrow {
font-size: 10px;
letter-spacing: 1.8px;
color: var(--muted);
display: flex;
gap: 7px;
align-items: center;
font-weight: 550;
}
.eyebrow span {
width: 5px;
height: 5px;
background: var(--status);
border-radius: 100%;
}
h1 {
font-size: 45px;
letter-spacing: -2.4px;
line-height: 1.3;
font-weight: 630;
margin: 17px 0 13px;
}
h1 span {
color: var(--brand);
}
.hero p,
.page-intro p {
font-size: 14px;
color: var(--muted);
letter-spacing: -0.25px;
line-height: 1.8;
margin: 0;
}
.mobile-break {
display: none;
}
.my-device-bar {
display: flex;
align-items: center;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface);
padding: 17px 22px;
gap: 17px;
}
.my-device-icon {
width: 46px;
height: 46px;
background: var(--soft);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent);
}
.label {
color: var(--muted);
font-size: 10px;
display: block;
margin-bottom: 6px;
letter-spacing: 0.3px;
}
.device-name {
font-size: 14px;
display: flex;
gap: 10px;
align-items: center;
background: none;
border: none;
padding: 0;
font-weight: 600;
min-height: 24px;
}
.device-name span {
font-size: 10px;
font-weight: 400;
color: var(--muted);
letter-spacing: 0.3px;
}
.device-name svg {
color: var(--muted);
}
.discovery-toggle {
display: flex;
align-items: center;
gap: 11px;
font-size: 11px;
margin-left: auto;
cursor: pointer;
min-height: 44px;
}
.discovery-toggle input {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
}
.switch {
height: 22px;
width: 39px;
display: block;
background: var(--line);
border-radius: 20px;
position: relative;
}
.switch:after {
content: '';
height: 16px;
width: 16px;
position: absolute;
top: 3px;
left: 3px;
background: white;
border-radius: 100%;
transition: transform 0.18s;
}
.discovery-toggle input:checked + .switch {
background: var(--accent);
}
.discovery-toggle input:checked + .switch:after {
transform: translateX(17px);
}
.discovery-toggle input:focus-visible + .switch {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.workspace-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 354px;
gap: 34px;
margin-top: 40px;
}
.section-heading {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 19px;
}
.section-heading h2 {
margin: 0;
font-size: 15px;
font-weight: 600;
letter-spacing: -0.3px;
}
.section-heading h2 span {
font-size: 11px;
color: var(--muted);
margin-left: 8px;
font-weight: 400;
}
.section-heading p {
margin: 8px 0 0;
font-size: 11px;
color: var(--muted);
}
.peer-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.peer-card {
padding: 20px;
text-align: left;
border: 1px solid var(--line);
border-radius: 11px;
background: var(--surface);
display: flex;
flex-direction: column;
min-width: 0;
transition:
border-color 0.2s,
box-shadow 0.2s;
}
.peer-card:hover {
border-color: var(--border-active);
}
.peer-card.selected {
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
background: var(--soft);
}
.peer-top {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 8px;
}
.peer-top > svg {
color: var(--accent);
}
.peer-live {
display: flex;
align-items: center;
gap: 4px;
color: var(--muted);
font-size: 8px;
}
.peer-live i {
width: 4px;
height: 4px;
background: var(--status);
border-radius: 100%;
}
.peer-card strong {
font-size: 13px;
overflow-wrap: anywhere;
font-weight: 550;
}
.peer-code {
font-size: 9px;
color: var(--muted);
margin-top: 5px;
letter-spacing: 0.6px;
}
.peer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 9px;
color: var(--muted);
margin-top: 19px;
}
.peer-select {
border: 1px solid var(--line);
border-radius: 100%;
height: 22px;
width: 22px;
display: flex;
align-items: center;
justify-content: center;
}
.selected .peer-select {
background: var(--accent);
color: var(--surface);
border-color: var(--accent);
}
.empty-peers {
border: 1px dashed var(--line);
border-radius: 11px;
min-height: 255px;
padding: 31px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(145deg, var(--bg), var(--surface));
}
.orbit-icon {
border: 1px solid var(--line);
color: var(--muted);
background: var(--soft);
border-radius: 100%;
height: 63px;
width: 63px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 9px;
}
.empty-peers h3 {
font-size: 14px;
font-weight: 550;
margin: 10px 0;
}
.empty-peers p {
font-size: 11px;
color: var(--muted);
line-height: 1.8;
margin: 0 0 18px;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 7px;
min-height: 44px;
padding: 10px 16px;
font-size: 12px;
font-weight: 500;
}
.button.primary {
background: var(--accent);
color: var(--surface);
border-color: var(--accent);
}
.button.small {
font-size: 11px;
padding: 7px 11px;
}
.button.danger {
background: #9b433b;
color: white;
border-color: #9b433b;
}
.connect-strip {
display: flex;
align-items: center;
gap: 12px;
margin-top: 15px;
padding: 17px 14px;
background: var(--soft);
border-radius: 9px;
}
.connect-strip-icon {
color: var(--accent);
display: flex;
}
.connect-strip strong {
font-size: 11px;
font-weight: 550;
}
.connect-strip p {
font-size: 10px;
color: var(--muted);
margin: 5px 0 0;
}
.connect-strip > .icon-button {
margin-left: auto;
}
.scope-note {
font-size: 9px;
line-height: 1.8;
color: var(--muted);
display: flex;
align-items: start;
gap: 7px;
margin: 15px 0;
}
.scope-note svg {
flex-shrink: 0;
margin-top: 2px;
}
.send-panel {
border: 1px solid var(--line);
background: var(--surface);
border-radius: 12px;
padding: 24px;
align-self: start;
}
.send-panel-heading {
display: flex;
gap: 11px;
align-items: center;
margin-bottom: 20px;
}
.panel-icon {
height: 34px;
width: 34px;
border-radius: 9px;
background: var(--soft);
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.send-panel-heading h2 {
font-size: 14px;
letter-spacing: -0.3px;
font-weight: 600;
margin: 0;
}
.target-placeholder {
background: var(--bg);
color: var(--muted);
border-radius: 7px;
font-size: 11px;
padding: 14px 12px;
margin: 0 0 19px;
}
.target-pill {
min-height: 44px;
display: flex;
gap: 7px;
align-items: center;
font-size: 11px;
border-radius: 7px;
background: var(--soft);
padding-left: 12px;
margin-bottom: 19px;
}
.target-pill span:nth-child(2) {
overflow-wrap: anywhere;
max-width: 160px;
}
.target-pill small {
font-size: 9px;
color: var(--muted);
}
.target-pill button {
margin-left: auto;
min-width: 32px;
}
.green-dot {
width: 5px;
height: 5px;
background: var(--status);
border-radius: 100%;
flex-shrink: 0;
}
.send-panel textarea {
display: block;
resize: vertical;
border: 1px solid var(--line);
background: var(--bg);
border-radius: 7px;
width: 100%;
min-height: 153px;
padding: 13px;
font-size: 12px;
line-height: 1.8;
}
.send-panel textarea::placeholder {
color: var(--placeholder);
}
.input-meta {
display: flex;
justify-content: space-between;
font-size: 8px;
color: var(--muted);
margin: 9px 0 20px;
}
.send-button {
width: 100%;
justify-content: space-between;
height: 45px;
}
.send-button > span {
flex: 1;
text-align: center;
}
.consent-note {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
font-size: 9px;
color: var(--muted);
margin: 13px 0 22px;
}
.email-send {
border-top: 1px solid var(--line);
padding-top: 18px;
display: flex;
align-items: center;
justify-content: space-between;
}
.email-send > div > span {
font-size: 9px;
color: var(--muted);
display: block;
margin-bottom: 6px;
}
.email-send button {
display: flex;
gap: 5px;
align-items: center;
border: none;
background: none;
padding: 0;
font-size: 10px;
min-height: 24px;
}
.email-tag {
font-size: 8px;
color: var(--muted);
border: 1px solid var(--line);
border-radius: 4px;
padding: 4px 6px;
}
.site-footer {
display: flex;
gap: 15px;
align-items: center;
border-top: 1px solid var(--line);
margin-top: 62px;
padding: 25px 0 33px;
font-size: 9px;
color: var(--muted);
}
.footer-logo {
font-weight: 700;
font-size: 20px;
letter-spacing: -1px;
color: var(--ink);
}
.footer-security {
display: flex;
gap: 4px;
align-items: center;
margin-left: auto;
}
.footer-brand {
margin-left: 20px;
}
.mobile-nav {
display: none;
}
.name-form {
display: flex;
align-items: center;
height: 30px;
}
.name-form input {
width: 180px;
height: 32px;
padding: 5px 8px;
font-size: 13px;
}
.name-form button {
min-height: 32px;
min-width: 32px;
}
.muted {
color: var(--muted);
font-size: 11px;
}
.text-button {
border: none;
background: none;
font-size: 11px;
min-height: 44px;
padding: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.incoming-section {
margin-top: 24px;
}
.incoming-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: 11px;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 15px;
padding: 18px 20px;
margin-top: 12px;
}
.incoming-icon {
background: var(--soft);
border-radius: 100%;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent);
}
.incoming-info {
flex: 1;
min-width: 160px;
}
.incoming-info strong {
font-size: 13px;
}
.incoming-info small {
font-size: 9px;
font-weight: 400;
color: var(--muted);
}
.incoming-info p {
font-size: 10px;
color: var(--muted);
margin: 6px 0 0;
}
.incoming-actions {
display: flex;
gap: 7px;
align-items: center;
}
.request-note {
width: 100%;
font-size: 9px;
color: var(--muted);
margin: 0 0 0 58px;
}
.active-transfers,
.spaces-list {
margin-top: 30px;
}
.transfer-row {
display: flex;
align-items: center;
gap: 14px;
padding: 14px;
border: 1px solid var(--line);
background: var(--surface);
border-radius: 9px;
margin-bottom: 10px;
}
.transfer-row > div {
flex: 1;
}
.transfer-row strong {
font-size: 12px;
}
.transfer-row p {
font-size: 10px;
color: var(--muted);
margin: 5px 0;
}
.space-card {
border: 1px solid var(--line);
border-radius: 9px;
background: var(--surface);
padding: 14px;
margin-bottom: 12px;
}
.space-card-header {
display: flex;
align-items: center;
gap: 14px;
font-size: 10px;
border-bottom: 1px solid var(--line);
padding-bottom: 8px;
}
.space-card-header strong {
display: flex;
align-items: center;
gap: 7px;
font-size: 12px;
}
.space-card-header > span {
margin-left: auto;
color: var(--muted);
}
.space-member {
display: flex;
gap: 12px;
align-items: center;
padding-top: 12px;
font-size: 11px;
}
.space-member > strong {
font-weight: 500;
overflow-wrap: anywhere;
}
.space-member small {
font-size: 9px;
color: var(--muted);
}
.space-member > .muted {
margin-left: auto;
white-space: nowrap;
}
.page-intro {
padding: 50px 0 32px;
}
.page-intro h1 {
font-size: 35px;
}
.list-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
gap: 14px;
}
.filter-buttons {
display: flex;
gap: 8px;
}
.filter-buttons button {
font-size: 11px;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--surface);
min-height: 44px;
padding: 10px 14px;
}
.filter-buttons button.active {
background: var(--soft);
border-color: var(--accent);
}
.list-toolbar input {
font-size: 11px;
padding: 11px;
min-height: 44px;
}
.list-empty {
display: flex;
align-items: center;
flex-direction: column;
text-align: center;
padding: 60px 15px;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 12px;
color: var(--muted);
}
.list-empty h3 {
font-size: 16px;
color: var(--ink);
margin: 22px 0 10px;
}
.list-empty p {
font-size: 12px;
margin: 0 0 24px;
}
.item-card {
border: 1px solid var(--line);
border-radius: 11px;
background: var(--surface);
padding: 20px;
margin-bottom: 12px;
}
.item-heading {
display: flex;
gap: 13px;
align-items: center;
font-size: 10px;
color: var(--muted);
}
.item-type {
display: flex;
align-items: center;
gap: 6px;
color: var(--ink);
font-size: 11px;
}
.item-heading time {
margin-left: auto;
white-space: nowrap;
}
.unread-dot {
height: 6px;
width: 6px;
border-radius: 100%;
background: var(--status);
flex-shrink: 0;
}
.item-body {
white-space: pre-wrap;
overflow-wrap: anywhere;
font-size: 13px;
line-height: 1.9;
margin: 20px 0;
max-height: 260px;
overflow: auto;
}
.item-footer {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid var(--line);
padding-top: 11px;
gap: 10px;
}
.item-footer > span {
font-size: 9px;
color: var(--muted);
}
.item-footer > div {
display: flex;
align-items: center;
gap: 7px;
}
.load-more {
margin: 20px auto;
display: flex;
}
.request-history {
margin: 30px 0;
}
.request-history h2 {
font-size: 14px;
margin-bottom: 14px;
}
.history-row {
display: flex;
gap: 14px;
font-size: 10px;
border-bottom: 1px solid var(--line);
padding: 13px 0;
color: var(--muted);
}
.history-row time {
margin-left: auto;
}
.vault-empty {
text-align: center;
padding: 65px 0 100px;
display: flex;
align-items: center;
flex-direction: column;
}
.vault-icon {
background: var(--soft);
color: var(--accent);
border-radius: 20px;
width: 90px;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
margin: 35px 0 12px;
}
.vault-empty h1 {
font-size: 32px;
}
.vault-empty p {
font-size: 13px;
color: var(--muted);
line-height: 1.9;
margin: 10px 0 25px;
}
.modal-backdrop {
position: fixed;
inset: 0;
background: rgb(16 25 18 / 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 20;
padding: 20px;
backdrop-filter: blur(3px);
}
.modal {
background: var(--surface);
border: 1px solid var(--line);
border-radius: 16px;
width: 430px;
max-height: 90dvh;
overflow: auto;
padding: 25px;
box-shadow: 0 16px 60px rgb(0 0 0 / 0.12);
}
.modal header {
display: flex;
align-items: center;
justify-content: space-between;
}
.modal h2 {
font-size: 19px;
margin: 0;
font-weight: 600;
letter-spacing: -0.5px;
}
.modal-subtitle {
color: var(--muted);
font-size: 12px;
line-height: 1.8;
margin: 11px 0 24px;
}
.create-space {
display: flex;
flex-direction: column;
gap: 15px;
}
.checkbox-label {
font-size: 12px;
display: flex;
align-items: center;
gap: 9px;
min-height: 44px;
}
.checkbox-label input {
accent-color: var(--accent);
width: 16px;
height: 16px;
}
.modal-divider {
border-top: 1px solid var(--line);
margin: 28px 0 24px;
position: relative;
text-align: center;
}
.modal-divider span {
position: relative;
top: -9px;
padding: 0 13px;
background: var(--surface);
color: var(--muted);
font-size: 10px;
}
.join-form {
display: flex;
gap: 9px;
}
.join-form input {
min-width: 0;
flex: 1;
padding: 12px;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 1px;
}
.invite-display {
display: flex;
flex-direction: column;
align-items: center;
background: var(--bg);
padding: 22px;
border-radius: 10px;
}
.invite-display img {
border-radius: 8px;
max-width: 100%;
height: auto;
}
.invite-code {
font-size: 25px;
letter-spacing: 4px;
font-weight: 600;
margin-top: 20px;
}
.invite-display p {
font-size: 10px;
color: var(--muted);
margin: 5px 0 0;
}
.settings-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
border-bottom: 1px solid var(--line);
padding: 14px 0;
font-size: 12px;
}
.settings-row strong {
font-weight: 500;
}
.settings-row span {
color: var(--muted);
font-size: 11px;
}
.settings-row select {
padding: 9px;
border-radius: 6px;
min-height: 44px;
font-size: 11px;
}
.settings-warning {
margin-top: 23px;
}
.settings-warning h3 {
font-size: 13px;
}
.settings-warning p {
font-size: 11px;
color: var(--muted);
line-height: 1.9;
margin: 10px 0 20px;
}
.toast,
.error-toast {
position: fixed;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
max-width: calc(100% - 30px);
background: var(--ink);
color: var(--surface);
font-size: 12px;
padding: 15px 20px;
border-radius: 10px;
display: flex;
align-items: center;
gap: 10px;
z-index: 40;
box-shadow: 0 8px 20px rgb(0 0 0 / 0.12);
}
.error-toast {
bottom: 90px;
background: #8b4036;
color: #fff;
padding: 7px 12px;
}
.error-toast button {
color: white;
}
.inline-info {
font-size: 11px;
color: var(--muted);
padding: 10px 4px;
}
.loading-state {
min-height: 70vh;
display: flex;
gap: 15px;
align-items: center;
justify-content: center;
color: var(--muted);
font-size: 13px;
}
.spin {
animation: spin 1.7s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@media (min-width: 1400px) {
.app-shell {
max-width: 1230px;
padding: 0 70px;
}
.hero {
padding-top: 73px;
}
}
@media (max-width: 1000px) {
.app-shell {
padding: 0 32px;
}
.workspace-grid {
grid-template-columns: minmax(0, 1fr) 320px;
gap: 24px;
}
.header-actions {
gap: 10px;
}
.site-header {
gap: 36px;
}
.send-panel {
padding: 20px;
}
.peer-card {
padding: 16px;
}
.footer-brand {
margin-left: 6px;
}
}
@media (max-width: 760px) {
.app-shell {
padding: 0 21px;
}
.site-header {
height: 80px;
gap: 0;
}
.wordmark {
font-size: 37px;
}
.desktop-nav {
display: none;
}
.header-actions {
gap: 7px;
}
.login-button {
font-size: 10px;
height: 34px;
}
.connection-status {
font-size: 9px;
}
.hero {
padding: 36px 0 28px;
}
h1 {
font-size: 37px;
letter-spacing: -1.9px;
margin: 14px 0 12px;
}
.hero p {
font-size: 12px;
}
.mobile-break {
display: inline;
}
.eyebrow {
font-size: 8px;
letter-spacing: 1.6px;
}
.my-device-bar {
padding: 15px 13px;
gap: 11px;
}
.my-device-icon {
width: 38px;
height: 38px;
}
.my-device-icon svg {
width: 21px;
}
.device-name {
font-size: 12px;
gap: 6px;
}
.device-name span {
font-size: 8px;
}
.label {
font-size: 8px;
margin-bottom: 4px;
}
.discovery-toggle {
font-size: 9px;
gap: 7px;
}
.switch {
width: 34px;
height: 20px;
}
.switch:after {
width: 14px;
height: 14px;
}
.discovery-toggle input:checked + .switch:after {
transform: translateX(14px);
}
.workspace-grid {
grid-template-columns: 1fr;
gap: 27px;
margin-top: 29px;
}
.section-heading h2 {
font-size: 14px;
}
.section-heading p {
font-size: 10px;
}
.peer-card {
padding: 18px;
min-height: 173px;
}
.peer-top {
margin-bottom: 16px;
}
.empty-peers {
min-height: 230px;
padding: 25px;
}
.connect-strip {
margin-top: 12px;
padding: 12px;
}
.scope-note {
font-size: 9px;
}
.send-panel {
padding: 21px;
}
.send-panel textarea {
min-height: 153px;
font-size: 13px;
}
.input-meta {
font-size: 9px;
}
.send-button {
font-size: 12px;
}
.consent-note {
font-size: 9px;
}
.site-footer {
margin-top: 39px;
padding: 21px 0 110px;
gap: 11px;
flex-wrap: wrap;
font-size: 8px;
}
.footer-logo {
font-size: 19px;
}
.footer-security {
margin-left: auto;
}
.footer-brand {
width: 100%;
margin-left: 0;
margin-top: 3px;
}
.mobile-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: space-around;
border-top: 1px solid var(--line);
background: var(--surface);
padding: 9px 12px calc(10px + env(safe-area-inset-bottom));
z-index: 10;
}
.mobile-nav button {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
gap: 5px;
min-height: 47px;
width: 30%;
font-size: 9px;
background: none;
border: 0;
color: var(--muted);
}
.mobile-nav button.active {
color: var(--accent);
}
.toast {
bottom: 92px;
width: max-content;
}
.error-toast {
bottom: 149px;
width: max-content;
}
.my-device-info {
min-width: 0;
flex: 1;
}
.device-name {
flex-wrap: wrap;
text-align: left;
overflow-wrap: anywhere;
}
.name-form input {
width: 95px;
}
.name-form button {
min-width: 28px;
}
.incoming-card {
padding: 14px;
gap: 10px;
}
.incoming-icon {
width: 35px;
height: 35px;
}
.incoming-info {
min-width: 160px;
}
.incoming-info strong {
font-size: 12px;
}
.incoming-actions {
margin-left: 45px;
}
.request-note {
margin-left: 45px;
font-size: 8px;
}
.page-intro {
padding: 34px 0 25px;
}
.page-intro h1 {
font-size: 30px;
}
.list-toolbar {
flex-wrap: wrap;
}
.list-toolbar input {
width: 100%;
font-size: 12px;
}
.filter-buttons {
width: 100%;
}
.filter-buttons button {
flex: 1;
}
.item-card {
padding: 16px;
}
.item-heading {
gap: 8px;
flex-wrap: wrap;
}
.item-direction {
font-size: 9px;
}
.item-heading time {
font-size: 8px;
}
.item-footer {
flex-direction: column;
align-items: start;
}
.item-footer > div {
width: 100%;
gap: 9px;
flex-wrap: wrap;
}
.item-body {
font-size: 12px;
}
.history-row {
flex-wrap: wrap;
gap: 6px 12px;
}
.history-row time {
font-size: 9px;
}
.modal {
padding: 20px;
width: 100%;
max-height: 85dvh;
}
.modal h2 {
font-size: 18px;
}
.invite-code {
font-size: 23px;
}
.space-member {
gap: 7px;
flex-wrap: wrap;
}
.space-member strong {
max-width: 130px;
}
.space-member > .muted {
font-size: 9px;
}
.space-member .text-button {
font-size: 10px;
padding: 4px;
}
.transfer-row {
flex-wrap: wrap;
}
.transfer-row > div {
min-width: 130px;
}
.vault-empty h1 {
font-size: 27px;
}
.vault-empty p {
font-size: 11px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
.clipboard-button {
font-size: 10px;
margin-top: 6px;
color: var(--muted);
}
.bulk-open {
margin-bottom: 18px;
}
.item-heading input {
width: 18px;
height: 18px;
accent-color: var(--accent);
}
.request-files {
width: 100%;
margin: 0 0 0 58px;
padding-left: 16px;
font-size: 11px;
color: var(--muted);
overflow-wrap: anywhere;
}
.file-picker {
margin: 15px 0 20px;
}
.file-drop {
width: 100%;
min-height: 145px;
border: 1px dashed var(--line);
border-radius: 8px;
background: var(--bg);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
color: var(--muted);
font-size: 10px;
}
.file-drop strong {
font-size: 12px;
font-weight: 500;
color: var(--ink);
}
.selected-files {
padding: 0;
margin: 14px 0;
list-style: none;
}
.selected-files li {
display: flex;
gap: 8px;
align-items: center;
font-size: 11px;
}
.selected-files li > span {
flex: 1;
overflow-wrap: anywhere;
}
.selected-files small {
color: var(--muted);
white-space: nowrap;
}
.upload-status {
margin-top: 30px;
}
.upload-status h2 {
font-size: 14px;
}
.upload-status article {
background: var(--surface);
border: 1px solid var(--line);
border-radius: 9px;
padding: 15px;
margin-bottom: 10px;
}
.upload-status article > div {
display: flex;
gap: 15px;
align-items: center;
font-size: 11px;
}
.upload-status strong {
flex: 1;
overflow-wrap: anywhere;
}
.upload-status span {
color: var(--muted);
}
.upload-status progress {
width: 100%;
height: 4px;
accent-color: var(--accent);
margin-top: 13px;
}
.file-item-body {
display: flex;
gap: 15px;
align-items: center;
padding: 24px 0;
}
.file-item-body strong {
display: block;
font-size: 13px;
overflow-wrap: anywhere;
}
.file-item-body span {
display: block;
margin-top: 6px;
font-size: 10px;
color: var(--muted);
}
.swipe-row {
position: relative;
overflow: hidden;
margin-bottom: 12px;
border-radius: 11px;
touch-action: pan-y;
}
.swipe-row .item-card {
position: relative;
margin: 0;
transition: transform 0.2s;
}
.swipe-delete {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 76px;
border: 0;
border-radius: 0 10px 10px 0;
color: #fff;
background: #a34d44;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 8px;
font-size: 11px;
visibility: hidden;
}
.opened .swipe-delete {
visibility: visible;
}
.opened .item-card {
transform: translateX(-76px);
}
.bulk-delete {
margin-right: 10px;
margin-bottom: 18px;
}
.undo-stack {
position: fixed;
bottom: 32px;
right: 24px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 45;
}
.undo-toast {
display: flex;
gap: 20px;
align-items: center;
border-radius: 10px;
background: var(--ink);
color: var(--surface);
padding: 8px 16px;
font-size: 12px;
box-shadow: 0 8px 25px #0002;
}
.undo-toast button {
background: none;
color: inherit;
border: none;
display: flex;
gap: 6px;
align-items: center;
min-height: 44px;
font-size: 12px;
}
.image-preview {
display: flex;
flex-direction: column;
max-width: 760px;
width: 90vw;
}
.image-preview > button {
align-self: flex-end;
}
.image-preview img {
max-height: 70dvh;
max-width: 100%;
object-fit: contain;
}
.item-heading input {
min-width: 18px;
}
.item-heading > input {
margin: 0;
}
.item-card .item-body {
touch-action: auto;
}
.bulk-open {
margin-bottom: 18px;
}
@media (max-width: 760px) {
.undo-stack {
bottom: 92px;
left: 20px;
right: 20px;
}
.request-files {
margin-left: 45px;
font-size: 10px;
}
}
.account-auth {
max-width: 440px;
margin: 55px auto 70px;
}
.account-auth h1 {
font-size: 32px;
margin-top: 17px;
}
.account-auth > p {
font-size: 12px;
color: var(--muted);
line-height: 1.9;
}
.account-auth form {
display: flex;
flex-direction: column;
gap: 17px;
margin: 28px 0 13px;
}
.account-auth label {
font-size: 11px;
display: flex;
flex-direction: column;
gap: 8px;
}
.account-auth input {
padding: 13px;
min-height: 44px;
font-size: 13px;
}
.account-auth form > .button {
margin-top: 8px;
}
.auth-links {
display: flex;
gap: 20px;
justify-content: center;
font-size: 11px;
}
.auth-message {
background: var(--soft);
padding: 12px;
border-radius: 7px;
font-size: 11px;
color: var(--accent);
line-height: 1.8;
}
.account-heading {
display: flex;
gap: 25px;
align-items: center;
justify-content: space-between;
}
.account-heading > div:last-child {
display: flex;
gap: 8px;
align-items: center;
}
.account-heading h1 {
font-size: 32px;
}
.account-tabs {
display: flex;
gap: 22px;
border-bottom: 1px solid var(--line);
margin-bottom: 23px;
overflow-x: auto;
white-space: nowrap;
}
.account-tabs button {
min-height: 47px;
background: none;
border: 0;
border-bottom: 2px solid transparent;
font-size: 12px;
color: var(--muted);
padding: 8px 0;
display: flex;
align-items: center;
gap: 5px;
}
.account-tabs button.active {
border-color: var(--accent);
color: var(--accent);
}
.account-tabs button > span {
padding: 2px 5px;
border-radius: 4px;
background: var(--soft);
font-size: 9px;
}
.account-workspace .list-toolbar {
gap: 9px;
}
.account-workspace .list-toolbar form {
display: flex;
gap: 8px;
flex: 1;
}
.account-workspace .list-toolbar input {
width: 100%;
min-width: 0;
}
.account-workspace .list-toolbar select {
font-size: 11px;
min-height: 44px;
padding: 9px;
}
.remote-request {
background: var(--surface);
border: 1px solid var(--line);
border-radius: 10px;
padding: 20px;
margin-bottom: 12px;
}
.remote-request h3 {
font-size: 13px;
margin: 0 0 9px;
overflow-wrap: anywhere;
}
.remote-request h3 small {
font-size: 10px;
color: var(--muted);
font-weight: 400;
margin-left: 10px;
}
.remote-request p,
.remote-request ul {
font-size: 11px;
line-height: 1.8;
color: var(--muted);
}
.remote-request > div {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 15px;
}
.account-workspace .active-transfers h2 {
font-size: 14px;
}
.email-target-label {
display: flex;
flex-direction: column;
gap: 9px;
font-size: 11px;
margin: 22px 0;
}
.email-target-label input {
min-height: 44px;
padding: 12px;
}
.modal form > textarea {
width: 100%;
min-height: 165px;
padding: 12px;
font-size: 12px;
resize: vertical;
line-height: 1.8;
margin: 0 0 20px;
}
.remote-file-picker {
display: flex;
flex-direction: column;
align-items: start;
gap: 13px;
font-size: 12px;
background: var(--bg);
border-radius: 9px;
padding: 18px;
margin-bottom: 20px;
}
.remote-file-picker input {
border: 0;
max-width: 100%;
font-size: 11px;
}
.remote-file-picker span {
font-size: 11px;
overflow-wrap: anywhere;
}
.account-rule {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
font-size: 11px;
overflow-wrap: anywhere;
}
.account-auth .text-button {
margin-top: 4px;
}
.account-workspace .item-footer > div {
flex-wrap: wrap;
}
@media (max-width: 760px) {
.account-auth {
margin: 36px 0 65px;
max-width: 100%;
}
.account-auth h1 {
font-size: 27px;
}
.account-heading {
align-items: start;
flex-direction: column;
gap: 20px;
}
.account-heading > div:last-child {
width: 100%;
justify-content: flex-end;
}
.account-tabs {
gap: 18px;
}
.account-tabs button {
font-size: 11px;
}
.account-workspace .list-toolbar form {
width: 100%;
flex-basis: 100%;
}
.account-workspace .list-toolbar select {
flex: 1;
}
.remote-request {
padding: 17px;
}
.remote-request h3 small {
display: block;
margin: 6px 0 0;
}
.account-workspace .item-heading > span {
overflow-wrap: anywhere;
max-width: 240px;
}
.account-workspace .settings-row {
flex-direction: column;
align-items: start;
}
}
.local-qr-note {
max-width: 280px;
padding: 12px;
border: 1px solid var(--line);
border-radius: 7px;
background: var(--surface);
font-size: 10px !important;
line-height: 1.8;
text-align: center;
}
.account-security-actions {
display: flex;
gap: 10px;
margin: 20px 0;
}
.account-security-form {
display: flex;
flex-direction: column;
gap: 15px;
padding: 15px;
background: var(--bg);
border-radius: 8px;
margin-bottom: 22px;
}
.account-security-form label {
font-size: 11px;
display: flex;
flex-direction: column;
gap: 8px;
}
.account-security-form input {
min-height: 44px;
padding: 11px;
}
.account-workspace .list-toolbar form > .button {
white-space: nowrap;
flex-shrink: 0;
min-width: 64px;
}
.button.primary {
color: var(--on-accent);
}
.switch:after {
background: var(--ink);
}
.discovery-toggle input:checked + .switch:after {
background: var(--on-accent);
}
.incoming-section {
position: fixed;
right: 24px;
top: 24px;
bottom: auto;
width: min(430px, calc(100vw - 40px));
max-height: calc(100dvh - 48px);
overflow: auto;
margin: 0;
z-index: 60;
display: flex;
flex-direction: column;
gap: 12px;
padding: 3px;
pointer-events: none;
overscroll-behavior: contain;
}
.incoming-card {
pointer-events: auto;
margin: 0;
padding: 18px;
background: var(--surface);
border: 1px solid var(--border-active);
box-shadow: 0 16px 60px #0006;
gap: 12px;
}
.incoming-info {
min-width: 0;
}
.incoming-info strong {
font-size: 14px;
}
.incoming-info p {
font-size: 11px;
line-height: 1.7;
}
.incoming-actions {
width: 100%;
margin: 0;
padding-left: 56px;
gap: 8px;
}
.request-note {
font-size: 10px;
line-height: 1.6;
margin-left: 56px;
}
.request-files {
max-height: 100px;
overflow: auto;
margin-left: 56px;
line-height: 1.8;
}
.receiving-card .incoming-info {
flex: 1;
}
.arrival-card {
border-color: var(--line);
}
.arrival-card .incoming-actions {
padding-left: 56px;
}
.arrival-card .incoming-actions .icon-button {
margin-left: auto;
}
@media (max-width: 760px) {
.incoming-section {
right: 16px;
left: 16px;
top: calc(12px + env(safe-area-inset-top));
bottom: auto;
width: auto;
max-height: calc(100dvh - 110px);
}
.incoming-card {
padding: 16px;
gap: 11px;
}
.incoming-actions,
.arrival-card .incoming-actions {
padding-left: 46px;
margin: 0;
}
.request-note {
margin-left: 46px;
}
.request-files {
margin-left: 46px;
}
.incoming-info strong {
font-size: 13px;
}
.incoming-info p {
font-size: 11px;
}
.incoming-icon {
width: 35px;
height: 35px;
flex-shrink: 0;
}
}
.upload-status progress {
appearance: none;
border: 0;
background: var(--line);
color: var(--accent);
border-radius: 4px;
}
.upload-status progress::-webkit-progress-bar {
background: var(--line);
border-radius: 4px;
}
.upload-status progress::-webkit-progress-value {
background: var(--accent);
border-radius: 4px;
}
.upload-status progress::-moz-progress-bar {
background: var(--accent);
border-radius: 4px;
}
.clipboard-link-card {
padding: 16px;
border: 1px solid var(--line);
border-radius: 9px;
background: var(--soft);
margin: 16px 0 20px;
}
.clipboard-link-heading {
display: flex;
gap: 9px;
align-items: center;
font-size: 12px;
}
.clipboard-link-heading strong {
font-weight: 500;
}
.detected-url {
font-size: 12px;
line-height: 1.7;
overflow-wrap: anywhere;
color: var(--muted);
margin: 12px 0;
}
.link-send {
width: 100%;
justify-content: space-between;
}
.manual-link-toggle {
font-size: 11px;
color: var(--muted);
padding-left: 0;
}
.manual-link label {
display: flex;
flex-direction: column;
font-size: 11px;
gap: 8px;
margin-top: 8px;
}
.manual-link textarea {
width: 100%;
min-height: 70px !important;
background: var(--bg);
border: 1px solid var(--line);
padding: 12px;
font-size: 12px;
resize: vertical;
}
.url-validation {
font-size: 11px;
color: var(--muted);
line-height: 1.7;
}
.unified-composer .file-drop small {
font-size: 9px;
}
.unified-composer .file-picker {
margin-top: 18px;
}
:root {
--danger-text: #b42318;
}
:root.dark {
--danger-text: #ff8585;
}
a.button {
text-decoration: none;
cursor: pointer;
}
.peer-entry {
position: relative;
min-width: 0;
}
.peer-entry .peer-card {
width: 100%;
height: 100%;
}
.peer-live.hasMenu {
margin-right: 30px;
}
.device-menu-toggle {
position: absolute;
right: 9px;
top: 8px;
color: var(--muted);
}
.device-menu {
position: absolute;
top: 48px;
right: 9px;
min-width: 154px;
max-width: calc(100% - 18px);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 9px;
padding: 5px;
z-index: 8;
box-shadow: 0 8px 30px #0005;
}
.device-menu button {
width: 100%;
display: block;
text-align: left;
min-height: 44px;
background: none;
border: 0;
border-radius: 5px;
padding: 10px 12px;
font-size: 12px;
}
.device-menu button:hover {
background: var(--hover);
}
.device-menu .kick-action {
color: var(--danger-text);
}
.host-badge {
display: inline-flex;
align-items: center;
padding: 3px 6px;
border: 1px solid var(--line);
border-radius: 4px;
color: var(--ink) !important;
background: var(--soft);
font-size: 9px !important;
font-weight: 600 !important;
letter-spacing: 0.6px;
line-height: 1.2;
}
.peer-bottom .host-badge {
margin-left: 5px;
}
.peer-card.pending {
opacity: 1;
cursor: default;
border-style: dashed;
}
.peer-card.pending .peer-live {
font-size: 10px;
}
.connection-spaces-controls {
margin-top: 14px;
border-top: 1px solid var(--line);
padding-top: 5px;
}
.connection-space-control {
display: flex;
align-items: center;
gap: 8px;
font-size: 10px;
color: var(--muted);
}
.connection-space-control > span {
display: flex;
gap: 6px;
align-items: center;
}
.connection-space-control > small {
margin-left: auto;
font-size: 9px;
}
.connection-space-control > .text-button {
font-size: 10px;
}
.arrival-card .incoming-actions {
flex-wrap: wrap;
}
@media (max-width: 760px) {
.device-menu-toggle {
top: 7px;
right: 6px;
}
.peer-live.hasMenu {
margin-right: 29px;
}
.device-menu {
right: 6px;
max-width: calc(100% - 12px);
}
.host-badge {
font-size: 8px !important;
}
.connection-space-control {
flex-wrap: wrap;
}
}
/* A receiving decision must stand out from the black workspace. */
.receive-backdrop {
position: fixed;
inset: 0;
z-index: 80;
display: grid;
place-items: center;
padding: 24px;
background: #000a;
backdrop-filter: blur(8px);
}
.receive-backdrop .consent-card {
width: min(480px, 100%);
max-height: calc(100dvh - 48px);
overflow: auto;
padding: 28px;
background: #fff;
color: #171717;
border: 1px solid #e5e5e5;
border-radius: 24px;
box-shadow: 0 24px 100px #0008;
}
.consent-card .incoming-info strong {
font-size: 20px;
}
.consent-card .incoming-info p,
.consent-card .request-note,
.consent-card small {
color: #666;
}
.consent-card .incoming-icon {
color: #171717;
background: #f0f0f0;
}
.consent-card .button {
background: #f4f4f4;
color: #171717;
border-color: #dedede;
}
.consent-card .button.primary {
background: #171717;
color: #fff;
border-color: #171717;
}
.consent-card .text-button {
color: #666;
}
.composer-transfer-state {
margin: 16px 0;
font-size: 13px;
color: var(--muted);
}
.composer-progress {
margin-top: 12px;
display: grid;
gap: 8px;
font-size: 12px;
overflow-wrap: anywhere;
}
.composer-progress progress {
width: 100%;
accent-color: var(--ink);
}
@media (max-width: 760px) {
.receive-backdrop {
padding: 16px;
}
.receive-backdrop .consent-card {
padding: 22px;
max-height: calc(100dvh - 32px);
}
}
.compact-heading {
margin: 28px 0 20px;
align-items: center;
}
.compact-heading h1 {
margin: 0 0 8px;
font-size: 26px;
font-weight: 650;
letter-spacing: -0.04em;
}
.compact-heading p {
color: var(--muted);
font-size: 12px;
line-height: 1.6;
}
.compact-search {
display: flex;
gap: 8px;
margin: 20px 0;
}
.compact-search input {
width: min(400px, 100%);
}
.dated-items {
margin-top: 28px;
}
.dated-items > h2 {
font-size: 13px;
color: var(--muted);
margin-bottom: 12px;
font-weight: 500;
}
.item-note {
display: block;
padding: 0 22px;
margin: 16px 0 8px;
font-size: 15px;
overflow-wrap: anywhere;
}
.note-editor {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 0 22px 16px;
}
.note-editor input {
flex: 1;
min-width: 120px;
}
.vault-note-label {
display: grid;
gap: 10px;
margin: 22px 0;
font-size: 13px;
}
.vault-source-button {
width: 100%;
margin-top: 16px;
}
.vault-picker {
max-height: calc(100dvh - 48px);
overflow: auto;
}
.vault-choice {
width: 100%;
display: flex;
align-items: center;
gap: 12px;
padding: 16px 0;
border-bottom: 1px solid var(--line);
text-align: left;
}
.vault-choice > span {
flex: 1;
min-width: 0;
display: grid;
gap: 6px;
}
.vault-choice strong,
.vault-choice small {
overflow-wrap: anywhere;
}
.vault-choice small {
color: var(--muted);
font-size: 11px;
}
.vault-picker > .text-button {
margin-top: 20px;
}
@media (max-width: 760px) {
.compact-heading {
align-items: flex-start;
gap: 14px;
flex-wrap: wrap;
}
.compact-heading h1 {
font-size: 23px;
}
.compact-heading > div:last-child {
margin-left: auto;
}
.compact-item .item-footer {
align-items: flex-start;
}
.compact-item .item-footer > div {
flex-wrap: wrap;
gap: 8px;
}
}
.room-connect {
margin-top: 24px;
}
.room-leave {
color: #ef4444;
font-size: 13px;
}
.room-leave:hover {
color: #f87171;
}
.connection-space-control {
justify-content: flex-start;
}
.save-kind-choices {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-top: 24px;
}
.save-kind-choices .button {
min-height: 110px;
flex-direction: column;
gap: 14px;
}
.clipboard-link-heading > .icon-button {
margin-left: auto;
}
.reconnect-note {
color: var(--muted);
font-size: 12px;
margin: 12px 0;
}
.app-shell {
max-width: 1080px;
}
.devices-stage {
margin: 34px auto 0;
}
.devices-stage .section-heading h2 {
font-size: 13px;
font-weight: 500;
color: var(--muted);
}
.devices-stage .section-heading h2 > span {
font-size: 11px;
}
.devices-stage .peer-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.devices-stage .peer-entry .peer-card {
min-height: 180px;
padding: 22px 16px 16px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.devices-stage .peer-top {
width: 100%;
justify-content: center;
}
.devices-stage .peer-top > svg {
margin: 5px 0 8px;
}
.devices-stage .peer-live {
position: absolute;
top: 12px;
left: 12px;
font-size: 9px;
}
.devices-stage .peer-card > strong {
font-size: 16px;
max-width: 100%;
overflow-wrap: anywhere;
}
.devices-stage .peer-code {
font-size: 10px;
}
.devices-stage .peer-bottom {
width: 100%;
margin-top: 4px;
justify-content: center;
font-size: 10px;
}
.devices-stage .peer-select {
display: none;
}
.devices-stage .empty-devices {
min-height: 220px;
padding: 32px 20px;
}
.devices-stage .my-device-bar {
margin-top: 22px;
padding: 14px 18px;
gap: 12px;
}
.devices-stage .my-device-icon {
width: 36px;
height: 36px;
}
.devices-stage .my-device-info .label {
font-size: 10px;
}
.devices-stage .device-name {
font-size: 13px;
}
.devices-stage .discovery-toggle {
font-size: 11px;
}
.connection-actions {
display: flex;
justify-content: center;
margin: 24px 0 0;
}
.connection-actions .room-connect {
margin: 0;
font-size: 12px;
padding: 10px 15px;
}
.connection-actions .connection-space-control {
border: 0;
padding: 0;
margin: 0;
}
.send-dialog {
width: min(560px, calc(100vw - 40px));
max-height: calc(100dvh - 48px);
overflow: auto;
}
.send-dialog header h2 {
font-size: 19px;
}
.send-dialog .unified-composer {
margin-top: 24px;
}
.send-dialog .file-drop {
min-height: 160px;
}
@media (min-width: 640px) and (max-width: 959px) {
.devices-stage .peer-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 639px) {
.devices-stage {
margin-top: 26px;
}
.devices-stage .peer-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.devices-stage .peer-entry .peer-card {
min-height: 166px;
padding: 22px 12px 14px;
}
.devices-stage .peer-card > strong {
font-size: 15px;
}
.devices-stage .my-device-bar {
padding: 12px;
flex-wrap: wrap;
}
.devices-stage .my-device-info {
min-width: 120px;
}
.devices-stage .discovery-toggle {
margin-left: auto;
}
.send-backdrop {
align-items: flex-end;
padding: 0;
}
.send-backdrop .send-dialog {
width: 100%;
max-height: calc(100dvh - 24px);
border-radius: 22px 22px 0 0;
padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
}
}
.devices-stage .peer-grid.device-count-1 {
grid-template-columns: minmax(0, 1fr);
justify-content: center;
}
@media (min-width: 960px) {
.devices-stage .peer-grid.device-count-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
justify-content: center;
margin-inline: auto;
}
.devices-stage .peer-grid.device-count-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
justify-content: center;
}
}
@media (max-width: 639px) {
.devices-stage .peer-grid.device-count-1 {
grid-template-columns: minmax(0, 1fr);
}
}
.devices-stage .empty-peers {
min-height: 240px;
padding: 30px 20px;
}
.devices-stage .empty-peers .room-connect {
margin-top: 20px;
}
.connection-actions {
gap: 20px;
align-items: center;
}
.send-dialog {
height: 540px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.send-dialog .unified-composer {
flex: 1;
min-height: 0;
}
.single-composer {
display: flex;
flex-direction: column;
gap: 16px;
}
.content-pane {
flex: 1;
min-height: 0;
padding: 18px;
background: var(--soft);
border: 1px solid var(--line);
border-radius: 14px;
overflow: auto;
}
.content-heading {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin-bottom: 18px;
}
.content-heading > strong {
display: flex;
align-items: center;
gap: 9px;
font-size: 14px;
}
.content-heading .text-button {
font-size: 11px;
white-space: nowrap;
}
.current-url {
width: 100%;
min-height: 94px;
resize: none;
font-size: 13px;
line-height: 1.7;
}
.content-feedback {
font-size: 11px;
line-height: 1.7;
color: var(--muted);
margin-top: 12px;
}
.current-file-empty {
min-height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
text-align: center;
}
.current-file-empty > strong {
font-size: 15px;
}
.current-file-empty > span {
font-size: 12px;
color: var(--muted);
}
.content-submit {
width: 100%;
min-height: 44px;
flex-shrink: 0;
}
.content-switches {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px 20px;
min-height: 24px;
}
.content-switches .text-button {
font-size: 11px;
}
.single-composer .consent-note {
margin: 0;
justify-content: center;
}
.current-vault {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
min-height: 180px;
text-align: center;
overflow-wrap: anywhere;
}
.current-vault small {
font-size: 12px;
color: var(--muted);
}
.vault-choice.chosen {
background: var(--surface);
}
@media (max-width: 639px) {
.send-backdrop .send-dialog {
height: 560px;
}
.content-heading {
flex-wrap: wrap;
}
.content-pane {
padding: 16px;
}
}
.app-shell {
min-height: 100dvh;
display: flex;
flex-direction: column;
}
.app-shell > main {
flex: 1;
}
.site-header {
gap: 18px;
}
.site-header .wordmark {
font-size: 32px;
}
.header-brand {
display: flex;
align-items: flex-end;
gap: 18px;
}
.pwa-install-button {
display: flex;
align-items: center;
gap: 5px;
border: 0;
background: none;
color: var(--muted);
font-size: 11px;
padding: 8px 0;
min-height: 36px;
white-space: nowrap;
}
.install-help p {
margin: 28px 0 18px;
line-height: 1.9;
font-size: 14px;
}
.install-help small {
color: var(--muted);
font-size: 12px;
}
.discovery-status {
display: flex;
justify-content: center;
align-items: center;
gap: 7px;
color: var(--muted);
font-size: 11px;
margin-top: 12px;
}
@media (max-width: 360px) {
.header-tagline {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.discovery-status .spin {
animation: none;
}
}
.header-tagline {
color: var(--muted);
font-size: 13px;
line-height: 1;
}
.site-header .header-actions {
margin-left: auto;
}
.devices-stage {
margin-top: 28px;
}
.device-footer {
margin-top: 38px;
padding: 20px 0;
}
.footer-device-summary {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
text-align: left;
font-size: 12px;
min-height: 36px;
}
.footer-device-summary small,
.footer-device-code {
font-size: 11px;
color: var(--muted);
}
.device-state-dot {
width: 7px;
height: 7px;
background: #666;
border-radius: 50%;
flex-shrink: 0;
}
.device-state-dot.enabled {
background: #35c574;
}
.qr-connect-card {
border: 1px dashed var(--line);
border-radius: 11px;
padding: 24px 16px;
min-height: 180px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 18px;
color: var(--muted);
}
.qr-connect-card strong {
font-size: 16px;
color: var(--ink);
font-weight: 500;
}
.qr-connect-card span {
font-size: 11px;
}
.qr-connect-card:hover {
background: var(--surface);
border-color: var(--muted);
}
.device-settings-form {
display: flex;
align-items: end;
gap: 12px;
margin-top: 24px;
}
.device-settings-form label {
flex: 1;
display: grid;
gap: 10px;
min-width: 0;
font-size: 13px;
}
.device-settings-form input {
width: 100%;
}
.discovery-setting {
margin-top: 24px;
font-size: 13px;
}
@media (max-width: 639px) {
.header-tagline {
font-size: 10px;
}
.site-header {
gap: 10px;
}
.header-brand {
gap: 10px;
}
.site-header .wordmark {
font-size: 28px;
}
.device-footer {
align-items: flex-start;
gap: 12px;
}
.footer-device-summary {
max-width: 260px;
gap: 6px;
font-size: 11px;
}
.device-footer .footer-brand {
font-size: 9px;
}
.qr-connect-card {
min-height: 166px;
padding: 18px 12px;
}
}
.footer-device-summary .footer-device-code {
font-size: 10px;
}
.footer-device-name {
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 639px) {
.footer-device-name {
max-width: 100px;
}
}
.empty-device-hint {
color: var(--muted);
font-size: 12px;
line-height: 1.7;
text-align: center;
margin: 0 0 18px;
}
.vault-save-dialog {
height: min(560px, calc(100dvh - 40px));
display: flex;
flex-direction: column;
overflow: auto;
}
.vault-save-dialog > .single-composer {
flex: 1;
min-height: 0;
}
.vault-save-dialog > .save-kind-choices {
margin-block: auto;
}
.vault-save-dialog > .text-button {
margin-top: 16px;
}
.device-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.device-footer > .my-device-info {
flex: 1;
min-width: 0;
}
.device-footer .footer-brand {
width: auto;
margin-left: auto;
flex-shrink: 0;
text-align: right;
}
.send-dialog {
height: 500px;
}
@media (max-width: 639px) {
.send-backdrop .send-dialog {
height: 520px;
}
}
/* Presence changes animate once; idle discovery has no running animation. */
.devices-stage .peer-grid {
position: relative;
}
.devices-stage .peer-model {
color: var(--muted);
font-size: 10px;
margin-top: 3px;
overflow-wrap: anywhere;
}
.devices-stage .empty-devices {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
}
.devices-stage .empty-devices h3 {
font-size: 17px;
margin: 0;
}
.devices-stage .empty-devices p {
font-size: 13px;
color: var(--muted);
margin: 0;
}
.initial-device-loading {
padding: 32px 0;
max-width: 360px;
margin: auto;
text-align: center;
color: var(--muted);
font-size: 13px;
}
.peer-skeleton {
min-height: 180px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 18px;
pointer-events: none;
}
.peer-skeleton i,
.peer-skeleton span,
.peer-skeleton small {
display: block;
background: var(--line);
border-radius: 8px;
}
.peer-skeleton i {
width: 42px;
height: 42px;
}
.peer-skeleton span {
width: 65%;
height: 16px;
}
.peer-skeleton small {
width: 42%;
height: 10px;
}
.device-enter-active {
transition:
opacity 180ms ease,
transform 180ms ease;
}
.device-enter-from {
opacity: 0;
transform: translateY(6px) scale(0.96);
}
.device-move {
transition: transform 220ms ease;
}
.device-leave-active {
position: absolute;
pointer-events: none;
animation: device-pop-away 240ms ease-in forwards;
}
@keyframes device-pop-away {
25% {
transform: scale(1.035);
}
100% {
opacity: 0;
transform: translateY(-6px) scale(0.82);
}
}
@media (prefers-reduced-motion: reduce) {
.device-enter-active,
.device-move {
transition: none;
}
.device-leave-active {
animation: none;
opacity: 0;
}
}