/* v07: desktop flow aligned to the current mobile prototype. */
.entry-flow.narrow{max-width:1000px}.entry-flow .editor-top{gap:18px}.entry-flow .editor-top>.row{flex-wrap:wrap}.entry-flow .field>label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}.entry-flow .field label i{color:#d1a700;font-style:normal}.entry-flow .field label small{color:#96988f;font-weight:400;font-size:11px;margin-left:5px}.entry-flow .field-group{font-size:14px;margin:28px 0 16px}.entry-flow .name-fields{align-items:start}.entry-flow .name-fields>.field:first-child:nth-last-child(3){grid-column:1/-1}.entry-flow .field-picker{width:100%;border:1px solid var(--line);border-radius:10px;background:white;display:flex;align-items:center;gap:12px;padding:14px 15px;font:inherit;font-size:14px;color:#93968b;text-align:left;min-height:50px}.field-picker>span{flex:1;min-width:0;overflow-wrap:anywhere}.entry-flow .field-picker.has-value{color:var(--ink)}.entry-flow .field-picker .ico{width:17px;height:17px;flex:none}.span-two{grid-column:1/-1}.entry-flow input[readonly],.entry-flow input:disabled{background:#f5f5f0;color:#8d9084;cursor:default}.entry-flow .hours-picker{line-height:1.8;color:var(--ink)}.entry-flow .name-composed{padding:18px 20px;background:#f5f3e9;border-radius:11px;margin:10px 0 24px;display:grid;gap:6px}.name-composed small{font-size:11px;color:#909386}.name-composed b{font-size:17px;font-weight:600}.name-composed>span{font-size:13px;color:#888b7f}.name-clear{color:#93968b;font-size:12px;margin:0 0 22px}.name-matches{background:#faf9f4;border:1px solid #efede3;border-radius:12px;padding:13px 17px;margin-bottom:24px}.name-matches>small{color:#8c8f83}.name-matches>button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:0;border-top:1px solid #ecebe2;background:none;padding:13px 0;text-align:left}.name-matches>button>span{display:grid;gap:5px}.name-matches small{font-size:11px;color:#96978f}.name-matches .conflict small{color:#bc683d}.name-matches .ico{width:17px}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}.reason-grid button{position:relative;text-align:left;padding:18px;border:1px solid var(--line);border-radius:11px;background:white;display:grid;gap:6px}.reason-grid button.active{background:#fff9dd;border-color:#e8ca63}.reason-grid b{font-size:14px;font-weight:600}.reason-grid small{font-size:12px;color:#99988d}.reason-grid .ico{position:absolute;right:14px;top:18px;width:16px;height:16px}.alias-input{display:flex;gap:8px}.alias-input input{min-width:0;flex:1}.alias-input+.muted{display:block;margin-top:8px;font-size:11px}.alias-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.alias-tags:empty{display:none}.alias-tags>span{display:flex;align-items:center;gap:8px;background:#f2f1e8;padding:6px 10px;border-radius:6px;font-size:12px}.alias-tags button{border:0;background:none;padding:0;display:grid;place-items:center}.alias-tags .ico{width:14px;height:14px}.entry-images{display:flex;flex-wrap:wrap;gap:12px}.entry-image{position:relative}.entry-images .photo{width:116px;height:96px;border-radius:9px;background-size:cover;background-position:center}.entry-image>button{position:absolute;top:5px;right:5px;border:0;border-radius:50%;background:#fffdf7;width:22px;height:22px;display:grid;place-items:center;padding:0}.entry-image .ico{width:14px;height:14px}.entry-images .image-add{width:116px;height:96px;border-style:dashed;display:flex;flex-direction:column;gap:8px;font-size:12px;justify-content:center}.review-reason{padding:15px 18px;border-radius:10px;background:#f5f3e9;margin-bottom:25px;font-size:13px}.diff-block{margin:24px 0}.diff-block h3{font-size:14px}.diff-block .diff{margin-top:12px}.diff-block .diff>div{overflow-wrap:anywhere}.entry-read-heading h2{margin:16px 0 8px;font-size:26px}.entry-read-heading p{color:#8a8d81}.entry-read-fields{margin:25px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}.entry-read-fields summary{cursor:pointer;font-size:13px}.entry-read-fields .key-values{margin-top:22px}.read-image-group{margin-top:20px}.read-image-group>small{display:block;margin-bottom:10px}.entry-final-note{display:inline-block;margin-bottom:15px;font-size:12px;padding:7px 12px;border-radius:30px;background:#fff6d8;color:#907629}.entry-flow .flow-error{color:#b93b2b;border:1px solid #f1c6be;background:#fff2ef;padding:12px 16px;border-radius:8px;margin:0 32px 18px;font-size:13px}.entry-flow .flow-error:empty{display:none}.entry-flow [aria-invalid=true],.source-form-modal [aria-invalid=true]{border-color:#cf5c49!important;box-shadow:0 0 0 2px #cf5c490d}.relation-options{max-height:390px;overflow:auto;margin-top:12px}.relation-option{border:0;border-bottom:1px solid var(--line);background:none;width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:14px 5px}.relation-option>span{display:grid;gap:6px;flex:1}.relation-option b{font-size:14px;font-weight:500}.relation-option small{font-size:11px;color:#909386}.relation-option .ico{width:17px;height:17px}.local-map{height:190px;background-color:#f1f2e8;background-image:linear-gradient(25deg,transparent 45%,#fff 45%,#fff 50%,transparent 50%),repeating-linear-gradient(90deg,transparent 0 75px,#fff 75px 80px),repeating-linear-gradient(0deg,transparent 0 55px,#fff 55px 60px);border-radius:13px;display:grid;place-content:center;gap:12px;justify-items:center;margin-bottom:20px}.local-map>span{background:var(--yellow);border:3px solid white;border-radius:50%;display:grid;place-items:center;width:45px;height:45px;box-shadow:0 4px 12px #74785d22}.local-map small{background:#ffffffce;padding:4px 10px;border-radius:10px;font-size:11px;color:#8e9282}.map-result{display:flex;align-items:center;gap:15px;padding:15px 12px;border:1px solid var(--line);background:white;width:100%;margin:10px 0;border-radius:9px;text-align:left}.map-result.selected{border-color:#d9ba55;background:#fffbeb}.map-result>span:last-child{display:grid;gap:6px}.map-result b{font-size:13px;font-weight:600}.map-result small{font-size:11px;color:#8c907f}.choice-dot{width:22px;height:22px;border:1px solid #d8dacc;border-radius:50%;flex:none;display:grid;place-items:center}.choice-dot .ico{width:15px;height:15px}.hours-rows .hours-row{display:flex;gap:10px;align-items:center;margin:12px 0}.hours-row>b{font-size:12px;min-width:28px}.hours-row select{min-width:0;width:96px;padding:10px 7px;border:1px solid var(--line);border-radius:7px;background:white}.hours-row label{font-size:12px;white-space:nowrap;display:flex;gap:5px;align-items:center}.hours-row input{width:16px;height:16px;accent-color:#e8be15}.hours-row select:disabled{opacity:.45}.hours-row>span{font-size:12px;color:#999}.knowledge-editor-heading{margin-bottom:18px}.knowledge-editor-heading h2{font-size:22px!important}.knowledge-editor-heading .muted{display:none}.entry-flow .labeled-tool{width:auto;display:flex;padding:0 10px;gap:7px;font-size:12px;flex:none;white-space:nowrap}.labeled-tool .cite-mark{font-size:15px;font-weight:600}.entry-flow .editor-tool-row{gap:3px}.entry-library{background:#f6f5ed!important;border-color:transparent!important}.reference-search{margin:15px 0 20px}.reference-library .reference-toolbar{justify-content:space-between;align-items:center}.reference-library .reference-toolbar>.muted{font-size:11px}.reference-library .bibliography-row{align-items:center}.reference-choice{display:flex!important;gap:15px;align-items:center!important;width:100%;padding:0!important;border:0;background:transparent;text-align:left;min-height:54px}.reference-choice .reference-radio{display:grid!important;place-items:center!important;position:static!important;width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important;padding:0!important;margin:0!important;border:1px solid #d8dacc;line-height:0!important;border-radius:50%;background:white}.reference-choice[aria-pressed=true] .reference-radio{background:#ffc700;border-color:#ffc700}.reference-radio .ico{display:block!important;width:15px!important;height:15px!important;margin:0!important;position:static!important;transform:none!important}.reference-copy{display:grid;gap:6px;flex:1;min-width:0}.reference-copy strong{font-size:14px;font-weight:500}.reference-copy small{font-size:11px;color:#8e9287;overflow-wrap:anywhere}.bibliography-row.selected{background:#fffbeb!important;border-color:#ead581!important}.reference-occurrences button{display:inline-flex;align-items:center;gap:4px}.reference-occurrences .ico{width:12px;height:12px}.modal-body .field-error{display:block;color:#c13d2b!important;font-size:12px;font-weight:500;background:#fff3ee;border-left:3px solid #d86d56;padding:10px 12px;line-height:1.6;margin:-8px 0 20px}.modal-body .field-error:empty{display:none}.source-form-modal{max-width:580px!important}.source-form-modal .tabs{margin-bottom:23px}.source-form-modal .modal-body>.modal-actions{background:var(--paper);position:sticky;bottom:-28px;padding-top:15px;margin-top:15px}.source-form-modal textarea{min-height:80px}.source-form-modal .field>span{font-size:13px}.duplicate-source{padding:20px;background:#f5f4eb;border-radius:12px;display:grid;gap:10px}.duplicate-source small{color:#8e9287;overflow-wrap:anywhere}.source-identifier{overflow-wrap:anywhere;font-size:12px}.modal-body .legacy-location{font-size:12px;color:#8d9185}.source-kind-tabs button{min-width:65px;text-align:center}
@media(max-width:1000px){.entry-flow .editor-tool-row{flex-wrap:wrap;gap:2px}.entry-flow .labeled-tool{padding-inline:7px}.entry-flow .editor-tool-row .grow{min-width:0}.entry-flow .editor-top>.row{gap:9px}.entry-flow .editor-top .save-label{display:none}}
@media(max-width:760px){.entry-flow .editor-top{align-items:flex-start}.entry-flow .editor-top>.row:first-child{flex:1}.entry-flow .editor-top .editor-title{font-size:13px}.entry-flow .editor-top>.row:last-child{justify-content:flex-end}.entry-flow .entry-library{font-size:11px;padding:9px 10px}.entry-flow .fields{grid-template-columns:1fr}.entry-flow .step-body{padding:24px 20px}.entry-flow .reason-grid{gap:9px}.reason-grid button{padding:14px}.reason-grid small{font-size:10px}.reason-grid b{font-size:12px}.reason-grid .ico{width:12px;right:10px;top:14px}.entry-flow .name-composed b{font-size:15px}.entry-flow .labeled-tool{font-size:11px;padding-inline:6px;gap:5px}.entry-flow .editor-tool-row .editor-tool:not(.labeled-tool){width:30px}.entry-flow .editor-tool-row{padding:7px;gap:0}.entry-flow .editor-tool-row .divider{display:none}.entry-flow .editor-tool-row .grow{display:none}.entry-flow .flow-error{margin-inline:20px}.reference-library .reference-toolbar{flex-wrap:wrap;gap:9px}.hours-rows .hours-row{gap:6px}.hours-row select{width:78px}.reference-library .modal-body{padding-inline:20px}.reference-library .bibliography-row{padding:12px}.source-form-modal .modal-body .field-error{font-size:12px}.entry-flow .steps .step{font-size:10px}.entry-flow .steps .num{width:24px;height:24px}.entry-flow .steps{gap:3px}.entry-flow .step{gap:4px}.entry-flow .entry-read-heading h2{font-size:22px}}

/* Article v06 card geometry and assets. */
  .article-entry-card{display:flex;box-sizing:border-box;position:relative;width:calc(100% - 10px);height:69px;
    margin:8px 5px;background:#F8F8F8;border:none;border-radius:4px;box-shadow:0 1px 5.6px rgba(0,0,0,.12);
    line-height:normal;overflow:hidden;user-select:none;cursor:pointer}
  .article-entry-card .card-type{position:absolute;left:10px;top:8px;height:10px;display:flex;align-items:center;gap:2px}
  .article-entry-card .card-type .ic{width:10px;height:10px;display:flex;align-items:center;justify-content:center}
  .article-entry-card .card-type svg{width:10px;height:10px}
  .article-entry-card .card-kind{font-size:8px;line-height:10px;color:#969696;font-weight:400;white-space:nowrap}
  .article-entry-card .card-thumb{position:absolute;left:10px;top:24px;width:34px;height:34px;border-radius:4px;
    background:#EEE;display:flex;align-items:center;justify-content:center;overflow:hidden}
  .article-entry-card .card-thumb img{display:block;width:100%;height:100%;max-width:none;margin:0;border-radius:0;object-fit:cover;cursor:pointer}
  .article-entry-card .card-thumb svg{width:15px;height:15px}
  .article-entry-card .nm{position:absolute;left:52px;right:10px;top:35px;font-size:12px;line-height:14px;
    color:#444;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  
.article-entry-card .card-type .ic{color:#969696}.article-entry-card{text-decoration:none!important;color:#444!important}.reading-body .article-entry-card .card-thumb img{width:100%;height:100%;margin:0;object-fit:cover}.reading-body .article-entry-card .card-kind{font-size:8px}.reading-body .article-entry-card .nm{font-size:12px}
.rbe a.article-entry-card::before,.reading-body a.article-entry-card::before{display:none!important;content:none!important}
.reading-body a[data-entry-kind]::before{display:none!important;content:none!important}

/* v08: literature management belongs to the body editor. */
.knowledge-editor-heading{justify-content:flex-start;align-items:center;gap:18px}.knowledge-editor-heading>div{min-width:0}.knowledge-editor-heading h2{overflow-wrap:anywhere}.knowledge-editor-heading .entry-library{flex:none;white-space:nowrap}@media(max-width:760px){.knowledge-editor-heading{gap:12px}.knowledge-editor-heading h2{font-size:20px!important}.knowledge-editor-heading .entry-library{padding:9px 10px;font-size:11px}}
