.toolbar{gap:20px}.toolbar-actions{gap:12px}.mode-switch{display:flex;align-items:center;padding:4px;border:1px solid #ddd7df;background:#eee9ef;border-radius:12px;gap:3px}.mode-switch button{display:flex;align-items:center;gap:7px;border:0;border-radius:8px;background:transparent;padding:10px 12px;color:#847a8b;font-size:12px;white-space:nowrap}.mode-switch button[aria-pressed=true]{background:#fff;color:#28232f;box-shadow:0 2px 6px #40304d12}.mode-switch svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.45;fill:none;stroke-linecap:round;stroke-linejoin:round}.mode-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 20px 20px;border-bottom:1px solid var(--line);gap:12px}.mode-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin:0 0 10px}.mode-heading h2{font-size:21px;font-weight:500;letter-spacing:-.7px;margin:0}.history-toggle{background:none;border:1px solid #dbd2e0;border-radius:7px;padding:7px 9px;font-size:10px;color:#7c7087}.history-toggle[aria-pressed=true]{background:#e8dfed;color:#292031}.edit-history{padding-bottom:25px;margin-bottom:23px;border-bottom:1px solid var(--line)}.edit-history>.eyebrow{font-size:8px;margin-bottom:12px}.edit-history h3{font-size:14px;line-height:1.5;font-weight:500;margin:0;color:#4a4055;overflow-wrap:anywhere}.history-entry{position:relative;margin:17px 0 0;padding:0 0 0 15px;border-left:1px solid #d7cce0}.history-entry:before{content:'';position:absolute;width:5px;height:5px;left:-3px;top:3px;background:#a68eb7;border-radius:50%}.history-entry:first-child:before{background:#4c7be0}.history-entry small{font-size:9px;color:#9b8ba5}.history-entry p{font-size:12px;line-height:1.6;white-space:pre-wrap;color:#62516e;overflow-wrap:anywhere;margin:8px 0}.history-entry .link-button{font-size:10px}.ai-intro>.help{margin-top:0}.connection-note{font-size:10px;color:#96879f;line-height:1.6;margin:10px 0 24px}.connection-note span{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b49b77;margin-right:6px}.annotation-picker{margin-top:0;padding:13px!important;background:#efebf2}.annotation-picker-tip,.annotation-picker-label{font-size:10px!important}.upload-zone{display:flex!important;flex-direction:column;align-items:center;gap:10px;border:1px dashed #bcb0c7;border-radius:11px;background:#efebf3;padding:22px 9px;position:relative;cursor:pointer}.upload-zone:hover{background:#e8e2ef}.upload-zone svg{width:23px;height:23px;stroke:#766382;fill:none;stroke-width:1.3}.upload-zone strong{font-size:12px;font-weight:500;color:#514259}.upload-zone span{font-size:9px;color:#9c8da6}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0!important}.image-slots{display:grid;gap:5px}.image-slot{font-size:11px;color:#786485;padding:10px 12px;border-radius:7px;background:transparent;border:1px solid #ddd3e3;text-align:left}.image-slot[aria-pressed=true]{background:#e1e7fc;border-color:#b9c8f6;color:#344a88}.library-heading{margin-top:30px}.image-library{display:grid;grid-template-columns:1fr 1fr;gap:12px}.library-card{min-width:0;position:relative}.library-image{padding:0;border:1px solid #d8ccdf;background:#f9f6fb;border-radius:8px;overflow:hidden;width:100%;text-align:left;color:#776581}.library-image[aria-pressed=true]{border-color:#4c7be0;box-shadow:0 0 0 2px #b1c5ff}.library-image img{width:100%;height:90px;object-fit:cover;display:block}.library-image span{display:block;font-size:9px;padding:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.library-delete{display:block;margin:4px 0 0 auto;font-size:9px;background:none;border:0;color:#a07e8e;text-decoration:underline;text-underline-offset:3px}.image-library>.help{grid-column:1/-1}.sidebar.is-commenting .mode-heading{display:flex}.sidebar.is-commenting .annotation-picker{margin-top:0}.demo-steps{display:none}.demo-banner{font-size:11px}.toolbar #save-status{white-space:nowrap}.mode-switch button:focus-visible{outline:2px solid #668ce5;outline-offset:2px}@media(max-width:1150px){.toolbar{gap:12px;padding-inline:18px}.toolbar .site-chip,.toolbar .brand small{display:none}.toolbar #save-status{font-size:10px}.mode-switch button{padding:9px}.toolbar-actions{gap:8px}.toolbar .reset-button span{display:none}}@media(max-width:800px){.toolbar{flex-wrap:wrap;height:auto;min-height:100px;padding-block:10px}.toolbar-actions{margin-left:auto}.mode-switch button{font-size:11px;gap:4px}.mode-switch svg{display:none}.toolbar #save-status{display:none}.toolbar .brand{font-size:22px}.editor-layout{grid-template-columns:240px minmax(0,1fr)}.sidebar-panel{padding:16px}.canvas-scroll{padding:12px}.mode-heading{padding:18px 16px}.mode-heading h2{font-size:18px}}@media(max-width:600px){.toolbar-actions{width:100%;justify-content:space-between}.toolbar{min-height:112px}.editor-layout{display:flex;flex-direction:column-reverse}.sidebar{height:34dvh;min-height:180px}.mode-heading{padding-block:12px}.mode-heading .eyebrow,.sidebar-foot{display:none}.canvas-area{flex:1;min-height:240px}.canvas-footer{display:none}.sidebar-panel{padding-block:14px}.edit-history{margin-bottom:15px}.image-library{grid-template-columns:repeat(3,minmax(0,1fr))}.library-image img{height:80px}}

#guide-toggle{display:none}

.comment-number{display:inline-grid;place-items:center;min-width:22px;height:22px;padding-inline:5px;margin-bottom:8px;border-radius:50% 50% 50% 3px;background:#438bec;color:#fff;font-size:10px}.comment-card.resolved .comment-number{width:auto;border-radius:5px;background:#d5d2db;color:#716b7d}.library-image:disabled{cursor:default}.upload-zone:focus-within{outline:2px solid #6c8be0;outline-offset:3px}
.annotation-picker .annotation-level-controls,.annotation-picker .annotation-picker-tip{display:none!important}.annotation-picker .annotation-picker-label{margin-bottom:10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.annotation-picker .annotation-path{margin-bottom:0!important}.annotation-picker{margin-bottom:16px!important}.ai-intro .help{font-size:11px;line-height:1.65;margin-bottom:16px}

.comment-number{margin-right:6px}
/* Focused, collapsible inspector. The handle stays available outside its content. */
.editor-layout{--inspector-width:320px;grid-template-columns:var(--inspector-width) minmax(0,1fr);position:relative}.editor-layout.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar{position:relative;min-width:0;z-index:5}.sidebar-inner{height:100%;width:100%;min-width:0;display:flex;flex-direction:column;overflow:hidden}.sidebar-collapsed .sidebar-inner{visibility:hidden}.sidebar-collapsed .sidebar{border:0}.sidebar-toggle{position:absolute;z-index:30;left:100%;top:50%;transform:translate(-50%,-50%);width:26px;height:56px;display:grid;place-items:center;background:#fbf8fc;color:#776b82;border:1px solid #d5ccdd;border-radius:9px;box-shadow:0 3px 10px #35243f12;padding:0;cursor:pointer}.sidebar-toggle:hover{background:#eee8f5;color:#3c3250}.sidebar-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .15s}.sidebar-collapsed .sidebar-toggle{transform:translate(4px,-50%)}.sidebar-collapsed .sidebar-toggle svg{transform:rotate(180deg)}.mode-heading{padding:22px 22px 18px}.mode-heading .eyebrow{display:none}.mode-heading h2{font-size:23px;color:#322b3d}.sidebar-panel{padding:22px;scrollbar-gutter:stable}.edit-history{border:0;margin:0;padding:0}.edit-history h3{font-size:15px;font-weight:550;color:#55495e}.edit-history .help{margin:10px 0 24px;color:#8c7e96;font-size:12px}.history-entry small{font-size:10px;color:#8c7e96}.history-entry p{font-size:13px;line-height:1.7;color:#5b4e67}.history-entry .link-button{font-size:11px}.workspace[data-editor-mode=edit] .sidebar-foot,.workspace[data-editor-mode=comment] .sidebar-foot{display:none}.ai-footer{display:none}.workspace[data-editor-mode=comment] .ai-footer{display:block;padding:17px 22px 13px;border-top:1px solid #ddd5e4;background:#faf7fb;flex-shrink:0}.ai-footer .button{font-size:13px;height:46px}.ai-footer .button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}.ai-footer .connection-note{font-size:10px;margin:8px 0 0;text-align:center;color:#9b8ea4}.credit-card{border-radius:13px;background:#ede8f4;padding:17px 18px;margin-bottom:22px;border:1px solid #ded6e9}.credit-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:600;letter-spacing:1px;color:#8a7a9a}.credit-status{font-size:7px;letter-spacing:.6px;background:#f7f3fb;padding:4px 6px;border-radius:4px;color:#8d7d9b}.credit-balance{display:flex;align-items:baseline;gap:9px;margin-top:9px;color:#8c7d9b;font-size:11px}.credit-balance strong{font-size:40px;font-weight:450;letter-spacing:-1.8px;line-height:1.1;color:#514362}.credit-card p{font-size:10px;line-height:1.55;margin:9px 0 0;color:#998ba7}.ai-tabs{display:flex;border-bottom:1px solid #dcd3e3;gap:20px;margin:0 0 20px;flex-shrink:0}.ai-tabs button{border:0;background:transparent;padding:0 0 12px;border-bottom:2px solid transparent;color:#9b8caa;font-size:12px;white-space:nowrap}.ai-tabs button[aria-selected=true]{color:#40334e;border-bottom-color:#706180}.ai-tabs button span{background:#ebe4f1;border-radius:10px;padding:2px 5px;margin-left:4px;font-size:9px;color:#8b789b}.ai-comment-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.ai-comment-options label{display:flex;align-items:center;gap:6px;margin:0;font-size:10px}.ai-comment-options input{accent-color:#856d9d}.ai-comment-options .link-button{font-size:9px;text-decoration:none}.workspace[data-editor-mode=comment] #panel-comments{display:flex;flex-direction:column}.ai-tab-panel{min-height:0}.credit-card{flex-shrink:0}.comment-card{display:grid;grid-template-columns:27px 1fr;gap:3px 9px;padding:16px 15px;border:1px solid #e2dbe8;border-radius:11px;background:#fffdff;margin:0 0 12px;box-shadow:0 3px 9px #65516f04}.comment-card.selected{padding:16px 15px!important;background:#f5f1fc!important;border-color:#cfc2df!important}.comment-card .comment-number{grid-column:1;grid-row:1/3;min-width:25px;width:25px;height:25px;margin:2px 0 0;background:#5a8ee5;font-size:11px}.comment-card small{grid-column:2;font-size:10px!important;color:#9c8caa;line-height:1.5}.comment-card .target-label{grid-column:2;font-size:11px!important;line-height:1.5;color:#8a7899;margin:1px 0 0}.comment-card p:not(.target-label){grid-column:1/-1;font-size:14px;line-height:1.65;color:#54445f;margin:12px 0 7px}.comment-card blockquote{display:none}.comment-card .card-actions{grid-column:1/-1;justify-content:space-between;margin-top:7px;gap:10px}.card-actions button{font-size:10px}.comment-card.resolved .comment-number{font-size:0;background:#ded7e7}.comment-card.resolved .comment-number:after{content:'✓';font-size:13px}.changes-intro{font-size:12px;line-height:1.65;margin:0 0 16px;color:#94839f}.change-card{background:#fffdfd;border:1px solid #e2dbe8;border-radius:11px;margin:0 0 13px;padding:15px}.change-meta{display:grid;gap:5px;margin-bottom:10px;font-size:10px;color:#aa99b4}.change-meta>span{color:#8e7b9f;font-weight:550;font-size:11px}.change-card h3{font-size:13px;line-height:1.5;margin:0 0 10px;font-weight:500;color:#5a4769;overflow-wrap:anywhere}.change-undo{padding:8px 13px;font-size:11px;margin-top:7px}.change-card.is-undone{opacity:.6}.change-unavailable{font-size:10px;line-height:1.5;color:#a18ead;margin:9px 0 0}.change-diff summary{font-size:11px;color:#9a86a7;cursor:pointer;margin:0 0 10px}.change-diff small{font-size:8px;letter-spacing:.8px;color:#b09fba}.change-diff p{font-size:12px;color:#7b668c;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 15px}.changes-empty{border:1px dashed #ded3e6;border-radius:11px;padding:23px 17px;margin-bottom:22px}.changes-empty h3{font-size:14px;font-weight:500;color:#7e698e;margin:0 0 9px}.changes-empty p{font-size:12px;line-height:1.6;color:#aa98b5;margin:0}.sidebar-collapsed .sidebar-toggle:focus-visible{outline-offset:2px}
@media(max-width:1050px) and (min-width:721px){.editor-layout{--inspector-width:295px}.sidebar-panel{padding:18px}.ai-tabs{gap:14px}.ai-tabs button{font-size:11px}.credit-card{padding:15px}.workspace[data-editor-mode=comment] .ai-footer{padding-inline:18px}}
@media(max-width:720px){.editor-layout{display:flex;flex-direction:column-reverse}.sidebar{height:38dvh;max-height:38dvh;min-height:180px}.editor-layout.sidebar-collapsed .sidebar{height:0;max-height:0;min-height:0}.sidebar-toggle{left:100%;top:50%;transform:translate(-100%,-50%);width:23px;height:48px}.sidebar-collapsed .sidebar-toggle{left:auto;right:10px;top:-8px;transform:translateY(-100%)}.sidebar-inner{overflow:hidden}.mode-heading{padding:13px 18px}.mode-heading h2{font-size:18px}.credit-card{padding:10px 14px;margin-bottom:13px}.credit-balance{margin-top:4px}.credit-balance strong{font-size:28px}.credit-card p{margin-top:4px;font-size:9px}.sidebar-panel{padding:14px 18px}.workspace[data-editor-mode=comment] .ai-footer{padding:8px 18px}.ai-footer .button{height:36px}.ai-footer .connection-note{margin-top:4px;font-size:9px}.ai-tabs{gap:20px;margin-bottom:13px}.ai-tabs button{padding-bottom:9px}.credit-heading{font-size:8px}.comment-card p:not(.target-label){font-size:13px}}
@media(prefers-reduced-motion:reduce){.sidebar-toggle svg{transition:none}}
.workspace[data-editor-mode=comment] #panel-comments{overflow:hidden}.ai-tab-panel{flex:1;overflow-y:auto;min-height:0;padding-right:3px}.comment-card.resolved .comment-number:after{content:'';width:8px;height:5px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}

.history-entry.history-current{margin-top:0}.edit-history h3.history-section-title{font-size:11px;font-weight:550;letter-spacing:.02em;color:#8c7e96;margin:25px 0 15px;padding-top:20px;border-top:1px solid #ded5e5}.history-past .history-entry:first-child{margin-top:0}.history-past .history-entry:first-child:before{background:#a68eb7}.history-empty{font-size:11px;line-height:1.6;color:#a496ad;margin:0}
/* Versions use the same inspector width as the editing tools. */
.workspace[data-sidebar-panel=versions] .ai-footer,
.workspace[data-sidebar-panel=versions] .sidebar-foot{display:none}
.versions-content form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0}
.versions-content form input{min-width:0}
.versions-content form>.button{margin:0;white-space:nowrap;font-size:11px}
.versions-content .help{font-size:11px;line-height:1.7;margin:18px 0 24px}
.versions-content #version-list{overflow-x:auto}
.versions-content .version-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:8px;padding:17px 0}
.versions-content .version-card h3{font-size:12px;line-height:1.5;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.versions-content .version-card .button{margin:0;font-size:11px;padding:9px 12px;white-space:nowrap}
.versions-content .version-card small{font-size:10.5px;line-height:1.5;white-space:nowrap}
.toolbar-actions #versions-toggle{display:inline-flex;white-space:nowrap}
.toolbar #versions-toggle[aria-expanded=true]{background:#e9e1ef;color:#574565;border-color:#d7cbdf}
@media(max-width:1280px) and (min-width:801px){.toolbar .site-chip,.toolbar .brand small{display:none}.toolbar{gap:16px;padding-inline:18px}}
@media(max-width:720px){.versions-content .help{margin-bottom:18px}}
@media(max-width:600px){.toolbar-actions{flex-wrap:wrap}.toolbar-actions .mode-switch{flex-basis:100%;order:-1;justify-content:center}}
/* Site language is independent of the editor's Finnish interface. */
.language-control{position:relative;display:flex;align-items:center;flex-shrink:0;border:1px solid #ded6e3;border-radius:9px;background:#faf7fb;color:#6b5a78}
.language-control>svg{position:absolute;left:11px;width:15px;height:15px;stroke:currentColor;stroke-width:1.3;fill:none;pointer-events:none}
.language-control select{font:11px Figtree,system-ui,sans-serif;color:inherit;max-width:157px;min-height:41px;padding:9px 23px 9px 33px;border:0;border-radius:9px;background:transparent;cursor:pointer}
.language-control:focus-within{outline:2px solid #668ce5;outline-offset:2px}
.language-control select:focus{outline:0}
.language-control select:disabled{opacity:.55;cursor:default}
#language-form label{display:block;font-size:11px;margin-bottom:9px;color:#8a7899}
#language-form select{width:100%;padding:11px;border:1px solid #d9d0dd;border-radius:8px;background:#fffcff;font:inherit;color:inherit}
#language-form .language-draft-note{font-size:11px;color:#9b8aaa}
#language-error{color:#a23e52!important;font-size:12px!important}
@media(max-width:1150px){.toolbar:has(.language-control) #save-status{display:none}.language-control select{max-width:140px}}
@media(max-width:600px){.language-control select{min-height:36px;font-size:10px;max-width:160px}}
