/* Feature documents share the workspace palette and existing Markdown renderer. */
.feature-workspace{--muted:#65747b;min-width:0}.feature-workspace .field small{color:#65747b}.feature-workspace .field select{width:100%;max-width:none;padding:10px;background:var(--surface);font-size:13px;color:var(--text)}.feature-workspace .button{min-height:44px}.feature-workspace .actions{flex-wrap:wrap}.feature-workspace .ft-error:empty{display:none}.ft-error{white-space:pre-wrap;color:var(--red);border:1px solid currentColor;border-radius:8px;padding:14px 18px;margin-bottom:18px;font-size:13px}.ft-hint{color:var(--muted);font-size:12px;margin:10px 0 16px}.ft-steps{display:flex;gap:32px;border-top:1px solid var(--line);padding:18px 0 26px;color:var(--muted);font-size:12px}.ft-steps b{font-family:monospace;font-weight:500;color:var(--accent);margin-right:9px}.ft-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:0 25px 25px}.ft-card{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:10px;padding:22px;background:var(--surface);min-width:0}.ft-card:hover{background:#fbfdfc;border-color:var(--accent)}.ft-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.ft-glyph{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.ft-card h3{font-size:17px;overflow-wrap:anywhere}.ft-card p{font-size:12px;color:var(--muted);margin:8px 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;overflow-wrap:anywhere}.ft-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.ft-tags span{border:1px solid var(--line);border-radius:4px;padding:2px 7px;font-size:10px;color:var(--muted)}.ft-card small{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.ft-card small .icon{width:15px}.ft-version-bar{display:flex;align-items:center;gap:24px;margin-bottom:22px;flex-wrap:wrap}.ft-version-bar .field{max-width:480px;flex:1;min-width:200px}.ft-version-bar>span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.ft-editor-fields{padding:0;margin:0;border:0;min-width:0}.ft-editor-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:24px;align-items:start}.ft-outline{position:sticky;top:20px;display:flex;flex-direction:column;gap:3px;padding:12px 0;border-left:2px solid var(--line)}.ft-outline a{padding:9px 14px;font-size:12px;color:var(--muted)}.ft-outline a:hover{color:var(--accent);background:var(--accent-soft)}.ft-section{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:22px 24px;margin-bottom:16px;min-width:0;scroll-margin-top:20px}.ft-section>h2{margin-bottom:18px}.ft-section>h3{font-size:14px;margin:24px 0 14px}.ft-section>summary{cursor:pointer;font-size:14px;font-weight:600;min-height:24px;outline-offset:7px}.ft-section[open]>summary{margin-bottom:20px}.ft-section .ft-markdown-input{min-height:190px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8;tab-size:2}.ft-section .field textarea{line-height:1.7}.ft-repeat-row{min-width:0;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fafcfb;margin:14px 0}.ft-repeat-row legend{font-size:11px;color:var(--muted);padding:0 6px}.ft-row-remove{display:flex;justify-content:flex-end;margin-top:16px}.ft-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;cursor:pointer;overflow-wrap:anywhere}.ft-check input{width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}.ft-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px}.ft-savebar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 30px #203b3110;padding:14px 20px;margin-top:24px}.ft-savebar>span:first-child{margin-right:auto;font-size:12px;color:var(--muted)}.ft-preview-toolbar{padding:18px 24px;border-bottom:1px solid var(--line)}.ft-project-heading{margin-bottom:20px}.ft-project-heading p{font-size:12px;color:var(--muted);margin-top:6px}.ft-selection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 14px}.ft-selection-heading h3{font-size:16px}.ft-selected-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.ft-selected-heading h3{font-size:17px}.ft-selected-heading p{font-size:11px;color:var(--muted);margin-top:5px}.ft-release-picker{display:flex;align-items:flex-end;gap:14px;margin-bottom:22px}.ft-release-picker .field{flex:1;max-width:540px}.ft-dependencies{border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:12px;color:var(--muted)}.ft-dependencies p{margin-top:5px}.ft-picker{width:min(760px,calc(100% - 24px))}.ft-picker .search{width:100%;margin-bottom:18px}.ft-picker-option{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0}.ft-picker-option .ft-check{flex:1;min-width:0}.ft-picker-option small{font-size:11px;color:var(--muted);margin-top:5px}.ft-picker-option .field{max-width:200px}.ft-validation{padding:18px 22px;border:1px solid #e0cbb1;background:#fff9ef;border-radius:10px;margin:0 0 22px;color:#72501c;font-size:13px}.ft-validation.ready{background:var(--accent-soft);color:var(--accent);border-color:#c4dfd6}.ft-validation p{margin-top:8px;font-size:12px}.ft-validation ul{padding-left:22px;margin:12px 0}.ft-validation li{margin:5px 0;overflow-wrap:anywhere}.ft-history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;border-bottom:1px solid var(--line)}.ft-history-row:last-child{border-bottom:0}.ft-history-row strong{font-size:13px}.ft-history-row p,.ft-history-row small{font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.ft-history-row small{font-size:11px}.feature-workspace .markdown-body{overflow-wrap:anywhere}.feature-workspace .markdown-body pre{overflow:auto;max-width:100%}.feature-workspace .ft-section :disabled{opacity:.75}.feature-workspace [hidden]{display:none!important}
@media(max-width:1100px){.ft-editor-layout{grid-template-columns:minmax(0,1fr)}.ft-outline{position:static;flex-direction:row;overflow:auto;border-left:0;border-bottom:1px solid var(--line);padding:0}.ft-outline a{flex-shrink:0}.ft-version-bar>span{width:100%}}
@media(max-width:900px){.ft-steps{gap:12px;flex-wrap:wrap;font-size:11px}.ft-card-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));padding:0 14px 16px;gap:12px}.ft-card{padding:18px}.ft-card p{font-size:13px}.ft-section{padding:18px 14px}.ft-section .form-grid{grid-template-columns:1fr}.feature-workspace .field input,.feature-workspace .field textarea,.feature-workspace .field select{font-size:16px;min-height:44px}.ft-repeat-row{padding:14px 10px}.ft-check-grid{grid-template-columns:1fr}.ft-savebar{bottom:max(8px,env(safe-area-inset-bottom));flex-wrap:wrap;padding:12px}.ft-savebar>span:first-child{flex-basis:100%}.ft-savebar .button{flex:1}.ft-release-picker,.ft-picker-option,.ft-history-row{align-items:stretch;flex-direction:column}.ft-picker-option .field{max-width:none}.ft-selected-heading{align-items:flex-start}.ft-selected-heading h3{font-size:16px}.ft-history-row{padding:18px 14px}.ft-filters{flex-direction:column}.ft-filters .search{width:100%}.ft-project-heading .actions{width:100%}.ft-project-heading .actions .button{flex:1}.ft-version-bar .field{max-width:100%}.ft-version-bar code{word-break:break-all}}
@media(prefers-reduced-motion:reduce){.feature-workspace *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:500px){.ft-project-heading .actions .button{flex:1 1 140px;white-space:nowrap}}
.ft-customization{border-top:1px solid var(--line);padding-top:15px}.ft-customization>summary{cursor:pointer;font-size:12px;color:var(--accent);min-height:36px;display:list-item}.ft-customization[open]>summary{margin-bottom:12px}.feature-workspace .page-heading>.actions{flex-shrink:0}
@media(max-width:1100px){.feature-workspace .page-heading{flex-wrap:wrap}.feature-workspace .page-heading>.actions{flex-shrink:1}}
