/* 2 × 2 日历线圈本：旧版组件的模板化、作用域化样式。 */
.desktop-widget-widget-notebook-profile {
    width: 100%;
    height: 100%;
}

.desktop-widget-widget-notebook-profile .notebook-widget-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    background: #e8eaef;
    box-sizing: border-box;
}

.desktop-widget-widget-notebook-profile .notebook-page {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    padding: 18px 10px 9px;
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.desktop-widget-widget-notebook-profile .rings-container {
    position: absolute;
    top: -7px;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    padding: 0 13px;
    box-sizing: border-box;
}

.desktop-widget-widget-notebook-profile .ring {
    width: 5px;
    height: 17px;
    border-radius: 4px;
    background: #c5c7cc;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .12), inset -1px -1px 2px rgba(0, 0, 0, .1);
}

.desktop-widget-widget-notebook-profile .profile-section {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
}

.desktop-widget-widget-notebook-profile .avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    cursor: pointer;
}

.desktop-widget-widget-notebook-profile .avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #e8eaef, 0 2px 4px rgba(0, 0, 0, .1);
    transition: transform .2s ease;
}

.desktop-widget-widget-notebook-profile .avatar-wrapper:hover .avatar-img { transform: scale(1.05); }

.desktop-widget-widget-notebook-profile .text-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.desktop-widget-widget-notebook-profile [contenteditable="true"] {
    overflow: hidden;
    outline: none;
    cursor: text;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.desktop-widget-widget-notebook-profile [contenteditable="true"]:hover,
.desktop-widget-widget-notebook-profile [contenteditable="true"]:focus {
    border-radius: 4px;
    background: rgba(0, 0, 0, .03);
}

.desktop-widget-widget-notebook-profile .name {
    overflow: hidden;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-widget-widget-notebook-profile .status {
    overflow: hidden;
    color: #777;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-widget-widget-notebook-profile .info-pill {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 14px;
    background: #f2f3f6;
    box-sizing: border-box;
}

.desktop-widget-widget-notebook-profile .info-pill svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    stroke: #777;
}

.desktop-widget-widget-notebook-profile .info-text {
    min-width: 0;
    overflow: hidden;
    color: #555;
    font-size: 10.5px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-widget-widget-notebook-profile .hidden-upload { display: none; }
