.classroom-workflow-tabs{display:flex;gap:8px;padding:18px 24px 0;border-top:1px solid #d8e5ec}.classroom-workflow-tabs button{border:1px solid #bad0dc;background:#fff;color:#264d65;border-radius:10px;padding:11px 16px;font-weight:800}.classroom-workflow-tabs button.active{background:#123f60;color:#fff;border-color:#123f60}.classroom-workflow-body{padding:22px 24px 28px}.workflow-intro,.workflow-send,.workflow-library{border:1px solid #d5e3ea;border-radius:16px;background:#f8fbfd;padding:24px}.workflow-intro h3,.workflow-send h3,.workflow-library h3{margin:4px 0 8px;color:#123f60}.workflow-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.workflow-cards article{display:flex;flex-direction:column;gap:6px;border:1px solid #c9dce6;background:#fff;border-radius:13px;padding:18px}.workflow-cards strong{color:#123f60;font-size:17px}.workflow-cards span,.workflow-hint,.workflow-send>p{color:#587080}.workflow-library-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.workflow-library [data-library-content]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.segment-card{min-height:130px;text-align:left;border:1px solid #b9d1dd;border-radius:15px;background:#fff;padding:22px;color:#123f60}.segment-card:hover{border-color:#42a9dd;box-shadow:0 8px 24px #123f6015}.segment-card strong,.segment-card span{display:block}.segment-card strong{font-size:20px}.segment-card span{margin-top:7px;color:#617988}.chosen-segment{grid-column:1/-1;display:flex;align-items:end;justify-content:space-between;gap:18px}.chosen-segment h4{font-size:21px;color:#123f60;margin:0}.chosen-segment label{min-width:280px}.workflow-library [data-library-tree]{grid-column:1/-1}.workflow-grade,.workflow-subject{border:1px solid #c8dae3;border-radius:12px;background:#fff;margin:10px 0;overflow:hidden}.workflow-grade>summary,.workflow-subject>summary{cursor:pointer;padding:14px 16px;font-weight:800;color:#123f60}.workflow-grade>div{padding:0 12px 12px}.workflow-subject{background:#f8fbfd}.workflow-subject>summary small{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:12px;background:#ddecf4}.workflow-subject>div{padding:0 10px 10px}.workflow-material{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;margin:7px 0;border:1px solid #d8e5ec;border-radius:10px;background:#fff}.workflow-material>div:first-child{display:flex;flex-direction:column;gap:3px}.workflow-material span{font-size:13px;color:#627988}.workflow-material>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.workflow-send .form-grid{margin:20px 0}.workflow-send>button{margin-top:4px}.workflow-recent{margin-top:28px;padding-top:24px;border-top:1px solid #d5e3ea}.workflow-recent-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.workflow-recent-head h3{margin:3px 0 0}.workflow-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workflow-recent-card{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:15px;border:1px solid #c9dce6;border-radius:13px;background:#fff}.workflow-recent-card>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.workflow-recent-card small{color:#268fc3;font-weight:800}.workflow-recent-card strong,.workflow-recent-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-recent-card strong{color:#123f60}.workflow-recent-card span{font-size:13px;color:#627988}.workflow-recent-card>div:last-child{display:flex;gap:6px;flex-shrink:0}@media(max-width:720px){.classroom-workflow-tabs{padding:14px;overflow:auto}.classroom-workflow-tabs button{white-space:nowrap}.classroom-workflow-body{padding:14px}.workflow-intro,.workflow-send,.workflow-library{padding:16px}.workflow-cards,.workflow-library [data-library-content],.workflow-recent-grid{grid-template-columns:1fr}.workflow-library-head,.chosen-segment,.workflow-material,.workflow-recent-head,.workflow-recent-card{align-items:stretch;flex-direction:column}.chosen-segment label{min-width:0;width:100%}.workflow-recent-card strong,.workflow-recent-card span{white-space:normal}}
.workflow-history{border:1px solid #d5e3ea;border-radius:16px;background:#f8fbfd;padding:24px}.workflow-history .workflow-library-head label{min-width:300px}.workflow-history-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #d4e2e9;border-radius:12px;overflow:hidden}.workflow-history-table th,.workflow-history-table td{padding:11px 12px;border-bottom:1px solid #dce7ed;text-align:left;vertical-align:middle}.workflow-history-table th{background:#eaf3f7;color:#123f60;font-size:13px}.workflow-history-table td{font-size:14px}.workflow-history-table td strong,.workflow-history-table td small{display:block}.workflow-history-table td small{margin-top:3px;color:#627988}.history-status{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:800}.history-status.active{background:#e4f6eb;color:#167343}.history-status.inactive{background:#f5e8e8;color:#9b3030}.history-actions{display:flex;gap:6px}@media(max-width:720px){.workflow-history{padding:14px}.workflow-history .workflow-library-head label{min-width:0;width:100%}.workflow-history-table{min-width:850px}}
.workflow-history-table td .history-error{max-width:360px;color:#a32626;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.library-smart-search{display:flex;align-items:end;gap:10px;margin-bottom:18px}.library-smart-search label{flex:1}.library-smart-search label span{display:block;margin-bottom:6px;color:#123f60;font-weight:800}.library-smart-search input{width:100%;min-height:46px;padding:10px 13px;border:1px solid #bad0dc;border-radius:10px;background:#fff}.library-search-summary{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;padding:12px 15px;border-radius:10px;background:#eaf3f7;color:#123f60}.library-search-results{grid-column:1/-1}.library-search-results .workflow-material{margin:9px 0}@media(max-width:650px){.library-smart-search,.library-search-summary{align-items:stretch;flex-direction:column}}
