@import url('data:text/css,');
:root{color-scheme:light;--ink:#101b26;--muted:#74808b;--line:#e4e8e8;--mint:#d6f4e3;--green:#267452;--paper:#f4f7f5;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,summary:focus-visible,.dropzone:focus-visible{outline:3px solid #409b74;outline-offset:3px}header{max-width:1240px;margin:auto;padding:28px 48px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;letter-spacing:-1px;color:var(--ink);text-decoration:none}.mark{background:var(--ink);color:var(--mint);width:37px;height:37px;display:grid;place-items:center;border-radius:11px;font-size:29px}.version{font-size:9px;letter-spacing:1px;font-weight:600;padding:4px 6px;border:1px solid #ccd7d0;border-radius:4px;margin-left:8px;color:var(--green)}.status{font-size:12px;border:1px solid var(--line);background:white;padding:6px 11px;border-radius:30px;color:var(--muted-foreground)}.status.online{color:var(--green)}.status.online:before{content:"";display:inline-block;width:6px;height:6px;background:#449c70;border-radius:50%;margin-right:7px}main{max-width:1144px;padding:0 28px 36px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;margin:30px 0 35px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green);margin-bottom:16px}h1{font-size:64px;line-height:1.04;font-weight:650;letter-spacing:-3px;margin:0}h1 span{color:#4c8f70}.subtitle{color:#68766e;font-size:15px;margin:20px 0 0;line-height:1.6}.orbit{position:relative;width:270px;height:210px;margin-right:55px}.orbit-ring{position:absolute;border:1px dashed #becdc4;border-radius:50%;width:245px;height:165px;transform:rotate(-24deg);top:25px}.orb{position:absolute;display:grid;place-items:center;background:white;box-shadow:0 12px 40px #183c2910;border:1px solid var(--line);border-radius:22px;width:90px;height:90px;font-size:45px}.orb-pc{top:10px;left:0;transform:rotate(-9deg)}.orb-mobile{bottom:0;right:0;transform:rotate(12deg)}.orb-file{left:115px;top:55px;width:75px;height:75px;background:var(--mint);border-color:#bce7ce;font-size:42px;transform:rotate(8deg);color:var(--green)}.modes{display:inline-flex;border:1px solid #dfe6e0;padding:5px;border-radius:13px;background:#edf1ee;gap:3px}.modes button{border:0;border-radius:9px;color:#65736b;background:transparent;padding:10px 22px;font-size:13px;font-weight:600}.modes button.active{background:white;color:var(--ink);box-shadow:0 2px 6px #13261b0b}.mode-description{font-size:13px;color:var(--muted-foreground);margin:13px 0 24px}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:22px}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:25px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}h2{font-size:17px;letter-spacing:-.4px;margin:0}h3{font-size:13px;margin:0}.step{color:#b1bdb5;font-family:monospace;font-size:12px}.dropzone{border:1px dashed #bfcec4;border-radius:12px;min-height:234px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:#fafcfb;padding:22px;transition:background .15s}.dropzone.drag{background:var(--mint);border-color:var(--green)}.upload-icon{background:#e9f2ec;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;color:var(--green);font-size:28px;margin-bottom:7px}.dropzone strong{font-weight:600}.dropzone>span:not(.upload-icon){font-size:12px;color:var(--muted-foreground)}.dropzone button{margin-top:9px}.primary,.secondary{border-radius:9px;padding:10px 17px;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--ink);color:white;border:1px solid var(--ink)}.primary:hover:not(:disabled){background:#253a47}.secondary{background:white;color:var(--ink);border:1px solid #dfe6e0}.secondary:hover{background:#f3f7f4}.wide{width:100%}.send-panel>.wide{margin-top:18px}.muted{color:var(--muted-foreground);font-size:12px}.footnote{font-size:11px;line-height:1.6;color:var(--muted-foreground);margin-bottom:0}.devices-title{margin-top:24px;margin-bottom:12px}.peers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.peer{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);padding:13px 10px;border-radius:11px;background:white;min-width:0}.peer.selected{border:1px solid #80b798;background:#f0f8f3}.peer-icon{font-size:24px;background:#edf3ef;width:38px;height:38px;flex-shrink:0;border-radius:9px;display:grid;place-items:center}.peer-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:block}.peer-type{font-size:10px;color:var(--muted-foreground)}.peer-check{margin-left:auto;color:var(--green)}.empty{color:#9aa69e;font-size:12px;background:#fafcfb;border-radius:9px;padding:17px;text-align:center;width:100%;grid-column:1/-1}.file-list{font-size:12px}.file-row{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.file-row .file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.file-row .muted{white-space:nowrap}.icon-button{border:0;border-radius:6px;background:transparent;color:var(--green);font-size:19px;padding:3px 7px}.pair-panel>p{margin-top:-4px;line-height:1.65}.qr-wrap{width:162px;height:162px;margin:21px auto;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px}#qr{width:144px!important;height:144px!important}.connection-links{margin-bottom:12px;word-break:break-all;font-size:11px;text-align:center}.connection-links a{color:var(--green)}details{margin-top:20px;border-top:1px solid var(--line);padding-top:13px}summary{font-size:12px;font-weight:600;cursor:pointer}.code-row{display:flex;gap:6px;align-items:center;margin:9px 0}.code-row code{font-size:10px;background:#f0f4f1;padding:9px;border-radius:6px;word-break:break-all;flex:1}input{border:1px solid #d8e2da;padding:10px;border-radius:8px;width:100%;font-size:12px;background:#fff;color:var(--ink)}#join-form label{font-size:11px;display:block;margin-bottom:7px}#join-form button{margin-top:8px}.verification{margin-top:17px;display:flex;justify-content:space-between;background:#f3f8f4;border-radius:7px;padding:8px 10px;color:var(--green);font-size:10px}.verification code{font-size:11px}.text-button{background:transparent;border:0;padding:0;color:var(--green);font-size:11px;margin-top:17px}.identity-panel{margin-top:18px;padding:18px 22px}.identity-panel label{font-size:10px;color:var(--muted-foreground)}.name-row{display:flex;align-items:center;gap:12px;margin-top:7px}.name-row>span{font-size:24px}.name-row input{border:0;padding:5px 0;font-weight:600;background:transparent}.activity-panel{margin-top:22px}.activity-row{border-bottom:1px solid var(--line);padding:12px 0;display:flex;gap:12px;align-items:center}.activity-row:last-child{border:0}.activity-icon{width:35px;height:35px;background:#edf5f0;border-radius:10px;display:grid;place-items:center;color:var(--green);flex-shrink:0}.activity-body{flex:1;min-width:0}.activity-name{font-size:12px;font-weight:600;word-break:break-word}.activity-detail{font-size:11px;color:var(--muted-foreground);margin-top:3px}.activity-actions{display:flex;gap:6px}.activity-actions button{font-size:11px;padding:7px 12px}progress{width:100%;height:5px;display:block;margin-top:8px;accent-color:var(--green)}.bottom-note{display:flex;justify-content:space-between;font-size:10px;color:#7c8d81;padding:20px 3px}.callout{display:flex;align-items:center;gap:16px;border:1px solid #cce2d2;background:#eaf5ed;border-radius:12px;padding:18px 22px;margin-bottom:20px}.callout div{flex:1}.callout strong{font-size:13px}.callout p{font-size:12px;color:#5d7e66;margin:5px 0 0}#hotspot-state{font-family:monospace;font-size:11px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:11px;padding:12px 19px;font-size:13px;box-shadow:0 8px 24px #0002;max-width:90%;z-index:10}[hidden]{display:none!important}@media(max-width:760px){header{padding:20px 22px}.version{display:none}main{padding:0 18px 24px}.intro{margin:24px 0 28px}.orbit{width:150px;height:170px;margin-right:0;transform:scale(.7);transform-origin:right center}.orbit-ring{width:200px;height:140px;left:-30px}.orb-pc{left:-40px}h1{font-size:49px;letter-spacing:-2px}.subtitle{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.2px}.workspace{grid-template-columns:1fr}.panel{padding:21px}.modes{display:flex;width:100%}.modes button{flex:1;padding:9px 5px;font-size:11px}.callout{flex-wrap:wrap;padding:16px}.callout div{flex-basis:100%}.bottom-note{gap:15px;flex-wrap:wrap}.activity-row{flex-wrap:wrap}.activity-actions{margin-left:47px}.brand{font-size:22px}.status{font-size:10px}.dropzone{min-height:195px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Received files: clear save choices and a photo the user can press and hold. */
.activity-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:3px}.activity-actions{flex-wrap:wrap;justify-content:flex-end}.activity-actions a{font-size:11px;padding:7px 12px;text-decoration:none;display:inline-flex;align-items:center}.save-help{grid-column:2/-1;color:#61736a;font-size:11px;line-height:1.6;margin:4px 0 0;max-width:760px}.photo-dialog{position:fixed;inset:0;margin:auto;padding:22px;border:1px solid var(--line);border-radius:18px;background:white;color:var(--ink);width:min(620px,92vw);max-height:90vh;overflow:auto;box-shadow:0 20px 90px #101b2640}.photo-dialog::backdrop{background:#101b2699}.photo-dialog h2{font-size:16px;overflow-wrap:anywhere;margin:0 0 16px}.received-photo{display:block;margin:0 auto;width:auto;height:auto;max-width:100%;max-height:55vh;object-fit:contain;background:#f4f7f5;border-radius:9px}.photo-help{font-size:12px;color:#61736a;line-height:1.7;margin:16px 0}.photo-controls{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.activity-actions a:focus-visible{outline:3px solid #409b74;outline-offset:3px}@media(max-width:760px){.activity-row{grid-template-columns:35px minmax(0,1fr)}.activity-row .activity-actions{grid-column:2/-1;margin-left:0;justify-content:flex-start;margin-top:7px}.save-help{grid-column:2/-1}.photo-dialog{padding:18px}.photo-controls button{flex:1}}
@media(max-width:480px){.orbit{display:none}}
.manual-pairing{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.manual-pairing p{font-size:12px;color:#61736a;line-height:1.6}.manual-address{display:block;font-size:13px;background:#f0f4f1;padding:10px;border-radius:8px;overflow-wrap:anywhere}.short-code{display:block;font-size:32px;font-weight:700;letter-spacing:5px;color:var(--green);text-align:center;margin:12px 0 0}.pair-request{background:#f0f8f3;border:1px solid #bce0c9;padding:13px;border-radius:10px;margin-top:13px}.pair-request strong{font-size:13px;overflow-wrap:anywhere}.pair-request>div{display:flex;flex-wrap:wrap;gap:8px}.pair-request button{font-size:12px}.manual-pairing .footnote{font-size:11px}#join-status:empty{display:none}
.pin-options{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.pin-toggle{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.pin-toggle input{width:17px;height:17px;accent-color:var(--green)}#pin-settings{margin-top:13px}#pin-settings>label,.receive-pin-form label{display:block;font-size:11px;margin-bottom:6px}.pin-input-row{display:flex;gap:8px}.pin-input-row input{min-width:0;flex:1}.input-error{color:#a23333;font-size:12px;margin:8px 0 0}.receive-pin-form{grid-column:2/-1;max-width:420px;padding:9px 0}.receive-pin-form p{margin:6px 0;font-size:11px;color:var(--muted-foreground)}.receive-pin-form .input-error{color:#a23333}#wifi-qr{display:block;width:144px!important;height:144px!important;margin:12px 0;background:white;border-radius:8px}.pairing-unavailable{font-size:12px;color:var(--muted-foreground);text-align:center;margin:18px 0}.orbit{flex-shrink:1;min-width:0}

/* MDG brand system: cyan for discovery, purple for actions, green for progress. */
:root {
  color-scheme: light;
  --background: #f3f6fb;
  --foreground: #17223b;
  --card: #ffffff;
  --card-foreground: #17223b;
  --popover: #ffffff;
  --popover-foreground: #17223b;
  --surface: #edf2f8;
  --primary: #623bd2;
  --primary-foreground: #ffffff;
  --brand-cyan: #007b99;
  --brand-green: #247a3f;
  --brand-tint: #eee9ff;
  --secondary: #e9eff7;
  --secondary-foreground: #23314b;
  --muted: #edf2f8;
  --muted-foreground: #56647b;
  --accent: #e7effa;
  --accent-foreground: #23314b;
  --border: #d7e0ec;
  --input: #cbd6e5;
  --ring: #7959df;
  --sidebar: #eaf0f8;
  --sidebar-foreground: #465771;
  --sidebar-primary: #623bd2;
  --sidebar-primary-foreground: #fff;
  --sidebar-accent: #e2d9ff;
  --sidebar-accent-foreground: #4d27b4;
  --sidebar-border: #d2dce9;
  --success-surface: #e3f6e8;
  --success-text: #226339;
  --warning-surface: #fff2d7;
  --warning-text: #785714;
  --danger-surface: #ffebe9;
  --danger-text: #a23036;
  --destructive: #bb3447;
  --radius: 0.8rem;
  --chart-1: #623bd2;
  --chart-2: #007b99;
  --chart-3: #247a3f;
  --chart-4: #b46b13;
  --chart-5: #ae487a;
  --panel-shadow: 0 4px 20px #23325406;
}
:root.dark {
  color-scheme: dark;
  --background: #0b1220;
  --foreground: #e9effb;
  --card: #121e31;
  --card-foreground: #e9effb;
  --popover: #18253a;
  --popover-foreground: #e9effb;
  --surface: #19273c;
  --primary: #b39aff;
  --primary-foreground: #18102c;
  --brand-cyan: #42d5f3;
  --brand-green: #7bdd8d;
  --brand-tint: #2c2448;
  --secondary: #20304a;
  --secondary-foreground: #e9effb;
  --muted: #19273c;
  --muted-foreground: #aebdd2;
  --accent: #22334d;
  --accent-foreground: #e9effb;
  --border: #2c3b52;
  --input: #3d506b;
  --ring: #b39aff;
  --sidebar: #0e192b;
  --sidebar-foreground: #b4c3d9;
  --sidebar-primary: #b39aff;
  --sidebar-primary-foreground: #18102c;
  --sidebar-accent: #302548;
  --sidebar-accent-foreground: #d3c4ff;
  --sidebar-border: #273750;
  --success-surface: #153928;
  --success-text: #a0efb3;
  --warning-surface: #3e3018;
  --warning-text: #f4d28c;
  --danger-surface: #44242d;
  --danger-text: #ffb1bc;
  --destructive: #ff869d;
  --chart-1: #b39aff;
  --chart-2: #42d5f3;
  --chart-3: #7bdd8d;
  --chart-4: #f4d28c;
  --chart-5: #f6a2da;
  --panel-shadow: 0 8px 28px #00000018;
}
/* Carry the Wix cyan identity into existing workflow controls. */
:root {
  --primary: #066970;
  --primary-foreground: #fff;
  --brand-tint: #e2f5f4;
  --ring: #087b83;
  --sidebar-primary: #087b83;
  --sidebar-accent: #d8eeee;
  --sidebar-accent-foreground: #095b64;
  --chart-1: #087b83;
}
:root.dark {
  --primary: #70e5df;
  --primary-foreground: #06282c;
  --brand-tint: #12373b;
  --ring: #70e5df;
  --sidebar-primary: #70e5df;
  --sidebar-accent: #14373d;
  --sidebar-accent-foreground: #93eeeb;
  --chart-1: #70e5df;
}
/* A selected MDG color appearance replaces the complete dark palette. */
:root.dark[data-theme="cyan"]{
  color-scheme:dark;
  --background:#071d2b;--foreground:#f0fbff;
  --card:#0d2a3a;--card-foreground:#f0fbff;
  --popover:#123245;--popover-foreground:#f0fbff;
  --surface:#113649;--primary:#70e8f2;--primary-foreground:#052a34;
  --secondary:#7026d9;--secondary-foreground:#f0fbff;
  --muted:#113344;--muted-foreground:#b7d7e4;
  --accent:#087f5b;--accent-foreground:#f0fbff;
  --border:#36647b;--input:#45758d;--ring:#94f1f8;
  --sidebar:#092431;--sidebar-foreground:#cceaf2;
  --sidebar-primary:#70e8f2;--sidebar-primary-foreground:#052a34;
  --sidebar-accent:#087f5b;--sidebar-accent-foreground:#f0fbff;
  --sidebar-border:#31586b;--sidebar-ring:#94f1f8;
  --brand-cyan:#94f1f8;--brand-green:#61dfb5;--brand-tint:#103e3c;
  --success-surface:#163e35;--success-text:#a4f1c9;
  --warning-surface:#4c391c;--warning-text:#f7dc9d;
  --danger-surface:#492831;--danger-text:#ffb9c5;--destructive:#ffb9c5;
  --chart-1:#70e8f2;--chart-2:#b597ff;--chart-3:#61dfb5;
  --chart-4:#f7dc9d;--chart-5:#c9b4f2;
  --partner-glow:#70e8f2;--partner-ink:#071d2b;
  --partner-accent:#70e8f2;--partner-wash:#103e3c;
  --panel-shadow:0 8px 28px #00000030;
}
:root.dark[data-theme="royal"]{
  color-scheme:dark;
  --background:#1b1236;--foreground:#f2edff;
  --card:#251943;--card-foreground:#f2edff;
  --popover:#30204f;--popover-foreground:#f2edff;
  --surface:#30204f;--primary:#e0c17b;--primary-foreground:#1b1236;
  --secondary:#7026d9;--secondary-foreground:#f2edff;
  --muted:#30204f;--muted-foreground:#d2c4eb;
  --accent:#392568;--accent-foreground:#f2edff;
  --border:#685186;--input:#806398;--ring:#b597ff;
  --sidebar:#21163b;--sidebar-foreground:#e1d5f5;
  --sidebar-primary:#e0c17b;--sidebar-primary-foreground:#1b1236;
  --sidebar-accent:#45266c;--sidebar-accent-foreground:#f2edff;
  --sidebar-border:#685186;--sidebar-ring:#b597ff;
  --brand-cyan:#b597ff;--brand-green:#e0c17b;--brand-tint:#392568;
  --success-surface:#1d4035;--success-text:#a8f0c8;
  --warning-surface:#4b381d;--warning-text:#f7dda3;
  --danger-surface:#4b2836;--danger-text:#ffc0cd;--destructive:#ffc0cd;
  --chart-1:#e0c17b;--chart-2:#b597ff;--chart-3:#a8f0c8;
  --chart-4:#f4a7d6;--chart-5:#f2edff;
  --partner-glow:#b597ff;--partner-ink:#1b1236;
  --partner-accent:#e0c17b;--partner-wash:#392568;
  --panel-shadow:0 8px 28px #00000032;
}
:root.dark[data-theme="green"]{
  color-scheme:dark;
  --background:#081e16;--foreground:#f6f3e9;
  --card:#0e2b20;--card-foreground:#f6f3e9;
  --popover:#123326;--popover-foreground:#f6f3e9;
  --surface:#123326;--primary:#d7b77a;--primary-foreground:#081e16;
  --secondary:#056546;--secondary-foreground:#f6f3e9;
  --muted:#123326;--muted-foreground:#b7d7a8;
  --accent:#143e2b;--accent-foreground:#f6f3e9;
  --border:#3f6b50;--input:#578268;--ring:#b7d7a8;
  --sidebar:#0a231a;--sidebar-foreground:#e1e9d7;
  --sidebar-primary:#d7b77a;--sidebar-primary-foreground:#081e16;
  --sidebar-accent:#154d33;--sidebar-accent-foreground:#f6f3e9;
  --sidebar-border:#3f6b50;--sidebar-ring:#b7d7a8;
  --brand-cyan:#b7d7a8;--brand-green:#d7b77a;--brand-tint:#143e2b;
  --success-surface:#194337;--success-text:#aff0be;
  --warning-surface:#4b3c1c;--warning-text:#f6dc9a;
  --danger-surface:#482d32;--danger-text:#ffc5c9;--destructive:#ffc5c9;
  --chart-1:#d7b77a;--chart-2:#b7d7a8;--chart-3:#aff0be;
  --chart-4:#f6f3e9;--chart-5:#efafd0;
  --partner-glow:#087f5b;--partner-ink:#081e16;
  --partner-accent:#d7b77a;--partner-wash:#143e2b;
  --panel-shadow:0 8px 28px #00000030;
}
:root.dark[data-theme="dream"]{
  color-scheme:dark;
  --background:#252244;--foreground:#ffffff;
  --card:#302b50;--card-foreground:#ffffff;
  --popover:#373157;--popover-foreground:#ffffff;
  --surface:#373157;--primary:#00cfff;--primary-foreground:#252244;
  --secondary:#ff73c8;--secondary-foreground:#252244;
  --muted:#393455;--muted-foreground:#ffffff;
  --accent:#48335f;--accent-foreground:#ffffff;
  --border:#746389;--input:#88769e;--ring:#ff73c8;
  --sidebar:#23203d;--sidebar-foreground:#ffffff;
  --sidebar-primary:#00cfff;--sidebar-primary-foreground:#252244;
  --sidebar-accent:#4b3b66;--sidebar-accent-foreground:#ffffff;
  --sidebar-border:#746389;--sidebar-ring:#ff73c8;
  --brand-cyan:#ff73c8;--brand-green:#b79cff;--brand-tint:#3b355a;
  --success-surface:#163e35;--success-text:#a4f1c9;
  --warning-surface:#4c391c;--warning-text:#f7dc9d;
  --danger-surface:#492831;--danger-text:#ffb9c5;--destructive:#ffb9c5;
  --chart-1:#00cfff;--chart-2:#ff73c8;--chart-3:#b79cff;
  --chart-4:#f7dc9d;--chart-5:#a4f1c9;
  --partner-glow:#00cfff;--partner-ink:#252244;
  --partner-accent:#00cfff;--partner-wash:#3b355a;
  --panel-shadow:0 8px 28px #00000032;
}
:root.dark[data-theme="fire"]{
  color-scheme:dark;
  --background:#1d1012;--foreground:#fff4e8;
  --card:#2b171a;--card-foreground:#fff4e8;
  --popover:#382023;--popover-foreground:#fff4e8;
  --surface:#3a2022;--primary:#ffb36b;--primary-foreground:#35150a;
  --secondary:#4b2a26;--secondary-foreground:#fff3e5;
  --muted:#3c2324;--muted-foreground:#e1c5b9;
  --accent:#623029;--accent-foreground:#fff2df;
  --border:#80534a;--input:#936255;--ring:#ffdb75;
  --sidebar:#231215;--sidebar-foreground:#f1d9cc;
  --sidebar-primary:#ffb36b;--sidebar-primary-foreground:#35150a;
  --sidebar-accent:#562824;--sidebar-accent-foreground:#fff1dc;
  --sidebar-border:#69403a;--sidebar-ring:#ffdb75;
  --brand-cyan:#ff9680;--brand-green:#ffe08a;--brand-tint:#522622;
  --success-surface:#204338;--success-text:#a9f0c7;
  --warning-surface:#50331b;--warning-text:#ffe1a1;
  --danger-surface:#4a2428;--danger-text:#ffb9bf;--destructive:#ffbdc4;
  --chart-1:#ffb36b;--chart-2:#ff9680;--chart-3:#ffe08a;
  --chart-4:#a9f0c7;--chart-5:#dfa9ff;
  --partner-glow:#ffb36b;--partner-ink:#1d1012;
  --partner-accent:#ffb36b;--partner-wash:#522622;
  --panel-shadow:0 8px 28px #00000038;
}

/* SoloDrop uses the same semantic palettes as the MDG workspace. */
:root{--ink:var(--foreground);--line:var(--border);--mint:var(--brand-tint);--green:var(--primary);--paper:var(--background);--white:var(--card)}
body{background:var(--background);color:var(--foreground);padding-bottom:80px}
header{gap:20px}.brand{letter-spacing:0;gap:12px}.brand-copy{display:grid;gap:2px;line-height:1.15}.brand-copy small{font-size:11px;letter-spacing:.055em;font-weight:600;color:var(--muted-foreground)}.brand-copy strong{font-size:24px;letter-spacing:-.7px}.mark{color:var(--primary-foreground);background:var(--primary);flex:none;width:42px;height:42px}.header-controls{display:flex;align-items:center;gap:12px}.header-controls button{white-space:nowrap;padding:8px 12px;font-size:12px}.version{border-color:var(--border)}
h1 span,.eyebrow,.upload-icon{color:var(--primary)}.subtitle,.bottom-note,.save-help,.photo-help,.callout p,.step{color:var(--muted-foreground)}
.status,.orb,.modes button.active,.photo-dialog{background:var(--card);color:var(--foreground)}.status.online{color:var(--success-text)}.status.online:before{background:var(--success-text)}
.modes{background:var(--surface);border-color:var(--border)}.modes button{color:var(--muted-foreground)}.modes button.active{color:var(--primary)}
.panel{box-shadow:var(--panel-shadow)}.dropzone{background:var(--surface);border-color:var(--input)}.dropzone.drag{background:var(--brand-tint);border-color:var(--primary)}
.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.secondary{background:var(--card);border-color:var(--border);color:var(--foreground)}
:is(.peer,.device-card).selected{background:var(--brand-tint);border-color:var(--primary)}.orb-file{background:var(--brand-tint);border-color:var(--border);color:var(--primary)}.orbit-ring{border-color:var(--border)}
.code-row code,.verification,.activity-icon{background:var(--surface)}.callout{background:var(--brand-tint);border-color:var(--border)}
input{background:var(--card);color:var(--foreground);border-color:var(--input)}input::placeholder{color:var(--muted-foreground)}.input-error,.receive-pin-form .input-error{color:var(--danger-text)}
.qr-wrap{background:#fff}#qr{border-radius:8px}.received-photo{background:var(--surface)}#toast{background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);bottom:85px}
:where(button,a,input,summary,.dropzone):focus-visible{outline:2px solid var(--ring);outline-offset:4px}
.appearance-dock{position:fixed;right:24px;bottom:20px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;z-index:30;max-width:calc(100vw - 32px)}
.appearance-trigger{display:flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid var(--border);border-radius:14px;background:var(--card);color:var(--foreground);font-weight:650;box-shadow:var(--panel-shadow)}
.appearance-panel{width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 112px);overflow:auto;overscroll-behavior:contain;padding:20px;background:var(--card);color:var(--foreground);border:1px solid var(--border);border-radius:20px;box-shadow:0 18px 70px #0003}
.appearance-heading{display:flex;justify-content:space-between;align-items:center}.appearance-heading strong{font-size:17px}.appearance-heading button{width:36px;height:36px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:9px;color:var(--foreground)}
.appearance-panel details{margin-top:16px;padding-top:14px}.appearance-panel summary{font-size:12px;list-style-position:outside;margin-left:14px}.theme-options{display:grid;gap:7px;margin-top:12px}.theme-options button{display:flex;align-items:center;gap:10px;text-align:left;min-height:55px;padding:10px;border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:10px;font-size:12px;font-weight:650}.theme-options small{display:block;font-size:10px;font-weight:400;color:var(--muted-foreground);margin-top:3px}.theme-options button[aria-pressed='true']{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:var(--brand-tint)}
.classic-options{grid-template-columns:repeat(3,minmax(0,1fr))}.classic-options button{justify-content:center;min-height:44px;padding:8px 4px}.classic-options .theme-dot{display:none}.theme-dot{width:27px;height:27px;flex:none;border-radius:8px;background:var(--primary)}
[data-preview='cyan'] .theme-dot{background:linear-gradient(135deg,#70e8f2,#087f5b,#7026d9)}[data-preview='royal'] .theme-dot{background:linear-gradient(135deg,#7026d9,#b597ff,#e0c17b)}[data-preview='green'] .theme-dot{background:linear-gradient(135deg,#056546,#b7d7a8,#d7b77a)}[data-preview='dream'] .theme-dot{background:linear-gradient(135deg,#00cfff,#ff73c8,#b79cff)}[data-preview='fire'] .theme-dot{background:linear-gradient(135deg,#ff9680,#ffb36b,#ffdb75)}
.appearance-effects{display:grid;margin-top:6px}.appearance-effects label{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border)}.appearance-effects label:last-child{border:0}.appearance-effects strong{font-size:12px}.appearance-effects small{display:block;font-size:11px;line-height:1.5;color:var(--muted-foreground);margin-top:4px}.appearance-effects input{appearance:none;width:36px;height:21px;flex:none;background:var(--input);border:1px solid var(--border);border-radius:20px;padding:2px;cursor:pointer;position:relative}.appearance-effects input:before{content:'';display:block;width:15px;height:15px;background:var(--card);border-radius:50%;transition:transform .15s}.appearance-effects input:checked{background:var(--primary);border-color:var(--primary)}.appearance-effects input:checked:before{transform:translateX(13px);background:var(--primary-foreground)}.appearance-note{font-size:10px;line-height:1.6;color:var(--muted-foreground);margin:15px 0 0}
:root[data-glass='on'] body{background:radial-gradient(ellipse at 5% 5%,color-mix(in srgb,var(--primary) 14%,transparent),transparent 55%),radial-gradient(ellipse at 95% 80%,color-mix(in srgb,var(--secondary) 18%,transparent),transparent 60%),var(--background);background-attachment:fixed}
:root[data-glass='on'] :is(.panel,.appearance-panel,.appearance-trigger,.orb){background:linear-gradient(130deg,color-mix(in srgb,var(--primary) 5%,transparent),transparent),color-mix(in srgb,var(--card) 85%,transparent);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-color:color-mix(in srgb,var(--primary) 22%,var(--border));box-shadow:var(--panel-shadow),0 1px 0 color-mix(in srgb,var(--foreground) 10%,transparent) inset}
button,a,.dropzone{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
@media(hover:hover){:root[data-aura-lift='on'] :is(button,a,.dropzone):not(:disabled):hover{transform:translateY(-1px);box-shadow:0 5px 20px color-mix(in srgb,var(--primary) 20%,transparent)}:root[data-hover-edges='on'] :is(button,a,.dropzone):not(:disabled):hover{outline:1px solid var(--primary);outline-offset:2px}:root[data-aura-lift='on'] .brand:hover{box-shadow:none}}
:root[data-headline-motion='on'] .orbit-ring{animation:orbit-flow 14s ease-in-out infinite}@keyframes orbit-flow{0%,100%{transform:rotate(-24deg)}50%{transform:rotate(10deg)}}
:root[data-density='compact'] .panel{padding:18px}:root[data-density='compact'] .workspace{gap:14px}:root[data-density='compact'] .intro{margin:18px 0 24px}:root[data-density='compact'] .dropzone{min-height:195px}:root[data-density='compact'] .activity-panel{margin-top:14px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){:root[data-glass='on'] :is(.panel,.appearance-panel,.appearance-trigger,.orb){background:var(--card);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:760px){header{padding:20px 18px;gap:10px;flex-wrap:wrap}.brand-copy small{font-size:10px}.brand-copy strong{font-size:22px}.header-controls{gap:8px}.appearance-dock{right:16px;bottom:16px}.appearance-panel{padding:16px}.intro{gap:12px}.status{font-size:10px}.version{display:none}}
@media(max-width:420px){header{align-items:flex-start}.header-controls{margin-left:auto;flex-direction:column;align-items:flex-end}.brand-copy small{font-size:9px}.brand{gap:8px}.mark{width:34px;height:34px;font-size:24px}}
.peer{background:var(--card);color:var(--foreground)}.peer.selected{background:var(--brand-tint);border-color:var(--primary)}.peer-icon,.empty{background:var(--surface)}.empty{color:var(--muted-foreground)}
.primary:hover:not(:disabled){background:color-mix(in srgb,var(--primary) 88%,var(--foreground));color:var(--primary-foreground)}.secondary:hover{background:var(--brand-tint);color:var(--foreground)}
.upload-icon{background:var(--brand-tint);color:var(--primary)}

.manual-pairing p{color:var(--muted-foreground)}.manual-address{background:var(--surface)}.pair-request{background:var(--brand-tint);border-color:var(--border)}
.mdg-return{text-decoration:none;display:inline-flex;align-items:center;font-size:12px}.mdg-return:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.custom-pairing label{display:block;font-size:11px;margin:12px 0 6px}.custom-pairing p{margin:7px 0 10px}.custom-pairing .input-error{color:#c65151}.duration-row{display:flex;gap:8px}.duration-row input{min-width:0;width:45%}.duration-row select{flex:1;min-width:0;border:1px solid var(--border);padding:10px;border-radius:8px;background:var(--input);color:var(--foreground);font:inherit;font-size:12px}.custom-pairing form>.wide{margin-top:12px}.custom-code-display{margin-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--brand-tint);border-radius:8px;padding:10px;color:var(--primary)}.custom-code-display span{font-size:11px}.custom-code-display code{font-size:18px;font-weight:700;overflow-wrap:anywhere;min-width:0}.custom-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}.custom-actions .text-button{margin-top:0}.custom-pairing .manual-address{font-size:11px}

.pairing-status{margin:14px 0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.pairing-status strong{display:block;font-size:1rem}
.pairing-status p{margin:8px 0 0;line-height:1.5;font-size:.85rem;color:var(--muted-foreground)}
.pairing-status .pairing-check:empty{display:none}
.pairing-status .pairing-check{font-weight:700;color:var(--foreground);font-variant-numeric:tabular-nums}
.pairing-status[data-state="waiting"],.pairing-status[data-state="approved"],.pairing-status[data-state="connected"]{border-color:var(--primary)}
