:root{--ink:#101716;--dark:#0e1514;--paper:#f3f5f2;--accent:#70e2ce;--teal:#177969;--muted:#63726c;--line:#d4dad5;font-family:Arial,"Helvetica Neue",sans-serif;color:var(--ink);background:var(--paper);color-scheme:light}
:root[data-theme=dark]{--ink:#edf3ef;--paper:#101716;--teal:#70e2ce;--muted:#b1c0b9;--line:#35453f;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--teal)}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:white;color:var(--ink);display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:13px;font-weight:600}button:hover:not(:disabled){border-color:var(--teal);background:#edf8f4}button:disabled{opacity:.45;cursor:default}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.app-header{height:80px;background:var(--dark);color:white;display:flex;align-items:center;gap:24px;padding:0 36px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand img{object-fit:contain;border-radius:5px}.brand b{font-size:20px;letter-spacing:-.5px}.brand b span{font-weight:400}.brand small{display:block;font:9px Consolas,monospace;letter-spacing:1.8px;color:var(--accent);margin-top:6px}.dev-tag{font:10px Consolas,monospace;color:#a9b5b0;letter-spacing:1px;display:flex;align-items:center;gap:7px}.dev-tag i{width:6px;height:6px;background:var(--accent);border-radius:50%}.account{margin-left:auto;display:flex;gap:15px;align-items:center}.account>span{font-size:12px;color:#b3bdb8;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account button{font-size:12px}.google-letter{display:grid;place-items:center;width:20px;height:20px;color:var(--teal);font-size:18px;font-weight:700}.home{max-width:1500px;margin:auto;padding:52px 48px 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font:10px Consolas,monospace;letter-spacing:1.5px;color:var(--muted);margin:0 0 18px}h1{font-size:46px;font-weight:500;letter-spacing:-2px;margin:0 0 12px}h1>span{color:var(--teal)}.intro{color:var(--muted);font-size:14px;margin:0}.quiet{background:transparent}.library-bar{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:40px}.source-tabs{display:flex;padding:4px;background:#e5ebe5;border-radius:9px;gap:2px}.source-tabs button{border:0;background:transparent;font-size:12px;padding:10px 16px;color:var(--muted)}.source-tabs button[aria-pressed=true]{background:white;box-shadow:0 2px 7px #1017160d;color:var(--ink)}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:8px;padding:10px 13px;max-width:330px;flex:1;color:var(--muted)}.search input{border:0;background:none;width:100%;min-width:0;font-size:13px;color:var(--ink);outline:none}.search:focus-within{border-color:var(--teal)}.storage-note{font-size:12px;line-height:1.6;color:var(--muted);margin:17px 0 26px;max-width:800px}.connection-note{background:#e6f5ef;border-left:3px solid var(--teal);padding:12px 16px;border-radius:5px;font-size:12px;line-height:1.6;margin-top:24px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}.new-project{min-height:255px;border:1px dashed #9bad9f;border-radius:12px;background:transparent;flex-direction:column;white-space:normal;text-align:center;padding:25px;color:var(--muted);font-weight:400;gap:13px}.new-project .plus{font-size:38px;font-weight:300;color:var(--teal);background:#e1f3ea;border-radius:50%;width:60px;height:60px;display:grid;place-items:center}.new-project strong{font-size:16px;font-weight:600;color:var(--ink)}.new-project>span:last-child{font-size:12px;max-width:170px;line-height:1.6}.project-card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;min-width:0;transition:box-shadow .15s,border-color .15s}.project-card:hover{border-color:#9fb6a9;box-shadow:0 8px 24px #1017160a}.project-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:white;text-align:left;font-weight:400}.project-open:hover:not(:disabled){background:white}.project-preview{display:flex;align-items:center;justify-content:center;height:175px;background:#e8eeea;overflow:hidden;border-bottom:1px solid #e2e8e3}.project-preview img{width:100%;height:100%;object-fit:contain}.project-preview svg{width:45px;height:45px;color:#8a9d92}.project-info{display:block;padding:17px 17px 9px}.project-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;margin-bottom:8px;font-weight:600}.project-info small{font-size:11px;color:var(--muted);display:block}.card-footer{display:flex;align-items:center;gap:6px;padding:0 10px 9px 17px}.card-footer>span{font:9px Consolas,monospace;letter-spacing:.6px;color:var(--teal);margin-right:auto}.card-footer button{width:29px;height:29px;padding:6px;border:0;background:transparent;color:var(--muted)}.card-footer svg{width:16px;height:16px}.list-footer{margin:23px 0 38px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.list-message{grid-column:2/-1;align-self:center;max-width:420px;line-height:1.7;color:var(--muted);font-size:14px;padding:20px}.list-message button{margin-top:15px}.home-footer{display:flex;justify-content:space-between;gap:20px;padding-top:24px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.home-footer a{color:var(--teal)}.workspace{height:calc(100dvh - 80px);display:flex;flex-direction:column}.project-toolbar{display:flex;align-items:center;gap:12px;background:var(--paper);padding:10px 18px;flex-shrink:0;border-bottom:1px solid var(--line)}.project-toolbar .project-title{flex:1;max-width:380px}.project-title input{border:1px solid transparent;border-radius:6px;background:transparent;width:100%;padding:8px;font-size:14px;color:var(--ink)}.project-title input:hover,.project-title input:focus{border-color:var(--line);background:white}#save-status{margin-left:auto;font-size:11px;color:var(--muted)}button.primary{background:var(--accent);border-color:var(--accent);color:var(--ink)}button.primary:hover:not(:disabled){background:#8be9d9;border-color:#8be9d9}.workspace iframe{border:0;display:block;width:100%;flex:1;min-height:0}dialog{border:1px solid var(--line);border-radius:13px;padding:24px;max-width:470px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 18px 60px #0e151433}dialog::backdrop{background:#0e15146b;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:20px}.dialog-top h2{font-size:20px;font-weight:500;margin:0}.dialog-top>button{border:0;padding:0;font-size:25px;background:transparent}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}dialog label{display:block;font-size:12px;color:var(--muted)}dialog input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;margin-top:8px}.dialog-actions{margin-top:25px;display:flex;gap:10px;justify-content:flex-end}.danger{background:#a44439;border-color:#a44439;color:white}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--dark);color:white;border-radius:9px;box-shadow:0 8px 25px #10171620;padding:14px 20px;font-size:13px;line-height:1.5;z-index:200;max-width:calc(100% - 32px);width:max-content}.notice.error{background:#8c382e}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1400px){.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.app-header{padding:0 18px;gap:12px}.dev-tag{display:none}.account>span{display:none}.home{padding:34px 24px}.project-toolbar{gap:7px;padding:8px}.project-toolbar button{padding:8px}#save-status{display:none}.project-title{min-width:100px}}@media(max-width:600px){.app-header{height:70px;padding:0 14px}.brand{gap:8px}.brand b{font-size:16px}.brand small{font-size:7px;letter-spacing:1px}.brand img{width:32px;height:32px}.account button{padding:8px;font-size:10px}.account{gap:6px}.home{padding:30px 18px}.page-heading{align-items:flex-start;gap:14px}.page-heading>button{font-size:0;padding:10px}.page-heading>button svg{width:20px;height:20px}h1{font-size:36px}.eyebrow{font-size:8px}.intro{font-size:12px}.library-bar{flex-direction:column;align-items:stretch;margin-top:28px;gap:14px}.source-tabs button{flex:1;padding:10px 8px}.search{max-width:none}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.new-project{min-height:210px;padding:15px;gap:10px}.new-project .plus{width:46px;height:46px;font-size:30px}.new-project strong{font-size:14px}.new-project>span:last-child{font-size:10px}.project-preview{height:122px}.project-info{padding:13px 12px 9px}.project-info strong{font-size:13px}.project-info small{font-size:10px}.card-footer{padding:0 6px 7px 12px}.card-footer>span{font-size:8px}.list-message{grid-column:1/-1;padding:10px;font-size:12px}.home-footer{flex-direction:column;gap:12px}.workspace{height:calc(100dvh - 70px)}.project-toolbar>button{font-size:11px}.project-toolbar #download-project span{display:none}.project-toolbar .project-title input{font-size:12px}#save-project svg{display:none}.project-toolbar #back-projects{font-size:0}.project-toolbar #back-projects svg{width:20px}.project-toolbar .project-title{min-width:85px}.connection-note{font-size:11px}}
.save-destination select{font:11px Arial,sans-serif;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:8px;background:white;max-width:145px}@media(max-width:760px){.save-destination select{max-width:88px;font-size:10px;padding:7px 4px}.project-toolbar{gap:5px}}

.guest-link{font-size:12px;color:var(--accent)}.guest-mode .project-title,.guest-mode .save-destination,.guest-mode #download-project,.guest-mode #save-project{display:none!important}.guest-mode #save-status{display:block}@media(max-width:600px){.guest-link{display:none}}

.login-notice{margin:0;padding:10px 24px;background:#e1f3ea;color:var(--muted);font-size:11px;line-height:1.5;flex-shrink:0}.login-notice a{text-decoration:underline;color:var(--teal)}body.workspace-active{height:100dvh;display:flex;flex-direction:column}body.workspace-active .app-header{flex-shrink:0}body.workspace-active .workspace{height:auto;flex:1;min-height:0}

/* Give the editor the viewport; the project library keeps its original spacing. */
body.workspace-active{overflow:hidden}
body.workspace-active .app-header{height:48px;padding-inline:18px;gap:14px}
body.workspace-active .brand img{width:30px;height:30px}
body.workspace-active .brand b{font-size:16px}
body.workspace-active .brand small{font-size:7px;margin-top:3px;letter-spacing:1px}
body.workspace-active .account button{padding:6px 10px}
body.workspace-active .login-notice{padding:5px 18px;font-size:10px}
body.workspace-active .project-toolbar{padding:5px 10px;gap:8px;min-height:40px}
body.workspace-active .project-toolbar button{padding:6px 9px;font-size:11px;min-height:29px}
body.workspace-active .project-title input{padding:5px;font-size:12px}
body.workspace-active .save-destination select{padding:5px}
body.workspace-active.expanded-workspace .app-header,
body.workspace-active.expanded-workspace .login-notice{display:none}
#reset-panels svg,#expand-workspace svg{width:16px;height:16px}
#expand-workspace[aria-pressed=true]{background:#e1f3ea;border-color:var(--teal)}
@media(max-width:1000px){.project-toolbar #expand-workspace span{display:none}.project-toolbar .project-title{max-width:240px}}
@media(max-width:600px){body.workspace-active .app-header{padding-inline:10px}body.workspace-active .project-toolbar{gap:4px;padding-inline:5px;flex-wrap:wrap}.project-toolbar .layout-action{padding:5px!important}.project-toolbar #save-project{margin-left:auto}.project-toolbar #save-status{font-size:9px}.project-toolbar #back-projects{font-size:0!important}}

.ola-tour{position:fixed;inset:0;z-index:1000;overflow:hidden}
.feedback-action svg{width:16px;height:16px}
#feedback-dialog{max-height:calc(100dvh - 32px);overflow:auto}
#feedback-fields{border:0;padding:0;margin:0;min-width:0}
#feedback-fields label{margin-bottom:14px;line-height:1.5}
#feedback-fields small{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}
#feedback-fields select,#feedback-fields textarea{display:block;width:100%;min-width:0;font:inherit;font-size:13px;color:var(--ink);padding:10px;border:1px solid var(--line);border-radius:6px;background:white;margin-top:7px}
#feedback-fields textarea{resize:vertical;min-height:62px;max-height:280px;line-height:1.5}
#feedback-fields input{font-size:13px;margin-top:7px;padding:10px}
.feedback-contact{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.feedback-privacy{font-size:11px;line-height:1.6;margin:5px 0 12px}.feedback-privacy a{text-decoration:underline;color:var(--teal)}
.feedback-status{font-size:12px;line-height:1.5;margin:0;color:var(--teal)}.feedback-status.error{color:#9a3529}
#feedback-success p{font-size:14px;line-height:1.6}#feedback-receipt{font:11px Consolas,monospace;overflow-wrap:anywhere}
.page-heading>div:last-child:not(:first-child){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:540px}
@media(max-width:1000px){.feedback-action span{display:none}}
@media(max-width:600px){.page-heading{flex-wrap:wrap}.page-heading>div:last-child:not(:first-child){justify-content:flex-start}}
@media(max-width:500px){.feedback-contact{grid-template-columns:1fr;gap:0}#feedback-dialog{padding:18px}.feedback-action{padding:5px!important}}
body.workspace-active.expanded-workspace.ola-tour-reveal-header .app-header{display:flex}
.ola-tour-highlight{position:absolute;border:2px solid var(--accent);border-radius:8px;box-shadow:0 0 0 9999px #071410b3;pointer-events:none}
.ola-tour-arrow{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;stroke:var(--accent);stroke-width:2;fill:none}
.ola-tour-arrow marker path{fill:var(--accent);stroke:none}
.ola-tour-card{position:absolute;width:350px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:var(--paper);color:var(--ink);border:1px solid #accbbc;border-radius:14px;padding:18px;box-shadow:0 14px 48px #07141040}
.ola-tour-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:12px}
.ola-tour-counter{font:10px Consolas,monospace;letter-spacing:.6px;color:var(--teal)}
.ola-tour-close{border:0;background:transparent;font-size:23px;font-weight:400;padding:0;width:26px;height:26px;min-height:26px;color:var(--muted)}
.ola-tour-card h2{font-size:20px;font-weight:600;letter-spacing:-.5px;line-height:1.25;margin:0 0 12px;outline:none}
.ola-tour-card p{font-size:13px;line-height:1.65;margin:0 0 12px}
.ola-tour-card .ola-tour-hint{font-size:11px;color:var(--muted);margin:0 0 18px}
.ola-tour-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ola-tour-actions>div{display:flex;gap:7px}.ola-tour-actions button{font-size:11px;padding:8px 10px}
.ola-tour-skip{background:transparent;color:var(--muted);border-color:transparent;padding-left:0!important}
@media(max-width:600px){.ola-tour-card{padding:16px}.ola-tour-card h2{font-size:18px}.ola-tour-card p{font-size:12px}.ola-tour-card .ola-tour-hint{font-size:10px}}
@media(max-height:500px){.ola-tour-card{width:300px;padding:12px}.ola-tour-top{margin-bottom:5px}.ola-tour-card h2{font-size:17px;margin-bottom:8px}.ola-tour-card p{font-size:11px;line-height:1.5;margin-bottom:8px}.ola-tour-card .ola-tour-hint{font-size:10px;margin-bottom:10px}.ola-tour-actions button{padding:7px 8px}}
/* OLA shared theme overrides */
.theme-label select{font:11px Arial,sans-serif;padding:7px 9px;border:1px solid #43564c;border-radius:6px;background:#182620;color:#f3f5f2;max-width:105px}
:root[data-theme=dark] button,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] dialog,:root[data-theme=dark] .search,:root[data-theme=dark] .project-card,:root[data-theme=dark] .source-tabs button[aria-pressed=true]{background:#192321;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] button.primary{background:#70e2ce;color:#101716;border-color:#70e2ce}
:root[data-theme=dark] button:hover:not(:disabled){background:#284438}
:root[data-theme=dark] .source-tabs,:root[data-theme=dark] .project-preview,:root[data-theme=dark] .connection-note,:root[data-theme=dark] .login-notice,:root[data-theme=dark] #expand-workspace[aria-pressed=true]{background:#203c32}
:root[data-theme=dark] .ola-tour-card{background:#192321}
:root[data-theme=dark] .ola-tour-card .primary{color:#101716}
@media(max-width:600px){.theme-label select{max-width:82px;font-size:10px;padding:6px}.account>span{max-width:90px}}
