#wpadminbar #wp-admin-bar-edit-lp_assignment .ab-item:before {
    content: "\f497";
}

.assignment-summary {
    margin-bottom: 50px;
}

.assignment-summary h2, .assignment-summary h3, .lp-assignment-buttons {
    margin-bottom: 0 5px 20px 5px;
    padding-bottom: 15px;
}

h3.assignment-uploaded-files, h3.assignment-files-title {
    padding-left:8px;

}

.save-assignment h3 {
    padding-left:8px;
}

.assignment-result.failed .result-grade .result-achieved {
    color:red;
    border-bottom: 2px solid red;
}
.assignment-result.failed .result-grade .result-message strong {
    color:red;
}

.learn_press_assignment_reference blockquote {
    padding: 5px 10px;
    margin: 0 0 1px;
    font-size: 14px;
    border-left: 5px solid #eee;
    background: color(srgb 0.995 0.995 0.995);
    border-radius: 5px 5px 5px 5px;
}

.learn_press_assignment_content {
    clear: both;
    background: rgba(248, 250, 252, 0.72);
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(84, 127, 255, 0.14);
    padding: 10px 10px 10px 10px;
}

.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_assignment .section-item-link:before {
    content: "\f212";
}

.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-evaluated .course-item-status {
    /*color: #04adff;*/
    color:white;
    background: #04adff;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    padding: 2px 4px 0px 4px;
}

.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-evaluated .course-item-status:before {
    content: "\f00c";
}

.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-doing .course-item-status:before {
    content: "\f130";
    font-family: dashicons;
}

.single-lp_course .course-curriculum .curriculum-sections .section .section-content .course-item .section-item-link .course-item-meta .final-assignment {
    margin-left: 10px;
}

.assignment-status {
    background: linear-gradient(rgba(248, 250, 255, 0.98), rgba(240, 245, 255, 0.98));
    margin-bottom: 22px;
    border-radius: 0px 0px 10px 10px;
}

.assignment-status .progress-items {
    display: flex;
}

.assignment-status .progress-items .progress-item {
    flex: 1;
    position: relative;
    font-size: 15px;
    color: #777;
}

.assignment-status .progress-items .progress-item .progress-number {
    font-size: 17px;
    margin: 9px 0 5px;
}

.assignment-status .progress-items .progress-item .progress-label {
    font-size: 12px;
    margin-bottom: 9px;
}

.assignment-status .progress-items .progress-item:after {
    clear: both;
    display: block;
    content: '';
}

.assignment-status .progress-items .progress-item .progress-number, .assignment-status .progress-items .progress-item .progress-label {
    display: block;
    text-align: center;
    line-height: 1;
}

.lp-assignment-submitted-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -12px 0 25px;
    padding: 14px 18px;
    border: 1px solid rgba(20, 128, 91, .18);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(240, 253, 250, .94), rgba(236, 253, 245, .86));
    color: #14532d;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255,255,255,.74);
}

.lp-assignment-submitted-status__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    background: rgba(20, 128, 91, .12);
    color: #047857;
    font-size: 17px;
    line-height: 1;
}

.lp-assignment-submitted-status__text {
    min-width: 0;
}

#content-item-assignment.content-item-summary {
    border-radius: 15px;
    padding: 2px 10px;
}

#content-item-assignment > h2 {
    margin: 0 5px 14px;
    color: #415470;
    opacity: 0.8;
    font-size: 18px;
    line-height: 1.25;
    padding: 10px 0 0 8px;
}

#content-item-assignment .learn-press-content-protected-message,
#content-item-assignment .learn-press-content-protected-message.content-item-block {
    margin: 0 0 16px;
    padding: 18px 20px;
    border: 1px solid rgba(243, 184, 184, 0.72);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 238, 238, 0.94));
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    color: #8a1c1c;
    font-size: 15px;
    line-height: 1.6;
}

#content-item-assignment .learn-press-content-protected-message .lp-button,
#content-item-assignment .learn-press-content-protected-message .button {
    margin-top: 12px;
}

#content-item-assignment .learn-press-content-protected-message a {
    font-weight: 700;
}

.lp-assignment-buttons #_lp_upload_file {
    display: block;
    margin: 20px 0 0;
}

.lp-assignment-buttons .assignments-notice-filetype {
    display: block;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 14px;
}

.assignment-button-right {
    float: right;
}

.assignment-button-right, .assignment-button-left {
    margin: 10px 5px 20px;
}

.learn_press_assignment_content p {
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 500;
}

blockquote.lp-assignment-answer-display {
    padding: 5px 10px;
    margin: 0 0 1px;
    font-size: 14px;
    border-left: 5px solid #eee;
    background: color(srgb 0.995 0.995 0.995);
    border-radius: 5px 5px 5px 5px;
}

.lp-assignment-expandable {
    margin: 0 0 20px;
}

.lp-assignment-expandable__content {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.22, .74, .2, 1);
    will-change: max-height;
}

.lp-assignment-expandable.is-collapsible:not(.is-expanded) .lp-assignment-expandable__content {
    max-height: var(--lp-assignment-collapsed-height, 120px);
}

.lp-assignment-expandable__content::after {
    opacity: 0;
    transition: opacity .24s ease;
}

.lp-assignment-expandable.is-collapsible:not(.is-expanded) .lp-assignment-expandable__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(253, 253, 253, 0), rgba(253, 253, 253, 0.98));
    border-radius: 0 0 5px 5px;
    opacity: 1;
}

.lp-assignment-expandable__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 2px 0;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid rgba(112, 139, 228, .28);
    border-radius: 10px;
    background: rgba(255,255,255,.88);
    color: #122042;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(53, 84, 144, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.lp-assignment-expandable__toggle::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .24s ease;
}

.lp-assignment-expandable__toggle:hover,
.lp-assignment-expandable__toggle:focus {
    color: #122042;
    transform: translateY(-1px);
    border-color: rgba(84, 127, 255, .42);
    background: #fff;
    box-shadow: 0 10px 22px rgba(53, 84, 144, .14), inset 0 1px 0 rgba(255,255,255,.96);
    outline: none;
}

.lp-assignment-expandable.is-expanded .lp-assignment-expandable__toggle::after {
    margin-top: 2px;
    transform: rotate(-135deg);
}

.lp-assignment-expandable__toggle:active {
    transform: translateY(1px);
}

.lp-assignment-expandable__toggle[hidden] {
    display: none;
}

/*result display:*/
.assignment-result {
    max-width: 400px;
    margin: 30px auto 20px;
    text-align: center;
}

.assignment-result.passed .result-achieved {
    color: #04adff;
}

.assignment-result .result-grade .result-achieved {
    font-size: 36px;
    border-bottom: 2px solid #04adff;
}

.assignment-result .result-grade .result-message {
    font-size: 14px;
}

.assignment-result.passed .result-message strong {
    color: #04adff;
}

.assignment-result .result-grade .result-require {
    display: block;
}

.assignment-result .result-grade .result-achieved, .assignment-result .result-grade .result-require {
    margin: 0 auto;
}

/*intro of assignment*/
.assignment-intro {
    list-style: none;
    margin: 0 5px 20px;
    padding: 0;
    display: table;
}

.assignment-intro li {
    margin: 0;
    display: table-row;
}

.assignment-intro li label, .assignment-intro li span {
    display: table-cell;
}

.assignment-intro li label {
    font-weight: bold;
    padding: 0 20px 10px 0px;
    line-height: 1;
}

.assignment-intro li span {
    text-align: left;
}

.assignment-files {
    list-style: none;
}

.assignment-files.assignment-documentations,
.assignment-files.assignment-references,
.learn-press-assignment-uploaded .assignment-files.assignment-uploaded {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 14px;
    margin: 0 0 10px;
    padding: 0;
}

.assignment-files.assignment-documentations .assignmen-file,
.assignment-files.assignment-references .assignmen-file,
.learn-press-assignment-uploaded .assignment-files.assignment-uploaded .assignmen-file {
    float: none;
    margin: 0;
}

.learn-press-assignment-uploaded {
    clear: both;
    background: rgba(248, 250, 252, 0.72);
    box-shadow:  2px 5px 5px rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(84, 127, 255, 0.14);
    padding: 10px 10px 1px 10px;
}

.learn_press_assignment_attachment {
    margin: 10px 0 25px;
    clear: both;
    background: rgba(248, 250, 252, 0.72);
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(84, 127, 255, 0.14);
    padding: 10px 10px 1px 10px;
}

.assignment-attachment-divider {
    clear: both;
    border: 0;
    border-top: 1px solid #e5ebf3;
    margin: 22px 0 30px;
}

.retake-assignment {
    margin: 20px 0 5px 2px;
}
/*.assignment-files li {
    position: relative;
}*/

/*.assignment-files a {
    text-decoration: underline;
    position: absolute;
}*/

.assignment-files a .saved-time {
    font-style: italic;
    font-size: x-small;
}

/*
.assignment-files li:before {
    content: "\f497";
    font-family: dashicons;
    padding-right: 5px;
}*/
.assignmen-file {
    padding: 6px;
    margin: 10px;
    border: 1px solid #fff;
    float: left;
    background: 50% 50% repeat-x rgb(245, 247, 249);
    font-weight: normal;
    color: #555;
    list-style: none;
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 12px;
    width: 120px;
    border-radius: 10px;
}

.assignment_file_thumb {
    width: 106px;
    height: 70px;
    position: relative;
    background-image: none;
    background-color: #eee;
    border-radius: 10px;
}

.assignment_file_thumb .ui-widget-content {
    border: 1px solid #aaa;
    background: #fff 50% 50% repeat-x;
    color: #222;
}

.assignment_file_thumb .assignment_file_dummy {
    font-size: 21px;
    font-weight: bold;
    text-transform: lowercase;
    overflow: hidden;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
    line-height: 60px;
}

.assignment_file_name {
    overflow: hidden;
    padding-top: 3px;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assignment_file_name_wrapper {
    font-size: 11px;
}

.saved-time {
    font-size: 10px;
    text-align: center;
    vertical-align: middle;
}

.ui-state-disabled {
    opacity: .35;
}

.assignment_file_action {
    width: 16px;
}

.assignment_file_action {
    position: absolute;
    top: 10px;
    right: 10px;
    text-shadow:rgba(0,0,0,0.65) 1px 1px 1px;
}

.assignment_action_icon {
    font-size:20px;
    color:white;
}

.assignment_action_icon:hover {
    color: #FF0000;
}

.assignment_action_icon:before {
    content: "\f182";
    font-family: dashicons;
}

.assignment-buttons-area {
    clear: both;
    padding-top: 10px;
}

.assignment-file-size {
    font-size: 12px;
}

.assignment_file_preview_link {
    display: block;
    width: 100%;
    height: 100%;
}

.assignment_file_preview_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.assignment_file_name a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}




form.save-assignment {
    position: relative;
}

.learn_press_assignment_reference h3,.assignment-after-sent h3 {
    padding-left:8px;
}

.lp-assignment-lite-editor {
    position: relative;
    width: 100%;
    margin: 0 0 24px;
    color: #1f2937;
}

.lp-assignment-lite-editor,
.lp-assignment-lite-editor * {
    box-sizing: border-box;
}

.lp-assignment-lite-editor__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(206, 216, 229, .82);
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
    background: rgba(248, 250, 252, .72);
    backdrop-filter: blur(14px) saturate(145%);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.lp-assignment-lite-editor__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 38px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(203, 213, 225, .78);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(244,247,251,.66));
    color: #253044;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 5px 16px rgba(15, 23, 42, .08);
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.lp-assignment-lite-editor__button:hover,
.lp-assignment-lite-editor__button:focus {
    border-color: #8bb5a1;
    color: #0f5132;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(236, 251, 244, .76));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 0 0 3px rgba(34, 197, 94, .12), 0 7px 18px rgba(15, 23, 42, .10);
    outline: none;
}

.lp-assignment-lite-editor__button.is-active {
    border-color: #168553;
    background: linear-gradient(180deg, rgba(232, 247, 238, .95), rgba(208, 239, 224, .78));
    color: #0f5132;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 3px rgba(22, 133, 83, .18), 0 8px 20px rgba(22, 133, 83, .14);
}

.lp-assignment-lite-editor.is-ios .lp-assignment-lite-editor__button:hover:not(.is-active),
.lp-assignment-lite-editor.is-ios .lp-assignment-lite-editor__button:focus:not(.is-active) {
    border-color: rgba(203, 213, 225, .78);
    color: #253044;
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(244,247,251,.66));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 5px 16px rgba(15, 23, 42, .08);
    outline: none;
}

.lp-assignment-lite-editor__button:active {
    transform: translateY(1px);
}

.lp-assignment-lite-editor__icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.lp-assignment-lite-editor__icon text {
    fill: currentColor;
    stroke: none;
    font-size: 5px;
    font-weight: 800;
}

.lp-assignment-lite-editor__drive-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.lp-assignment-lite-editor__field,
.lp-assignment-lite-editor__surface,
.lp-assignment-lite-editor__source {
    width: 100%;
}

.lp-assignment-lite-editor__surface,
.lp-assignment-lite-editor__source {
    height: auto;
    min-height: 130px;
    padding: 6px 14px 14px;
    border: 1px solid #d9e1ec;
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    resize: vertical;
    overflow-y: hidden;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

.lp-assignment-lite-editor__source {
    display: block;
    border-radius: 8px;
    overflow-y: auto;
}

.lp-assignment-lite-editor__field {
    position: relative;
}

.lp-assignment-lite-editor.is-enhanced .lp-assignment-lite-editor__surface {
    border-radius: 0 0 15px 15px;
}

.lp-assignment-lite-editor__surface:focus,
.lp-assignment-lite-editor__source:focus {
    border-color: #168553;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .12), inset 0 1px 2px rgba(15, 23, 42, .04);
    outline: none;
}

.lp-assignment-lite-editor.has-error .lp-assignment-lite-editor__surface,
.lp-assignment-lite-editor.has-error .lp-assignment-lite-editor__source {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12), inset 0 1px 2px rgba(15, 23, 42, .04);
}

.lp-assignment-lite-editor__notice {
    margin-top: 8px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.lp-assignment-lite-editor__placeholder {
    position: absolute;
    top: 6px;
    right: 14px;
    left: 14px;
    display: block;
    color: #7c8797;
    font-size: 14px;
    line-height: 1.6;
    pointer-events: none;
}

.lp-assignment-lite-editor__placeholder[hidden] {
    display: none;
}

.lp-assignment-lite-editor.is-focused .lp-assignment-lite-editor__placeholder {
    display: none;
}

.lp-assignment-lite-editor__surface p,
.lp-assignment-lite-editor__surface div {
    min-height: 1.6em;
    margin: 0;
}

.lp-assignment-answer-display p {
    margin: 0 0 12px;
}

.lp-assignment-answer-display p:last-child {
    margin-bottom: 0;
}

.lp-assignment-lite-editor__surface > :first-child {
    margin-top: 0;
}

.lp-assignment-lite-editor__surface ul,
.lp-assignment-lite-editor__surface ol,
.lp-assignment-answer-display ul,
.lp-assignment-answer-display ol {
    margin: 0 0 12px 22px;
    padding: 0;
}

.lp-assignment-lite-editor__surface li,
.lp-assignment-answer-display li {
    margin: 4px 0;
}

.lp-assignment-lite-editor__surface a,
.lp-assignment-answer-display a {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .lp-assignment-lite-editor__surface a {
        cursor: pointer;
    }
}

.lp-assignment-lite-editor.is-ios .lp-assignment-lite-editor__surface a {
    pointer-events: none;
    cursor: text;
}

.lp-assignment-lite-editor__link-bubble {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.lp-assignment-lite-editor__link-bubble[hidden] {
    display: none;
}

.lp-assignment-lite-editor__link-bubble.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lp-assignment-lite-editor__link-bubble-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(15, 118, 110, .24);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 118, 110, .96), rgba(22, 163, 74, .92));
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.lp-assignment-lite-editor__link-bubble-button:focus {
    outline: none;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .22), 0 0 0 3px rgba(34, 197, 94, .20), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.lp-assignment-lite-editor__surface code,
.lp-assignment-answer-display code {
    padding: 2px 5px;
    border-radius: 6px;
    background: #eef2f7;
    color: #9f1239;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: .92em;
}

.lp-assignment-lite-editor__surface pre,
.lp-assignment-answer-display pre {
    margin: 12px 0;
    padding: 14px;
    border: 1px solid #d7dde7;
    border-radius: 8px;
    background: #172033;
    color: #f8fafc;
    overflow: auto;
    white-space: pre-wrap;
}

.lp-assignment-lite-editor__surface .lp-assignment-lite-editor__code-block {
    position: relative;
    min-height: 0;
    margin: 12px 0;
}

.lp-assignment-lite-editor__code-block pre {
    margin: 0;
    padding-right: 48px;
}

.lp-assignment-lite-editor__code-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 8px;
    background: rgba(255,255,255,.16);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 6px 16px rgba(0,0,0,.18);
}

.lp-assignment-lite-editor__code-remove:hover,
.lp-assignment-lite-editor__code-remove:focus {
    border-color: rgba(255,255,255,.52);
    background: rgba(255,255,255,.24);
    outline: none;
}

.lp-assignment-lite-editor__surface pre code,
.lp-assignment-answer-display pre code {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.lp-assignment-answer-display {
    overflow-wrap: anywhere;
}

.lp-assignment-answer-links-editor {
    margin: 0 0 18px;
    padding: 18px 20px 16px;
    border: 1px solid rgba(84, 127, 255, .18);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(248, 250, 255, .98), rgba(240, 245, 255, .98));
    box-shadow: 0 6px 16px rgba(53, 84, 144, .07), inset 0 1px 0 rgba(255,255,255,.92);
}

.lp-assignment-answer-links-editor__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lp-assignment-answer-links-editor__copy {
    min-width: 0;
}

.lp-assignment-answer-links-editor__title {
    margin: 0;
    color: #0f1d42;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

.lp-assignment-answer-links-editor__subtitle {
    margin: 5px 0 0;
    color: #4a5b7a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.lp-assignment-answer-links-editor__limit {
    margin: 6px 0 0;
    color: #3f4f70;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.lp-assignment-answer-links-editor__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(112, 139, 228, .28);
    border-radius: 8px;
    background: rgba(255,255,255,.88);
    color: #2b3d5c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(53, 84, 144, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.lp-assignment-answer-links-editor__add:hover,
.lp-assignment-answer-links-editor__add:focus {
    transform: translateY(-1px);
    border-color: rgba(84, 127, 255, .42);
    background: #fff;
    color: #122042;
    box-shadow: 0 10px 22px rgba(53, 84, 144, .14), inset 0 1px 0 rgba(255,255,255,.96);
    outline: none;
}

.lp-assignment-answer-links-editor__add[disabled] {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
    border-color: rgba(112, 139, 228, .18);
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 4px 10px rgba(53, 84, 144, .04);
}

.lp-assignment-answer-links-editor__empty {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px dashed rgba(112, 139, 228, .28);
    border-radius: 10px;
    background: rgba(255,255,255,.72);
}

.lp-assignment-answer-links-editor__empty[hidden] {
    display: none;
}

.lp-assignment-answer-links-editor__empty p {
    margin: 0;
    color: #4a5b7a;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    opacity: .82;
}

.lp-assignment-answer-links-editor__list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.lp-assignment-answer-links-editor__row {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) minmax(118px, auto) 28px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(84, 127, 255, .14);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(245, 248, 255, .88)),
        radial-gradient(circle at left, color-mix(in srgb, var(--lp-assignment-link-accent, #547fff) 10%, transparent), transparent 38%);
    box-shadow: 0 4px 10px rgba(53, 84, 144, .05), inset 0 1px 0 rgba(255,255,255,.90);
}

.lp-assignment-answer-links-editor__row.is-pending {
    border-color: color-mix(in srgb, var(--lp-assignment-link-accent, #547fff) 18%, rgba(84, 127, 255, .18));
    background:
        linear-gradient(135deg, rgba(255,255,255,.78), rgba(241, 246, 255, .62)),
        radial-gradient(circle at left, color-mix(in srgb, var(--lp-assignment-link-accent, #547fff) 14%, transparent), transparent 40%);
    box-shadow: 0 10px 24px rgba(53, 84, 144, .08), inset 0 1px 0 rgba(255,255,255,.82);
    backdrop-filter: blur(16px) saturate(138%);
    -webkit-backdrop-filter: blur(16px) saturate(138%);
}

.lp-assignment-answer-links-editor__row.is-invalid {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08), 0 4px 10px rgba(53, 84, 144, .05), inset 0 1px 0 rgba(255,255,255,.90);
}

.lp-assignment-answer-links-editor__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 28%, #ffffff);
    border-radius: 10px;
    background: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 10%, #ffffff);
    color: var(--lp-assignment-link-accent, #0f766e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 4px 10px rgba(53, 84, 144, .05);
}

.lp-assignment-answer-links-editor__icon .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.lp-assignment-answer-links-editor__icon .lp-assignment-link-service-icon,
.lp-assignment-answer-link__icon .lp-assignment-link-service-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.lp-assignment-answer-links-editor__fields {
    display: grid;
    grid-template-columns: minmax(140px, 0.38fr) minmax(220px, 1fr);
    gap: 10px;
    min-width: 0;
}

.lp-assignment-answer-links-editor__field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.lp-assignment-answer-links-editor__field span {
    color: #536277;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    opacity: .82;
}

.lp-assignment-answer-links-editor__field input {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(210, 219, 232, 0.94);
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    color: #1f2937;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.lp-assignment-answer-links-editor__field input:focus {
    border-color: var(--lp-assignment-link-accent, #36a382);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-assignment-link-accent, #36a382) 16%, transparent), inset 0 1px 2px rgba(15, 23, 42, 0.04);
    outline: none;
}

.lp-assignment-answer-links-editor__meta {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.lp-assignment-answer-links-editor__preview {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.lp-assignment-answer-links-editor__preview:not([href]) {
    cursor: default;
}

.lp-assignment-answer-links-editor__preview[href]:hover,
.lp-assignment-answer-links-editor__preview[href]:focus {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 24%, rgba(84, 127, 255, .22));
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(244, 248, 255, .90));
    box-shadow: 0 8px 18px rgba(53, 84, 144, .10), inset 0 1px 0 rgba(255,255,255,.94);
    outline: none;
}

.lp-assignment-answer-links-editor__row.is-pending .lp-assignment-answer-links-editor__preview {
    background: linear-gradient(135deg, rgba(255,255,255,.60), rgba(242, 246, 255, .36));
    border-color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 18%, rgba(255,255,255,.72));
    box-shadow: 0 8px 18px rgba(53, 84, 144, .08), inset 0 1px 0 rgba(255,255,255,.72);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.lp-assignment-answer-links-editor__row.is-pending .lp-assignment-answer-links-editor__preview[href]:hover,
.lp-assignment-answer-links-editor__row.is-pending .lp-assignment-answer-links-editor__preview[href]:focus {
    border-color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 30%, rgba(255,255,255,.82));
    background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(245, 249, 255, .48));
    box-shadow: 0 12px 24px rgba(53, 84, 144, .12), inset 0 1px 0 rgba(255,255,255,.84);
}

.lp-assignment-answer-links-editor__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 25%, #ffffff);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 13%, #ffffff);
    color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 82%, #0f172a);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.lp-assignment-answer-links-editor__domain {
    display: block;
    max-width: 160px;
    overflow: hidden;
    color: #748091;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-assignment-answer-links-editor__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 999px;
    background: rgba(255,255,255,.90);
    color: #7b8794;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(53, 84, 144, .08);
    transition: transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.lp-assignment-answer-links-editor__remove:hover,
.lp-assignment-answer-links-editor__remove:focus {
    transform: translateY(-1px);
    color: #dc2626;
    background: rgba(255, 255, 255, 0.96);
    outline: none;
}

.lp-assignment-answer-links-display {
    margin-top: 10px;
}

.lp-assignment-answer-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-assignment-answer-link {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-assignment-answer-link__button {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 8px 6px 6px;
    border: 1px solid rgba(84, 127, 255, .16);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(245, 248, 255, .88)),
        radial-gradient(circle at 14px 50%, color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 10%, transparent), transparent 50%);
    color: #172033;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(53, 84, 144, .05), inset 0 1px 0 rgba(255,255,255,.90);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.lp-assignment-answer-link__button:hover,
.lp-assignment-answer-link__button:focus {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 26%, rgba(84, 127, 255, .22));
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(245, 248, 255, .92)),
        radial-gradient(circle at 14px 50%, color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 14%, transparent), transparent 54%);
    box-shadow: 0 8px 18px rgba(53, 84, 144, .10), inset 0 1px 0 rgba(255,255,255,.94);
    outline: none;
}

.lp-assignment-answer-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 24%, #ffffff);
    border-radius: 10px;
    background: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 11%, #ffffff);
    color: var(--lp-assignment-link-accent, #0f766e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 4px 10px rgba(53, 84, 144, .05);
}

.lp-assignment-answer-link__icon .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.lp-assignment-answer-link__content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lp-assignment-answer-link__title {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-assignment-answer-link__domain {
    display: block;
    overflow: hidden;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-assignment-answer-link__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 24%, #ffffff);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 13%, #ffffff);
    color: color-mix(in srgb, var(--lp-assignment-link-accent, #0f766e) 84%, #0f172a);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor {
    padding: 16px 18px 14px;
}

#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor__title {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    opacity: 0.8;
}

#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor__subtitle {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    opacity: 0.8;
}

#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor__add {
    min-height: 40px;
    padding: 0 16px;
    color: #2b3d5c;
    -webkit-text-fill-color: #2b3d5c;
    font-size: 13px;
    font-weight: 600;
}

#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor__add:hover,
#learn-press-content-item .lp-assignment-buttons .lp-assignment-answer-links-editor__add:focus {
    color: #122042;
    -webkit-text-fill-color: #122042;
}

@media (max-width: 767px) {
    .lp-assignment-submitted-status {
        align-items: flex-start;
        gap: 10px;
        margin-top: -12px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .lp-assignment-submitted-status__icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 15px;
    }

    .lp-assignment-lite-editor__toolbar {
        gap: 6px;
        padding: 8px;
    }

    .lp-assignment-lite-editor__button {
        min-width: 36px;
        min-height: 32px;
        padding: 0 8px;
        font-size: 11px;
    }

    .lp-assignment-lite-editor__icon {
        width: 15px;
        height: 15px;
    }

    .lp-assignment-lite-editor__surface,
    .lp-assignment-lite-editor__source {
        min-height: 150px;
        padding: 7px 12px 12px;
        font-size: 16px;
    }

    .lp-assignment-lite-editor__placeholder {
        top: 7px;
        right: 12px;
        left: 12px;
        font-size: 16px;
    }

    .lp-assignment-answer-links-editor {
        padding: 14px;
        border-radius: 12px;
    }

    .lp-assignment-answer-links-editor__header {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-assignment-answer-links-editor__title {
        font-size: 14px;
    }

    .lp-assignment-answer-links-editor__add {
        width: 100%;
    }

    .lp-assignment-answer-links-editor__row {
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        align-items: start;
        gap: 8px;
    }

    .lp-assignment-answer-links-editor__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .lp-assignment-answer-links-editor__icon .dashicons {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    .lp-assignment-answer-links-editor__fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lp-assignment-answer-links-editor__meta {
        grid-column: 1 / -1;
        padding-left: 46px;
    }

    .lp-assignment-answer-links-editor__preview {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .lp-assignment-answer-links-editor__domain {
        max-width: none;
    }

    .lp-assignment-answer-links-editor__remove {
        width: 28px;
        height: 28px;
    }

    .lp-assignment-answer-link__button {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 8px;
    }

    .lp-assignment-answer-link__badge {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 44px;
    }
}

.lp-assignment-toast-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 11, 18, .38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.lp-assignment-toast-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
}

.lp-assignment-toast {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: min(92vw, 520px);
    min-height: 118px;
    overflow: hidden;
    padding: 18px 20px 24px;
    border-radius: 24px;
    color: #fff;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0;
    background: linear-gradient(180deg, rgba(18, 24, 38, .88), rgba(12, 17, 28, .84));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.34), 0 10px 30px rgba(0,0,0,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.92);
    transition: none;
    will-change: opacity, transform;
}

@keyframes lpAssignmentFlashToastIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lpAssignmentFlashToastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(8px) scale(.94);
    }
}

.lp-assignment-toast__halo {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -65px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 119, 0, .30), rgba(255, 0, 153, 0) 68%);
    pointer-events: none;
}

.lp-assignment-toast__badge {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff00a8);
    box-shadow: 0 8px 18px rgba(255, 76, 135, .25);
}

.lp-assignment-toast--waiting {
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px) scale(.92);
    transition: none !important;
}

.lp-assignment-toast--entering {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: lpAssignmentFlashToastIn .34s cubic-bezier(.2, .8, .2, 1) both;
}

.lp-assignment-toast--visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lp-assignment-toast--leaving {
    visibility: visible;
    opacity: 0;
    transform: translateY(8px) scale(.94);
    animation: lpAssignmentFlashToastOut .22s ease both;
    transition: none;
}

.lp-assignment-toast-overlay.is-hiding {
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility 0s linear .18s;
}

.lp-assignment-toast__body {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0;
    color: rgba(255,255,255,.92);
    text-align: center;
    transform: translateY(3px);
    overflow-wrap: anywhere;
}

.lp-assignment-toast--multiline .lp-assignment-toast__body::before {
    content: none;
}

.lp-assignment-toast--multiline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 156px;
    padding: 30px 32px 32px;
}

.lp-assignment-toast--multiline .lp-assignment-toast__badge {
    position: absolute;
    top: 18px;
    left: 20px;
}

.lp-assignment-toast--multiline .lp-assignment-toast__body {
    min-width: 0;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
}

.lp-assignment-toast__body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lp-assignment-toast--error {
    background: linear-gradient(180deg, rgba(35, 18, 28, .90), rgba(19, 16, 28, .86));
}

.lp-assignment-toast--error .lp-assignment-toast__badge {
    background: linear-gradient(135deg, #ef4444, #f0008d);
    box-shadow: 0 8px 18px rgba(239, 68, 68, .24);
}

.lp-assignment-toast--error .lp-assignment-toast__halo {
    background: radial-gradient(circle, rgba(239, 68, 68, .30), rgba(255, 0, 153, 0) 68%);
}

.lp-assignment-toast--success {
    background: linear-gradient(180deg, rgba(18, 28, 34, .90), rgba(12, 17, 28, .84));
}

@media (max-width: 767px) {
    .lp-assignment-toast-overlay {
        padding: 16px;
    }

    .lp-assignment-toast {
        grid-template-columns: 1fr;
        row-gap: 14px;
        width: 100%;
        min-height: 112px;
        padding: 16px 16px 22px;
        border-radius: 20px;
        font-size: 14px;
    }

    .lp-assignment-toast__badge {
        top: 16px;
        left: 16px;
    }

    .lp-assignment-toast--multiline {
        min-height: 148px;
        padding: 18px 18px 28px;
    }

    .lp-assignment-toast--multiline .lp-assignment-toast__badge {
        top: 16px;
        left: 16px;
    }

    .lp-assignment-toast__body {
        grid-column: 1;
    }
}

.assignment-heic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 18px;
    background: rgba(8, 12, 18, .34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 30;
}

.assignment-heic-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.assignment-heic-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(92vw, 540px);
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 16px;
    color: #fff;
    line-height: 1.45;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    background: rgba(20, 27, 38, .78);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 44px rgba(0,0,0,.28), 0 6px 18px rgba(0,0,0,.18);
}

.assignment-heic-toast .assignment-heic-spinner {
    flex: 0 0 auto;
    margin-right: 0;
}

.assignment-heic-toast-text {
    display: block;
}

.assignment-heic-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}
.assignment-heic-status.is-visible {
    display: block;
}
.assignment-heic-status.is-working {
    display: none;
}
.assignment-heic-status.is-working {
    border-color: rgba(255,255,255,.18);
}
.assignment-heic-status.is-success {
    border-color: rgba(92, 184, 92, .35);
}
.assignment-heic-status.is-error {
    border-color: rgba(217, 83, 79, .45);
}
.assignment-heic-status .assignment-heic-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    vertical-align: -2px;
    animation: lpAssignmentHeicSpin .8s linear infinite;
}
.assignment-heic-help {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.25;
    padding:0 0 0 8px;
}
@keyframes lpAssignmentHeicSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


@media (max-width: 767px) {
    .assignment-heic-overlay {
        padding: 18px;
        border-radius: 14px;
    }

    .assignment-heic-toast {
        width: 100%;
        padding: 14px 16px;
        border-radius: 14px;
    }
}


/* HEIC conversion runtime overlay */
.assignment-heic-overlay {
    display: none;
}

html.assignment-heic-lock,
body.assignment-heic-lock {
    overflow: hidden;
}

.assignment-heic-overlay-runtime {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 13, 20, .42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 99999;
}

.assignment-heic-overlay-runtime.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.assignment-heic-overlay-card {
    width: min(92vw, 560px);
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    column-gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    color: #fff;
    background: rgba(18, 25, 36, .84);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 70px rgba(0,0,0,.30), 0 8px 26px rgba(0,0,0,.20);
}

.assignment-heic-overlay-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.assignment-heic-overlay-subtitle {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,.84);
}

.assignment-heic-overlay-spinner {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .assignment-heic-overlay-runtime {
        padding: 18px;
    }

    .assignment-heic-overlay-card {
        width: 100%;
        padding: 16px 16px;
        border-radius: 18px;
        grid-template-columns: 18px 1fr;
        column-gap: 12px;
    }

    .assignment-heic-overlay-title {
        font-size: 16px;
    }

    .assignment-heic-overlay-subtitle {
        font-size: 13px;
    }
}


/* 3.4.0 HEIC overlay toast */
.assignment-heic-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    background: rgba(17, 24, 39, .06);
    color: #334155;
}

.assignment-heic-status.is-success {
    background: rgba(34, 197, 94, .10);
    color: #166534;
}

.assignment-heic-status.is-error {
    background: rgba(239, 68, 68, .10);
    color: #991b1b;
}

.assignment-heic-overlay-runtime {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 11, 18, .38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
    z-index: 2147483000;
}

.assignment-heic-overlay-runtime.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.assignment-heic-toast-card {
    position: relative;
    width: min(92vw, 520px);
    overflow: hidden;
    padding: 22px 22px 18px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(180deg, rgba(18, 24, 38, .88), rgba(12, 17, 28, .84));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.34), 0 10px 30px rgba(0,0,0,.22);
}

.assignment-heic-toast-halo {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -65px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 119, 0, .35), rgba(255, 0, 153, 0) 68%);
    pointer-events: none;
}

.assignment-heic-toast-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff00a8);
    box-shadow: 0 8px 18px rgba(255, 76, 135, .25);
}

.assignment-heic-toast-title {
    margin-top: 14px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

.assignment-heic-toast-stage {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}

.assignment-heic-toast-wait {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
}

.assignment-heic-toast-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.assignment-heic-toast-file {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    color: rgba(255,255,255,.84);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.assignment-heic-toast-timer {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.10);
}

.assignment-heic-toast-progress {
    position: relative;
    margin-top: 16px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.assignment-heic-toast-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a00, #ff00a8);
    animation: assignmentHeicToastSlide 1.3s ease-in-out infinite;
}

@keyframes assignmentHeicToastSlide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(320%); }
}

@media (max-width: 767px) {
    .assignment-heic-overlay-runtime {
        padding: 16px;
    }

    .assignment-heic-toast-card {
        width: 100%;
        padding: 18px 18px 16px;
        border-radius: 20px;
    }

    .assignment-heic-toast-title {
        font-size: 20px;
    }

    .assignment-heic-toast-stage {
        font-size: 14px;
    }

    .assignment-heic-toast-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}


.assignment_file_preview_link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.assignment_file_preview_image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease, filter .18s ease;
}

.assignment_file_thumb .assignment_file_preview_link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 48%, rgba(15, 23, 42, .28) 100%);
    opacity: .78;
    pointer-events: none;
    transition: opacity .18s ease;
}

.assignment_file_thumb .assignment_file_preview_link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(27, 39, 51, .10);
}

.assignment_file_thumb .assignment_file_preview_link:hover::after {
    opacity: 1;
}

.assignment_file_thumb .assignment_file_preview_link:hover .assignment_file_preview_image {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.03);
}

.assignment_file_image_badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 18px;
    padding: 0 6px;
    border-radius: 6px;
    background: rgba(15, 23, 42, .74);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .22);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

body.assignment-file-preview-open {
    overflow: hidden;
}

.assignment-file-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .24s;
}

.assignment-file-preview-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 31, .48);
    opacity: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity .24s ease;
}

.assignment-file-preview-modal.is-visible {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.assignment-file-preview-modal.is-visible::before {
    opacity: 1;
}

.assignment-file-preview-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(936px, 100%);
    max-height: min(78vh, 774px);
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(244, 248, 252, .50));
    box-shadow: 0 28px 90px rgba(15, 23, 42, .30), inset 0 1px 0 rgba(255, 255, 255, .78);
    opacity: 0;
    transform: translateY(14px) scale(.97);
    backdrop-filter: blur(28px) saturate(155%);
    -webkit-backdrop-filter: blur(28px) saturate(155%);
    transition: opacity .24s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.assignment-file-preview-modal.is-visible .assignment-file-preview-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.assignment-file-preview-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 15px 5px 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    background: rgba(236, 236, 236, 0.31);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.assignment-file-preview-modal__title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assignment-file-preview-modal__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.assignment-file-preview-modal__open,
.assignment-file-preview-modal__download,
.assignment-file-preview-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.assignment-file-preview-modal__open,
.assignment-file-preview-modal__download {
    padding: 0 12px;
    border: 1px solid rgba(196, 196, 196, 0.45);
    color: rgb(48, 65, 92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.assignment-file-preview-modal__download {
    margin-right: 8px;
}

.assignment-file-preview-modal__open:hover,
.assignment-file-preview-modal__download:hover {
    border-color: rgba(197, 207, 221, .78);
    background: rgba(255, 255, 255, .76);
    color: #1f2d44;
}

.assignment-file-preview-modal__close {
    width: 34px;
    padding: 0;
    border: 1px solid rgba(221, 221, 221, 0.98);
    background: rgba(233, 238, 245, 0.62);
    color: rgba(48, 65, 92, 0.85);
    font-size: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
    cursor: pointer;
}

.assignment-file-preview-modal__close:hover {
    background: rgba(219, 227, 238, .82);
    color: #182235;
}

.assignment-file-preview-modal__body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    overflow: auto;
    padding: 16px;
    background: rgb(52, 52, 52);
}

.assignment-file-preview-modal__image {
    display: block;
    max-width: 100%;
    max-height: calc(78vh - 104px);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
    opacity: 1;
    transition: opacity .22s ease;
}

.assignment-file-preview-modal__image.is-loading {
    opacity: 0;
}

.assignment-file-preview-modal__image.is-ready {
    opacity: 1;
}

.assignment-file-preview-modal__pdf {
    display: block;
    width: 100%;
    height: calc(78vh - 104px);
    min-height: 378px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    opacity: 1;
    transition: opacity .22s ease;
}

.assignment-file-preview-modal__pdf.is-loading {
    opacity: 0;
}

.assignment-file-preview-modal__pdf.is-ready {
    opacity: 1;
}

.assignment-file-preview-modal__pdf-ios-overlay {
    position: absolute;
    inset: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(15, 23, 42, .18);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px) saturate(115%);
    -webkit-backdrop-filter: blur(4px) saturate(115%);
    transition: opacity .22s ease;
}

.assignment-file-preview-modal__pdf-ios-overlay[hidden] {
    display: none;
}

.assignment-file-preview-modal__pdf-ios-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.assignment-file-preview-modal__pdf-ios-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7b33 0%, #ff2f92 58%, #ff8a3d 100%);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .28), 0 10px 24px rgba(255, 47, 146, .24), inset 0 1px 0 rgba(255, 255, 255, .26);
    -webkit-tap-highlight-color: transparent;
}

.assignment-file-preview-modal__pdf-ios-open:hover,
.assignment-file-preview-modal__pdf-ios-open:focus {
    color: #ffffff;
    text-decoration: none;
    outline: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .30), 0 12px 26px rgba(255, 47, 146, .28), 0 0 0 4px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .30);
}

.assignment-file-preview-modal__pdf-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity .2s ease;
}

.assignment-file-preview-modal__pdf-loader.is-hidden {
    opacity: 0;
}

.assignment-file-preview-modal__pdf-loader-svg {
    width: 118px;
    height: 118px;
    filter: drop-shadow(0 18px 36px rgba(15, 23, 42, .18));
}

.assignment-file-preview-modal__pdf-loader-track {
    fill: none;
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 6;
}

.assignment-file-preview-modal__pdf-loader-ring {
    fill: none;
    stroke: url(#assignment-pdf-loader-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 170 110;
    transform-origin: 60px 60px;
    animation: assignment-pdf-loader-spin 1.2s linear infinite;
}

.assignment-file-preview-modal__png-loader-ring {
    fill: none;
    stroke: url(#assignment-png-loader-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 170 110;
    transform-origin: 60px 60px;
    animation: assignment-pdf-loader-spin 1.2s linear infinite;
}

.assignment-file-preview-modal__pdf-loader-doc {
    animation: assignment-pdf-loader-pulse 1.8s ease-in-out infinite;
}

@keyframes assignment-pdf-loader-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes assignment-pdf-loader-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(.97);
        opacity: .92;
    }
}

@media (max-width: 767px) {
    .assignment-file-preview-modal {
        padding: 12px;
    }

    .assignment-file-preview-modal__dialog {
        max-height: 84vh;
    }

    .assignment-file-preview-modal__header {
        align-items: center;
        flex-direction: row;
        gap: 10px;
        padding: 8px 10px;
    }

    .assignment-file-preview-modal__actions {
        width: auto;
        justify-content: flex-end;
        gap: 6px;
    }

    .assignment-file-preview-modal__title {
        font-size: 14px;
    }

    .assignment-file-preview-modal__open,
    .assignment-file-preview-modal__download {
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    .assignment-file-preview-modal__download {
        margin-right: 10px;
    }

    .assignment-file-preview-modal__close {
        width: 30px;
        min-height: 30px;
        font-size: 19px;
    }

    .assignment-file-preview-modal__body {
        padding: 10px;
    }

    .assignment-file-preview-modal__image {
        max-height: calc(84vh - 134px);
    }

    .assignment-file-preview-modal__pdf {
        height: calc(84vh - 134px);
        min-height: 288px;
    }

    .assignment-file-preview-modal__pdf-ios-overlay {
        inset: 10px;
    }

    .assignment-file-preview-modal__pdf-ios-open {
        min-height: 42px;
        padding: 0 18px;
        font-size: 13px;
    }

    .assignment-file-preview-modal__pdf-loader-svg {
        width: 104px;
        height: 104px;
    }
}

.assignment_file_thumb .assignment_file_dummy.assignment_file_dummy_link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(#e6e6e6, #f6f8fb);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    border-radius: 10px;
    cursor: pointer;
}

.assignment_file_thumb .assignment_file_dummy.assignment_file_dummy_link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(27, 39, 51, .10);
    border-color: #cfd7e2;
}

.assignment_file_dummy_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 50px;
    flex: 0 0 50px;
    overflow: visible;
}

.assignment-file-svg-icon {
    display: block;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    transform: translateZ(0);
    transform-origin: center center;
}

.assignment_file_dummy_label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .04em;
    color: #4a5665;
    display:none;
}

.assignment_file_thumb .assignment_file_dummy .assignment-file-size {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #768293;
    line-height: 1.1;
}

/* Modern upload UI */
.assignment-upload-ui {
    margin-top: 12px;
    margin-bottom: 10px;
}

.assignment-upload-ui__panel {
    position: relative;
    padding: 28px 30px 24px;
    border-radius: 12px;
    border: 1px solid rgba(84, 127, 255, .18);
    background: linear-gradient(180deg, rgba(248, 250, 255, .98), rgba(240, 245, 255, .98));
    box-shadow: 0 6px 16px rgba(53, 84, 144, .07), inset 0 1px 0 rgba(255,255,255,.92);
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
    cursor: default;
}

.assignment-upload-ui__panel:hover {
    border-color: rgba(84, 127, 255, .18);
    box-shadow: 0 6px 16px rgba(53, 84, 144, .07), inset 0 1px 0 rgba(255,255,255,.92);
}

.assignment-upload-ui__panel.is-disabled {
    cursor: not-allowed;
    opacity: .78;
}

.assignment-upload-ui__hero {
    display: grid;
    grid-template-columns: 160px minmax(180px, 1fr) 100px;
    gap: 30px;
    align-items: center;
}

.assignment-upload-ui__brand {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    width: 91px;
    max-width: 100%;
    pointer-events: none;
}

.assignment-upload-ui__brand img {
    display: block;
    width: 100px;
    max-width: 100%;
    height: auto;
}

.assignment-upload-ui__title {
    margin: 0;
    color: #0f1d42;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 800;
}

.assignment-upload-ui__subtitle {
    margin: 6px 0 0;
    color: #4a5b7a;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    max-width: 540px;
}

.assignment-upload-ui__action {
    display: flex;
    justify-content: stretch;
    width: 280px;
    max-width: 100%;
}

.assignment-upload-ui__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 74px;
    min-height: 0;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(112, 139, 228, .28);
    background: rgba(255,255,255,.88);
    color: #122042;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(53, 84, 144, .06);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.assignment-upload-ui__button:hover,
.assignment-upload-ui__button:focus {
    color: #122042;
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(84, 127, 255, .42);
    background: #fff;
    box-shadow: 0 10px 22px rgba(53, 84, 144, .14), inset 0 1px 0 rgba(255,255,255,.96);
}

.assignment-upload-ui__button.is-disabled {
    opacity: .58;
    cursor: not-allowed;
    pointer-events: none;
}

.assignment-upload-ui.is-enhanced .assignment-upload-ui__native-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.assignment-upload-ui__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 28px;
    margin-top: 18px;
    color: #4a5b7a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.assignment-upload-ui__meta-item strong {
    color: #1e2c50;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__panel {
    padding: 20px 30px 20px;
    cursor: default;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__hero {
    display: grid;
    grid-template-columns: 160px minmax(180px, 1fr) 100px;
    gap: 30px;
    align-items: center;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__action {
    width: 160px;
    max-width: 100%;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__button {
    width: 100%;
    height: 45px;
    min-height: 0;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__title {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    opacity: 0.8;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__subtitle {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

#learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__meta {
    gap: 7px 28px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    opacity: 0.8;
}

.assignment-upload-ui__feedback {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.assignment-upload-ui__feedback.is-error {
    color: #991b1b;
    background: rgba(254, 226, 226, .9);
    border: 1px solid rgba(239, 68, 68, .22);
}

.assignment-upload-ui__feedback.is-info {
    color: #1d4ed8;
    background: rgba(219, 234, 254, .9);
    border: 1px solid rgba(59, 130, 246, .18);
}

.assignment-upload-ui__selected {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(202, 213, 234, .72);
}

.assignment-upload-ui__selected-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.assignment-upload-ui__selected-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.assignment-upload-ui__selected-title {
    color: #122042;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.assignment-upload-ui__selected-count,
.assignment-upload-ui__selected-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(84, 127, 255, .12);
    color: #24448b;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.assignment-upload-ui__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(180, 191, 214, .7);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.assignment-upload-ui__clear:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.assignment-upload-ui__selected-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.assignment-upload-ui__file {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(221, 229, 243, .96);
}

.assignment-upload-ui__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f6f8fb);
    border: 1px solid rgba(216, 224, 236, .9);
}

.assignment-upload-ui__preview--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assignment-upload-ui__svg {
    width: 38px;
    height: 38px;
    display: block;
}

.assignment-upload-ui__file-body {
    min-width: 0;
}

.assignment-upload-ui__file-name {
    color: #122042;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.assignment-upload-ui__file-meta {
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}

.assignment-upload-ui__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(222, 226, 235, .95);
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.assignment-upload-ui__remove:hover,
.assignment-upload-ui__remove:focus {
    color: #dc2626;
    border-color: rgba(248, 113, 113, .52);
}

.assignment-upload-ui__legacy-notice {
    margin-top: 10px;
}

.assignment-upload-ui.is-enhanced + .assignment-heic-overlay + .assignment-heic-status + .assignment-upload-ui__legacy-notice,
.assignment-upload-ui.is-enhanced .assignment-upload-ui__legacy-notice {
    display: none;
}

@media (max-width: 991px) {
    .assignment-upload-ui__hero,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__hero {
        grid-template-columns: 155px minmax(180px, 1fr) 92px;
        gap: 18px;
    }

    .assignment-upload-ui__brand {
        width: 92px;
    }

    .assignment-upload-ui__brand img {
        width: 92px;
    }

    .assignment-upload-ui__action,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__action {
        width: 155px;
    }

    .assignment-upload-ui__button,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__button {
        height: 64px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .assignment-status {
        margin-bottom: 18px;
    }

    .assignment-status .progress-items .progress-item .progress-number {
        font-size: 16px;
        margin: 8px 0 4px;
    }

    .assignment-status .progress-items .progress-item .progress-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    #content-item-assignment > h2 {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .assignment-upload-ui__panel,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__panel {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .assignment-upload-ui__hero,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__hero {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .assignment-upload-ui__brand {
        display: none;
    }

    .assignment-upload-ui__copy {
        order: 1;
    }

    .assignment-upload-ui__action,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__action {
        order: 2;
        width: 100%;
    }

    .assignment-upload-ui__title,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__title {
        font-size: 20px;
    }

    .assignment-upload-ui__button,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__button {
        width: 100%;
        min-width: 0;
        height: 48px;
        min-height: 0;
        margin-top: 8px;
        border-radius: 8px;
        font-size: 14px;
    }

    .assignment-upload-ui__meta,
    #learn-press-content-item .lp-assignment-buttons .assignment-upload-ui__meta {
        gap: 8px;
        margin-top: 16px;
        font-size: 14px;
    }

    .assignment-upload-ui__meta-item {
        flex: 0 0 100%;
    }

    .assignment-upload-ui__selected {
        padding: 10px;
        border-radius: 8px;
    }

    .assignment-upload-ui__selected-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .assignment-upload-ui__file {
        grid-template-columns: 48px 1fr auto;
        gap: 8px;
        padding: 8px;
        border-radius: 8px;
    }

    .assignment-upload-ui__preview {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .assignment-upload-ui__remove {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
}

html.assignment-upload-processing-lock,
body.assignment-upload-processing-lock {
    overflow: hidden;
}

.assignment-upload-processing-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 11, 18, .38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 2147483000;
}

.assignment-upload-processing-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
}

.assignment-upload-processing-card {
    position: relative;
    width: min(92vw, 520px);
    overflow: hidden;
    padding: 22px 22px 18px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(180deg, rgba(18, 24, 38, .88), rgba(12, 17, 28, .84));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.34), 0 10px 30px rgba(0,0,0,.22);
    opacity: 0;
    transform: translateY(16px) scale(.92);
    transition:
        opacity .28s cubic-bezier(.2, .8, .2, 1),
        transform .28s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}

.assignment-upload-processing-card--waiting {
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px) scale(.92);
    transition: none !important;
}

.assignment-upload-processing-card--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.assignment-upload-processing-card--leaving {
    opacity: 0;
    transform: translateY(8px) scale(.94);
    transition:
        opacity .22s ease,
        transform .22s ease;
}

.assignment-upload-processing-card--error .assignment-upload-processing-badge {
    background: linear-gradient(135deg, #ff4d6d, #ff006e);
    box-shadow: 0 8px 18px rgba(255, 76, 135, .28);
}

.assignment-upload-processing-halo {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -65px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 119, 0, .35), rgba(255, 0, 153, 0) 68%);
    pointer-events: none;
}

.assignment-upload-processing-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff00a8);
    box-shadow: 0 8px 18px rgba(255, 76, 135, .25);
}

.assignment-upload-processing-title {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 14px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.assignment-upload-processing-stage {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
    overflow-wrap: anywhere;
}

.assignment-upload-processing-wait {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
}

.assignment-upload-processing-meta {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 16px;
    min-height: 18px;
}

.assignment-upload-processing-file {
    display: block;
    min-width: 0;
    font-size: 13px;
    color: rgba(255,255,255,.84);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.assignment-upload-processing-file:empty {
    display: none;
}

.assignment-upload-processing-progress {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 16px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.assignment-upload-processing-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a00, #ff00a8);
    animation: assignmentHeicToastSlide 1.3s ease-in-out infinite;
}

.assignment-upload-processing-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.assignment-upload-processing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease;
}

.assignment-upload-processing-button:hover {
    transform: translateY(-1px);
}

.assignment-upload-processing-button--primary {
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff00a8);
    box-shadow: 0 10px 22px rgba(255, 76, 135, .22);
}

.assignment-upload-processing-button--ghost {
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
}

@media (max-width: 767px) {
    .assignment-upload-processing-overlay {
        padding: 16px;
    }

    .assignment-upload-processing-card {
        width: 100%;
        padding: 18px 18px 16px;
        border-radius: 20px;
    }

    .assignment-upload-processing-title {
        font-size: 20px;
    }

    .assignment-upload-processing-stage {
        font-size: 14px;
    }

    .assignment-upload-processing-actions {
        flex-direction: column;
    }

    .assignment-upload-processing-button {
        width: 100%;
        justify-content: center;
    }
}
