:root { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:#202723; background:#f6f7f2; font-synthesis:none; --ink:#202723; --muted:#526158; --line:#d3dacf; --green:#214e3d; }
* {box-sizing:border-box}
[hidden] {display:none !important}
body {margin:0; min-height:100vh}
button,input {font:inherit}
button {cursor:pointer}
button:focus-visible, input:focus-visible, summary:focus-visible {outline:3px solid #527bcd; outline-offset:3px}
button:disabled {cursor:default}
.masthead {min-height:72px; display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,72px);border-bottom:1px solid var(--line);background:#fbfcf8}
.brand {color:#263f31;font-size:24px;font-weight:700;letter-spacing:-1.5px;display:flex;align-items:center}
.works {font-weight:420}
.bird {width:23px;height:23px;margin-right:10px;background:var(--green);clip-path:polygon(0 5%,47% 40%,100% 0,71% 57%,88% 54%,40% 100%,39% 68%)}
.account {display:flex;align-items:center;gap:22px;font-size:13px}
.private {color:#425446;display:inline-flex;align-items:center;gap:8px}
.private span,.target-dot {color:#39735b;font-size:9px}
.link {border:0;padding:3px 0;background:transparent;color:var(--green);font-size:13px;font-weight:610;text-underline-offset:3px}
.link:hover {text-decoration:underline}
button:disabled:not(.primary) {color:#858e87}
main {max-width:1540px;margin:0 auto;padding:44px clamp(18px,5vw,72px)}
.heading {display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:30px}
.crumb {margin:0 0 13px;font-size:13px;color:var(--muted);font-weight:530}
.crumb span {margin:0 7px;color:#829083}
h1,h2,h3,p {margin-top:0}
h1 {font-family:"Iowan Old Style",Baskerville,Georgia,serif;font-weight:500;font-size:clamp(40px,4.2vw,64px);letter-spacing:-.052em;line-height:1.04;margin-bottom:10px}
.subtitle,.signin p {color:var(--muted);font-size:15px;line-height:1.55;margin-bottom:0}
.target {display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:20px;background:#fcfdf8;font-size:13px;font-weight:600;padding:8px 14px}
.target-dot {background:#39735b;border-radius:50%;width:7px;height:7px}
.panels {display:grid;grid-template-columns:minmax(286px,.82fr) minmax(0,1.8fr);gap:18px}
.panel {min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.panel-bar,.preview-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 21px}
.panel-bar {border-bottom:1px solid var(--line)}
.panel-bar h2 {font-size:16px;line-height:1.25;letter-spacing:-.03em;margin:0}
.panel-bar>span,.preview-footer>span {font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.45;color:var(--muted)}
.project {display:flex;flex-direction:column}
.project-body,.build-controls {padding:24px 21px}
.project-body h3,.placeholder h3 {font-size:20px;font-weight:610;letter-spacing:-.035em;margin-bottom:8px}
.project-body p,.placeholder p {color:var(--muted);font-size:14px;line-height:1.6}
code {font-family:ui-monospace,Consolas,monospace;font-size:.88em;overflow-wrap:anywhere}
.import-controls {display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:19px 0 11px}
.secondary,.primary {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:9px 13px;border-radius:7px;font-size:14px;font-weight:610}
.secondary {border:1px solid #c4cfc5;background:#fcfdfb;color:var(--ink)}
.secondary:hover {background:#f0f4ee}
.folder-icon {display:inline-block;position:relative;width:15px;height:11px;border:1.4px solid #385144;border-radius:2px}
.folder-icon::before {content:"";position:absolute;top:-4px;left:0;width:7px;height:3px;border:1.4px solid #385144;border-bottom:0;border-radius:2px 2px 0 0}
.project-body .note {font-size:12px;color:var(--muted)}
details {font-size:13px;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}
summary {cursor:pointer;font-weight:590}
ul {padding:0;margin:10px 0 0;list-style:none}li {padding:5px 0;font:11px/1.4 ui-monospace,monospace;overflow-wrap:anywhere;color:#526157}
.build-controls {margin-top:auto;border-top:1px solid var(--line)}
#project-message {font-size:13px;color:var(--muted);line-height:1.5;margin-bottom:12px;overflow-wrap:anywhere}
#project-message:empty {display:none}
#error,.error,#project-message.error {color:#98392c}
.primary {background:var(--green);color:#fff;border:0;min-height:42px}
.primary:hover:not(:disabled) {background:#183e30}
.primary:disabled {background:#dbe2da;color:#57665b}
.build-controls .primary {width:100%;justify-content:space-between}
.preview {display:flex;flex-direction:column}
.viewport {position:relative;display:grid;place-items:center;min-height:clamp(380px,52vh,590px);background-color:#eef2eb;background-image:radial-gradient(#c7d4c8 .8px,transparent .8px);background-size:11px 11px}
.placeholder {padding:32px 22px;text-align:center;background:#eef2eb;border-radius:36px;max-width:360px}
.placeholder p {margin:0}
.placeholder button {margin-top:15px}
.window-icon {display:grid;place-items:center;border:2px solid #809987;border-radius:6px;width:50px;height:38px;margin:0 auto 19px;position:relative;background:#f8faf5}
.window-icon::before {content:"";position:absolute;top:7px;left:0;right:0;border-top:1px solid #809987}
.window-icon i {width:10px;height:10px;border:1.6px solid #507259;border-radius:2px;transform:rotate(45deg);margin-top:5px}
#app-frame {border:0;background:white;width:100%;height:clamp(550px,65vh,900px)}
.preview-footer {border-top:1px solid var(--line);min-height:42px;padding-top:10px;padding-bottom:10px}
.footnote {color:var(--muted);font-size:12px;margin:15px 0 0;text-align:right}
.signin {max-width:490px;margin:9vh auto;padding:35px;background:#fff;border:1px solid var(--line);border-radius:14px}
.signin h1 {font-size:clamp(34px,4vw,46px)}
.signin form {margin-top:26px;display:grid;gap:9px}
.signin input {min-height:40px;width:100%;border:1px solid #bccbbf;border-radius:6px;padding:8px}
.signin label {font-size:13px;font-weight:590}
#auth-status {font-size:13px;margin-top:14px}
@media (max-width:780px) {.panels{grid-template-columns:1fr}.heading{margin-bottom:21px}.target{display:none}.project-body{padding-bottom:15px}.build-controls{padding:15px 21px}.viewport{min-height:340px}.signin{margin-top:5vh}}
@media (max-width:450px) {.masthead{min-height:58px}.account{font-size:11px;gap:10px}main{padding-top:26px}.panels{gap:13px}.signin{padding:24px 19px}.private{gap:4px}}

.android-build,.pair-panel {padding:18px 24px;border-top:1px solid var(--line)}
.android-build h3 {margin-bottom:6px}
.android-build p,.pair-panel p {font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.android-build .import-controls {display:flex;gap:12px;flex-wrap:wrap}
.pair-panel {max-width:540px;margin:0 0 24px auto}
.pair-panel label {display:block;font-size:14px;font-weight:600}
.pair-panel input {width:100%;margin:10px 0;padding:7px}
.account {flex-wrap:wrap}
