/* Shared settings width and responsive library workspace. */
#settings > .panel,#settings #storage > .panel,#storage > .panel{width:100%;max-width:1080px!important;min-width:0}
#settings .actions .button,#storage .actions .button{min-height:44px;white-space:normal}
#library > .grid{grid-template-columns:minmax(320px, .95fr) minmax(0,1.25fr);align-items:start}
#library .panel{min-width:0}
.library-toolbar{display:grid;gap:12px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.library-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.library-filters label{min-width:0}.library-filters label:last-child{grid-column:1 / -1}.library-filters select{width:100%}
#libraryDetail{position:sticky;top:20px}
.chat-source textarea{width:100%}.chat-source .source-order{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chat-source>div{min-width:0;flex:1}.chat-source b{overflow-wrap:anywhere}
@media(max-width:1100px){#library > .grid{grid-template-columns:1fr}#libraryDetail{position:static}}
@media(max-width:600px){.library-filters{grid-template-columns:1fr}#settings .actions .button,#storage .actions .button{flex:1 1 100%}}

#settings #storage{margin-top:20px}
#settings > .backup-advanced{width:100%;max-width:1080px}
#settings > .panel + .panel{margin-top:20px}
#settings .backup-choices .badgebox{display:flex;flex-wrap:wrap;gap:10px}
#settings .backup-choices .badgebox>h3,#settings .backup-choices .badgebox>p{flex-basis:100%;margin:0}
#settings .backup-choices .button{margin:0}
#settings .backup-advanced>.panel{max-width:none!important;margin-top:14px}
#libraryList{max-height:70vh}
@media(max-width:600px){#libraryList{max-height:none}}

.source-original{margin:8px 0}.source-original p{white-space:pre-wrap;margin-top:8px;font-size:13px;color:var(--ink)}
/* Conversational assistant shared by work questions, emails and guide creation. */
.assistant-mode-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:10px;background:#eaf0ed;border-radius:14px}
.assistant-shortcuts{margin-left:auto}.assistant-mode-bar .button{border-radius:10px}
#chatMessages{min-height:90px;max-height:54vh;scroll-behavior:smooth}.chat-bubble.assistant{background:#f6f8f7;border:1px solid #e4ebe7}.chat-bubble.user{background:#e4f3ee}.chat-bubble>button{margin-top:6px}
#chatForm{border-top:1px solid var(--line);padding-top:14px}.chat-source-image{flex-shrink:0}
#assistantWork{margin-bottom:24px}#assistantWork h3{margin:12px 0}.assistant-guide-match{padding:14px;border:1px solid var(--line);border-radius:12px;margin:12px 0}
#assistantNextActions li,#assistantWorkQuestions li{margin:8px 0;color:var(--ink)}#assistantEmail{padding:18px;background:#eff6f4;border-radius:14px;margin-top:18px}#assistantReply{background:#fff;min-height:190px;margin:8px 0 12px}#assistantCompletion{margin-bottom:12px}
.assistant-saved-email{margin-top:24px;border-top:1px solid var(--line);padding:18px 0}.assistant-saved-email>summary{font-weight:650;cursor:pointer}.assistant-saved-email>.mini{margin:12px 0}.assistant-saved-email .panel{max-width:none!important}
/* Reference-inspired launchpad tiles, retaining all existing guide actions. */
#library>.library-gallery{display:block}#library .library-catalog{padding:0;border:0;box-shadow:none;background:transparent}#library .library-catalog>.fold-toggle{background:transparent}
#libraryList{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;max-height:none;overflow:visible;padding:4px}
#libraryList>.empty{grid-column:1/-1}.library-card{border:1px solid #dce2e4;border-radius:18px;background:white;box-shadow:0 3px 5px #142b2419;display:flex;flex-direction:column;gap:6px;padding:16px;min-height:210px;transition:box-shadow .15s,transform .15s}
.library-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #142b241a}.library-card.selected{border-color:#1c8f9a;background:#fff;box-shadow:0 0 0 2px #1c8f9a20}
.library-card>.item{display:flex;flex-direction:column;flex:1;min-height:145px;width:100%;padding:0!important;border:0;background:transparent}
.library-card strong{font-size:14px;line-height:1.3;color:#16465b}.library-card small{font-size:12px;color:#879caf;margin:4px 0 15px;overflow-wrap:anywhere}
.tile-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;width:100%}.tile-icon{width:33px;height:33px;flex-shrink:0;color:#008da4}.tile-bottom .tag{font-size:10px}
.library-card .cardtools{display:flex;position:static;justify-content:flex-end;gap:4px}.library-card .cardtools .iconbtn{width:29px;min-width:29px;min-height:29px;flex:0 0 29px;padding:5px;background:transparent;border-color:transparent}.library-card .cardtools .iconbtn svg{width:16px;height:16px}.library-card .cardmenu{bottom:44px;top:auto}
#library .library-toolbar{background:#fff;border:1px solid var(--line);padding:18px;border-radius:14px;display:grid;grid-template-columns:minmax(210px,1fr) minmax(370px,1.4fr);align-items:end;gap:12px 20px;margin-bottom:20px}
.library-toolbar>label{grid-column:1}.library-toolbar>input{grid-column:1;grid-row:2}.library-toolbar>.library-filters{grid-column:2;grid-row:1/3;grid-template-columns:repeat(3,minmax(0,1fr))}.library-toolbar>.row{grid-column:1/-1}.library-filters label:last-child{grid-column:auto}
#libraryPreviewDialog{width:min(980px,95vw);max-height:93vh;border:0;padding:22px;border-radius:18px;background:var(--bg);color:var(--ink)}#libraryPreviewDialog::backdrop{background:#142a23a6}#libraryPreviewDialog #libraryDetail{position:static;margin-top:14px}#libraryPreviewDialog .library-preview-close{display:block;margin-left:auto}
@media(max-width:1000px){#library .library-toolbar{grid-template-columns:1fr}.library-toolbar>*,.library-toolbar>.library-filters,.library-toolbar>input{grid-column:1;grid-row:auto}}
@media(max-width:600px){#libraryList{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-card{padding:13px;min-height:205px}.library-toolbar>.library-filters{grid-template-columns:1fr!important}.assistant-shortcuts{margin-left:0;width:100%}#libraryPreviewDialog{padding:12px}.chat-conversation,.chat-draft{padding:17px}.tile-bottom{flex-wrap:wrap}}
#chatMaterials{margin:14px 0;border:1px solid var(--line);padding:12px;border-radius:12px;background:#f8faf9}#chatMaterials>summary{font-weight:650;cursor:pointer}
.library-catalog>h2{font-size:18px;margin:0 0 14px}#libraryPreviewDialog>.page-fold-controls{margin:14px 0 0}
/* Honour conditional controls even when a component supplies display:flex/grid. */
[hidden]{display:none!important}
@media(max-width:600px){.library-card .cardtools .iconbtn{width:38px;min-width:38px;min-height:38px;flex:0 0 38px}}
@media(max-width:360px){#libraryList{grid-template-columns:1fr}}
@media(max-width:600px){.seeva-help-launcher{width:46px;height:46px;padding:0;font-size:0;border-radius:50%;right:16px}.seeva-help-launcher::before{content:'?';font-size:20px}}
/* The familiar Ask Seeva popup is a focused work chat, independent of guide drafts. */
.seeva-work-chat{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(760px,calc(100vw - 32px));max-width:none;height:calc(100dvh - 32px);max-height:960px;padding:20px;border:1px solid #d7e2dd;border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 20px 80px #122d2540;overflow:hidden}
.seeva-work-chat[open]{display:flex;flex-direction:column;gap:12px}.seeva-work-chat::backdrop{background:#122c2259}
.work-chat-header{margin:0;padding:0 0 12px;border-bottom:1px solid var(--line);flex-shrink:0}.work-chat-header h2{margin:3px 0 0;font-size:22px}.work-chat-toolbar{display:flex;align-items:center;gap:8px;flex-shrink:0}.work-chat-toolbar label{font-size:12px;color:var(--muted)}.work-chat-toolbar select{flex:1;min-width:0;padding:8px}.work-chat-toolbar .button{white-space:nowrap}
.work-chat-context{font-size:12px;flex-shrink:0}.work-chat-context>summary{cursor:pointer;color:var(--green);font-weight:650}.work-chat-context[open]{max-height:230px;overflow:auto;padding:10px;background:#f3f8f5;border-radius:12px}.work-chat-context label{display:block;margin:9px 0 5px}
#workChatMessages{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:8px 4px;display:flex;flex-direction:column;gap:16px}.work-message{border-radius:15px;padding:16px 18px;background:#f5f7f6;line-height:1.6}.work-message.user{background:#e7f2ec;margin-left:35px}.work-message>b{display:block;font-size:12px;margin-bottom:5px;color:var(--green)}.work-answer{white-space:pre-wrap;overflow-wrap:anywhere}.work-copy{margin-top:10px;border:0;background:none;color:var(--green);padding:3px 0;font-size:12px}.work-email-reply{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.work-email-reply label{font-size:12px;font-weight:650}.work-email-reply textarea{margin:7px 0;min-height:150px;background:white}.work-email-reply small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.work-guide{display:block;margin-top:12px;text-align:left}.work-questions{padding-left:20px;color:#755e31}
.work-chat-welcome{margin:auto;text-align:center;padding:24px 10px}.work-chat-welcome h3{font-size:23px;margin:0 0 10px}.work-chat-welcome .actions{justify-content:center;margin-top:18px}
#workChatMaterial{flex-shrink:0;max-height:180px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:9px 12px}#workChatMaterial>summary{font-size:12px;font-weight:650;cursor:pointer}.work-source{display:flex;gap:12px;padding:12px 0;align-items:start}.work-source img{width:100px;height:70px;object-fit:contain}.work-source b{font-size:12px;overflow-wrap:anywhere}
#workChatForm{flex-shrink:0;border-top:1px solid var(--line);padding-top:12px}#workChatPrompt{min-height:75px;max-height:160px;resize:vertical;background:#fbfcfb}#workChatForm .check{font-size:11px;color:var(--muted);margin-top:10px}.work-chat-compose-tools{display:flex;justify-content:space-between;gap:8px;margin-top:8px}#workChatStatus{flex-shrink:0;font-size:11px;line-height:1.4;margin:0;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.backup-email{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:13px;background:#f5f9f6}.backup-email h3{margin:0 0 8px}.backup-email label{display:block;margin:10px 0 6px}.backup-email input[type=email],.backup-email input[type=password]{max-width:520px}.backup-email .check{display:flex;margin:14px 0}.backup-email .button{margin-top:8px}#backupGmailSetup{margin:14px 0;padding:12px;border:1px solid var(--line);background:white;border-radius:10px}#backupGmailSetup>summary{cursor:pointer;font-weight:650}#backupGmailSetup p{margin-top:10px}#backupEmailStatus{margin:12px 0 0;overflow-wrap:anywhere}
@media(max-width:600px){.seeva-work-chat{inset:8px;margin:0;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:none;padding:14px;border-radius:15px;gap:8px}.work-chat-header{display:flex;gap:8px}.work-chat-header h2{font-size:19px}.work-chat-header .button{padding:7px 9px}.work-chat-toolbar label{display:none}.work-message{padding:13px}.work-message.user{margin-left:15px}.backup-email{padding:13px}.work-chat-welcome{padding:12px 0}}
.cloud-workspace{margin-bottom:20px!important;max-width:none!important}.cloud-workspace form{max-width:560px;margin:16px 0;display:grid;gap:10px}.cloud-workspace .actions{flex-wrap:wrap;margin:12px 0}.cloud-workspace>label{display:block;margin:18px 0}.cloud-workspace input[type=email],.cloud-workspace input[autocomplete=one-time-code]{width:100%}.cloud-workspace #cloudConflict{padding:16px;border:1px solid #d5aa64;border-radius:12px;margin:16px 0}#cloudAccountShortcut{margin:12px 18px;text-align:left}
/* Keep Ask Seeva in the page header so it never covers forms or guide controls. */
main>header .actions .seeva-help-launcher{position:static;inset:auto;width:auto;height:auto;font-size:13px;padding:10px 15px;border-radius:10px;flex-shrink:0;box-shadow:none;z-index:auto}main>header .actions .seeva-help-launcher::before{content:none}main>header .actions{flex-wrap:wrap}
.work-chat-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.work-chat-toolbar label{display:block!important;grid-column:1/-1;position:static;margin:0;line-height:1.4}.work-chat-toolbar select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;text-overflow:ellipsis}.work-chat-toolbar .button{margin:0}
.work-chat-related{position:static;width:auto;margin:0;padding:12px;border:1px solid #b8d2c4;border-radius:12px;background:#eef6f1;color:var(--ink);flex-shrink:0;max-height:170px;overflow:auto}.work-chat-related p{margin:5px 0}.work-chat-related .actions{flex-wrap:wrap;gap:7px}.work-chat-related strong{font-size:13px}.work-chat-related .button{font-size:11px}
@media(max-width:600px){.work-chat-toolbar{grid-template-columns:minmax(0,1fr) auto}.work-chat-related{max-height:140px}.work-chat-related .button{padding:6px 8px}#workChatForm .check{font-size:10px;margin-top:7px}.seeva-work-chat[open]{gap:8px}}
.seeva-work-chat{overflow-y:auto}#workChatMessages{flex:1 0 100px;max-height:60dvh}.work-chat-related{inset:auto;height:auto}
#workChatComparePreview{flex-shrink:0;max-height:120px;overflow:auto;font-size:11px;padding:8px;border:1px solid var(--line);border-radius:8px}#workChatCompareExcerpts p{white-space:pre-wrap;overflow-wrap:anywhere}

/* Consistent tile rhythm; the complete title remains available in preview and tooltip. */
#libraryList .library-card>.item{min-height:150px;text-align:left;align-items:stretch}
#libraryList .library-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.35;min-height:3em;overflow-wrap:anywhere}
#libraryList .library-card small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em;line-height:1.35}
.draft-review-summary{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.draft-review-summary>span{border:1px solid var(--line);border-radius:9px;padding:8px 12px;background:#f1f7f5;color:#375e52;font-size:12px}.draft-review-summary b{font-size:16px;margin-left:4px}.draft-review-controls{margin:18px 0 8px}.draft-transactions{overflow-wrap:anywhere}#chatPreview>.notice{white-space:pre-wrap}
@media(max-width:380px){#libraryList{grid-template-columns:1fr}}

.draft-revision-summary{border:1px solid #ddc58d;border-radius:12px;background:#fffaf0;padding:16px;margin:14px 0;overflow-wrap:anywhere}.draft-revision-summary details{margin:12px 0}.draft-revision-summary li p{white-space:pre-wrap;margin:6px 0 12px}.draft-revision-summary ul{padding-left:20px}

.account-memory{margin-top:24px}.account-memory fieldset{border:0;padding:0;min-width:0}.account-memory textarea{width:100%}.memory-fact{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.memory-fact p{flex:1;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.account-memory details{margin:18px 0}.account-memory label:not(.check){display:block;margin:14px 0 7px}#memoryShortcut{margin-top:6px}

.seeva-memory-indicator{display:inline-block;background:#eef5f2;border-radius:12px;padding:4px 9px;color:#376557;max-width:100%;overflow-wrap:anywhere}.work-chat-header .seeva-memory-indicator{margin-top:5px}

/* Bounded reference import preview for large account exports. */
#knowledgeChoices{max-height:22rem;overflow:auto;margin:1rem 0}#knowledgeChoices .check{padding:.6rem;border-bottom:1px solid var(--line,#dbe4df);align-items:center}#knowledgeSaved pre{max-height:22rem;overflow:auto;overflow-wrap:anywhere}#knowledgeSaved .memory-fact{flex-wrap:wrap}#knowledgeSaved details{flex-basis:100%}

/* Explicit voice controls share the existing chat composer. */
.seeva-speech{margin:.65rem 0}.seeva-speech-tools{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.seeva-speech-tools label{margin:0;font-size:.82rem}.seeva-speech-tools select{width:auto;max-width:100%;padding:.45rem .65rem}.seeva-speech .mini{margin:.45rem 0}.seeva-mic::before{content:'🎙';margin-right:.4rem}.seeva-mic[aria-pressed="true"],[data-seeva-read][aria-pressed="true"]{background:#e5f3eb;border-color:#19745c;color:#14533f}.seeva-speech-status:empty{display:none}[data-seeva-read]{margin:.4rem .5rem}
/* Compact chat composer: attachments, dictation, live voice and Send stay inside. */
.seeva-composer{position:relative;border:1px solid #d5dfda;background:#fafcfb;border-radius:24px;padding:10px 12px;box-shadow:0 3px 12px #153d2710}.seeva-composer:focus-within{border-color:#73a995;box-shadow:0 0 0 2px #19745c12}.seeva-composer textarea,#workChatForm .seeva-composer textarea{border:0;background:transparent;box-shadow:none!important;padding:8px 4px;margin:0;min-height:64px;max-height:180px;resize:vertical}.seeva-composer-tools{display:flex;align-items:center;gap:9px;margin-top:8px}.seeva-icon-button,.seeva-send-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:9px!important;border:0;border-radius:50%;background:transparent;color:#23463b;cursor:pointer}.seeva-icon-button:hover{background:#e7efeb}.seeva-composer svg{width:22px;height:22px;display:block}.seeva-send-arrow{margin-left:auto;background:#176b55!important;color:white!important}.seeva-live-button{background:#176b55;color:white}.seeva-live-button:hover{background:#125541}.seeva-icon-button[aria-pressed="true"]{background:#a83939;color:white}.seeva-composer button:focus-visible{outline:3px solid #73a995;outline-offset:2px}.seeva-attach-menu{position:absolute;left:10px;bottom:58px;background:white;border:1px solid #d5dfda;border-radius:14px;padding:10px;box-shadow:0 8px 30px #122f2525;max-width:min(340px,calc(100% - 20px));z-index:5}.seeva-attach-menu button{display:block;width:100%;text-align:left;margin-bottom:5px}.seeva-attach-menu small{display:block;font-size:11px;color:var(--muted);line-height:1.5}.seeva-live-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.seeva-audio-notice{font-size:11px;color:var(--muted);margin:6px 0}.seeva-audio-notice p{margin:6px 0;line-height:1.5}.seeva-speech-status{font-size:12px;margin:6px 0}.seeva-composer~label.check{font-size:12px}

.seeva-voice-preferences{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line,#d5dfda);padding-top:8px;margin-top:8px}.seeva-voice-preferences label{margin:0}.seeva-voice-preferences select{width:auto;min-width:115px;padding:6px}.seeva-voice-preferences small{flex-basis:100%}

/* Settings grows by adding panels and section links, without duplicating forms. */
.settings-overview{background:linear-gradient(135deg,#e8f2ec,#f8fbf9);border:1px solid #d5e4db;border-radius:20px;padding:24px;margin-bottom:18px}.settings-overview h2{margin-top:0}.settings-overview p{color:var(--muted)}.settings-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:18px}.settings-sections .settings-section-link{justify-content:flex-start;text-align:left;margin:0;min-height:48px;background:#fff}.settings-voice .seeva-voice-preferences{border-top:0;margin-top:0;padding-top:0}.settings-voice .actions{margin-top:12px}.voice-settings-link{display:inline-flex;align-items:center;gap:7px;margin-top:8px}.voice-settings-link .menu-icon{width:17px;height:17px}.settings-voice select{max-width:100%}

.menu-pen-icon{display:inline-block;background:currentColor;-webkit-mask:url('pen-tool.png') center/contain no-repeat;mask:url('pen-tool.png') center/contain no-repeat;flex-shrink:0}
.settings-sections{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-sections .settings-section-link{display:flex;align-items:center;width:100%;min-width:0;min-height:56px;height:100%;line-height:1.4}.settings-sections #cloudAccountShortcut,.settings-sections #memoryShortcut{margin:0}@media(max-width:900px){.settings-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.settings-sections{grid-template-columns:1fr}}

/* Focused reading and screenshot inspection. */
#libraryDetail{line-height:1.7;overflow-wrap:anywhere}#libraryDetail p{font-size:16px;color:var(--ink);white-space:pre-wrap}#libraryPreviewDialog{border-radius:20px}#libraryDetail .step,#libraryDetail .guide-step,#libraryDetail .screen,#libraryDetail img,.workflow-image-open img,#workflowImageFull{border-radius:12px}#workflowImageFull{cursor:default}#workflowImageViewport{border-radius:12px}#workflowImageDialog:fullscreen,#workflowImageDialog.expanded{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;box-sizing:border-box}
.work-reply-length{display:flex;align-items:center;gap:10px;margin:8px 0}.work-reply-length label{margin:0;font-size:13px}.work-reply-length select{width:auto;min-width:125px;padding:8px 12px}.work-email-reply [data-work-copy-reply]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;border-radius:9px}.work-email-reply [data-work-copy-reply] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.work-email-reply [data-copied="true"]{background:#e7f2ec;color:var(--green)}

.preview-step-navigation{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0;background:var(--paper);border-bottom:1px solid var(--line);margin-bottom:16px}.preview-step-navigation label{font-size:13px;margin:0}.preview-step-navigation select{flex:1;min-width:140px;width:auto}#libraryDetail .step{scroll-margin-top:100px;border-radius:12px}

.work-email-reply textarea{min-height:90px}
/* The rounded composer owns focus; its input stays visually transparent. */
.seeva-composer #chatPrompt,.seeva-composer #workChatPrompt,
.seeva-composer #chatPrompt:focus,.seeva-composer #workChatPrompt:focus,
.seeva-composer #chatPrompt:focus-visible,.seeva-composer #workChatPrompt:focus-visible{background:transparent;border:0;outline:none;box-shadow:none!important;border-radius:0}

#libraryStorageStatus{font-size:12px;color:var(--muted);margin:8px 0 14px;overflow-wrap:anywhere}

/* Reply actions remain inside the editable reply container. */
.work-reply-editor{position:relative;margin-top:7px;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.work-email-reply .work-reply-editor textarea{display:block;border:0;border-radius:12px;margin:0;background:transparent;padding:12px 62px 56px 14px;min-height:125px;resize:vertical}.work-reply-editor:focus-within{outline:2px solid #73a995;outline-offset:1px}.work-email-reply .work-reply-editor [data-work-copy-reply]{position:absolute;right:18px;bottom:12px;background:#fff;box-shadow:0 1px 4px #153d2710}.work-email-reply .work-reply-editor [data-copied="true"]{background:#e7f2ec}
.menu-sort-list{display:grid;gap:6px;min-height:12px}.menu-sort-list[data-empty="true"]{min-height:30px;border:1px dashed #73a995;border-radius:10px}.menu-drop-target{outline:2px dashed #a9dbbf;outline-offset:3px;border-radius:10px}.menu-dragging{opacity:.45}.menu-order-row{display:flex;align-items:center;gap:8px;margin:9px 0;flex-wrap:wrap}.menu-order-row>span{flex:1;min-width:120px}.menu-order-row select{width:auto;min-width:125px}.menu-order-row button{min-width:38px;min-height:38px}#viewAllGuides{margin-bottom:12px}@media(max-width:480px){.menu-order-row>span{flex-basis:100%}.work-email-reply .work-reply-editor [data-work-copy-reply]{width:44px;height:44px}.menu-order-row button{min-width:44px;min-height:44px}}

.menu-sort-list .menu-row{cursor:grab;user-select:none}.menu-sort-list .menu-row:active{cursor:grabbing}

/* Settings shows one original section at a time; hidden sections keep their state. */
#settings > [hidden]{display:none!important}
#settings.settings-detail-open > .panel > .fold-toggle{display:none}
#settings.settings-detail-open > .panel > h2{display:block}
#settings.settings-detail-open > .backup-advanced > summary{display:none}
#settings .settings-back{margin-bottom:18px}
#settings .settings-section-link{min-height:76px;white-space:normal}

#settings .settings-section-link{display:flex;align-items:flex-start;gap:12px;padding:18px;background:var(--card,#fff)}
#settings .settings-section-link svg{width:23px;height:23px;flex:none;color:var(--teal,#176d59)}
#settings .settings-section-link strong,#settings .settings-section-link small{display:block}
#settings .settings-section-link small{font-weight:400;color:var(--muted);line-height:1.5;margin-top:5px}

#workflowImageViewport{overscroll-behavior:contain;cursor:grab}
#workflowImageViewport.is-panning,#workflowImageViewport.is-panning #workflowImageFull{cursor:grabbing;user-select:none}
#workflowImageFull{user-select:none;-webkit-user-drag:none}

.seeva-chat-manage{width:min(560px,92vw);max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:24px;color:var(--ink);background:#fff}
.seeva-chat-manage::backdrop{background:rgba(12,24,20,.55)}
.chat-merge-choices{max-height:40dvh;overflow:auto;margin:16px 0}
.chat-merge-choices label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.chat-merge-choices input{width:auto;flex:none}
#workChatDelete{color:#a33226}

.work-chat-toolbar{grid-template-columns:minmax(0,1fr) repeat(4,auto);align-items:center}
.work-chat-toolbar .seeva-icon-button{width:44px;height:44px;min-width:44px;border:1px solid var(--line);border-radius:12px}
.work-chat-toolbar .seeva-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.work-chat-toolbar{grid-template-columns:repeat(4,auto);justify-content:start}.work-chat-toolbar label,.work-chat-toolbar select{grid-column:1/-1;width:100%}}

/* Compact chat tools retain labelled, keyboard-accessible controls. */
.work-chat-toolbar{grid-template-columns:minmax(0,1fr) repeat(6,auto);gap:6px}
.work-reply-length[hidden],.work-chat-context > summary[hidden]{display:none!important}
.work-chat-context:not([open]){display:none}
.work-length-menu{position:relative}
.work-length-options{position:absolute;right:0;top:calc(100% + 8px);z-index:12;background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px #163b3026;border-radius:14px;min-width:175px;padding:8px}
.work-length-options[hidden]{display:none}
.work-length-options strong{display:block;padding:8px;font-size:12px;color:var(--muted)}
.work-length-options button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
.work-length-options button[aria-pressed=true]{background:var(--soft);font-weight:700}
.work-length-options button[aria-pressed=true]::after{content:' ✓';float:right}
.work-length-options button:is(:hover,:focus-visible){background:var(--surface-soft,var(--soft));color:var(--ink)}
@media(max-width:650px){.work-chat-toolbar{grid-template-columns:repeat(6,44px);justify-content:start}.work-chat-toolbar > label,.work-chat-toolbar > select{grid-column:1/-1;width:100%}.work-length-options{left:0;right:auto}}
@media(max-width:360px){.work-chat-toolbar{grid-template-columns:repeat(3,44px)}}

.favourite-card[aria-pressed=true]{color:var(--green);background:var(--soft)}
.favourite-card[aria-pressed=true] svg{fill:currentColor}
.cardtools .iconbtn{min-width:32px}

/* Dragged item follows the pointer; only the insertion position is marked. */
.menu-drop-target,.menu-sort-list[data-empty=true]{outline:none;border:0}
.menu-drag-preview{position:fixed;left:0;top:0;z-index:10000;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #8bc5ae;border-radius:12px;background:#2f4a40;color:#fff;font:inherit;text-align:left;box-shadow:0 12px 30px #0005;pointer-events:none;opacity:.97;margin:0}
.menu-drag-preview svg{width:24px;height:24px;flex:none;fill:none;stroke:#9ce0ca;stroke-width:1.8}
.menu-drop-line{position:fixed;height:3px;background:#a6ead1;box-shadow:0 0 0 1px #143d30;border-radius:3px;pointer-events:none;z-index:9999;transition:top .1s ease-out}
.menu-drop-line[hidden]{display:none}
.menu-is-dragging,.menu-is-dragging *{cursor:grabbing!important}
aside nav button:focus:not(:focus-visible){outline:none}
aside nav button:focus-visible{outline:2px solid #a6ead1;outline-offset:2px}
#libraryList{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.library-card .cardtools{flex-wrap:nowrap;justify-content:space-between}
.library-card .cardtools .iconbtn{width:32px;min-width:32px;min-height:32px;flex:0 0 32px}
@media(max-width:600px){#libraryList{grid-template-columns:1fr}.library-card .cardtools .iconbtn{width:44px;min-width:44px;min-height:44px;flex-basis:44px}}

.work-answer-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px}
.work-answer-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--green)}
.work-answer-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.work-answer-icon:hover,.work-answer-icon[aria-pressed=true],.work-answer-icon[data-copied=true]{background:var(--soft);border-color:var(--line)}
@media(max-width:600px){.work-answer-icon{width:44px;height:44px}}
.seeva-icon-tooltip{position:fixed;inset:auto;margin:0;padding:8px 12px;max-width:min(260px,calc(100vw - 16px));width:max-content;border:1px solid #ffffff26;border-radius:10px;background:#24332e;color:#fff;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 6px 20px #0003;pointer-events:none;z-index:20000;overflow-wrap:anywhere}
.seeva-icon-tooltip[hidden]{display:none!important}

#seevaHelp[hidden],#newBtn[hidden]{display:none!important}

/* Seeva's floating chat shortcut reuses the existing work chat. */
.seeva-floating-launcher{position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:30;width:66px;height:66px;display:grid;place-items:center;padding:12px;border:1px solid #ffffff38;border-radius:23px;background:#196c58;color:#fff;box-shadow:0 8px 25px #102d2533;cursor:pointer;animation:seeva-gentle-float 6s ease-in-out infinite}
.seeva-floating-launcher svg{width:42px;height:42px;overflow:visible}
.seeva-bot-shell{fill:#fff;stroke:none}.seeva-bot-face{fill:#196c58;stroke:none}.seeva-bot-eye{fill:#fff;stroke:none}.seeva-bot-detail{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round}
.seeva-floating-launcher:hover,.seeva-floating-launcher:focus-visible{box-shadow:0 10px 32px #102d2555}
.seeva-floating-launcher:focus-visible{outline:3px solid var(--green);outline-offset:5px}
body:has(.seeva-floating-launcher:not([hidden])) #scrollToTop{bottom:calc(104px + env(safe-area-inset-bottom,0px))}
@keyframes seeva-gentle-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(max-width:600px){.seeva-floating-launcher{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:58px;height:58px;border-radius:20px;padding:10px}.seeva-floating-launcher svg{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.seeva-floating-launcher{animation:none}}
html[data-seeva-motion=reduce] .seeva-floating-launcher{animation:none}

.seeva-floating-launcher:focus-visible{animation-play-state:paused}

.work-answer-history{margin-top:14px;border-top:1px solid var(--line);padding-top:10px;font-size:13px}
.work-answer-history summary{cursor:pointer;color:var(--green);font-weight:600}
.work-answer-history section{margin:12px 0;padding:12px;background:var(--soft);border-radius:10px}
.work-answer-history h4,.work-answer-history h5{margin:0 0 8px}

#library .library-toolbar{grid-template-columns:minmax(200px,1fr) minmax(520px,1.8fr)}
.library-toolbar > .library-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1150px){#library .library-toolbar{grid-template-columns:1fr}.library-toolbar > .library-filters{grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1;grid-row:auto}}
/* Visual walkthrough uses the same theme as the reader. */
.guide-player,.guide-target-picker{width:min(1100px,94vw);max-height:92vh;overflow:auto;border:1px solid var(--line);border-radius:22px;background:var(--surface,var(--paper));color:var(--ink);padding:24px}.guide-player::backdrop,.guide-target-picker::backdrop{background:#071d17aa}.guide-player-stage{text-align:center;background:transparent;border:0;border-radius:0;padding:0;overflow:hidden}.guide-player-visual,.guide-target-image{position:relative;display:inline-block;max-width:100%;line-height:0}.guide-player-visual img,.guide-target-image img{display:block;max-width:100%;width:auto;max-height:48vh;border-radius:12px}.guide-click-marker,.guide-play-cursor,.guide-target-dot{position:absolute;left:var(--target-x);top:var(--target-y);pointer-events:none;line-height:1;z-index:1}.guide-click-marker{background:var(--green);color:var(--button-ink,#fff);border:2px solid var(--surface);border-radius:50%;padding:9px;min-width:34px;min-height:34px;transform:translate(-50%,-50%);font-weight:700;box-shadow:0 0 0 7px #72c6a944}.guide-play-cursor{font-size:27px;color:var(--green);filter:drop-shadow(0 1px 2px #fff);transform:rotate(-30deg)}.guide-player-visual.is-animated{animation:seeva-guide-zoom 1.8s ease both;transform-origin:var(--target-x) var(--target-y)}.is-animated .guide-play-cursor{animation:seeva-guide-cursor 1.2s ease both}.guide-player-instruction{white-space:pre-wrap;font-size:1.1em;line-height:1.7}.guide-player-thumbnails{display:flex;gap:10px;overflow:auto;padding:16px 2px}.guide-player-thumb{flex:0 0 100px;position:relative;border:2px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--ink);padding:7px}.guide-player-thumb img{width:80px;height:48px;object-fit:contain}.guide-player-thumb span{display:block}.guide-player-thumb[aria-current=step]{border-color:var(--green);box-shadow:0 0 0 2px var(--soft)}.guide-target-image{margin:12px 0;cursor:crosshair}.guide-target-dot{color:var(--green);font-size:32px;transform:translate(-50%,-50%);text-shadow:0 0 3px white}.guide-target-picker input{width:120px}.guide-player [hidden],.guide-target-picker [hidden]{display:none!important}.guide-player:fullscreen{max-height:100vh;width:100vw;border-radius:0}.guide-player:fullscreen .guide-player-visual img{max-height:none}@keyframes seeva-guide-cursor{from{left:8%;top:85%;opacity:0}to{left:var(--target-x);top:var(--target-y);opacity:1}}@keyframes seeva-guide-zoom{from{transform:scale(1)}to{transform:scale(1.06)}}@media(prefers-reduced-motion:reduce){.guide-player-visual.is-animated,.is-animated .guide-play-cursor{animation:none}}html[data-seeva-motion=reduce] .guide-player-visual.is-animated,html[data-seeva-motion=reduce] .guide-play-cursor{animation:none}@media(max-width:600px){.guide-player,.guide-target-picker{padding:14px}.guide-player-thumb{flex-basis:76px}.guide-player-thumb img{width:58px}.guide-player .actions{flex-wrap:wrap}}
.guide-player>h2{margin:12px 0 6px}.guide-player>h3{margin:12px 0 6px}.guide-player>p{margin:8px 0}.guide-player{width:min(1280px,94vw)}.guide-player-visual{display:block;width:100%}.guide-player-visual img{width:100%;height:auto;max-height:none;border:0;border-radius:0;box-shadow:none}.guide-play-cursor{filter:drop-shadow(0 1px 2px #0006);transform:none}.guide-player-thumbnails{padding:10px 2px}.guide-player>.notice{padding:10px}.guide-target-image img{max-height:48vh}
.guide-player-visual.is-animated{animation:seeva-guide-loop-zoom 6s ease-in-out infinite}.is-animated .guide-play-cursor{animation:seeva-guide-loop-cursor 6s ease-in-out infinite}@keyframes seeva-guide-loop-cursor{0%,12%{left:8%;top:85%;opacity:0}24%{opacity:1}48%,78%{left:var(--target-x);top:var(--target-y);opacity:1}95%,100%{left:var(--target-x);top:var(--target-y);opacity:0}}@keyframes seeva-guide-loop-zoom{0%,15%,100%{transform:scale(1)}48%,78%{transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){.guide-player-visual.is-animated,.is-animated .guide-play-cursor{animation:none!important}}
/* Author-drawn paths are visible only while editing; playback shows cursor and click. */
.cursor-path-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.cursor-path-overlay line{stroke:var(--green);stroke-width:3;stroke-dasharray:7 4}.cursor-path-overlay circle{fill:var(--green);stroke:var(--surface);stroke-width:.4}.cursor-path-overlay text{fill:var(--ink);font-size:4px;font-weight:700;paint-order:stroke;stroke:var(--surface);stroke-width:.5px}.guide-target-image img{touch-action:none;user-select:none}.cursor-path-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0}.cursor-path-fields label{display:grid;gap:6px}.cursor-path-list li{padding:8px 0}.cursor-path-list button{margin-left:8px}.has-cursor-paths .guide-play-cursor{animation:none!important}.guide-click-marker.is-clicking{animation:seeva-click-pulse .55s ease-out infinite}@keyframes seeva-click-pulse{from{box-shadow:0 0 0 0 #72c6a9aa}to{box-shadow:0 0 0 15px #72c6a900}}@media(prefers-reduced-motion:reduce){.guide-click-marker.is-clicking{animation:none!important}}html[data-seeva-motion=reduce] .guide-click-marker.is-clicking{animation:none!important}
/* Native fullscreen targets the document; a viewport-sized fallback works in restricted browsers. */
.guide-player.is-expanded{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-sizing:border-box}.guide-player>.actions:first-child{position:sticky;top:-24px;z-index:4;background:var(--surface,var(--paper));padding:10px 0}.guide-player.is-expanded .guide-player-visual img{width:100%;max-height:none}@media(max-width:600px){.guide-player>.actions:first-child{top:-14px}}
.cursor-path-list label{display:inline-flex;align-items:center;gap:8px;margin:6px}.cursor-path-list label input{width:85px}
.guide-player-copy{min-width:0}.guide-player-copy>h3{margin:14px 0 8px}.guide-player-copy>p{margin:10px 0}.guide-player-copy .guide-player-instruction{white-space:pre-wrap}.guide-player-footer{margin-top:14px}
.guide-player.is-expanded{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:6px;overflow:hidden;padding:16px 24px}.guide-player.is-expanded>.actions:first-child{position:static;padding:0}.guide-player.is-expanded>h2{margin:4px 0;font-size:clamp(18px,2vw,28px)}.guide-player.is-expanded>p{margin:0}.guide-player.is-expanded .guide-player-content{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;min-height:0}.guide-player.is-expanded .guide-player-stage{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:hidden}.guide-player.is-expanded .guide-player-visual{display:inline-block;width:auto;max-width:100%;line-height:0}.guide-player.is-expanded .guide-player-visual img{width:auto;max-width:100%;object-fit:contain}.guide-player.is-expanded .guide-player-copy{overflow:auto;padding:0 8px 8px 0}.guide-player.is-expanded .guide-player-footer{margin-top:0;min-height:0}.guide-player.is-expanded .guide-player-thumbnails{padding:6px 2px}.guide-player.is-expanded .guide-player-thumb{flex-basis:82px;padding:4px}.guide-player.is-expanded .guide-player-thumb img{width:66px;height:36px}@media(max-width:700px){.guide-player.is-expanded{padding:12px;overflow:auto;display:block}.guide-player.is-expanded .guide-player-content{display:block}.guide-player.is-expanded .guide-player-stage{height:38dvh}.guide-player.is-expanded .guide-player-copy{overflow:visible}.guide-player.is-expanded .guide-player-footer{position:sticky;bottom:-12px;background:var(--surface,var(--paper));padding-top:8px}.guide-player.is-expanded .guide-player-visual img{max-height:38dvh}}
/* Delivery documents share the existing appearance tokens. PDF paper stays white. */
.delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.delivery-grid label{display:flex;flex-direction:column;gap:7px}.delivery-grid textarea{min-height:95px}.delivery-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.delivery-actions label{display:flex;align-items:center;gap:8px}.delivery-actions input{width:80px}#deliveryPreview iframe{display:block;width:100%;height:800px;border:0;border-radius:16px;margin:20px 0}#deliveryApproval{width:auto;margin-right:8px}@media(max-width:650px){.delivery-grid{grid-template-columns:1fr}#deliveryPreview iframe{height:560px}}
.delivery-presets{border:1px solid var(--line);border-radius:18px;padding:22px;margin:20px 0;background:var(--surface)}.delivery-presets h3{margin-top:0}
.delivery-summary{background:var(--surface-soft);border-radius:14px;padding:12px 18px;margin:0 0 20px}.delivery-summary p{margin:7px 0;white-space:pre-line}.delivery-fixed-details,.delivery-template-manager{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.delivery-fixed-details summary,.delivery-template-manager summary{cursor:pointer;font-weight:650;color:var(--ink);padding:8px 0}.delivery-fixed-details[open] summary,.delivery-template-manager[open] summary{margin-bottom:12px}
.delivery-number-settings{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.delivery-number-settings summary{cursor:pointer;font-weight:650;padding:8px 0}.delivery-number-settings label{display:grid;gap:8px;max-width:260px;margin:14px 0}
/* Swiss delivery-note editor: recipient picker and reusable item rows. */
.delivery-company-card{display:flex;flex-direction:column;gap:10px;width:100%;text-align:left;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);cursor:pointer;min-height:140px}.delivery-company-card strong{font-size:19px}.delivery-company-card span{white-space:pre-line}.delivery-company-card small{color:var(--accent-ink)}.delivery-company-picker{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px;margin-top:12px;box-shadow:var(--shadow)}.delivery-choice-list{max-height:320px;overflow:auto;margin:12px 0}.delivery-choice-list button{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;padding:14px;background:var(--surface);color:var(--ink);border:0;border-bottom:1px solid var(--line);cursor:pointer}.delivery-choice-list button:hover,.delivery-choice-list button:focus-visible{background:var(--surface-soft)}.delivery-choice-list span{color:var(--muted);white-space:pre-line}.delivery-summary{display:none}.delivery-positions{margin:22px 0}.delivery-positions-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.delivery-positions-title span{color:var(--muted);font-size:12px}.delivery-table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;margin:12px 0}.delivery-positions table{width:100%;min-width:650px;border-collapse:collapse}.delivery-positions th{font-size:12px;text-align:left;background:var(--surface-soft);padding:12px}.delivery-positions td{padding:10px;border-top:1px solid var(--line);vertical-align:top}.delivery-positions textarea{min-height:74px;min-width:170px}.delivery-positions td:nth-child(4) input{min-width:75px;width:90px}.delivery-positions td:last-child{width:125px}.delivery-positions td:last-child button{margin-bottom:5px}.delivery-item-dialog{width:min(760px,94vw);max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--surface);color:var(--ink)}.delivery-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.delivery-item-dialog label{display:grid;gap:8px}.delivery-item-dialog::backdrop{background:#102a2066}@media(max-width:650px){.delivery-positions-title{align-items:flex-start;flex-direction:column}.delivery-item-dialog{padding:16px}}
.delivery-document-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:26px;align-items:start}.delivery-head-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.delivery-head-meta label{display:grid;gap:7px}.delivery-head-meta label:first-child{grid-column:1/-1}@media(max-width:700px){.delivery-document-head{grid-template-columns:1fr;gap:18px}}
.delivery-packaging-details{border:1px solid var(--line);border-radius:14px;margin:20px 0;padding:16px}.delivery-packaging-details summary{font-weight:650;cursor:pointer}.delivery-packaging-details[open] summary{margin-bottom:16px}.delivery-sender-line{font-size:12px;color:var(--muted)}
.delivery-presets > p{font-size:12px;margin:8px 0}.delivery-template-manager,.delivery-number-settings{display:inline-block;vertical-align:top;border:0;margin:12px 22px 0 0;padding:0}.delivery-template-manager[open],.delivery-number-settings[open]{display:block;width:100%;margin-top:18px}.delivery-positions-title h3{margin:10px 0}
/* Anchored recipient dropdown, independent of the document's layout height. */
.delivery-recipient-anchor{position:relative;min-width:0}.delivery-company-card.is-empty{min-height:190px;flex-direction:row;justify-content:center;align-items:center;gap:18px;background:var(--surface-soft);color:var(--accent-ink)}.delivery-company-card.is-empty strong{font-size:18px}.delivery-person-icon{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}.delivery-company-picker{position:absolute;left:0;top:calc(100% + 8px);z-index:35;width:max(100%,360px);max-width:calc(100vw - 36px);padding:12px 0 0;margin:0;box-shadow:0 16px 40px #102a2030;overflow:hidden}.delivery-company-picker>.delivery-grid{display:flex;flex-direction:column;gap:10px;padding:0 12px}.delivery-company-picker>.delivery-grid label{font-size:12px}.delivery-company-picker .delivery-choice-list{margin:10px 0 0;max-height:300px}.delivery-company-picker>.button{width:100%;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px;text-align:left;color:var(--accent-ink)}.delivery-company-picker .delivery-choice-list button{padding:16px}.delivery-recipient-anchor:has(.delivery-company-picker:not([hidden])){z-index:35}@media(max-width:650px){.delivery-company-picker{width:100%;min-width:0;max-width:100%}}
.delivery-item-anchor{position:relative;z-index:25}.delivery-item-anchor>.button{width:100%;text-align:left;padding:16px}.delivery-item-dialog{position:absolute;top:calc(100% + 6px);left:0;z-index:25;width:100%;max-width:100%;max-height:65vh;box-sizing:border-box;box-shadow:0 16px 40px #102a2030;border-radius:12px;padding:14px;background:var(--surface);overflow:auto}.delivery-item-dialog .delivery-dialog-heading h2{font-size:16px;margin:4px 0 12px}.delivery-item-dialog .delivery-choice-list{max-height:260px}.delivery-item-dialog #deliveryCreateItem{width:100%;text-align:left;border-width:1px 0 0;border-radius:0;padding:16px;color:var(--accent-ink)}.delivery-item-anchor:has(.delivery-item-dialog:not([hidden])){z-index:40}
.delivery-business{border:1px solid var(--line);border-radius:14px;background:var(--surface);margin:20px 0}.delivery-business>summary{padding:18px 22px;cursor:pointer;font-weight:650}.delivery-business-card{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--line);padding:24px}.delivery-business-card>div:last-child{text-align:right}.delivery-business-card p{white-space:pre-line;margin:8px 0}.delivery-business-logo img{max-width:240px;max-height:110px;object-fit:contain}.delivery-business-dialog{width:min(720px,94vw);max-height:86vh;overflow:auto;padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink)}.delivery-business-dialog::backdrop{background:#102a2066}.delivery-business-dialog textarea{min-height:120px}.delivery-notes{display:grid;gap:10px;margin:24px 0}.delivery-notes textarea{min-height:110px}.delivery-bottom-actions{border-top:1px solid var(--line);padding-top:20px;align-items:center}.delivery-approval-hint{font-size:12px}.delivery-business-dialog .delivery-actions{justify-content:flex-end}@media(max-width:650px){.delivery-business-card{grid-template-columns:1fr}.delivery-business-card>div:last-child{text-align:left}}
.delivery-recurring{border:1px solid var(--line);border-radius:14px;margin:18px 0;padding:16px;background:var(--surface)}.delivery-recurring>summary{cursor:pointer;font-weight:650}.delivery-recurring[open]>summary{margin-bottom:14px}.delivery-recurring p{font-size:12px;color:var(--muted)}.delivery-recurring-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0}.delivery-recurring-row span{overflow-wrap:anywhere}
.delivery-history{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px;margin:24px 0}.delivery-history>summary{cursor:pointer;font-weight:650}.delivery-history p{font-size:12px;color:var(--muted)}.delivery-history label,.delivery-reminder-fields label{display:grid;gap:8px;margin:14px 0}.delivery-history-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.delivery-history-row>div{flex:1;display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}.delivery-history-row small{color:var(--muted)}.delivery-reminder-fields textarea{min-height:230px}@media(max-width:650px){.delivery-history-row{flex-wrap:wrap}.delivery-history-row>div{flex-basis:100%}}
.delivery-more-actions{position:relative}.delivery-more-actions>summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-weight:650}.delivery-more-actions>summary::after{content:' ▾'}.delivery-more-list{position:absolute;top:calc(100% + 6px);right:0;z-index:45;width:240px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:var(--shadow)}.delivery-more-list button{display:block;width:100%;text-align:left;background:var(--surface);color:var(--ink);border:0;border-radius:8px;padding:12px;cursor:pointer}.delivery-more-list button:hover,.delivery-more-list button:focus-visible{background:var(--surface-soft)}
.delivery-tabs{display:flex;gap:10px;margin:18px 0}.delivery-recipients>label{display:grid;gap:8px;margin:22px 0;max-width:460px}.delivery-recipients table{width:100%;min-width:650px;border-collapse:collapse}.delivery-recipients th,.delivery-recipients td{text-align:left;padding:16px;border-bottom:1px solid var(--line);white-space:pre-line;vertical-align:top}.delivery-recipients th{background:var(--surface-soft)}.delivery-row-menu{position:relative}.delivery-row-menu>summary{cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:20px}.delivery-row-menu>div{position:absolute;right:0;top:100%;z-index:40;min-width:210px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.delivery-row-menu button{display:block;width:100%;text-align:left;margin:4px 0}.delivery-recipient-profile{width:min(1000px,94vw);max-height:88vh;overflow:auto;padding:24px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px}.delivery-recipient-profile::backdrop{background:#102a2066}.delivery-recipient-contact{border:1px solid var(--line);padding:18px;border-radius:14px;white-space:pre-line}.delivery-recipient-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.delivery-recipient-stats>div{display:grid;gap:10px;background:var(--surface-soft);border-radius:12px;padding:16px}.delivery-recipient-stats strong{font-size:22px}.delivery-recipient-document{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0}.delivery-recipient-profile p{overflow-wrap:anywhere}@media(max-width:650px){.delivery-recipient-stats{grid-template-columns:1fr 1fr}}

.delivery-new-recipient{width:min(620px,94vw);padding:0}.delivery-new-recipient form> .delivery-dialog-heading{padding:20px 26px;border-bottom:1px solid var(--line)}.delivery-new-recipient h2{margin:0;font-size:22px}.delivery-new-recipient [aria-label="Schliessen"]{background:transparent;border:0;color:var(--muted);font-size:28px;cursor:pointer}.delivery-new-recipient .delivery-tabs{justify-content:center;margin:24px}.delivery-new-recipient [role=tab]{padding:10px 20px;border:0;border-radius:10px;background:var(--surface-soft);color:var(--ink);cursor:pointer}.delivery-new-recipient [aria-selected=true]{background:var(--accent);color:var(--surface)}.delivery-new-recipient [data-pane]{padding:0 32px 24px}.delivery-new-recipient [data-pane] label{display:grid;gap:8px;margin:18px 0}.delivery-new-recipient [data-pane][hidden]{display:none}.delivery-new-recipient [role=status]{margin:0 32px}.delivery-new-recipient .delivery-actions{padding:20px 26px;border-top:1px solid var(--line);margin:0}

.delivery-selected-recipient{display:flex;flex-direction:column;gap:6px;padding:18px 0;color:var(--ink)}.delivery-selected-recipient[hidden],.delivery-company-card[hidden]{display:none}.delivery-selected-recipient strong{font-size:21px}.delivery-selected-recipient span{white-space:pre-line}.delivery-selected-recipient small{color:var(--muted);font-weight:650}.delivery-selected-recipient>div{display:flex;gap:16px;margin-top:14px;flex-wrap:wrap}.delivery-selected-recipient button{padding:0;border:0;background:transparent;color:var(--accent-ink);font:inherit;font-weight:650;cursor:pointer}.delivery-selected-recipient button:hover{text-decoration:underline}

.delivery-new-recipient [role=tab][aria-selected=true]{background:var(--surface-soft);color:var(--ink);box-shadow:inset 0 -3px var(--accent-ink)}

/* A single editable delivery document, with the same surface in either theme. */
.delivery-editor-content{max-width:1120px;margin:0 auto}.delivery-paper{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px #102a2012;margin:24px 0;overflow:visible}.delivery-paper .delivery-presets{border:0;border-radius:18px 18px 0 0;padding:30px 32px;margin:0}.delivery-paper .delivery-document-head{min-height:250px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px}.delivery-paper .delivery-head-meta{display:flex;flex-direction:column;gap:20px}.delivery-paper .delivery-head-meta label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:16px}.delivery-paper .delivery-head-meta input,.delivery-paper .delivery-head-meta select{min-width:0;width:100%;box-sizing:border-box}.delivery-paper #deliveryForm{padding:0;margin:0;border:0;background:transparent;box-shadow:none}.delivery-paper .delivery-positions{margin:0}.delivery-paper .delivery-positions-title{padding:12px 26px;background:var(--surface-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.delivery-paper .delivery-positions-title h3{font-size:16px}.delivery-paper .delivery-table-scroll{border:0;border-radius:0;margin:0}.delivery-paper .delivery-positions th{padding:16px;background:var(--surface-soft)}.delivery-paper .delivery-positions td{padding:14px}.delivery-paper .delivery-item-anchor>.button{border-width:1px 0;border-radius:0;padding:18px 26px;background:transparent;color:var(--accent-ink)}.delivery-paper .delivery-notes{padding:24px 28px;margin:0}.delivery-paper .delivery-notes textarea{min-height:110px}.delivery-paper #deliveryForm>.delivery-actions,.delivery-paper #deliveryForm>details{margin:18px 28px}.delivery-paper .delivery-selected-recipient{padding:0}.delivery-paper .delivery-selected-recipient>div{display:flex;gap:15px}.delivery-paper .delivery-selected-recipient>div button{width:auto}@media(max-width:700px){.delivery-paper .delivery-document-head{grid-template-columns:1fr;gap:28px;min-height:0}.delivery-paper .delivery-presets{padding:22px}.delivery-paper .delivery-head-meta label{grid-template-columns:100px minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1050px){.delivery-paper .delivery-document-head{grid-template-columns:1fr;gap:28px;min-height:0}.delivery-paper .delivery-head-meta{max-width:440px}}
/* Compact rows and restrained hover controls. */
.delivery-paper .delivery-positions table{table-layout:fixed;min-width:650px}.delivery-paper .delivery-positions th:nth-child(1){width:34%}.delivery-paper .delivery-positions th:nth-child(2){width:25%}.delivery-paper .delivery-positions th:nth-child(3){width:17%}.delivery-paper .delivery-positions th:nth-child(4){width:14%}.delivery-paper .delivery-positions th:nth-child(5){width:10%}.delivery-paper .delivery-positions td:last-child{width:auto}.delivery-paper .delivery-positions td{padding:10px;vertical-align:middle}.delivery-paper .delivery-positions td input{width:100%;min-width:0;box-sizing:border-box;height:42px;padding:9px 10px}.delivery-row-remove{display:grid;place-items:center;width:34px;height:34px;padding:7px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.delivery-row-remove svg{width:19px;height:19px}.delivery-row-remove:hover,.delivery-row-remove:focus-visible{color:#c84c43;background:#c84c4315}.delivery-new-recipient [role=tab]{background:transparent;box-shadow:none;border-radius:6px;transition:background .16s}.delivery-new-recipient [role=tab]:hover{background:var(--surface-soft)}.delivery-new-recipient [role=tab][aria-selected=true]{background:transparent;color:var(--accent-ink);box-shadow:inset 0 -2px var(--accent-ink)}.delivery-paper #deliveryForm>.delivery-actions{display:flex;align-items:center;justify-content:flex-end;padding:20px 26px;margin:0;border-top:1px solid var(--line)}.delivery-split-action{display:flex;position:relative;align-items:stretch}.delivery-split-action>.button{border-radius:10px 0 0 10px;margin:0}.delivery-split-action>.delivery-more-actions{margin:0;position:static}.delivery-split-action summary{height:100%;box-sizing:border-box;display:grid;place-items:center;min-width:42px;padding:0 12px;border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0;cursor:pointer;list-style:none}.delivery-split-action summary::-webkit-details-marker{display:none}.delivery-split-action summary:hover,.delivery-paper .button:hover{background:var(--surface-soft);color:var(--accent-ink)}.delivery-split-action .delivery-more-list{top:auto;bottom:calc(100% + 8px);right:0;min-width:260px;max-height:65vh;overflow:auto}.delivery-split-action .delivery-more-list label{display:grid;grid-template-columns:1fr 70px;gap:12px;align-items:center;padding:10px}.delivery-split-action .delivery-more-list button{border:0;background:transparent;box-shadow:none;border-radius:6px}.delivery-split-action .delivery-more-list button:hover{background:var(--surface-soft)}.delivery-bottom-actions[hidden]{display:none}
.delivery-split-action summary::after{content:none}
.delivery-paper .delivery-positions table{min-width:520px}
/* Delivery editor: segmented tabs, handles and review dialog. */
.delivery-new-recipient .delivery-tabs{display:flex;background:var(--surface-soft);border-radius:24px;padding:5px;gap:3px;width:fit-content;max-width:calc(100% - 32px);margin:24px auto;flex-wrap:wrap}.delivery-new-recipient [role=tab]{background:transparent;box-shadow:none;border-radius:20px;padding:10px 16px}.delivery-new-recipient [role=tab][aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 3px 12px #102a2018;font-weight:650}.delivery-new-recipient [role=tab]:hover{background:var(--surface)}.recipient-item-row{display:grid;grid-template-columns:2fr 1.3fr 1fr 30px;gap:8px;margin:12px 0}.recipient-item-row input{width:100%;min-width:0;box-sizing:border-box}.recipient-item-row button{border:0;background:transparent;color:var(--ink);cursor:pointer}.delivery-new-recipient{width:min(760px,94vw)}.delivery-icon{display:inline-grid;place-items:center;border:0;background:transparent;color:var(--ink);border-radius:8px;width:38px;height:38px;padding:8px;cursor:pointer}.delivery-icon svg{width:20px;height:20px}.delivery-icon:hover,.delivery-row-grip:hover{background:var(--surface-soft);color:var(--accent-ink)}.delivery-paper .delivery-positions td:first-child{position:relative;padding-left:34px}.delivery-row-grip{position:absolute;left:4px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted);font-size:23px;cursor:grab;touch-action:none;padding:1px;width:26px}.delivery-positions tr.is-dragging{opacity:.35}.delivery-positions tr.row-drop{outline:2px solid var(--accent-ink);outline-offset:-2px;background:var(--surface-soft)}.delivery-positions tr{transition:background .15s}.delivery-packing-fields{padding:18px 28px}.delivery-packing-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}.delivery-field-row{display:flex;align-items:center;gap:14px;margin:14px 0}.delivery-field-row input[type=checkbox]{width:20px;flex:0 0 20px}.delivery-field-row input:not([type=checkbox]){flex:1;min-width:0}.delivery-pdf-dialog{width:min(1200px,95vw);max-width:95vw;height:92vh;max-height:92vh;padding:18px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px}.delivery-pdf-dialog::backdrop{background:#0b1c18a6}.delivery-pdf-dialog .delivery-dialog-heading{height:42px;margin-bottom:12px}.delivery-pdf-dialog h2{font-size:20px;margin:0}.delivery-pdf-dialog #deliveryPreview{height:calc(100% - 60px)}.delivery-pdf-dialog iframe{width:100%;height:100%;border:0;border-radius:10px;background:var(--surface-soft)}.delivery-pdf-dialog p{display:none}.delivery-approve{display:flex;align-items:center;gap:10px;margin-right:auto;font-size:12px;max-width:55%;line-height:1.5}.delivery-approve input{width:18px;min-width:18px}.delivery-paper .delivery-actions{flex-wrap:wrap}.nav-submenu{border:0;margin:0;padding:0}.nav-submenu-parent{display:flex;align-items:center;list-style:none}.nav-submenu-parent::-webkit-details-marker{display:none}.nav-submenu-parent>button[data-page]{flex:1;min-width:0}.nav-submenu-parent>button:not([data-page]){width:30px;background:transparent;color:inherit;border:0;cursor:pointer}.nav-submenu>.menu-sort-list{margin-left:20px;border-left:1px solid #85bbaa55;padding-left:6px}.menu-nest-target,.menu-order-row.menu-drop-target{background:#7fd1b640!important;outline:2px solid #7fd1b6;outline-offset:-2px}.menu-order-row[draggable=true]{cursor:grab}.menu-order-row.is-dragging{opacity:.4}@media(max-width:650px){.delivery-approve{max-width:100%;width:100%;margin-bottom:12px}.recipient-item-row{grid-template-columns:1fr 1fr}.delivery-paper #deliveryForm>.delivery-actions{padding:16px}}
/* The guide creation page has a single purpose; other routes keep their modes. */
#chat .assistant-mode-bar{display:none}

.delivery-template-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.delivery-template-cards button{padding:1.3rem;text-align:left;border:1px solid var(--line,#d8e0dd);border-radius:16px;background:var(--card,#fff);color:var(--text,#20302c)}.delivery-template-cards button[aria-pressed=true]{border:2px solid var(--accent,#196c58)}.delivery-template-cards strong,.delivery-template-cards span{display:block}.delivery-template-cards span{font-size:.85em;margin-top:.5rem}.delivery-template-settings{margin-bottom:2rem}@media(max-width:600px){.delivery-template-cards{grid-template-columns:1fr}}

.delivery-template-choice{position:relative;min-width:0}.delivery-template-choice>[data-template]{width:100%;height:100%;padding-right:64px;background:var(--surface);color:var(--ink)}.delivery-template-cards .delivery-template-eye{position:absolute;right:12px;top:12px;width:38px;height:38px;padding:8px;border:0;border-radius:10px;background:transparent;color:var(--ink)}.delivery-template-cards .delivery-template-eye:hover{background:var(--surface-soft)}.delivery-template-preview>iframe{height:calc(100% - 60px)}

.seeva-pdf-viewer{height:100%;display:flex;flex-direction:column;background:var(--surface-soft);color:var(--ink);border:1px solid var(--line);border-radius:12px;overflow:hidden}.delivery-template-preview>.seeva-pdf-viewer{height:calc(100% - 60px)}.seeva-pdf-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0}.seeva-pdf-toolbar button{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:6px 12px;cursor:pointer}.seeva-pdf-toolbar button:hover{background:var(--surface-soft)}.seeva-pdf-toolbar [role=status]{margin-left:auto;font-size:12px}.seeva-pdf-pages{overflow:auto;flex:1;min-height:0;padding:20px;display:flex;flex-direction:column;align-items:center;gap:20px}.seeva-pdf-pages canvas{background:white;box-shadow:0 2px 12px #00000015;flex:none;max-width:none}.delivery-pdf-dialog iframe[hidden]{display:none!important}
/* Guide reader: choose a named step; cursor playback stays within that step. */
.guide-reader-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start;margin-top:18px}.guide-reader-layout .guide-player-thumbnails{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;max-height:65vh;overflow:auto;position:sticky;top:64px}.guide-reader-layout .guide-player-thumb{display:flex;align-items:start;text-align:left;gap:10px;flex:0 0 auto;width:100%;padding:12px;border:1px solid transparent;border-radius:12px;background:transparent;box-shadow:none;font:inherit;line-height:1.4}.guide-reader-layout .guide-player-thumb:hover{background:var(--surface-soft)}.guide-reader-layout .guide-player-thumb[aria-current=step]{background:var(--surface-soft);border-color:var(--green);box-shadow:none}.guide-step-number{flex:0 0 26px;border-radius:8px;text-align:center;background:var(--soft);font-weight:700}.guide-step-name{overflow-wrap:anywhere}.guide-player-content{min-width:0}.guide-player-visual.workflow-image-open{cursor:zoom-in;border-radius:12px;overflow:hidden}.guide-player-visual img{border-radius:12px}.guide-player-copy{max-width:78ch}.guide-player-copy>h3{font-size:1.3rem;line-height:1.4}.guide-player-copy details{margin-top:18px}.guide-player-copy .guide-player-instruction{color:var(--ink)}.guide-player.is-expanded{grid-template-rows:auto auto auto minmax(0,1fr) auto}.guide-player.is-expanded .guide-reader-layout{min-height:0;overflow:hidden;margin-top:8px}.guide-player.is-expanded .guide-player-thumbnails{max-height:100%;position:static}.guide-player.is-expanded .guide-player-content{display:block;overflow:auto;min-height:0}.guide-player.is-expanded .guide-player-stage{display:block;min-height:0}.guide-player.is-expanded .guide-player-visual{display:block;width:100%}.guide-player.is-expanded .guide-player-visual img{width:100%!important;max-height:none!important}.guide-player.is-expanded .guide-player-copy{overflow:visible}.guide-player-footer:empty{display:none}@media(max-width:700px){.guide-reader-layout{grid-template-columns:1fr;gap:16px}.guide-reader-layout .guide-player-thumbnails{position:static;max-height:160px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.guide-player.is-expanded .guide-reader-layout{overflow:visible}.guide-player.is-expanded .guide-player-stage{height:auto}}
/* Focused guide creation canvas. Existing fields and draft handlers are retained. */
.guide-creator>.grid{display:block;max-width:1000px;margin:auto}.creator-library-switcher{display:none}.guide-creator #editor{padding:0}.guide-creator .headerline{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.creator-top-actions{margin-left:auto}.guide-creator #wTitle{font-size:clamp(24px,3vw,36px);font-weight:700;border-color:transparent;background:transparent;padding-left:0}.guide-creator #wTitle:focus{border-color:var(--green)}.guide-creator #editor>.cols:has(#wTitle){display:block}.creator-description textarea{min-height:70px;background:transparent}.creator-details{margin:16px 0 24px;border-bottom:1px solid var(--line);padding-bottom:14px}.creator-details>summary{cursor:pointer;font-weight:600;margin-bottom:12px}.creator-details[open]{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creator-details>summary,.creator-details>.notice{grid-column:1/-1}.guide-creator #steps>.step{border:1px solid var(--line);border-radius:16px;padding:22px;margin:20px 0;background:var(--surface,var(--paper))}.guide-creator #steps .stephead{margin-bottom:18px}.creator-step-options{margin-top:12px}.creator-step-options summary{cursor:pointer;color:var(--muted)}.creator-add-tools{padding:16px 0;gap:10px}.guide-creator #editorActions{margin-top:18px}.guide-creator #editor>.cols:not(:has(.field)){display:none}@media(max-width:600px){.creator-details[open]{display:block}.creator-top-actions{margin-left:0}.guide-creator #steps>.step{padding:14px}}
.guide-creator .step .screen:not(:has(img)){display:none}.guide-creator .creator-description{margin-top:12px}.guide-creator .fold-toggle{border:0;background:transparent}.guide-creator #editor>.cols:empty{display:none}
.guide-creator>.page-fold-controls,.guide-creator>.grid>.panel>.fold-toggle{display:none}.guide-creator>.grid>.panel{border:0;background:transparent;padding:0;box-shadow:none}.guide-creator #editor>.headerline{border:0}.guide-creator .step>.fold-toggle{display:none}.guide-creator #editor>.cols:has(#wTitle) .field{margin-bottom:0}.guide-creator .creator-title{box-shadow:none}.guide-creator .stephead .actions .button{padding:6px 10px}.guide-creator #editorActions{position:static}
.guide-creator #editor>.headerline h2,.guide-creator #editor>.headerline small,.guide-creator #editor>.row>h2,.guide-creator .stephead b,.guide-creator #steps .field>label,.guide-creator #steps .filehint{display:none}.guide-creator #steps [data-key=title]{font-size:20px;font-weight:650;background:transparent;border-color:transparent;padding-left:0}.guide-creator #steps [data-key=instruction]{min-height:80px;border-color:transparent;background:transparent;padding-left:0;resize:vertical}.guide-creator #steps [data-key=title]:focus,.guide-creator #steps [data-key=instruction]:focus{border-color:var(--green);padding-left:10px}.guide-creator .stephead{justify-content:space-between}.guide-creator .stephead .delstep{font-size:22px;background:transparent;color:var(--muted);border:0}.guide-creator #steps input[hidden]{display:none!important}.guide-creator #steps img{border-radius:12px}.guide-creator .creator-step-options .field>label{display:block}
/* Focused capture and uncluttered screenshot cards. */
.creator-capture-dialog{width:min(1020px,94vw);max-height:90vh;overflow:auto;padding:28px;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text)}
.creator-capture-dialog::backdrop{background:rgb(10 30 24 / .35)}
.creator-sharing-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.creator-sharing-controls label,.creator-sharing-controls textarea,.creator-sharing-controls p{flex-basis:100%}
.creator-sharing-controls textarea{min-height:64px}
.creator-capture-dialog #studioReview{border:0;box-shadow:none;padding:0;margin-top:20px}
.creator-capture-dialog #videoFrames{display:grid;grid-template-columns:1fr;gap:20px}
.creator-capture-dialog .frame-card,.guide-creator #steps>.step{position:relative;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.creator-step-menu{position:absolute;right:16px;top:12px;z-index:3}
.creator-step-menu>summary{cursor:pointer;list-style:none;font-size:24px;padding:0 10px;border-radius:8px}
.creator-step-menu[open]{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:8px;box-shadow:0 8px 24px #0002}
.creator-step-menu>button{display:block;margin:6px 0;width:100%;text-align:left}
.creator-step-menu>.creator-step-menu-grip{cursor:move;touch-action:none;background:var(--surface-soft);border:0;border-radius:8px;padding:8px;color:var(--ink);font:inherit}
.creator-step-menu>button{display:flex;align-items:center;gap:9px}
.creator-step-menu[open]{max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box}
.creator-type-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.creator-type-choices .creator-ai-choice{height:100%;text-align:left}
@media(max-width:760px){.creator-type-choices{grid-template-columns:1fr}}
.creator-step-menu:focus-within,.creator-step-menu[open]{z-index:20}
.creator-click-image{position:relative;display:block;line-height:0;width:fit-content;max-width:100%;margin:16px auto}
.creator-click-image img{display:block;max-width:100%;height:auto;border-radius:10px}
.creator-click-image.marking-click img{cursor:crosshair;outline:2px solid var(--accent,#196c58)}
.creator-click-marker{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:32px;height:32px;border:3px solid white;border-radius:50%;background:#196c58;color:white;line-height:1;box-shadow:0 0 0 8px #196c5833;pointer-events:none}
.creator-capture-dialog .frame-card>label{display:block;margin:12px 0}
.creator-capture-dialog .frame-card>img{max-height:420px;object-fit:contain}
.creator-capture-dialog #studioReview>button:not(.button){display:none}
.creator-capture-dialog #studioReview>.button~.button{display:none}
/* Creation uses Upload files or the focused capture panel, not a method wizard. */
.studio-clean .capture-methods,
.studio-clean .capture-method[data-method="area"],
.studio-clean .capture-method[data-method="windows"],
.studio-clean .capture-method[data-method="record"],
.studio-clean .capture-method[data-method="browser"]{display:none!important}
.creator-type-dialog{width:min(740px,92vw);max-height:90vh;overflow:auto;padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text)}
.creator-type-dialog::backdrop{background:rgb(10 30 24 / .35)}
.creator-type-choices{display:grid;gap:12px;margin:22px 0}
.creator-type-choices button{text-align:left;padding:22px;font-size:20px}
.creator-type-choices small{display:block;font-size:14px;font-weight:400;margin-top:8px}
.creator-type-choices button[aria-pressed=true]{border:2px solid var(--accent,#196c58);background:var(--surface-soft)}
.creator-type-dialog>.actions{justify-content:flex-end}
.creator-document-preview{width:min(1040px,94vw)}
.creator-preview-step{padding:22px 0;border-top:1px solid var(--border)}
.creator-preview-step p{white-space:pre-wrap}
.creator-companion-setup{padding:20px;border:1px solid var(--border);border-radius:14px;margin:20px 0;background:var(--surface-soft)}
.creator-companion-setup details{margin-top:16px}
.creator-companion-setup li{margin:8px 0}
.creator-sharing-fallback>summary{cursor:pointer;padding:12px 0}

/* Guide types: compact illustrated choices, with the same palette in both themes. */
.creator-type-choices button{display:flex;align-items:center;gap:18px;width:100%;min-height:112px;border-radius:14px}
.creator-type-icon{display:grid;place-items:center;flex:0 0 64px;height:64px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--accent)}
.creator-type-icon svg{width:34px;height:34px}
.creator-type-copy{flex:1;min-width:0}
.creator-type-title{display:block;font-size:18px;font-weight:650}
.creator-type-choices small{color:var(--muted);line-height:1.5;margin-top:6px}
.creator-type-check{flex:0 0 22px;color:var(--accent);visibility:hidden}
.creator-type-choices button[aria-pressed=true] .creator-type-check{visibility:visible}
@media(max-width:520px){.creator-type-choices button{padding:16px;gap:12px}.creator-type-icon{flex-basis:48px;height:48px;border-radius:14px}.creator-type-icon svg{width:28px;height:28px}}

/* A focused document canvas, following the approved capture-to-guide reference. */
.guide-creator>.grid{max-width:960px}
.creator-cover{padding:30px 32px 22px;border-radius:18px;background:var(--surface);margin:22px 0 30px}
.guide-creator .creator-cover .field>label{display:none}
.guide-creator .creator-cover #wTitle{font-size:clamp(28px,3vw,42px);margin:0;padding:0 0 12px;line-height:1.2;height:auto}
.guide-creator .creator-description textarea{min-height:42px;border:0;padding:0;resize:vertical}
.creator-cover-meta{display:flex;gap:18px;align-items:center;color:var(--muted);font-size:13px;margin-top:16px}
.guide-creator .creator-details{border:0;margin:8px 0 20px;font-size:13px}
.guide-creator #steps>.step{padding:22px 26px;margin:22px 0;border:1px solid var(--border);box-shadow:none}
.creator-card-heading{display:flex;gap:14px;align-items:center;padding-right:40px}
.creator-card-heading>.field{flex:1;margin:0;min-width:0}
.creator-card-heading .stepnum{flex-shrink:0;border-radius:9px;width:28px;height:28px;font-size:13px}
.guide-creator #steps .stephead{display:none}
.guide-creator #steps [data-key=title]{font-size:18px;margin:0;padding:4px 0}
.guide-creator #steps [data-key=instruction]{min-height:36px;padding:2px 0;line-height:1.6;font-size:15px;resize:none;overflow:hidden}
.guide-creator #steps>.step>.field:has([data-key=instruction]){margin:0 0 10px 42px}
.guide-creator #steps .screen{padding:0;border:0;background:transparent;border-radius:12px;overflow:hidden}
.guide-creator #steps .screen img{width:100%;max-height:none;object-fit:contain}
.guide-creator #steps .creator-click-image{width:100%;margin:10px 0 0}
.guide-creator .creator-step-menu{top:18px;right:16px}
.guide-creator .creator-step-menu[open]{min-width:200px;max-width:300px}
.guide-creator .creator-step-menu .creator-step-options{padding:8px}
.creator-add-tools>button{display:inline-flex;align-items:center;gap:8px;font-size:13px;padding:10px 14px}
.creator-add-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.creator-cover{padding:20px}.guide-creator #steps>.step{padding:18px}.guide-creator #steps>.step>.field:has([data-key=instruction]){margin-left:0}}

.creator-capture-review{width:min(1050px,94vw)}
.capture-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;margin:22px 0}
.capture-review-stage img{width:100%;border-radius:12px;display:block;margin-bottom:12px}
.capture-review-stage small{color:var(--muted)}
.capture-review-stage input{font-size:20px;font-weight:650;margin-top:12px}
.capture-review-stage textarea{min-height:90px;line-height:1.6}
.capture-review-list{list-style:none;padding:0;margin:0;max-height:55vh;overflow:auto}
.capture-review-list li{padding:6px;border-radius:10px;margin-bottom:6px}
.capture-review-list li.selected{background:var(--surface-soft);outline:1px solid var(--accent)}
.capture-review-list button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;padding:6px;font-size:13px}
.capture-review-list img{width:60px;height:44px;object-fit:cover;border-radius:6px}
.capture-review-list strong{font-weight:500;overflow-wrap:anywhere}
@media(max-width:650px){.capture-review-layout{grid-template-columns:1fr}.capture-review-list{max-height:180px}}
.guide-creator #editor{background:transparent!important;border:0!important;box-shadow:none!important}
.guide-creator .creator-cover,.guide-creator #steps>.step{background:var(--surface);border:1px solid var(--line)}
.guide-creator #editor .creator-cover #wTitle,.guide-creator #editor #steps [data-key=title],.guide-creator #editor #steps [data-key=instruction]{background:transparent;border-color:transparent}
.guide-creator .creator-cover #wTitle{border-radius:6px}
.creator-type-dialog,.creator-capture-dialog{border-color:var(--line);color:var(--ink)}
.creator-type-icon{border-color:var(--line);color:var(--green)}
.creator-type-choices button[aria-pressed=true]{border-color:var(--green)}
.creator-type-check{color:var(--green)}
.capture-review-list li.selected{outline-color:var(--green)}
/* Keep capture dismissal reachable while reviewing desktop screenshots. */
.creator-capture-header{position:sticky;top:0;z-index:2;background:var(--surface,#fff);padding:8px 0}
.creator-companion-setup>a{float:left;margin-right:12px;min-width:40px;text-align:center}
.capture-import-status:empty{display:none}
.capture-import-status{color:var(--muted);font-size:.9rem;margin-bottom:12px}

/* Guide metadata and creation actions share a compact header. */
.creator-details-bar{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:16px 0}
.creator-details-bar>.creator-details{flex:1;min-width:220px;margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface,var(--paper))}
.creator-details-bar>.creator-add-tools{margin-left:auto;padding:0;display:flex;flex-wrap:wrap}
.creator-details>summary{margin:0;padding:4px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px}
.creator-details>summary::after{content:'⌄';margin-left:auto}
.creator-details[open]>summary{margin-bottom:12px}
.creator-details .field{min-width:0;margin-bottom:10px}
.creator-advanced{grid-column:1/-1;padding-top:10px;border-top:1px solid var(--line)}
.creator-advanced>summary{cursor:pointer;margin-bottom:10px;color:var(--muted)}
@media(max-width:760px){.creator-details-bar>.creator-details{flex-basis:100%}.creator-details-bar>.creator-add-tools{margin-left:0}}

/* Update 2: compact authoring controls and consistent screenshot targets. */
.guide-creator [hidden],.creator-document-preview [hidden]{display:none!important}
.creator-meta-controls{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}
.creator-meta-picker{position:relative;min-width:130px;font-size:12px}
.creator-meta-picker>summary{display:flex;flex-direction:column;gap:4px;list-style:none;padding:9px 14px;border-radius:10px;cursor:pointer;background:var(--surface-soft);color:var(--ink)}
.creator-meta-picker>summary::-webkit-details-marker{display:none}
.creator-meta-picker>summary span{color:var(--muted);font-size:11px}
.creator-meta-picker>summary strong{font-size:13px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.creator-meta-picker>.field{position:absolute;right:0;top:100%;z-index:10;width:260px;max-width:80vw;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 24px #0002}
.creator-meta-picker>.field>label{display:block!important;font-size:12px}
.creator-details-bar{justify-content:flex-end}.creator-details-bar>.creator-add-tools{margin-left:0}
.guide-creator .creator-add-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 14px;font:500 13px system-ui;border:0;box-sizing:border-box}
.creator-top-actions button{display:inline-flex;align-items:center;gap:7px;min-height:40px}
.creator-top-actions svg,.creator-step-menu button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.guide-creator .button,.creator-step-menu>summary,.creator-document-preview .button,.guide-player .button{border-color:transparent;box-shadow:none}
.guide-creator .button.ghost,.creator-document-preview .button.ghost,.guide-player .button.ghost{background:transparent;color:var(--ink)}
.guide-creator .button:hover,.creator-step-menu>summary:hover,.creator-document-preview .button:hover,.guide-player .button.ghost:hover{background:var(--surface-soft);color:var(--ink)}
.guide-creator .button:not(.ghost):not(.danger):hover{background:var(--green);color:var(--button-ink,#fff);filter:brightness(1.08)}
.guide-creator button:focus-visible,.guide-creator summary:focus-visible,.creator-document-preview button:focus-visible,.guide-dialog-grip:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.guide-creator [data-mark-target],.creator-capture-dialog [data-mark-target]{display:none!important}
.creator-step-menu .delstep{display:flex;align-items:center;gap:9px;color:var(--ink);background:transparent;border:0}
.creator-step-grip{border:0;background:transparent;color:var(--muted);cursor:grab;font-size:24px;padding:4px;touch-action:none;flex-shrink:0}
.creator-delete-notice{display:flex;align-items:center;gap:16px;padding:8px 14px;border-radius:10px;background:var(--surface-soft);color:var(--ink)}
.creator-click-image{cursor:zoom-in;border-radius:14px}
.creator-click-image img,.guide-player-visual img,#workflowImageFull{border-radius:14px}
.creator-click-image img{width:100%}
.guide-click-outline{position:absolute;box-sizing:border-box;border:3px solid #1cae98;border-radius:10px;pointer-events:none;animation:seeva-outline-heartbeat 2.8s ease-in-out infinite}
.creator-click-marker,.guide-click-marker{display:grid;place-items:center;width:32px;height:32px;min-width:0;min-height:0;padding:0;border:2px solid #fff;background:#196c58;color:#fff;border-radius:50%;line-height:1;transform:translate(-50%,-50%);font:700 14px system-ui;box-shadow:0 0 0 5px #196c5826;animation:seeva-marker-heartbeat 2.8s ease-in-out infinite;z-index:2}
.guide-dialog-grip{position:relative;display:flex;align-items:center;justify-content:center;min-height:18px;width:64px;margin:-12px auto 10px;color:var(--muted);cursor:grab;touch-action:none;border-radius:6px;user-select:none;line-height:1;font-size:22px}
.guide-dialog-grip:active{cursor:grabbing}
.guide-player.is-expanded>.guide-dialog-grip{display:none}
.workflow-image-overlay{position:relative;width:max-content;max-width:none;flex-shrink:0;margin:auto;line-height:0}
.workflow-image-overlay>img{display:block}
@keyframes seeva-outline-heartbeat{0%,100%{box-shadow:0 0 0 0 #1cae9833}50%{box-shadow:0 0 0 6px #1cae9800}}
@keyframes seeva-marker-heartbeat{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.guide-click-outline,.creator-click-marker,.guide-click-marker{animation:none!important}}
html[data-seeva-motion=reduce] .guide-click-outline,html[data-seeva-motion=reduce] .creator-click-marker,html[data-seeva-motion=reduce] .guide-click-marker{animation:none!important}
@media(max-width:600px){.creator-meta-controls{justify-content:flex-start}.creator-meta-picker{flex:1;min-width:110px}.creator-meta-picker>.field{right:auto;left:0}.creator-top-actions{flex-wrap:wrap}.creator-card-heading{gap:7px}.creator-click-marker,.guide-click-marker{width:26px;height:26px;font-size:12px}}
.guide-player.is-slideshow .guide-reader-layout{display:block}.guide-player.is-slideshow .guide-player-thumbnails,.guide-player.is-slideshow .guide-player-copy>h3,.guide-player.is-slideshow .guide-player-copy>.guide-player-instruction{display:none}
.guide-player.is-slideshow .guide-player-visual{isolation:isolate}.guide-player.is-slideshow .guide-player-visual img{max-height:65vh;object-fit:contain;width:100%;height:auto}
.guide-player.is-slideshow .guide-player-visual{width:fit-content;max-width:100%;margin:auto}.guide-player.is-slideshow .guide-player-visual img{width:auto;max-width:100%}
.guide-slideshow-callout{position:absolute;width:240px;max-width:calc(100% - 24px);box-sizing:border-box;padding:12px 16px;line-height:1.5;font-size:13px;text-align:left;white-space:pre-wrap;border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 4px 20px #0003;pointer-events:none;z-index:3}
.guide-slideshow-bookend{text-align:center;display:flex;min-height:360px;flex-direction:column;align-items:center;justify-content:center;gap:14px;border-radius:16px;background:var(--surface-soft);padding:32px}
.guide-slideshow-bookend h2{font-size:clamp(26px,4vw,40px);margin:0}.guide-slideshow-bookend p{max-width:60ch;line-height:1.6;color:var(--muted)}.guide-slideshow-bookend .button{min-width:120px}
.guide-slideshow-bookend{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box}
.guide-slideshow-bookend>.guide-slideshow-cover{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:blur(12px) brightness(.32);transform:scale(1.08);z-index:-1;pointer-events:none}
.guide-slideshow-bookend.has-cover{background:#0b1712;color:#fff}
.guide-slideshow-bookend.has-cover p{color:#f0f4f2}
.guide-slideshow-bookend .guide-slideshow-meta{display:inline-block;max-width:100%;margin:0;padding:6px 16px;border-radius:999px;background:color-mix(in srgb,var(--ink) 10%,transparent);font-size:14px;overflow-wrap:anywhere}
.guide-slideshow-bookend.has-cover .guide-slideshow-meta{background:#ffffff24;color:#fff}
.guide-slideshow-bookend.has-cover .button{background:#fff;color:#152b22;border-color:transparent;border-radius:999px;padding:12px 28px}
.guide-player.is-slideshow.is-bookend>h2,.guide-player.is-slideshow.is-bookend>p{display:none}
.guide-player-footer>.actions{display:flex;justify-content:center;margin-top:16px;gap:12px}.guide-player-stage{overflow:visible}.guide-player-visual.workflow-image-open{overflow:visible}
.guide-player [hidden]{display:none!important}
/* Override the legacy screenshot-caption span rule for graphic overlays. */
.workflow-image-open [data-guide-overlay]{margin:0}
.workflow-image-open .creator-click-marker,.workflow-image-open .guide-click-marker{display:grid;font-size:14px;line-height:1}
.guide-player.is-slideshow[open]{display:flex;flex-direction:column;height:min(900px,92vh);overflow:auto}
.guide-player.is-slideshow>.guide-reader-layout{flex:1;min-height:0;margin-top:8px}
.guide-player.is-slideshow .guide-player-visual img{max-height:calc(92vh - 260px)!important;width:auto!important;max-width:100%}
.guide-player.is-slideshow .guide-player-footer{flex:none;position:sticky;bottom:0;background:var(--surface);padding:8px 0}
.guide-player.is-slideshow .guide-slideshow-bookend{flex:1;min-height:220px}
.guide-player.is-slideshow.is-expanded .guide-player-visual img{max-height:calc(100vh - 240px)!important}
@media(max-width:600px){.workflow-image-open .creator-click-marker,.workflow-image-open .guide-click-marker{font-size:12px}.guide-player.is-slideshow .guide-player-visual img{max-height:calc(92vh - 320px)!important}.guide-slideshow-callout{font-size:12px;max-width:min(200px,70vw);padding:8px 10px}}
.guide-slideshow-callout strong,.guide-slideshow-callout small{display:block;line-height:1.5}.guide-slideshow-callout small{margin-top:4px;color:var(--muted)}
.guide-slideshow-callout::before{content:'';position:absolute;left:var(--callout-tip-x,50%);top:-7px;width:14px;height:14px;transform:translateX(-50%) rotate(45deg);background:var(--surface);border-radius:2px;z-index:-1}
.guide-slideshow-callout[data-placement=above]::before{top:auto;bottom:-7px}
.guide-player.is-slideshow .guide-play-cursor{width:20px;height:20px;box-sizing:border-box;border:2px solid #66756f;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0005;filter:none;transform:translate(-50%,-50%);z-index:4}
.guide-player.is-slideshow .guide-play-cursor svg{display:none}
.guide-player.is-slideshow .guide-play-cursor.is-clicking::after{content:'';position:absolute;inset:-10px;border:2px solid #ffffffb3;border-radius:50%;background:#ffffff1a;animation:seeva-cursor-click .55s ease-out both}
@keyframes seeva-cursor-click{from{transform:scale(.5);opacity:1}to{transform:scale(1.6);opacity:0}}
@media(prefers-reduced-motion:reduce){.guide-play-cursor::after{animation:none!important}}
html[data-seeva-motion=reduce] .guide-play-cursor::after{animation:none!important}
.guide-creator #editor .button.ghost,.guide-creator #editor .button.danger,.guide-player[open] .button.ghost,.creator-document-preview[open] .button.ghost{border:0;box-shadow:none}
.guide-creator #editor .button.ghost:hover,.guide-creator #editor .button.danger:hover,.guide-player[open] .button.ghost:hover{background:var(--surface-soft);color:var(--ink)}
/* Use the image's natural aspect ratio: overlay coordinates must not include letterboxing. */
.guide-creator #steps .creator-click-image img,.creator-document-preview .creator-click-image img{width:100%;height:auto;max-height:none!important;object-fit:fill}
.guide-player:not(.is-slideshow) .guide-player-visual img{max-height:none!important}

/* Update 3: the new canvas owns creation; legacy surfaces remain available to existing handlers. */
aside nav button[data-page=studio]{display:none!important}
.guide-creator #editor #wTitle,.guide-creator #editor #wTitle:focus,.guide-creator #editor #wTitle:focus-visible{background:transparent!important;box-shadow:none!important;color:var(--ink);border-color:transparent;outline:none}
.guide-creator #editor #wTitle:focus-visible{outline:2px solid var(--green);outline-offset:5px}
.guide-creator #wTitle:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--surface) inset!important;-webkit-text-fill-color:var(--ink)}
.creator-type-dialog>.row h2{margin:0}.creator-type-dialog>.muted{line-height:1.6;max-width:58ch;margin-top:12px}
.creator-type-dialog .creator-type-choices button{border:0;background:var(--surface-soft);color:var(--ink);box-shadow:none}
.creator-type-dialog .creator-type-choices button:hover{background:color-mix(in srgb,var(--green) 14%,var(--surface))}
.creator-type-dialog .creator-type-choices button[aria-pressed=true]{border:0;background:color-mix(in srgb,var(--green) 20%,var(--surface))}
.creator-type-dialog .creator-type-icon{border:0;background:color-mix(in srgb,var(--green) 9%,var(--surface))}
.creator-type-dialog .button{border:0;background:var(--surface-soft);color:var(--ink);box-shadow:none}
.creator-type-dialog .button:focus:not(:focus-visible){outline:none}.creator-type-dialog .button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.guide-authoring-dialog{width:min(900px,94vw);max-height:90vh;padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);overflow:auto}
.guide-authoring-dialog::backdrop{background:#071d1799}.guide-authoring-dialog [hidden]{display:none!important}
.guide-authoring-dialog>.row{position:sticky;top:-26px;z-index:2;background:var(--surface);padding:16px 0}.guide-authoring-dialog h2{margin:0;font-size:24px}
.guide-authoring-dialog label:not(.guide-authoring-consent){display:block;margin:18px 0 7px;font-weight:600}
.guide-authoring-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;background:var(--surface-soft);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:14px}
.guide-authoring-dialog p,.guide-authoring-dialog li{line-height:1.6}.guide-authoring-dialog ol{padding-left:24px}.guide-authoring-dialog li{margin:10px 0}
.guide-authoring-dialog input[type=file]{display:block;max-width:100%;margin:12px 0;padding:12px;border:1px dashed var(--line);border-radius:12px;background:var(--surface-soft)}
.guide-authoring-dialog .guide-source-drop{display:block;width:100%;min-height:170px;padding:28px;border:2px dashed var(--line);border-radius:16px;background:var(--surface-soft);color:var(--ink);font:600 16px system-ui;cursor:pointer;box-sizing:border-box}
.guide-authoring-dialog .guide-source-drop:hover,.guide-authoring-dialog .guide-source-drop.is-dragging{border-color:var(--green);background:color-mix(in srgb,var(--green) 12%,var(--surface))}
.guide-authoring-dialog .guide-source-drop:disabled{cursor:wait;opacity:.6}
.guide-authoring-sharing{padding:12px 14px;border-radius:12px;background:var(--surface-soft);margin:18px 0;font-size:13px}
.guide-authoring-dialog>[role=status]{white-space:pre-wrap;color:var(--muted)}
.guide-authoring-dialog>.actions{position:sticky;bottom:-26px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;background:var(--surface);padding:18px 0;border-top:1px solid var(--line)}
.guide-authoring-review:empty{display:none}.guide-authoring-review article{border-top:1px solid var(--line);padding:14px 0}.guide-authoring-review p{white-space:pre-wrap}.guide-authoring-review h4{font-size:17px;margin:8px 0}.guide-authoring-review details{font-size:13px;color:var(--muted)}
.guide-authoring-dialog .button.ghost{border:0;background:var(--surface-soft);color:var(--ink)}
.guide-authoring-dialog .button:hover{filter:brightness(1.06)}.guide-authoring-dialog button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:600px){.guide-authoring-dialog{padding:18px}.guide-authoring-dialog>.actions{bottom:-18px}.creator-add-tools>button{flex:1 1 42%}.guide-authoring-dialog>.row{top:-18px}}
.creator-top-actions .guide-history-button{width:38px;height:38px;min-height:38px;padding:8px;justify-content:center}
.guide-history-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.guide-authoring-review img{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:12px;margin:14px 0}
.creator-highlight-dialog{width:min(900px,94vw);max-height:90vh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink)}
.creator-highlight-dialog::backdrop{background:#071d1799}
.creator-highlight-dialog [hidden]{display:none!important}
.creator-highlight-stage{position:relative;width:fit-content;max-width:100%;margin:auto;line-height:0;cursor:crosshair;touch-action:none;user-select:none}
.creator-highlight-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:45vh;border-radius:12px;pointer-events:none}
.creator-highlight-stage .guide-click-outline,.creator-highlight-stage .creator-click-marker{pointer-events:none}
.creator-highlight-fields{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.creator-highlight-fields label{flex:1 1 110px}.creator-highlight-fields input{display:block;width:100%;box-sizing:border-box;margin-top:6px}
.creator-highlight-dialog .actions{justify-content:flex-end}
.creator-instruction-option{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;color:var(--muted);cursor:pointer}
.creator-instruction-option input{width:16px;height:16px;margin:0}
.creator-screenshot-callout{z-index:2}
.workflow-image-overlay [hidden]{display:none!important}
.creator-click-image .creator-click-marker{z-index:3}
.delivery-recipient-filters{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0}
.delivery-recipient-filters label{display:grid;gap:7px;flex:0 1 220px;max-width:100%}
.delivery-recipient-pages{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin:18px 0}
.delivery-recipient-pages>button{width:auto;flex:0 0 auto;margin:0}
.delivery-recipient-pages>span{flex:0 0 auto}
.delivery-row-menu>div[popover]{color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:8px;box-shadow:var(--shadow)}
.delivery-recovery-dialog{width:min(700px,94vw);max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink)}
.delivery-recovery-dialog::backdrop{background:#071d1799}
.delivery-recovery-dialog>div{display:grid;gap:10px;margin:18px 0}
.creator-type-dialog{max-height:90vh;overflow:auto;box-sizing:border-box}
.creator-type-dialog .creator-type-choices>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;min-height:230px;padding:20px;box-sizing:border-box}
.creator-type-dialog .creator-type-icon{flex:0 0 48px;width:48px;height:48px;border-radius:12px}
.creator-type-dialog .creator-type-icon svg{width:28px;height:28px}
.creator-type-dialog .creator-type-copy{width:100%;flex:none}
.creator-type-dialog .creator-type-check{position:absolute;right:16px;top:20px}
@media(max-width:760px){.creator-type-dialog .creator-type-choices>button{min-height:0}}

/* Reader navigation: selection uses fill; keyboard focus stays visible. */
.guide-reader-layout .guide-player-thumb{border:0;color:var(--ink);box-shadow:none}
.guide-reader-layout .guide-player-thumb:hover{background:var(--surface-soft);color:var(--ink)}
.guide-reader-layout .guide-player-thumb[aria-current=step],
.guide-reader-layout .guide-player-thumb[aria-current=step]:hover{background:#196c58;color:#fff;border:0;box-shadow:none}
.guide-reader-layout .guide-player-thumb[aria-current=step] .guide-step-number{background:#ffffff26;color:#fff}
.guide-reader-layout .guide-player-thumb:focus:not(:focus-visible){outline:none}
.guide-reader-layout .guide-player-thumb:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
#library .library-toolbar label.check{display:inline-flex;align-items:center;gap:10px;margin:0;line-height:1.5;white-space:nowrap}
#libraryFavourites{display:block;flex:0 0 16px;width:16px;height:16px;margin:0;padding:0}
.guide-creator #editorActions{position:fixed;margin:0;background:var(--surface,#fff);border-radius:18px}
.guide-creator #editor{padding-bottom:110px}
.screenshot-editor #imageUndo,.screenshot-editor #imageRedo{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.screenshot-editor #imageUndo svg,.screenshot-editor #imageRedo svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.creator-highlight-fields select{display:block;width:100%;margin-top:6px}.creator-highlight-fields input[type=checkbox]{width:18px;height:18px}.creator-highlight-dialog>.actions{flex-wrap:wrap;gap:8px}
.creator-highlight-stage img{max-height:32vh}
.creator-highlight-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.creator-highlight-dialog>.actions:last-child{position:sticky;bottom:-24px;background:var(--surface);padding:12px 0;margin-bottom:0}
@media(max-width:650px){.creator-highlight-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-highlight-stage img{max-height:28vh}}

/* Update 6: a consistent brand, floating conversation and private daily overview. */
.seeva-top-logo{display:flex;justify-content:flex-end;margin:0 0 18px;min-height:52px}.seeva-top-logo img{display:block;width:204px;height:68px;object-fit:contain;background:#182e27;border-radius:12px;padding:8px 10px}
.creator-top-actions{align-items:center}.creator-top-actions #creatorFlowStatus{margin:0;max-width:240px;line-height:1.4;font-size:12px}.creator-type-dialog>.actions{display:none}
#seevaWorkChat[open]{position:fixed;inset:auto 24px 90px auto;margin:0;display:flex;width:min(680px,calc(100vw - 36px));height:min(780px,calc(100dvh - 120px));max-height:calc(100dvh - 36px);z-index:900;box-shadow:0 20px 80px #142b2440;border:1px solid var(--line);resize:both;min-width:320px;min-height:350px;overflow:hidden}#seevaWorkChat::backdrop{background:transparent}.work-chat-header{position:relative;cursor:default}.work-chat-grip{position:absolute;top:-16px;left:calc(50% - 55px);width:110px;height:14px;border:0;border-radius:12px;background:transparent;color:transparent;cursor:move;font-size:0}.work-chat-grip::after{content:'';display:block;margin:auto;width:44px;height:4px;border-radius:4px;background:var(--line)}.work-chat-grip:focus-visible{outline:2px solid var(--green)}.work-chat-header .actions{margin-left:auto;align-self:flex-start}
.delivery-tab-icon{display:inline-flex;width:20px;margin-right:8px;align-items:center;justify-content:center}.workspace-activity{margin-top:20px}.workspace-activity>.row{align-items:flex-start;margin-bottom:20px}.workspace-activity h2{margin-bottom:4px}.workspace-activity label{font-size:12px}.workspace-activity select{margin-top:5px;min-width:125px}.activity-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.activity-metrics>div{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.activity-metrics strong{display:block;font-size:28px;color:var(--green)}.activity-metrics span{font-size:12px;color:var(--muted)}.activity-chart{display:grid;gap:12px;margin:20px 0 28px}.activity-bar-row{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:15px;font-size:12px}.activity-bar{height:12px;min-width:2px;border-radius:10px;background:var(--green)}.activity-timeline{max-height:320px;overflow:auto;margin-bottom:20px}.activity-event{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.activity-event time{color:var(--muted)}.activity-event span{overflow-wrap:anywhere}.workspace-activity>.check input{margin-top:3px}.workspace-activity>.mini{margin-top:12px}.seeva-welcome{width:min(510px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink)}.seeva-welcome::backdrop{background:#10251dd0}.seeva-welcome form{display:grid;gap:12px}.seeva-welcome h2{font-size:27px;margin:0 0 12px}.seeva-welcome>button{margin-top:18px}.seeva-welcome #cloudStatus{margin-top:12px}#settingsMacCapture .notice{margin:18px 0}#settingsMacCapture>.mini{margin-top:16px}
@media(max-width:700px){.seeva-top-logo img{width:162px;height:54px}.activity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-event{grid-template-columns:1fr;gap:3px}.activity-bar-row{grid-template-columns:145px 1fr}.creator-top-actions #creatorFlowStatus{flex-basis:100%;max-width:none}#seevaWorkChat[open]{inset:auto 10px 82px 10px;width:calc(100vw - 20px);height:min(720px,calc(100dvh - 100px));min-width:0;resize:none}.work-chat-header{display:flex}.work-chat-header .actions{flex-wrap:nowrap}.workspace-activity>.row{display:block}}
#dashboard>.page-fold-controls,.workspace-activity>.fold-toggle{display:none!important}#dashboard .kpis[hidden]{display:none!important}.delivery-tab-icon svg{width:18px;height:18px}.workspace-activity .activity-bar-row:has(.activity-bar[style="width: 0%;"]) .activity-bar{visibility:hidden}
.work-chat-header .seeva-icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink)}.work-chat-header .seeva-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
/* Update 7: one sidebar brand, accessible reader icons and fictional examples. */
aside>.seeva-top-logo{justify-content:flex-start;margin:0 0 24px;min-height:0}aside>.seeva-top-logo img{width:202px;max-width:100%;height:auto;padding:0;background:transparent;border-radius:0}.guide-player>.actions .seeva-icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.guide-player>.actions .seeva-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor}.about-platform{max-width:900px}.about-platform-lead{font-weight:650;color:var(--ink)}.about-platform>section{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.about-capability{display:flex;gap:14px;margin:18px 0}.about-capability>.menu-icon{flex-shrink:0}.about-capability p{margin:5px 0 0}.about-platform>.notice{margin:24px 0}.about-platform>small{color:var(--muted)}#settingsNavigationHelp fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;margin:18px 0}#settingsNavigationHelp fieldset label{display:inline-flex;align-items:center;gap:8px;margin-right:24px}#settingsNavigationHelp input{width:auto}.demo-gallery{width:min(1080px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:28px;background:var(--paper);color:var(--ink)}.demo-gallery::backdrop{background:#112a21bb}.demo-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 28px}.demo-example-card{border:1px solid var(--line);padding:22px;border-radius:14px;background:var(--paper)}.demo-example-card h4{font-size:18px;margin:12px 0}.demo-example-card button{margin:6px 8px 0 0}.demo-gallery-entry{margin-bottom:18px}.demo-document-preview{max-height:92dvh}.demo-document-preview iframe{height:65dvh}.demo-settings button{margin-top:12px}@media(max-width:700px){aside>.seeva-top-logo{margin-bottom:12px}aside>.seeva-top-logo img{width:180px}.demo-example-grid{grid-template-columns:1fr}.demo-gallery{padding:18px}.guide-player>.actions{gap:6px}}

/* Brand slogan stays beneath the supplied logo at every sidebar width. */
aside>.seeva-top-logo{flex-direction:column;align-items:flex-start;gap:4px}aside>.seeva-top-logo .seeva-brand-slogan{display:block;width:202px;max-width:100%;text-align:center;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.2em;color:#e3eee8}
@media(max-width:700px){aside>.seeva-top-logo .seeva-brand-slogan{width:180px;font-size:9px}}

/* Place the slogan immediately below the wordmark, beside the emblem. */
aside>.seeva-top-logo{display:grid;grid-template-columns:202px;gap:0;align-items:start}aside>.seeva-top-logo img{grid-area:1 / 1}aside>.seeva-top-logo .seeva-brand-slogan{grid-area:1 / 1;align-self:start;width:66%;margin-left:28%;margin-top:22%;font-size:8px;line-height:1.4;letter-spacing:.14em;color:#e3eee8;text-align:center}
@media(max-width:700px){aside>.seeva-top-logo{grid-template-columns:180px}aside>.seeva-top-logo .seeva-brand-slogan{width:66%;font-size:7px}}

/* Spread the slogan across the same horizontal bounds as the wordmark. */
aside>.seeva-top-logo .seeva-brand-slogan{display:flex;justify-content:space-between;width:61%;margin-left:28.5%;letter-spacing:0}aside>.seeva-top-logo .seeva-brand-slogan>span{flex:0 0 auto}

/* Align slogan ends with the visible S and K in the supplied wordmark. */
aside>.seeva-top-logo .seeva-brand-slogan{margin-left:30.5%;width:64%}

/* The seeva. wordmark replaces the former logo lockup across Seeva surfaces. */
aside>.seeva-top-logo img{width:202px;height:auto;padding:0;background:transparent;border-radius:0}
.work-chat-brand{display:flex;align-items:center;gap:12px}.work-chat-brand>div{min-width:0}.work-chat-brand .eyebrow{margin:0}.work-chat-brand h2{line-height:1;margin:3px 0 0;font-size:22px}.work-chat-bot-badge{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:15px;background:#196c58}.work-chat-bot{display:block;width:34px;height:34px;overflow:visible}

.demo-gallery-entry{border:2px solid #669c86}.demo-gallery-entry h2{margin-top:0}.demo-inline-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:14px 0}.demo-inline-list button{text-align:left;white-space:normal;padding:14px}

/* Capture settings share the Mac Companion spacing and hierarchy. */
#settingsCapture .capture-settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}#settingsCapture .capture-settings-actions .button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin:0;min-height:44px}#settingsCapture>.notice{margin:22px 0}#settingsCapture>details{margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-radius:10px}#settingsCapture>details summary{cursor:pointer;font-weight:600}#settingsCapture>details label{display:block;margin-top:16px}#settingsCapture>details p{margin:14px 0 0}#settingsCapture>p{margin-bottom:16px}
#seevaWorkChat[open]{position:fixed;inset:auto 24px 90px auto;margin:0;display:flex;width:min(680px,calc(100vw - 36px));height:min(780px,calc(100dvh - 120px));max-height:calc(100dvh - 36px);z-index:900;box-shadow:0 20px 80px #142b2440;border:1px solid var(--line);resize:both;min-width:320px;min-height:350px;overflow:hidden}#seevaWorkChat::backdrop{background:transparent}.work-chat-header{position:relative;cursor:default}.work-chat-grip{position:absolute;top:-16px;left:calc(50% - 55px);width:110px;height:14px;border:0;border-radius:12px;background:transparent;color:transparent;cursor:move;font-size:0}.work-chat-grip::after{content:'';display:block;margin:auto;width:44px;height:4px;border-radius:4px;background:var(--line)}.work-chat-grip:focus-visible{outline:2px solid var(--green)}.work-chat-header .actions{margin-left:auto;align-self:flex-start}

/* Ask Seeva pop-out: keep only the shared chat panel in its own browser window. */
html.seeva-chat-popout,html.seeva-chat-popout body{width:100%;height:100%;min-height:0;margin:0;overflow:hidden;background:#fff}html.seeva-chat-popout body>*:not(#seevaWorkChat){display:none!important}html.seeva-chat-popout #seevaWorkChat[open]{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;min-width:0;min-height:0;border:0;border-radius:0;resize:none;box-shadow:none;padding:20px}

/* Account menu and compact Ask Seeva pop-out. */
.seeva-account-menu{position:relative;z-index:40}.seeva-account-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-weight:650;cursor:pointer}.seeva-account-toggle>svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}.seeva-account-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf3ef;color:var(--green);font-weight:750;flex:none}.seeva-account-avatar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.seeva-account-label{max-width:min(210px,36vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seeva-account-popup{position:absolute;right:0;top:calc(100% + 8px);min-width:210px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 36px #142b2426}.seeva-account-popup[hidden]{display:none}.seeva-account-item{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 11px;border:0;border-radius:9px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.seeva-account-item:hover{background:#edf5f0}.seeva-account-item svg{width:19px;height:19px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.seeva-account-item.signout{border-top:1px solid var(--line);border-radius:0;margin-top:5px;padding-top:12px}.work-chat-brand{display:flex;align-items:center;gap:12px}.work-chat-bot-badge{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:15px;background:#196c58}.work-chat-bot{display:block;width:34px;height:34px;overflow:visible}.work-chat-brand h2{margin:3px 0 0}.draft-status #draftRecoveryActions{width:100%;display:flex;flex-direction:column;gap:10px}.draft-recovery-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:8px 0}.draft-recovery-label{min-width:0}.draft-recovery-controls{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.courier-mark svg{width:50px;height:50px;display:block}.pt-tabs .pt-tab-button svg{width:22px;height:22px}@media(max-width:650px){.draft-recovery-row{grid-template-columns:1fr}.draft-recovery-controls{justify-content:flex-end}}
